Home
last modified time | relevance | path

Searched refs:KEY3 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java48 private static final String KEY3 = "key3"; field in DeviceConfigTest
59 deleteViaContentProvider(NAMESPACE, KEY3); in cleanUp()
414 DeviceConfig.setProperty(NAMESPACE, KEY3, VALUE, false); in getProperties_fullNamespace()
416 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2, KEY3); in getProperties_fullNamespace()
419 assertThat(properties.getString(KEY3, DEFAULT_VALUE)).isEqualTo(VALUE); in getProperties_fullNamespace()
437 DeviceConfig.setProperty(NAMESPACE, KEY3, "not a valid boolean", false); in getProperties_getBoolean()
439 Properties properties = DeviceConfig.getProperties(NAMESPACE, KEY, KEY2, KEY3); in getProperties_getBoolean()
440 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2, KEY3); in getProperties_getBoolean()
446 assertThat(properties.getBoolean(KEY3, true)).isFalse(); in getProperties_getBoolean()
447 assertThat(properties.getBoolean(KEY3, false)).isFalse(); in getProperties_getBoolean()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java40 private static final String KEY3 = "key3bc"; field in BackupDataTest
42 private static final String[] KEYS = {KEY1, KEY2, KEY3, KEY4};
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp36 #define KEY3 "key3bc" macro
66 mKey3 = String8(KEY3); in SetUp()