Home
last modified time | relevance | path

Searched refs:VALUE (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContentQueryMapTest.java51 DummyProvider.NAME, DummyProvider.VALUE};
67 values0.put(DummyProvider.VALUE, VALUE0); in setUp()
72 values1.put(DummyProvider.VALUE, VALUE1); in setUp()
99 new ContentQueryMap(mCursor, DummyProvider.VALUE, false, new Handler()); in testConstructor()
121 assertEquals(VALUE0, rows.get(NAME0).getAsString(DummyProvider.VALUE)); in testGetRows()
123 assertEquals(VALUE1, rows.get(NAME1).getAsString(DummyProvider.VALUE)); in testGetRows()
141 assertEquals(VALUE0, contentValues.getAsString(DummyProvider.VALUE)); in testRequery()
145 assertEquals(VALUE1, contentValues.getAsString(DummyProvider.VALUE)); in testRequery()
153 values.put(DummyProvider.VALUE, VALUE2); in testRequery()
163 assertEquals(VALUE1, contentValues.getAsString(DummyProvider.VALUE)); in testRequery()
[all …]
DDummyProvider.java55 public static final String VALUE = "value"; field in DummyProvider
83 + NAME + " TEXT," + VALUE + " TEXT"+ ");"); in onCreate()
103 db.insert(tbName, VALUE, values); in insert()
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java42 private static final String VALUE = "value"; field in DeviceConfigApiPermissionTests
67 DeviceConfig.setProperty(NAMESPACE2, KEY2, VALUE, /*makeDefault=*/ false); in testUseDeviceConfigWithoutPermissions()
107 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testUseDeviceConfigWithWritePermission()
147 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigWithReadPermission()
189 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigWithAllPermissions()
198 property, VALUE); in testDeviceConfigWithAllPermissions()
229 DeviceConfig.setProperty(PUBLIC_NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigPublicNamespacesWithoutReadPermission()
239 DeviceConfig.setProperty(PUBLIC_NAMESPACE, KEY, VALUE, /*makeDefault=*/ false); in testDeviceConfigPublicNamespacesWithoutReadPermission()
248 + " value.", property, VALUE); in testDeviceConfigPublicNamespacesWithoutReadPermission()
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceTest.java31 private static final String VALUE = "bar"; field in SampleDeviceTest
69 mActivity.savePreference(KEY, VALUE); in testSharedPreferences()
70 assertEquals("Preferences were not saved", VALUE, mActivity.getPreference(KEY)); in testSharedPreferences()
DSampleJUnit4DeviceTest.java39 private static final String VALUE = "bar"; field in SampleJUnit4DeviceTest
55 mActivityRule.getActivity().savePreference(KEY, VALUE); in shouldSaveSharedPreferences()
56 Assert.assertEquals("Preferences were not saved", VALUE, in shouldSaveSharedPreferences()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java189 "FINAL_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.FINAL, VALUE); in testFinalField()
199 "STATIC_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.STATIC, VALUE); in testStaticField()
209 "VOLATILE_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.VOLATILE, VALUE); in testVolatileFiled()
220 Modifier.PUBLIC | Modifier.TRANSIENT, VALUE); in testTransientField()
231 "PACAKGE_FIELD", "java.lang.String", 0, VALUE); in testPackageField()
241 "PRIVATE_FIELD", "java.lang.String", Modifier.PRIVATE, VALUE); in testPrivateField()
251 "PROTECTED_FIELD", "java.lang.String", Modifier.PROTECTED, VALUE); in testProtectedField()
285 "innerClassData", "java.lang.String", Modifier.PRIVATE, VALUE); in testInnerClass()
296 "innerInnerClassData", "java.lang.String", Modifier.PRIVATE, VALUE); in testInnerInnerClass()
DAbstractApiCheckerTest.java35 static final String VALUE = "VALUE"; field in AbstractApiCheckerTest
DAnnotationCheckerTest.java60 name, "boolean", Modifier.PUBLIC, VALUE); in addPublicBooleanField()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DDummyJobContentProvider.java45 public static final String VALUE = "value"; field in DummyJobContentProvider
72 + NAME + " TEXT," + VALUE + " TEXT"+ ");"); in onCreate()
92 db.insert(tbName, VALUE, values); in insert()
/cts/tests/JobScheduler/src/android/jobscheduler/
DDummyJobContentProvider.java45 public static final String VALUE = "value"; field in DummyJobContentProvider
72 + NAME + " TEXT," + VALUE + " TEXT"+ ");"); in onCreate()
92 db.insert(tbName, VALUE, values); in insert()
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java32 public static final int VALUE = 3; field in MessageTest
160 bundle.putInt(KEY, VALUE); in testCopyFrom()
168 assertEquals(VALUE, mMessage.getData().getInt(KEY)); in testCopyFrom()
188 bundle.putInt(KEY, VALUE); in testWriteToParcel()
198 assertEquals(VALUE, mMessage.getData().getInt(KEY)); in testWriteToParcel()
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsTest.java79 Settings.System._ID, Settings.System.NAME, Settings.System.VALUE in testSystemTable()
98 value.put(Settings.System.VALUE, insertValue); in testSystemTable()
114 value.put(Settings.System.VALUE, updateValue); in testSystemTable()
137 Settings.Secure._ID, Settings.Secure.NAME, Settings.Secure.VALUE in testSecureTable()
160 new String[] { Settings.NameValueTable.VALUE };
DSettings_NameValueTableTest.java82 assertEquals(value, c.getString(c.getColumnIndexOrThrow(NameValueTable.VALUE))); in testPutString()
DCalendarTest.java817 ExtendedProperties.VALUE
840 ep.put(ExtendedProperties.VALUE, value); in addExtendedProperty()
1043 extended.put(ExtendedProperties.VALUE, "bar"); in testEventsEntityQuery()
1049 extended.put(ExtendedProperties.VALUE, "bar2"); in testEventsEntityQuery()
1087 CalendarContract.ExtendedProperties.VALUE); in testEventsEntityQuery()
1930 newValues.put(ExtendedProperties.VALUE, "Big"); in testExtendedProperties()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoWriteSecureSettingsPermissionTest.java39 values.put(Settings.Secure.VALUE, Boolean.TRUE); in testWriteSecureSettings()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsTest.java644 Settings.KEY, Settings.VALUE};
660 value.put(Settings.VALUE, insertValue);
688 value.put(Settings.VALUE, updateValue);
716 value.put(Settings.VALUE, updateValue);
762 Extensions.VALUE, Extensions.PERSON_ID};
781 value.put(Extensions.VALUE, insertValue);
798 value.put(Settings.VALUE, updateValue);
/cts/tests/tests/permission/src/android/permission/cts/
DProviderPermissionTest.java177 value.put(Settings.System.VALUE, "value_insert"); in testWriteSettings()