Home
last modified time | relevance | path

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

/cts/tests/tests/contactsprovider/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/translation/src/android/translation/cts/
DTranslationManagerTest.java395 final TranslationResponseValue value2 = response2.getTranslationResponseValues().get(1); in testTranslation_partialResponses() local
396 assertThat(value2.getStatusCode()).isEqualTo(TranslationResponseValue.STATUS_SUCCESS); in testTranslation_partialResponses()
397 assertThat(value2.getText().toString()).isEqualTo("success 2"); in testTranslation_partialResponses()
398 assertThat(value2.getTransliteration()).isNull(); in testTranslation_partialResponses()
399 assertThat(value2.getExtras()).isEqualTo(Bundle.EMPTY); in testTranslation_partialResponses()
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java297 int value2 = bundle2.getInt(key); in compareBundles() local
298 if (value1 != value2) { in compareBundles()
299 fail("Bad Bundle: at key key " + key + " expected " + value1 + ", got " + value2); in compareBundles()
310 int value2 = bundle2.getInt(key); in compareBundles() local
311 if (value1 != value2) { in compareBundles()
312 fail("Bad Bundle: at key key " + key + " expected " + value1 + ", got " + value2); in compareBundles()
/cts/tests/translation/src/android/translation/cts/unittests/
DTranslationResponseTest.java136 final TranslationResponseValue value2 = in testParceledResponse_validTranslationResponseValues() local
138 assertThat(value2.getText()).isEqualTo("world"); in testParceledResponse_validTranslationResponseValues()
DTranslationRequestTest.java139 final TranslationRequestValue value2 = in testParceledRequest_validTranslationRequestValues() local
141 assertThat(value2.getText().toString()).isEqualTo("world"); in testParceledRequest_validTranslationRequestValues()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0069/
Dpoc.c64 uint32_t value2; member
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java604 String value2 = bundle.getString("cmd"); in testAmbiguator() local
606 if (!value1.equals(value2)) { in testAmbiguator()
607 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()