Home
last modified time | relevance | path

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

/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py69 testValue = "test string"
72 testValue = list(range(len(origValue)))
74 testValue = origValue ^ 1
77 testValue = self._getMidpoint(cfg.area_configs[idx].min_int32_value,
81 testValue = 123
84 testValue = self._getMidpoint(cfg.area_configs[idx].min_int64_value,
88 testValue = 1 << 50
91 testValue = self._getMidpoint(cfg.area_configs[idx].min_float_value,
95 testValue = 123.456
97 testValue = "%.5f" % testValue
[all …]
/packages/modules/DnsResolver/
DExperimentsTest.cpp114 for (int testValue : testValues) { in TEST_F() local
115 setupFakeMap(testValue); in TEST_F()
123 for (int testValue : testValues) { in TEST_F() local
124 setupExperimentsMap(testValue); in TEST_F()
135 for (int testValue : testValues) { in TEST_F() local
136 expectGetDnsExperimentFlagIntDefault(testValue); in TEST_F()
142 for (int testValue : testValues) { in TEST_F() local
143 setupFakeMap(testValue); in TEST_F()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DTemperatureDataTest.java42 float testValue = 25.12345f; in testBuilder_celsius_objectCreated() local
44 TemperatureData temp = new TemperatureData.Builder().setValueCelsius(testValue).build(); in testBuilder_celsius_objectCreated()
47 assertEquals(testValue, temp.getValue(), TEMP_CONVERSION_DELTA); in testBuilder_celsius_objectCreated()
52 float testValue = 80.1234f; in testBuilder_fahrenheit_objectCreated() local
54 TemperatureData temp = new TemperatureData.Builder().setValueFahrenheit(testValue).build(); in testBuilder_fahrenheit_objectCreated()
56 assertEquals(testValue, TEMP_CONVERSION_DELTA, temp.getValue()); in testBuilder_fahrenheit_objectCreated()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnectionTest.java214 String testValue = "close"; in verifyNotUpdatingRequestPropertyForIgnorableProperty() local
215 mHttpsServiceConnection.setRequestProperty(testName, testValue); in verifyNotUpdatingRequestPropertyForIgnorableProperty()
228 String testValue = "application/x-www-form-urlencoded"; in verifyCallingSetRequestPropertyForProperty() local
229 mHttpsServiceConnection.setRequestProperty(testName, testValue); in verifyCallingSetRequestPropertyForProperty()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSCaptivePortalAppTest.kt125 val testValue = "testvalue" in startCaptivePortalApp() constant
126 testBundle.putString(testKey, testValue) in startCaptivePortalApp()
131 assertEquals(testValue, signInIntent.getStringExtra(testKey)) in startCaptivePortalApp()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/
DPhFlagsTest.java427 boolean testValue = !IS_ART_IMAGE_LOADING_OPTIMIZATION_ENABLED; in testIsArtImageLoadingOptimizationEnabled()
432 String.valueOf(testValue), in testIsArtImageLoadingOptimizationEnabled()
436 .isEqualTo(testValue); in testIsArtImageLoadingOptimizationEnabled()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java1300 int testValue = 100; in testVolumeControlOffsetDescriptor() local
1308 Assert.assertFalse(descriptor.setValue(invalidId, testValue)); in testVolumeControlOffsetDescriptor()
1309 Assert.assertTrue(descriptor.setValue(validId, testValue)); in testVolumeControlOffsetDescriptor()
1311 Assert.assertEquals(testValue, descriptor.getValue(validId)); in testVolumeControlOffsetDescriptor()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java1687 byte[] testValue = "test value".getBytes(); in testSetGetCustomMetaCase()
1694 expectedResult, mDatabaseManager.setCustomMeta(mTestDevice, key, testValue)); in testSetGetCustomMetaCase()
1695 verify(mAdapterService).metadataChanged(TEST_BT_ADDR, key, testValue); in testSetGetCustomMetaCase()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java2315 for (int testValue : Set.of(-1, 2)) { in testShouldRunComparison()
2316 doReturn(testValue).when(mResources) in testShouldRunComparison()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java4827 final String testValue = "testvalue";
4828 testBundle.putString(testKey, testValue);
4834 assertEquals(testValue, signInIntent.getStringExtra(testKey));