Searched refs:NAMESPACE1 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiTests.java | 56 private static final String NAMESPACE1 = "namespace1"; field in DeviceConfigApiTests 165 nullifyProperty(NAMESPACE1, KEY1); in cleanUp() 167 nullifyProperty(NAMESPACE1, KEY2); in cleanUp() 184 deletePropertyThrowShell(NAMESPACE1, KEY1); in cleanUpAfterAllTests() 186 deletePropertyThrowShell(NAMESPACE1, KEY2); in cleanUpAfterAllTests() 338 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in testSetAndGetProperty_sameNamespace() 339 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_sameNamespace() 349 Properties properties = new Properties.Builder(NAMESPACE1) in testSetAndGetProperties_sameNamespace() 351 assertEquals(DEFAULT_VALUE, DeviceConfig.getString(NAMESPACE1, KEY1, DEFAULT_VALUE)); in testSetAndGetProperties_sameNamespace() 352 assertEquals(DEFAULT_INT, DeviceConfig.getInt(NAMESPACE1, KEY2, DEFAULT_INT)); in testSetAndGetProperties_sameNamespace() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/settings/ |
D | Settings_ConfigTest.java | 66 private static final String NAMESPACE1 = "namespace1"; field in Settings_ConfigTest 124 deleteProperties(NAMESPACE1, Arrays.asList(KEY1, KEY2)); in cleanUp() 157 Settings.Config.putString(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in testSetAndGetString_sameNamespace() 158 String result = Settings.Config.getStrings(NAMESPACE1, Arrays.asList(KEY1)).get(KEY1); in testSetAndGetString_sameNamespace() 169 Settings.Config.putString(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in testSetAndGetString_differentNamespace() 179 Settings.Config.putString(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in testSetAndGetString_multipleNamespaces() 181 String result = Settings.Config.getStrings(NAMESPACE1, Arrays.asList(KEY1)).get(KEY1); in testSetAndGetString_multipleNamespaces() 194 Settings.Config.putString(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in testSetAndGetString_overrideValue() 195 Settings.Config.putString(NAMESPACE1, KEY1, VALUE2, /*makeDefault=*/false); in testSetAndGetString_overrideValue() 196 String result = Settings.Config.getStrings(NAMESPACE1, Arrays.asList(KEY1)).get(KEY1); in testSetAndGetString_overrideValue() [all …]
|