Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java62 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_Equals_Success() local
65 assertTrue("The two VerifierDeviceIdentity instances should be equal", id1.equals(id2)); in testVerifierDeviceIdentity_Equals_Success()
69 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_Equals_Failure() local
72 assertFalse("The two VerifierDeviceIdentity instances should be unique", id1.equals(id2)); in testVerifierDeviceIdentity_Equals_Failure()
76 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_HashCode() local
79 (int) TEST_1, id1.hashCode()); in testVerifierDeviceIdentity_HashCode()
83 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_ToString_Success() local
86 TEST_1_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Success()
90 VerifierDeviceIdentity id1 = new VerifierDeviceIdentity(TEST_MAXVALUE); in testVerifierDeviceIdentity_ToString_Largest() local
93 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.cpp146 uint64_t id1 = 0; in TEST() local
157 EXPECT_EQ(0, AHardwareBuffer_getId(ahb1, &id1)); in TEST()
160 EXPECT_EQ(id1, gb1->getId()); in TEST()
161 EXPECT_NE(id1, 0); in TEST()
177 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.java109 private final int id1 = 1; field in NotificationRecordTest
201 return new StatusBarNotification(pkg, pkg, id1, tag1, uid, uid, n, mUser, null, uid); in getNotification()
223 return new StatusBarNotification(mPkg, mPkg, id1, tag1, uid, uid, n, mUser, null, uid); in getStyledNotification()
244 return new StatusBarNotification(mPkg, mPkg, id1, tag1, uid, uid, n, mUser, null, uid); in getNotification()
272 return new StatusBarNotification(pkg, pkg, id1, tag1, uid, uid, n, mUser, null, uid); in getMessagingStyleNotification()
1031 new StatusBarNotification(PKG_P, PKG_P, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_PappProvided()
1052 new StatusBarNotification(PKG_P, PKG_P, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_PappProvided_invalidSound()
1071 new StatusBarNotification(PKG_P, PKG_P, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_PuserOverridden()
1088 new StatusBarNotification(PKG_O, PKG_O, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_prePappProvided()
DZenModeHelperTest.java2407 String id1 = mZenModeHelper.addAutomaticZenRule("android", zenRule1, in testAddAutomaticZenRule_modesApi_fillsInDefaultValues() local
2426 assertThat(id1).isNotNull(); in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()
2427 ZenModeConfig.ZenRule rule1InConfig = mZenModeHelper.mConfig.automaticRules.get(id1); in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()
5378 String id1 = mZenModeHelper.addAutomaticZenRule("pkg1", in removeAutomaticZenRule_preservedForRestoringByPackageAndConditionId() local
5397 mZenModeHelper.removeAutomaticZenRule(id1, UPDATE_ORIGIN_APP, "begone", CUSTOM_PKG_UID); in removeAutomaticZenRule_preservedForRestoringByPackageAndConditionId()
/frameworks/base/core/java/android/view/
DGestureDetector.java622 final int id1 = ev.getPointerId(upIndex); in onTouchEvent() local
623 final float x1 = mVelocityTracker.getXVelocity(id1); in onTouchEvent()
624 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
DInsetsState.java858 int id1 = state1.sourceIdAt(index1);
860 while (id1 != id2) {
861 if (id1 < id2) {
865 id1 = state1.sourceIdAt(index1);
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DRemoteComposeBuffer.java529 public int textMerge(int id1, int id2) { in textMerge() argument
530 int textId = addText(id1 + "+" + id2); in textMerge()
531 TextMerge.COMPANION.apply(mBuffer, textId, id1, id2); in textMerge()
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java210 int id1 = Install.single(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp() local
211 InstallUtils.getPackageInstaller().abandonSession(id1); in testAbandonStagedSessionShouldCleanUp()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3169 uint32_t id1 = idBits.clearFirstMarkedBit(); in prepareMultiFingerPointerGestures() local
3172 mCurrentRawState.rawPointerData.pointerForId(id1); in prepareMultiFingerPointerGestures()
3187 float dist1 = dist[id1]; in prepareMultiFingerPointerGestures()
3196 PointerGesture::Delta& delta1 = mPointerGesture.referenceDeltas[id1]; in prepareMultiFingerPointerGestures()
/frameworks/base/core/java/android/widget/
DRemoteViews.java3306 final Drawable id1 = mI1 == null ? null : mI1.loadDrawable(ctx);
3311 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
3313 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java5808 int id1 = o1.getJobId();
5813 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.txt68439 Landroid/widget/RemoteViews$TextViewDrawableAction;->id1:Landroid/graphics/drawable/Drawable;