Merge "add scheduler namespace and flag"
This commit is contained in:
@@ -5787,6 +5787,11 @@ package android.provider {
|
||||
field public static final String NAMESPACE = "runtime_native_boot";
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.Scheduler {
|
||||
field public static final String ENABLE_FAST_METRICS_COLLECTION = "enable_fast_metrics_collection";
|
||||
field public static final String NAMESPACE = "scheduler";
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.Storage {
|
||||
field public static final String ISOLATED_STORAGE_ENABLED = "isolated_storage_enabled";
|
||||
field public static final String NAMESPACE = "storage";
|
||||
|
||||
@@ -308,6 +308,25 @@ public final class DeviceConfig {
|
||||
String ISOLATED_STORAGE_ENABLED = "isolated_storage_enabled";
|
||||
}
|
||||
|
||||
/**
|
||||
* Namespace for system scheduler related features. These features will be applied
|
||||
* immediately upon change.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public interface Scheduler {
|
||||
String NAMESPACE = "scheduler";
|
||||
|
||||
/**
|
||||
* Flag for enabling fast metrics collection in system scheduler.
|
||||
* A flag value of '' or '0' means the fast metrics collection is not
|
||||
* enabled. Otherwise fast metrics collection is enabled and flag value
|
||||
* is the order id.
|
||||
*/
|
||||
String ENABLE_FAST_METRICS_COLLECTION = "enable_fast_metrics_collection";
|
||||
}
|
||||
|
||||
private static final Object sLock = new Object();
|
||||
@GuardedBy("sLock")
|
||||
private static Map<OnPropertyChangedListener, Pair<String, Executor>> sListeners =
|
||||
|
||||
Reference in New Issue
Block a user