Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java63 VerifierDeviceIdentity id2 = 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()
70 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_2); in testVerifierDeviceIdentity_Equals_Failure() local
72 assertFalse("The two VerifierDeviceIdentity instances should be unique", id1.equals(id2)); in testVerifierDeviceIdentity_Equals_Failure()
124 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.CREATOR.createFromParcel(parcel); in testVerifierDeviceIdentity_Parcel_ReadNegative() local
126 assertEquals("Parcel created should match expected value", id1, id2); in testVerifierDeviceIdentity_Parcel_ReadNegative()
136 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.CREATOR.createFromParcel(parcel); in testVerifierDeviceIdentity_Parcel_Read_Pass() local
138 assertEquals("Original identity and parceled identity should be the same", id1, id2); in testVerifierDeviceIdentity_Parcel_Read_Pass()
164 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.generate(random); in testVerifierDeviceIdentity_Generate_MinValue() local
167 + " 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.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/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp172 uint64_t id2 = 0; in TEST() local
173 EXPECT_EQ(0, AHardwareBuffer_getId(ahb2, &id2)); in TEST()
174 EXPECT_EQ(id2, gb2->getId()); in TEST()
175 EXPECT_NE(id2, 0); in TEST()
177 EXPECT_NE(id1, id2); in TEST()
/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.java628 final int id2 = ev.getPointerId(i); in onTouchEvent() local
629 final float x = x1 * mVelocityTracker.getXVelocity(id2); in onTouchEvent()
630 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
DInsetsState.java859 int id2 = state2.sourceIdAt(index2);
860 while (id1 != id2) {
861 if (id1 < id2) {
873 id2 = state2.sourceIdAt(index2);
/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/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java2422 String id2 = mZenModeHelper.addAutomaticZenRule("android", zenRule2, in testAddAutomaticZenRule_modesApi_fillsInDefaultValues() local
2435 assertThat(id2).isNotNull(); in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()
2436 ZenModeConfig.ZenRule rule2InConfig = mZenModeHelper.mConfig.automaticRules.get(id2); in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()
2563 String id2 = mZenModeHelper.addAutomaticZenRule(mPkg, zenRule2, in testRulesWithSameUri() local
2575 if (rule.id.equals(id2)) { in testRulesWithSameUri()
2590 if (rule.id.equals(id2)) { in testRulesWithSameUri()
3353 String id2 = mZenModeHelper.addAutomaticZenRule(mContext.getPackageName(), zenRule2, in testZenModeEventLog_ruleCounts() local
3374 mZenModeHelper.setAutomaticZenRuleState(id2, in testZenModeEventLog_ruleCounts()
3384 mZenModeHelper.setAutomaticZenRuleState(id2, in testZenModeEventLog_ruleCounts()
3480 String id2 = mZenModeHelper.addAutomaticZenRule(mContext.getPackageName(), zenRule2, in testZenModeEventLog_reassignUid() local
[all …]
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java212 int id2 = Install.multi(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp() local
213 InstallUtils.getPackageInstaller().abandonSession(id2); in testAbandonStagedSessionShouldCleanUp()
/frameworks/libs/native_bridge_support/android_api/libOpenSLES/proxy/
Dsles_trampolines.cc634 bool isSLID(SLInterfaceID id, SLInterfaceID id2) { in isSLID() argument
635 return memcmp(id, id2, sizeof(*id)) == 0; in isSLID()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3170 uint32_t id2 = idBits.firstMarkedBit(); in prepareMultiFingerPointerGestures() local
3174 mCurrentRawState.rawPointerData.pointerForId(id2); in prepareMultiFingerPointerGestures()
3188 float dist2 = dist[id2]; in prepareMultiFingerPointerGestures()
3197 PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2]; in prepareMultiFingerPointerGestures()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java5809 int id2 = o2.getJobId();
5813 return id1 < id2 ? -1 : (id1 > id2 ? 1 : 0);
/frameworks/base/core/java/android/widget/
DRemoteViews.java3307 final Drawable id2 = mI2 == null ? null : mI2.loadDrawable(ctx);
3311 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
3313 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp7616 auto id2 = DisplayId::fromValue<PhysicalDisplayId>(arg2); in onTransact() local
7617 const auto token2 = getPhysicalDisplayToken(*id2); in onTransact()
/frameworks/native/docs/
DDoxyfile1322 # The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt68440 Landroid/widget/RemoteViews$TextViewDrawableAction;->id2:Landroid/graphics/drawable/Drawable;