Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java58 VerifierDeviceIdentity id1 = 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()
65 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_Equals_Failure() local
68 assertFalse("The two VerifierDeviceIdentity instances should be unique", id1.equals(id2)); in testVerifierDeviceIdentity_Equals_Failure()
72 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_HashCode() local
75 (int) TEST_1, id1.hashCode()); in testVerifierDeviceIdentity_HashCode()
79 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_ToString_Success() local
82 TEST_1_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Success()
86 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_MAXVALUE); in testVerifierDeviceIdentity_ToString_Largest() local
89 TEST_MAXVALUE_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Largest()
[all …]
/frameworks/native/libs/vr/libpdx/
Dthread_local_buffer_tests.cpp56 auto id1 = ThreadLocalBufferTest::GetSlotAddress<SendSlotA>(); in TEST() local
61 EXPECT_NE(id1, id2); in TEST()
63 EXPECT_NE(id1, id3); in TEST()
71 EXPECT_EQ(id1, id1_alias); in TEST()
79 auto id1 = ThreadLocalBufferTest::GetSlotAddress<SendBuffer>(); in TEST() local
87 EXPECT_NE(0U, id1); in TEST()
89 EXPECT_NE(id1, id2); in TEST()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureEventTest.java111 final AutofillId id1 = new AutofillId(108); in testAddAutofillId() local
112 event.addAutofillId(id1); in testAddAutofillId()
114 assertThat(event.getIds()).containsExactly(id1); in testAddAutofillId()
119 assertThat(event.getIds()).containsExactly(id1, id2).inOrder(); in testAddAutofillId()
126 final AutofillId id1 = new AutofillId(108); in testAddAutofillId_afterSetId() local
127 event.setAutofillId(id1); in testAddAutofillId_afterSetId()
128 assertThat(event.getId()).isEqualTo(id1); in testAddAutofillId_afterSetId()
134 assertThat(event.getIds()).containsExactly(id1, id2).inOrder(); in testAddAutofillId_afterSetId()
141 final AutofillId id1 = new AutofillId(108); in testAddAutofillId_afterSetIds() local
143 ids.add(id1); in testAddAutofillId_afterSetIds()
[all …]
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp140 uint64_t id1 = 0; in TEST() local
151 EXPECT_EQ(0, AHardwareBuffer_getId(ahb1, &id1)); in TEST()
154 EXPECT_EQ(id1, gb1->getId()); in TEST()
155 EXPECT_NE(id1, 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
335 assertWithMessage("id1 is null").that(id1).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
342 assertWithMessage("id1 is null").that(id1).isNotNull(); in assertNotEqualsIgnoreSession()
344 assertWithMessage("%s is not equal to %s", id1, id2).that(id1.equalsIgnoreSession(id2)) in assertNotEqualsIgnoreSession()
/frameworks/wilhelm/tests/examples/
DxaVideoDecoderCapabilities.cpp78 XAuint32 id1; member
83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, in id_pair_to_string() argument
88 if (id1 == table[i].id1) { in id_pair_to_string()
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/
DIconsUriHelperTest.java78 final String id1 = uri1.getPathSegments().get(0); in testGetContentUri_samePackageIdForSamePackageName() local
81 assertThat(id1).isEqualTo(id2); in testGetContentUri_samePackageIdForSamePackageName()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java98 private final int id1 = 1; field in NotificationRecordTest
183 return new StatusBarNotification(pkg, pkg, id1, tag1, uid, uid, n, mUser, null, uid); in getNotification()
205 return new StatusBarNotification(mPkg, mPkg, id1, tag1, uid, uid, n, mUser, null, uid); in getStyledNotification()
225 return new StatusBarNotification(mPkg, mPkg, id1, tag1, uid, uid, n, mUser, null, uid); in getInsistentNotification()
241 return new StatusBarNotification(pkg, pkg, id1, tag1, uid, uid, n, mUser, null, uid); in getMessagingStyleNotification()
821 new StatusBarNotification(PKG_P, PKG_P, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_PappProvided()
845 new StatusBarNotification(PKG_P, PKG_P, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_PuserOverridden()
862 new StatusBarNotification(PKG_O, PKG_O, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_prePappProvided()
/frameworks/base/core/java/android/view/
DGestureDetector.java584 final int id1 = ev.getPointerId(upIndex); in onTouchEvent() local
585 final float x1 = mVelocityTracker.getXVelocity(id1); in onTouchEvent()
586 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java130 int id1 = Install.single(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp() local
131 InstallUtils.getPackageInstaller().abandonSession(id1); in testAbandonStagedSessionShouldCleanUp()
/frameworks/base/core/java/android/widget/
DRemoteViews.java2769 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
2771 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
2775 final Drawable id1 = i1 == null ? null : i1.loadDrawable(ctx);
2780 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
2782 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
2808 copy.id1 = i1 == null ? null : i1.loadDrawable(ctx);
2813 copy.id1 = d1 == 0 ? null : ctx.getDrawable(d1);
2847 Drawable id1, id2, id3, id4;
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3109 uint32_t id1 = idBits.clearFirstMarkedBit(); in preparePointerGestures() local
3112 mCurrentRawState.rawPointerData.pointerForId(id1); in preparePointerGestures()
3128 float dist1 = dist[id1]; in preparePointerGestures()
3137 PointerGesture::Delta& delta1 = mPointerGesture.referenceDeltas[id1]; in preparePointerGestures()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java3264 int id1 = o1.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.txt72405 Landroid/widget/RemoteViews$TextViewDrawableAction;->id1:Landroid/graphics/drawable/Drawable;