/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SettingsUtils.java | 48 public static void set(@NonNull String namespace, @NonNull String key, @Nullable String value) { in set() argument 50 delete(namespace, key); in set() 54 Log.w(TAG, "Value of " + namespace + ":" + key + " is empty; deleting it instead"); in set() 55 delete(namespace, key); in set() 58 runShellCommand("settings put %s %s %s default", namespace, key, value); in set() 71 public static void syncSet(@NonNull Context context, @NonNull String namespace, in syncSet() argument 74 syncDelete(context, namespace, key); in syncSet() 78 final String currentValue = get(namespace, key); in syncSet() 85 new OneTimeSettingsListener(context, namespace, key); in syncSet() 86 set(namespace, key, value); in syncSet() [all …]
|
D | OneTimeDeviceConfigListener.java | 47 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key) { in OneTimeDeviceConfigListener() argument 48 this(namespace, key, DEFAULT_TIMEOUT_MS); in OneTimeDeviceConfigListener() 51 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key, in OneTimeDeviceConfigListener() argument 53 mNamespace = Preconditions.checkNotNull(namespace); in OneTimeDeviceConfigListener()
|
D | DeviceConfigStateKeeperRule.java | 37 public DeviceConfigStateKeeperRule(@NonNull Context context, @NonNull String namespace, in DeviceConfigStateKeeperRule() argument 39 super(new DeviceConfigStateManager(context, namespace, key)); in DeviceConfigStateKeeperRule()
|
D | OneTimeSettingsListener.java | 48 public OneTimeSettingsListener(Context context, String namespace, String key) { in OneTimeSettingsListener() argument 54 switch (namespace) { in OneTimeSettingsListener() 62 throw new IllegalArgumentException("invalid namespace: " + namespace); in OneTimeSettingsListener()
|
D | DeviceConfigStateChangerRule.java | 40 public DeviceConfigStateChangerRule(@NonNull Context context, @NonNull String namespace, in DeviceConfigStateChangerRule() argument 42 this(new DeviceConfigStateManager(context, namespace, key), value); in DeviceConfigStateChangerRule()
|
D | DeviceConfigStateManager.java | 51 public DeviceConfigStateManager(@NonNull Context context, @NonNull String namespace, in DeviceConfigStateManager() argument 53 debug("DeviceConfigStateManager", "namespace=%s, key=%s", namespace, key); in DeviceConfigStateManager() 56 mNamespace = Preconditions.checkNotNull(namespace); in DeviceConfigStateManager()
|
D | SettingsStateChangerRule.java | 52 public SettingsStateChangerRule(@NonNull Context context, @NonNull String namespace, in SettingsStateChangerRule() argument 54 super(new SettingsStateManager(context, namespace, key), value); in SettingsStateChangerRule()
|
D | SettingsStateManager.java | 43 public SettingsStateManager(@NonNull Context context, @NonNull String namespace, in SettingsStateManager() argument 46 mNamespace = Preconditions.checkNotNull(namespace); in SettingsStateManager()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SettingsUtils.java | 49 public static void set(@NonNull String namespace, @NonNull String key, @Nullable String value) { in set() argument 51 delete(namespace, key); in set() 55 Log.w(TAG, "Value of " + namespace + ":" + key + " is empty; deleting it instead"); in set() 56 delete(namespace, key); in set() 59 runShellCommand("settings put %s %s %s default", namespace, key, value); in set() 72 public static void syncSet(@NonNull Context context, @NonNull String namespace, in syncSet() argument 75 syncDelete(context, namespace, key); in syncSet() 79 final String currentValue = get(namespace, key); in syncSet() 86 new OneTimeSettingsListener(context, namespace, key); in syncSet() 87 set(namespace, key, value); in syncSet() [all …]
|
D | OneTimeDeviceConfigListener.java | 47 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key) { in OneTimeDeviceConfigListener() argument 48 this(namespace, key, DEFAULT_TIMEOUT_MS); in OneTimeDeviceConfigListener() 51 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key, in OneTimeDeviceConfigListener() argument 53 mNamespace = Preconditions.checkNotNull(namespace); in OneTimeDeviceConfigListener()
|
D | DeviceConfigStateKeeperRule.java | 37 public DeviceConfigStateKeeperRule(@NonNull Context context, @NonNull String namespace, in DeviceConfigStateKeeperRule() argument 39 super(new DeviceConfigStateManager(context, namespace, key)); in DeviceConfigStateKeeperRule()
|
D | OneTimeSettingsListener.java | 48 public OneTimeSettingsListener(Context context, String namespace, String key) { in OneTimeSettingsListener() argument 54 switch (namespace) { in OneTimeSettingsListener() 62 throw new IllegalArgumentException("invalid namespace: " + namespace); in OneTimeSettingsListener()
|
D | DeviceConfigStateChangerRule.java | 40 public DeviceConfigStateChangerRule(@NonNull Context context, @NonNull String namespace, in DeviceConfigStateChangerRule() argument 42 this(new DeviceConfigStateManager(context, namespace, key), value); in DeviceConfigStateChangerRule()
|
D | DeviceConfigStateManager.java | 51 public DeviceConfigStateManager(@NonNull Context context, @NonNull String namespace, in DeviceConfigStateManager() argument 53 debug("DeviceConfigStateManager", "namespace=%s, key=%s", namespace, key); in DeviceConfigStateManager() 56 mNamespace = Preconditions.checkNotNull(namespace); in DeviceConfigStateManager()
|
D | SettingsStateChangerRule.java | 52 public SettingsStateChangerRule(@NonNull Context context, @NonNull String namespace, in SettingsStateChangerRule() argument 54 super(new SettingsStateManager(context, namespace, key), value); in SettingsStateChangerRule()
|
D | SettingsStateManager.java | 43 public SettingsStateManager(@NonNull Context context, @NonNull String namespace, in SettingsStateManager() argument 46 mNamespace = Preconditions.checkNotNull(namespace); in SettingsStateManager()
|
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiTests.java | 956 private void nullifyProperty(String namespace, String key) { in nullifyProperty() argument 957 if (DeviceConfig.getString(namespace, key, null) != null) { in nullifyProperty() 958 setPropertiesAndAssertSuccessfulChange(namespace, key, null); in nullifyProperty() 962 private static void deletePropertyThrowShell(String namespace, String key) { in deletePropertyThrowShell() argument 964 "device_config delete " + namespace + " " + key); in deletePropertyThrowShell() 968 String namespace; field in DeviceConfigApiTests.PropertyUpdate 973 PropertyUpdate(String namespace, String name, String value) { in PropertyUpdate() argument 975 this.namespace = namespace; in PropertyUpdate() 984 this.namespace = properties.getNamespace(); in PropertyUpdate() 990 void assertEqual(String namespace, String name, String value) { in assertEqual() argument [all …]
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 313 protected @Nonnull String getSettings(@Nonnull String namespace, @Nonnull String name, in getSettings() argument 317 "settings" + userFlag + " get " + namespace + " " + name); in getSettings() 334 protected void putSettings(@Nonnull String namespace, @Nonnull String name, in putSettings() argument 340 executeShellCommand("settings delete " + namespace + " " + name); in putSettings() 343 executeShellCommand("settings" + userFlag + " put " + namespace + " " + name in putSettings()
|
/cts/tests/sensor/jni/ |
D | SensorTest.h | 30 namespace android { 31 namespace SensorTest {
|
/cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/native/ |
D | version.h | 17 namespace StaticSharedLib {
|
/cts/tests/tests/media/libndkaudio/ |
D | WaveTableGenerator.h | 20 namespace ndkaudio {
|
D | AudioSink.h | 20 namespace ndkaudio {
|
D | SystemParams.h | 20 namespace ndkaudio {
|
D | PeriodicAudioSource.h | 22 namespace ndkaudio {
|
D | AudioSource.h | 20 namespace ndkaudio {
|