Home
last modified time | relevance | path

Searched refs:VALUE2 (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DAnnotationTest.java38 private static final String VALUE2 = "Smith"; field in AnnotationTest
54 mAnnotation = new Annotation(KEY2, VALUE2); in testGetValue()
55 assertEquals(VALUE2, mAnnotation.getValue()); in testGetValue()
63 mAnnotation = new Annotation(KEY2, VALUE2); in testGetKey()
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiTests.java51 private static final String VALUE2 = "value2"; field in DeviceConfigApiTests
157 DeviceConfig.setProperty(NAMESPACE2, KEY1, VALUE2, /*makeDefault=*/false); in setAndGetProperty_multipleNamespaces()
162 assertEquals("Value read from DeviceConfig API does not match written value.", VALUE2, in setAndGetProperty_multipleNamespaces()
172 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE2, /*makeDefault=*/false); in setAndGetProperty_overrideValue()
175 + " value.", VALUE2, result); in setAndGetProperty_overrideValue()
756 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE2, /*makeDefault=*/false); in testTwoPropertiesListenersSameNamespace()
765 receivedUpdates1.get(1).assertEqual(NAMESPACE1, KEY1, VALUE2); in testTwoPropertiesListenersSameNamespace()
766 receivedUpdates2.get(0).assertEqual(NAMESPACE1, KEY1, VALUE2); in testTwoPropertiesListenersSameNamespace()
782 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE2, /*makeDefault=*/false); in testTwoPropertiesListenersSameNamespace()
823 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE2, /*makeDefault=*/false); in testTwoPropertiesListenersDifferentNamespace()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DContentQueryMapTest.java46 private static final String VALUE2 = "value2"; field in ContentQueryMapTest
153 values.put(DummyProvider.VALUE, VALUE2); in testRequery()
167 assertEquals(VALUE2, contentValues.getAsString(DummyProvider.VALUE)); in testRequery()
187 values.put(DummyProvider.VALUE, VALUE2); in testSetKeepUpdated()
208 assertEquals(VALUE2, contentValues.getAsString(DummyProvider.VALUE)); in testSetKeepUpdated()
289 values.put(DummyProvider.VALUE, VALUE2); in testSetKeepUpdatedWithHandler()
310 assertEquals(VALUE2, contentValues.getAsString(DummyProvider.VALUE)); in testSetKeepUpdatedWithHandler()
DContentResolverTest.java82 private static final int VALUE2 = 2; field in ContentResolverTest
109 values.put(COLUMN_VALUE_NAME, VALUE2); in setUp()
327 assertEquals(VALUE2, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testQuery()
500 assertEquals(VALUE2, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testCrashingQuery()
905 values.put(COLUMN_VALUE_NAME, VALUE2); in testDelete()