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
This commit is contained in:
Tej Singh
2021-02-25 21:17:27 -08:00
parent ca139c0fe3
commit d5dbfcb09a
2 changed files with 18 additions and 0 deletions

View File

@@ -9245,6 +9245,8 @@ package android.provider {
field public static final String NAMESPACE_RUNTIME_NATIVE = "runtime_native";
field public static final String NAMESPACE_RUNTIME_NATIVE_BOOT = "runtime_native_boot";
field public static final String NAMESPACE_SCHEDULER = "scheduler";
field public static final String NAMESPACE_STATSD_JAVA = "statsd_java";
field public static final String NAMESPACE_STATSD_JAVA_BOOT = "statsd_java_boot";
field public static final String NAMESPACE_STATSD_NATIVE = "statsd_native";
field public static final String NAMESPACE_STATSD_NATIVE_BOOT = "statsd_native_boot";
field @Deprecated public static final String NAMESPACE_STORAGE = "storage";

View File

@@ -496,6 +496,22 @@ public final class DeviceConfig {
public static final String NAMESPACE_CONNECTIVITY_THERMAL_POWER_MANAGER =
"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.
*