/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | VerifierDeviceIdentityTest.java | 62 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/ |
D | thread_local_buffer_tests.cpp | 56 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/ |
D | ContentCaptureEventTest.java | 111 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/ |
D | AHardwareBufferTest.cpp | 140 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/ |
D | AutofillIdTest.java | 334 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/ |
D | xaVideoDecoderCapabilities.cpp | 78 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/ |
D | IconsUriHelperTest.java | 78 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/ |
D | NotificationRecordTest.java | 100 private final int id1 = 1; field in NotificationRecordTest 185 return new StatusBarNotification(pkg, pkg, id1, tag1, uid, uid, n, mUser, null, uid); in getNotification() 207 return new StatusBarNotification(mPkg, mPkg, id1, tag1, uid, uid, n, mUser, null, uid); in getStyledNotification() 227 return new StatusBarNotification(mPkg, mPkg, id1, tag1, uid, uid, n, mUser, null, uid); in getInsistentNotification() 243 return new StatusBarNotification(pkg, pkg, id1, tag1, uid, uid, n, mUser, null, uid); in getMessagingStyleNotification() 843 new StatusBarNotification(PKG_P, PKG_P, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_PappProvided() 868 new StatusBarNotification(PKG_P, PKG_P, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_PappProvided_invalidSound() 888 new StatusBarNotification(PKG_P, PKG_P, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_PuserOverridden() 905 new StatusBarNotification(PKG_O, PKG_O, id1, tag1, uid, uid, n, mUser, null, uid); in testCalculateGrantableUris_prePappProvided()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 588 final int id1 = ev.getPointerId(upIndex); in onTouchEvent() local 589 final float x1 = mVelocityTracker.getXVelocity(id1); in onTouchEvent() 590 final float y1 = mVelocityTracker.getYVelocity(id1); in onTouchEvent()
|
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
D | StagedInstallInternalTest.java | 152 int id1 = Install.single(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp() local 153 InstallUtils.getPackageInstaller().abandonSession(id1); in testAbandonStagedSessionShouldCleanUp()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 2864 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4); 2866 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4); 2870 final Drawable id1 = i1 == null ? null : i1.loadDrawable(ctx); 2875 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4); 2877 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4); 2903 copy.id1 = i1 == null ? null : i1.loadDrawable(ctx); 2908 copy.id1 = d1 == 0 ? null : ctx.getDrawable(d1); 2942 Drawable id1, id2, id3, id4;
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 3162 uint32_t id1 = idBits.clearFirstMarkedBit(); in preparePointerGestures() local 3165 mCurrentRawState.rawPointerData.pointerForId(id1); in preparePointerGestures() 3182 float dist1 = dist[id1]; in preparePointerGestures() 3191 PointerGesture::Delta& delta1 = mPointerGesture.referenceDeltas[id1]; in preparePointerGestures()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 3568 int id1 = o1.getJobId(); 3573 return id1 < id2 ? -1 : (id1 > id2 ? 1 : 0);
|
/frameworks/native/docs/ |
D | Doxyfile | 1322 # The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ...
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 69082 Landroid/widget/RemoteViews$TextViewDrawableAction;->id1:Landroid/graphics/drawable/Drawable;
|