Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java59 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_Equals_Success() local
61 assertTrue("The two VerifierDeviceIdentity instances should be equal", id1.equals(id2)); in testVerifierDeviceIdentity_Equals_Success()
66 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_2); in testVerifierDeviceIdentity_Equals_Failure() local
68 assertFalse("The two VerifierDeviceIdentity instances should be unique", id1.equals(id2)); in testVerifierDeviceIdentity_Equals_Failure()
120 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.CREATOR.createFromParcel(parcel); in testVerifierDeviceIdentity_Parcel_ReadNegative() local
122 assertEquals("Parcel created should match expected value", id1, id2); in testVerifierDeviceIdentity_Parcel_ReadNegative()
132 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.CREATOR.createFromParcel(parcel); in testVerifierDeviceIdentity_Parcel_Read_Pass() local
134 assertEquals("Original identity and parceled identity should be the same", id1, id2); in testVerifierDeviceIdentity_Parcel_Read_Pass()
159 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.generate(random); in testVerifierDeviceIdentity_Generate_MinValue() local
162 + " should be the same", id1, id2); in testVerifierDeviceIdentity_Generate_MinValue()
[all …]
/frameworks/native/libs/vr/libpdx/
Dthread_local_buffer_tests.cpp57 auto id2 = ThreadLocalBufferTest::GetSlotAddress<ReceiveSlotA>(); in TEST() local
61 EXPECT_NE(id1, id2); in TEST()
64 EXPECT_NE(id2, id4); in TEST()
72 EXPECT_EQ(id2, id2_alias); in TEST()
80 std::uintptr_t id2 = 0U; in TEST() local
82 std::thread thread([&id2]() mutable { in TEST()
83 id2 = ThreadLocalBufferTest::GetSlotAddress<SendBuffer>(); in TEST()
88 EXPECT_NE(0U, id2); in TEST()
89 EXPECT_NE(id1, id2); in TEST()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureEventTest.java116 final AutofillId id2 = new AutofillId(666); in testAddAutofillId() local
117 event.addAutofillId(id2); in testAddAutofillId()
119 assertThat(event.getIds()).containsExactly(id1, id2).inOrder(); in testAddAutofillId()
131 final AutofillId id2 = new AutofillId(666); in testAddAutofillId_afterSetId() local
132 event.addAutofillId(id2); in testAddAutofillId_afterSetId()
134 assertThat(event.getIds()).containsExactly(id1, id2).inOrder(); in testAddAutofillId_afterSetId()
148 final AutofillId id2 = new AutofillId(666); in testAddAutofillId_afterSetIds() local
149 event.addAutofillId(id2); in testAddAutofillId_afterSetIds()
151 assertThat(event.getIds()).containsExactly(id1, id2).inOrder(); in testAddAutofillId_afterSetIds()
/frameworks/base/core/tests/coretests/src/android/view/autofill/
DAutofillIdTest.java308 private void assertEqualsIgnoreSession(AutofillId id1, AutofillId id2) { in assertEqualsIgnoreSession() argument
310 assertWithMessage("id2 is null").that(id2).isNotNull(); in assertEqualsIgnoreSession()
311 assertWithMessage("%s is not equal to %s", id1, id2).that(id1.equalsIgnoreSession(id2)) in assertEqualsIgnoreSession()
315 private void assertNotEqualsIgnoreSession(AutofillId id1, AutofillId id2) { in assertNotEqualsIgnoreSession() argument
317 assertWithMessage("id2 is null").that(id2).isNotNull(); in assertNotEqualsIgnoreSession()
318 assertWithMessage("%s is not equal to %s", id1, id2).that(id1.equalsIgnoreSession(id2)) in assertNotEqualsIgnoreSession()
/frameworks/wilhelm/tests/examples/
DxaVideoDecoderCapabilities.cpp83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, in id_pair_to_string() argument
89 return id_to_string(id2, table[i].id2_table, table[i].id2_numEntries); in id_pair_to_string()
/frameworks/base/core/java/android/view/
DGestureDetector.java572 final int id2 = ev.getPointerId(i); in onTouchEvent() local
573 final float x = x1 * mVelocityTracker.getXVelocity(id2); in onTouchEvent()
574 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java471 int id2 = getUniqueId(); in handleNativeEvent() local
472 if (getAddrInfo(id2, cooked[3])) { in handleNativeEvent()
473 storeRequestMap(clientId, id2, clientInfo, NsdManager.RESOLVE_SERVICE); in handleNativeEvent()
/frameworks/base/core/java/android/widget/
DRemoteViews.java1831 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
1833 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
1838 final Drawable id2 = i2 == null ? null : i2.loadDrawable(ctx);
1842 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
1844 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
1870 copy.id2 = i2 == null ? null : i2.loadDrawable(ctx);
1875 copy.id2 = d2 == 0 ? null : ctx.getDrawable(d2);
1908 Drawable id1, id2, id3, id4;
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java3233 int id2 = o2.getJobId(); in sortJobs()
3237 return id1 < id2 ? -1 : (id1 > id2 ? 1 : 0); in sortJobs()
/frameworks/native/services/inputflinger/
DInputReader.cpp5999 uint32_t id2 = idBits.firstMarkedBit(); in preparePointerGestures() local
6003 mCurrentRawState.rawPointerData.pointerForId(id2); in preparePointerGestures()
6018 float dist2 = dist[id2]; in preparePointerGestures()
6026 PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2]; in preparePointerGestures()
/frameworks/native/docs/
DDoxyfile1322 # The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ...
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt89528 Landroid/widget/RemoteViews$TextViewDrawableAction;->id2:Landroid/graphics/drawable/Drawable;