diff options
| author | Tej Singh <singhtejinder@google.com> | 2021-02-25 21:17:27 -0800 |
|---|---|---|
| committer | Tej Singh <singhtejinder@google.com> | 2021-02-25 21:17:27 -0800 |
| commit | d5dbfcb09a6d7eeccd5b91d53be4aa276ae47def (patch) | |
| tree | 759b1bf4ecfa2b0f57a710cc1e76afdac0f3aa61 /core/java/android | |
| parent | ca139c0fe30d0e79aa3d82f9e6375d054a5d3323 (diff) | |
Java flag support for statsd
Declare statsd_java and statsd_java_boot as statsd flag namespaces for
java features.
Bug: 180992603
Test: used adb shell cmd device_config put to insert properties and
manually verified that statsd java code in system server could read.
Change-Id: I9e1ad337800f503b2f0df1c5e5eec9d752a9cbd5
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/provider/DeviceConfig.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/provider/DeviceConfig.java b/core/java/android/provider/DeviceConfig.java index 4354920c83ec..58310f0b21e6 100644 --- a/core/java/android/provider/DeviceConfig.java +++ b/core/java/android/provider/DeviceConfig.java @@ -497,6 +497,22 @@ public final class DeviceConfig { "connectivity_thermal_power_manager"; /** + * Namespace for all statsd java features that can be applied immediately. + * + * @hide + */ + @SystemApi + public static final String NAMESPACE_STATSD_JAVA = "statsd_java"; + + /** + * Namespace for all statsd java features that are applied on boot. + * + * @hide + */ + @SystemApi + public static final String NAMESPACE_STATSD_JAVA_BOOT = "statsd_java_boot"; + + /** * Namespace for all statsd native features that can be applied immediately. * * @hide |
