Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DAnnotationTest.java37 private static final String VALUE1 = "John"; field in AnnotationTest
46 new Annotation(KEY1, VALUE1); in testConstructor()
52 mAnnotation = new Annotation(KEY1, VALUE1); in testGetValue()
53 assertEquals(VALUE1, mAnnotation.getValue()); in testGetValue()
61 mAnnotation = new Annotation(KEY1, VALUE1); in testGetKey()
69 mAnnotation = new Annotation(KEY1, VALUE1); in testGetSpanTypeId()
78 mAnnotation = new Annotation(KEY1, VALUE1); in testWriteToParcel()
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiTests.java50 private static final String VALUE1 = "value1"; field in DeviceConfigApiTests
134 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in setAndGetProperty_sameNamespace()
136 assertEquals("Value read from DeviceConfig API does not match written value.", VALUE1, in setAndGetProperty_sameNamespace()
146 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in setAndGetProperty_differentNamespace()
156 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in setAndGetProperty_multipleNamespaces()
159 assertEquals("Value read from DeviceConfig API does not match written value.", VALUE1, in setAndGetProperty_multipleNamespaces()
171 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in setAndGetProperty_overrideValue()
203 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in getString_nonEmpty()
207 "property is not null", VALUE1, result); in getString_nonEmpty()
520 setPropertiesAndAssertSuccessfulChange(NAMESPACE1, KEY1, VALUE1); in getPropertiesString_empty()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DContentQueryMapTest.java44 private static final String VALUE1 = "value1"; field in ContentQueryMapTest
72 values1.put(DummyProvider.VALUE, VALUE1); in setUp()
123 assertEquals(VALUE1, rows.get(NAME1).getAsString(DummyProvider.VALUE)); in testGetRows()
145 assertEquals(VALUE1, contentValues.getAsString(DummyProvider.VALUE)); in testRequery()
163 assertEquals(VALUE1, contentValues.getAsString(DummyProvider.VALUE)); in testRequery()
DContentResolverTest.java81 private static final int VALUE1 = 1; field in ContentResolverTest
104 values.put(COLUMN_VALUE_NAME, VALUE1); in setUp()
344 assertEquals(VALUE1, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testQuery_WithSqlSelectionArgs()
901 values.put(COLUMN_VALUE_NAME, VALUE1); in testDelete()
923 assertEquals(VALUE1, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testDelete()
941 assertEquals(VALUE1, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testDelete()