Home
last modified time | relevance | path

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

/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiTests.java48 private static final String KEY1 = "key1"; field in DeviceConfigApiTests
99 nullifyProperty(NAMESPACE1, KEY1); in cleanUp()
100 nullifyProperty(NAMESPACE2, KEY1); in cleanUp()
111 deletePropertyThrowShell(NAMESPACE1, KEY1); in cleanUpAfterAllTests()
112 deletePropertyThrowShell(NAMESPACE2, KEY1); in cleanUpAfterAllTests()
124 String result = DeviceConfig.getProperty(EMPTY_NAMESPACE, KEY1); in getProperty_empty()
134 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in setAndGetProperty_sameNamespace()
135 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in setAndGetProperty_sameNamespace()
146 DeviceConfig.setProperty(NAMESPACE1, KEY1, VALUE1, /*makeDefault=*/false); in setAndGetProperty_differentNamespace()
147 String result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in setAndGetProperty_differentNamespace()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DAnnotationTest.java35 private static final String KEY1 = "name"; field in AnnotationTest
46 new Annotation(KEY1, VALUE1); in testConstructor()
52 mAnnotation = new Annotation(KEY1, VALUE1); in testGetValue()
61 mAnnotation = new Annotation(KEY1, VALUE1); in testGetKey()
62 assertEquals(KEY1, mAnnotation.getKey()); in testGetKey()
69 mAnnotation = new Annotation(KEY1, VALUE1); in testGetSpanTypeId()
78 mAnnotation = new Annotation(KEY1, VALUE1); in testWriteToParcel()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverTest.java78 private static final String KEY1 = "key1"; field in ContentResolverTest
103 values.put(COLUMN_KEY_NAME, KEY1); in setUp()
343 assertEquals(KEY1, mCursor.getString(mCursor.getColumnIndexOrThrow(COLUMN_KEY_NAME))); in testQuery_WithSqlSelectionArgs()
900 values.put(COLUMN_KEY_NAME, KEY1); in testDelete()
922 assertEquals(KEY1, mCursor.getString(mCursor.getColumnIndexOrThrow(COLUMN_KEY_NAME))); in testDelete()
940 assertEquals(KEY1, mCursor.getString(mCursor.getColumnIndexOrThrow(COLUMN_KEY_NAME))); in testDelete()
944 selection = COLUMN_KEY_NAME + "=\"" + KEY1 + "\""; in testDelete()