Home
last modified time | relevance | path

Searched refs:value1 (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_SettingsTest.java34 String value1 = "value 1"; in testAccessSetting() local
37 Settings.setSetting(mContentResolver, "account", key1, value1); in testAccessSetting()
39 assertEquals(value1, 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
43 int32_t value1Masked = static_cast<int32_t>((value1 & mask) >> shift); in fuzzyMatch()
139 uint32_t value1 = framePixels[frame_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
153 mStringArrayValue[0] = value1; in setStrings()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java379 final TranslationResponseValue value1 = response1.getTranslationResponseValues().get(0); in testTranslation_partialResponses() local
380 assertThat(value1.getStatusCode()).isEqualTo(TranslationResponseValue.STATUS_SUCCESS); in testTranslation_partialResponses()
381 assertThat(value1.getText().toString()).isEqualTo("success"); in testTranslation_partialResponses()
382 assertThat(value1.getTransliteration()).isNull(); in testTranslation_partialResponses()
383 assertThat(value1.getExtras()).isEqualTo(Bundle.EMPTY); in testTranslation_partialResponses()
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java294 int value1 = bundle1.getInt(key); in compareBundles() local
299 if (value1 != value2) { in compareBundles()
300 fail("Bad Bundle: at key key " + key + " expected " + value1 + ", got " + value2); in compareBundles()
310 int value1 = bundle1.getInt(key); in compareBundles() local
312 if (value1 != value2) { in compareBundles()
313 fail("Bad Bundle: at key key " + key + " expected " + value1 + ", got " + value2); in compareBundles()
/cts/tests/translation/src/android/translation/cts/unittests/
DTranslationResponseTest.java132 final TranslationResponseValue value1 = in testParceledResponse_validTranslationResponseValues() local
134 assertThat(value1.getText()).isEqualTo("hello"); in testParceledResponse_validTranslationResponseValues()
DTranslationRequestTest.java135 final TranslationRequestValue value1 = in testParceledRequest_validTranslationRequestValues() local
137 assertThat(value1.getText().toString()).isEqualTo("hello"); in testParceledRequest_validTranslationRequestValues()
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java447 private void testGetParam(int media, int command, int[] bandArray, int value0, int value1) { in testGetParam() argument
448 int reply[] = {value0, value1}; in testGetParam()
454 assertEquals("getParam should not change value1", value1, reply[1]); in testGetParam()
DAmbiguousBundlesTest.java700 String value1 = bundle.getString("cmd"); in testAmbiguator() local
704 if (!value1.equals(value2)) { in testAmbiguator()
705 fail("String " + value1 + "!=" + value2 + " after reparceling."); in testAmbiguator()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0069/
Dpoc.c63 uint32_t value1; member
/cts/tests/tests/animation/src/android/animation/cts/
DPropertyValuesHolderTest.java675 PointF value1 = (PointF) anim1.getAnimatedValue(); in testSetConverter() local
677 assertEquals(value2, -value1.x, 0.0f); in testSetConverter()
678 assertEquals(0f, value1.y, 0.0f); in testSetConverter()