gecko-dev/widget/android
Nicholas Nethercote af10e0c45c Bug 1340928 (part 16) - Clean up profiler env var handling. r=mstange.
This patch does the following.

- Uses "entries" consistently for the name of the value that is obtained from
  MOZ_PROFILER_ENTRIES and is the first argument to profiler_start(). (I.e. not
  "entry" or "entrySize".)

- Removes variables (e.g. PROFILER_HELP) holding env var names and uses the
  names (e.g. "MOZ_PROFILER_HELP") directly. Some of the names are already used
  directly and I think the slight repetition isn't harmful. It's unlikely that
  we'd want to change these names the way we might need to change a numeric
  value, and they're perfectly descriptive.

- Changes the "MOZ_PROFILING_FEATURES" string in the weird Android-only startup
  code to be "MOZ_PROFILER_FEATURES", for consistency.

- Renames gUnwindInterval and gProfileEntries as gEnvVarInterval and
  gEnvVarEntries to make it clearer that they come from environment variables,
  but otherwise are parallel to gInterval and gEntries.

- Puts entries before intervals in most places, to match the profiler_start()
  argument order.

- Changes profiler_usage() so that (a) it always prints, no matter the
  verbosity, (b) it exits at its end, and (c) doesn't double-print "Profiler: "
  at the start of each line.

