Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContacts_SettingsTest.java36 String value2 = "value 2"; in testAccessSetting() local
38 Settings.setSetting(mContentResolver, "account", key2, value2); in testAccessSetting()
40 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key2)); in testAccessSetting()
43 Settings.setSetting(mContentResolver, "account", key1, value2); in testAccessSetting()
44 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key1)); in testAccessSetting()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_MediaVulkanGpuTest.cpp38 bool fuzzyMatch(uint32_t value1, uint32_t value2, int32_t tolerance) { in fuzzyMatch() argument
44 int32_t value2Masked = static_cast<int32_t>((value2 & mask) >> shift); in fuzzyMatch()
141 uint32_t value2 = swizzleBgraToRgba(referenceData[reference_offset]); in loadMediaAndVerifyFrameImport() local
142 ASSERT(fuzzyMatch(value1, value2, kTolerance), in loadMediaAndVerifyFrameImport()
143 "Expected ~0x%08X at (%i,%i), got 0x%08X", value2, x, y, value1); in loadMediaAndVerifyFrameImport()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DDevicePolicyEventWrapper.java148 public Builder setStrings(String value1, String value2, String[] values) { in setStrings() argument
154 mStringArrayValue[1] = value2; in setStrings()
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java296 int value2 = bundle2.getInt(key); in compareBundles() local
297 if (value1 != value2) { in compareBundles()
298 fail("Bad Bundle: at key key " + key + " expected " + value1 + ", got " + value2); in compareBundles()
309 int value2 = bundle2.getInt(key); in compareBundles() local
310 if (value1 != value2) { in compareBundles()
311 fail("Bad Bundle: at key key " + key + " expected " + value1 + ", got " + value2); in compareBundles()
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java465 String value2 = bundle.getString("cmd"); in testAmbiguator() local
467 if (!value1.equals(value2)) { in testAmbiguator()
468 fail("String " + value1 + "!=" + value2 + " after reparceling."); in testAmbiguator()
/cts/tests/tests/animation/src/android/animation/cts/
DPropertyValuesHolderTest.java662 float value2 = (Float) anim2.getAnimatedValue(); in testSetConverter() local
663 assertEquals(value2, -value1.x, 0.0f); in testSetConverter()