/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 | 46 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key) { in OneTimeDeviceConfigListener() argument 47 this(namespace, key, DEFAULT_TIMEOUT_MS); in OneTimeDeviceConfigListener() 50 public OneTimeDeviceConfigListener(@NonNull String namespace, @NonNull String key, in OneTimeDeviceConfigListener() argument 52 mNamespace = Objects.requireNonNull(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 | 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 | 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 | 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 | DeviceConfigStateManager.java | 50 public DeviceConfigStateManager(@NonNull Context context, @NonNull String namespace, in DeviceConfigStateManager() argument 52 debug("DeviceConfigStateManager", "namespace=%s, key=%s", namespace, key); in DeviceConfigStateManager() 55 mNamespace = Objects.requireNonNull(namespace); in DeviceConfigStateManager()
|
D | SettingsStateManager.java | 43 public SettingsStateManager(@NonNull Context context, @NonNull String namespace, in SettingsStateManager() argument 46 mNamespace = Objects.requireNonNull(namespace); in SettingsStateManager()
|
D | DeviceConfigStateHelper.java | 42 public DeviceConfigStateHelper(@NonNull String namespace) { in DeviceConfigStateHelper() argument 43 mNamespace = Objects.requireNonNull(namespace); in DeviceConfigStateHelper()
|
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/ |
D | DeviceConfigShellHelper.java | 88 public NamespaceEntries list(String namespace) throws Exception { in list() argument 89 Objects.requireNonNull(namespace); in list() 91 String cmd = String.format(SHELL_CMD_PREFIX + "list %s", namespace); in list() 103 return new NamespaceEntries(namespace, keyValues); in list() 107 public void put(String namespace, String key, String value) throws Exception { in put() argument 108 put(namespace, key, value, /*makeDefault=*/false); in put() 112 public void put(String namespace, String key, String value, boolean makeDefault) in put() argument 114 String cmd = String.format(SHELL_CMD_PREFIX + "put %s %s %s", namespace, key, value); in put() 122 public void delete(String namespace, String key) throws Exception { in delete() argument 123 String cmd = String.format(SHELL_CMD_PREFIX + "delete %s %s", namespace, key); in delete() [all …]
|
/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 | PeriodicAudioSource.h | 22 namespace ndkaudio {
|
D | AudioSource.h | 20 namespace ndkaudio {
|
D | WaveTableOscillator.h | 22 namespace ndkaudio {
|
D | AudioRecorder.h | 23 namespace ndkaudio {
|
D | AudioPlayer.h | 23 namespace ndkaudio {
|
/cts/tests/sensor/jni/ |
D | SensorTest.h | 30 namespace android { 31 namespace SensorTest {
|
/cts/tests/tests/os/src/android/os/cts/ |
D | AppHibernationUtils.kt | 121 namespace: String, in withDeviceConfig() 127 DeviceConfig.getProperty(namespace, name) in withDeviceConfig() 131 DeviceConfig.setProperty(namespace, name, value, false /* makeDefault */) in withDeviceConfig() 136 DeviceConfig.setProperty(namespace, name, oldValue, false /* makeDefault */) in withDeviceConfig()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_utils.h | 33 namespace Utils {
|
D | AMediaObjects.h | 26 namespace {
|
/cts/tests/tests/media/libaudiojni/ |
D | Blob.h | 24 namespace android {
|
/cts/tests/tests/neuralnetworks/java_test/jni/ |
D | Utils.h | 52 namespace android::nn::cts {
|
/cts/suite/audio_quality/lib/include/task/ |
D | ModelBuilder.h | 24 namespace tinyxml2 {
|