--HG--
extra : rebase_source : e5a0b1c48e390ada894c746f050f08ff5c241066
2017-02-23 14:26:46 +11:00
..
bindings Bug 1307818-[P2] Setup MediaCrypto for both in-process and out-of-process decode. r=cpearce,jchen 2016-11-16 22:10:01 +08:00
fennec Bug 1340096: Remove MediaCodecDataDecoder. r=bwu,jolin 2017-02-16 12:26:53 +01:00
jni Bug 1328115 - 3. Check for exceptions when finding Java class; r=snorp 2017-01-09 14:10:24 -05:00
AndroidAlerts.cpp Bug 862395 - Part 1: Add requireInteraction property to web notifications. r=baku 2016-10-12 17:27:40 -07:00
AndroidAlerts.h Bug 1305498 - Refactor notification code to be more concise; r=sebastian 2016-10-05 21:52:32 -04:00
AndroidBridge.cpp Bug 1334728 - 2. Require string value for dispatch event type; r=snorp 2017-02-01 17:35:45 -05:00
AndroidBridge.h Bug 1333590 - 6. Remove GeckoEventListener and NativeEventListener; r=snorp r=sebastian 2017-02-01 17:35:45 -05:00
AndroidBridgeUtilities.h
AndroidCompositorWidget.cpp Bug 1329362 - part 2, Add accessor functions for EGLNativeWindowType, ANativeWindow, and EGLSurface to AndroidCompositorWidget r=dvander,kats 2017-01-27 09:32:24 -08:00
AndroidCompositorWidget.h Bug 1329362 - part 2, Add accessor functions for EGLNativeWindowType, ANativeWindow, and EGLSurface to AndroidCompositorWidget r=dvander,kats 2017-01-27 09:32:24 -08:00
AndroidContentController.cpp Bug 1321644 - part 1, Remove android specific message loop code from APZThreadUtils.cpp r=botond 2016-12-23 09:08:37 -08:00
AndroidContentController.h Bug 1321644 - part 1, Remove android specific message loop code from APZThreadUtils.cpp r=botond 2016-12-23 09:08:37 -08:00
AndroidDirectTexture.h
AndroidGraphicBuffer.h
AndroidJavaWrappers.cpp Bug 1291373 - [geckoview] part 4, Remove GeckoEvent and AndroidGeckoEvent r=jchen 2016-08-16 14:33:43 -07:00
AndroidJavaWrappers.h Bug 1274503 part.2 Add KeyboardEvent.key value mapping on Android which are not mapped by Gecko but mapped on Chromium r=smaug 2016-12-01 21:38:54 +09:00
AndroidJNI.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
AndroidJNIWrapper.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
AndroidJNIWrapper.h
AndroidUiThread.cpp Bug 1331055 - Ensure the Android UI nsThread has been initialized before making it accessible. r=jchen 2017-01-17 18:47:20 -08:00
AndroidUiThread.h Bug 1328747 - Make Android UI nsThread and MessageLoop creation asynchronous r=froydnj 2017-01-11 09:42:29 -08:00
ANRReporter.cpp Bug 1340928 (part 16) - Clean up profiler env var handling. r=mstange. 2017-02-23 14:26:46 +11:00
ANRReporter.h Bug 1303806 - 3. Update sources to reflect new bindings; r=snorp r=nalexander 2016-09-20 17:42:08 -04:00
EventDispatcher.cpp Bug 1322576 - [5.3] Make GeckoView settings accessible through nsIAndroidView. r=jchen 2017-02-22 14:57:42 +01:00
EventDispatcher.h Bug 1322576 - [5.3] Make GeckoView settings accessible through nsIAndroidView. r=jchen 2017-02-22 14:57:42 +01:00
GeckoBatteryManager.h Bug 1294069 - Move notifyBatteryChange out of GeckoAppShell; r=snorp 2016-08-18 18:04:11 -04:00
GeckoNetworkManager.h Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp 2016-08-12 23:15:53 -04:00
GeckoScreenOrientation.h Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp 2016-08-12 23:15:53 -04:00
GeneratedJNINatives.h Bug 1333590 - 6. Remove GeckoEventListener and NativeEventListener; r=snorp r=sebastian 2017-02-01 17:35:45 -05:00
GeneratedJNIWrappers.cpp Bug 1333590 - 6. Remove GeckoEventListener and NativeEventListener; r=snorp r=sebastian 2017-02-01 17:35:45 -05:00
GeneratedJNIWrappers.h Bug 1322576 - [5.3] Make GeckoView settings accessible through nsIAndroidView. r=jchen 2017-02-22 14:57:42 +01:00
GfxInfo.cpp Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj 2016-12-09 10:00:01 -10:00
GfxInfo.h
moz.build Bug 1333590 - 6. Remove GeckoEventListener and NativeEventListener; r=snorp r=sebastian 2017-02-01 17:35:45 -05:00
nsAndroidProtocolHandler.cpp
nsAndroidProtocolHandler.h
nsAppShell.cpp Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter 2017-02-16 00:45:15 +05:30
nsAppShell.h Bug 1322574 - 2. Measure Android event loop latency; r=snorp 2016-12-21 13:37:20 -05:00
nsClipboard.cpp Bug 1292323 - Update WrapForJNI usages; r=snorp 2016-08-12 23:15:52 -04:00
nsClipboard.h
nsDeviceContextAndroid.cpp Bug 1331820 - Fix misuse of NS_NewNativeLocalFile in widget/android/. r=blassey 2017-01-21 15:43:41 +09:00
nsDeviceContextAndroid.h Bug 1321642 - Add missing include guards to nsDeviceContextAndroid.h r=jchen 2016-12-02 10:29:55 -08:00
nsIAndroidBridge.idl Bug 1322576 - [5.3] Make GeckoView settings accessible through nsIAndroidView. r=jchen 2017-02-22 14:57:42 +01:00
nsIdleServiceAndroid.cpp
nsIdleServiceAndroid.h
nsLookAndFeel.cpp
nsLookAndFeel.h
nsPrintOptionsAndroid.cpp
nsPrintOptionsAndroid.h
nsScreenManagerAndroid.cpp Bug 1314974 - Make GeckoView on Android work again r=jchen 2016-11-14 14:55:29 -06:00
nsScreenManagerAndroid.h Bug 1282003 - (Part 1) Add display type/density info and addScreen/removeScreen function. r=snorp 2016-10-03 16:23:23 +08:00
nsWidgetFactory.cpp
nsWindow.cpp Bug 1322576 - [5.3] Make GeckoView settings accessible through nsIAndroidView. r=jchen 2017-02-22 14:57:42 +01:00
nsWindow.h Bug 1322576 - [5.3] Make GeckoView settings accessible through nsIAndroidView. r=jchen 2017-02-22 14:57:42 +01:00
PrefsHelper.h Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp 2016-08-12 23:15:53 -04:00