Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 16 of 16) 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/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp166 uint64_t id2 = 0; in TEST() local
167 EXPECT_EQ(0, AHardwareBuffer_getId(ahb2, &id2)); in TEST()
168 EXPECT_EQ(id2, gb2->getId()); in TEST()
169 EXPECT_NE(id2, 0); in TEST()
171 EXPECT_NE(id1, id2); in TEST()
/frameworks/base/core/tests/coretests/src/android/view/autofill/
DAutofillIdTest.java334 private void assertEqualsIgnoreSession(AutofillId id1, AutofillId id2) { in assertEqualsIgnoreSession() argument
336 assertWithMessage("id2 is null").that(id2).isNotNull(); in assertEqualsIgnoreSession()
337 assertWithMessage("%s is not equal to %s", id1, id2).that(id1.equalsIgnoreSession(id2)) in assertEqualsIgnoreSession()
341 private void assertNotEqualsIgnoreSession(AutofillId id1, AutofillId id2) { in assertNotEqualsIgnoreSession() argument
343 assertWithMessage("id2 is null").that(id2).isNotNull(); in assertNotEqualsIgnoreSession()
344 assertWithMessage("%s is not equal to %s", id1, id2).that(id1.equalsIgnoreSession(id2)) in assertNotEqualsIgnoreSession()
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/
DIconsUriHelperTest.java79 final String id2 = uri2.getPathSegments().get(0); in testGetContentUri_samePackageIdForSamePackageName() local
81 assertThat(id1).isEqualTo(id2); in testGetContentUri_samePackageIdForSamePackageName()
/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.java590 final int id2 = ev.getPointerId(i); in onTouchEvent() local
591 final float x = x1 * mVelocityTracker.getXVelocity(id2); in onTouchEvent()
592 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java132 int id2 = Install.multi(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp() local
133 InstallUtils.getPackageInstaller().abandonSession(id2); in testAbandonStagedSessionShouldCleanUp()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java510 int id2 = getUniqueId(); in handleNativeEvent() local
511 if (getAddrInfo(id2, cooked[3])) { in handleNativeEvent()
512 storeRequestMap(clientId, id2, clientInfo, NsdManager.RESOLVE_SERVICE); in handleNativeEvent()
/frameworks/base/core/java/android/widget/
DRemoteViews.java2769 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
2771 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
2776 final Drawable id2 = i2 == null ? null : i2.loadDrawable(ctx);
2780 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
2782 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
2809 copy.id2 = i2 == null ? null : i2.loadDrawable(ctx);
2814 copy.id2 = d2 == 0 ? null : ctx.getDrawable(d2);
2847 Drawable id1, id2, id3, id4;
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1743 String id2 = mZenModeHelperSpy.addAutomaticZenRule("android", zenRule2, "test"); in testRulesWithSameUri() local
1753 if (rule.id.equals(id2)) { in testRulesWithSameUri()
1767 if (rule.id.equals(id2)) { in testRulesWithSameUri()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3110 uint32_t id2 = idBits.firstMarkedBit(); in preparePointerGestures() local
3114 mCurrentRawState.rawPointerData.pointerForId(id2); in preparePointerGestures()
3129 float dist2 = dist[id2]; in preparePointerGestures()
3138 PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2]; in preparePointerGestures()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java3265 int id2 = o2.getJobId();
3269 return id1 < id2 ? -1 : (id1 > id2 ? 1 : 0);
/frameworks/native/docs/
DDoxyfile1322 # The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt72406 Landroid/widget/RemoteViews$TextViewDrawableAction;->id2:Landroid/graphics/drawable/Drawable;