Home
last modified time | relevance | path

Searched refs:testValue (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/config/sysui/
DSystemUiSystemPropertiesFlagsTest.java39 Boolean testValue = mTestData.get(key); in getBoolean() local
40 return testValue == null ? defaultValue : testValue; in getBoolean()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java75 final String testValue = "testValue"; in testRowNameContentUriForSecure() local
80 Settings.Secure.VALUE, testKey, testValue, secondTestValue); in testRowNameContentUriForSecure()
93 final String testValue = "0"; in testRowNameContentUriForSystem() local
100 Settings.System.VALUE, testKey, testValue, secondTestValue); in testRowNameContentUriForSystem()
110 String testKey, String testValue, String secondTestValue) { in testRowNameContentUri() argument
115 v.put(valueField, testValue); in testRowNameContentUri()
125 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
144 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderProxyCountingTest.java219 for (int testValue : testValues) { in testBinderProxyCount()
220 if (testValue > 0) { in testBinderProxyCount()
221 sBpcTestAppCmdService.createSystemBinders(testValue); in testBinderProxyCount()
223 sBpcTestAppCmdService.releaseSystemBinders(-testValue); in testBinderProxyCount()
225 expectedBinderCount += testValue; in testBinderProxyCount()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerConstantsTest.java163 boolean testValue = true; in testGetConstant_whenSettingHasInvalidType_doesNotUpdateParamsOrThrow()
165 BackupManagerConstants.KEY_VALUE_BACKUP_REQUIRED_NETWORK_TYPE + "=" + testValue; in testGetConstant_whenSettingHasInvalidType_doesNotUpdateParamsOrThrow()
/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/test-app/BackgroundInstallControlServiceTestApp/src/com/android/server/pm/test/app/
DBackgroundInstallControlServiceTest.java151 String testValue = "test"; in testUnregisterBackgroundInstallControlCallback() local
159 mArray.add(testValue); in testUnregisterBackgroundInstallControlCallback()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp570 int32_t testValue[] = { 0, -123, 123 }; in TEST_F() local
571 for (size_t i = 0; i < ARRAY_SIZE(testValue); i++) { in TEST_F()
573 data.writeInt32(testValue[i]); in TEST_F()
575 StatusEq(testValue[i])); in TEST_F()
1198 std::vector<uint64_t> const testValue = { std::numeric_limits<uint64_t>::max(), 0, 200 }; in TEST_F() local
1199 data.writeUint64Vector(testValue); in TEST_F()
1204 EXPECT_EQ(readValue, testValue); in TEST_F()
1234 const std::vector<uint64_t> testValue((kSizeBytesAlmostFull + i) / sizeof(uint64_t), 42); in TEST_F() local
1237 data.writeUint64Vector(testValue); in TEST_F()
1242 EXPECT_EQ(readValue, testValue); in TEST_F()
[all …]
/frameworks/base/core/java/android/animation/
DPropertyValuesHolder.java813 Object testValue = null; in setupSetterAndGetter() local
819 if (testValue == null) { in setupSetterAndGetter()
820 testValue = convertBack(mProperty.get(target)); in setupSetterAndGetter()
822 kf.setValue(testValue); in setupSetterAndGetter()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java653 final String testValue = "testValue"; in testLargeSettingKey() local
657 settingsState.insertSettingLocked(largeKey, testValue, null, true, SYSTEM_PACKAGE); in testLargeSettingKey()
664 settingsState.insertSettingLocked(largeKey, testValue, null, true, TEST_PACKAGE); in testLargeSettingKey()