Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DVerifierDeviceIdentityTest.java59 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_Equals_Success() local
66 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_2); in testVerifierDeviceIdentity_Equals_Failure() local
122 assertEquals("Parcel created should match expected value", id1, id2); in testVerifierDeviceIdentity_Parcel_ReadNegative()
159 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.generate(random); in testVerifierDeviceIdentity_Generate_MinValue() local
162 + " should be the same", id1, id2); in testVerifierDeviceIdentity_Generate_MinValue()
170 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.generate(random); in testVerifierDeviceIdentity_Generate_Random() local
178 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED); in testVerifierDeviceIdentity_Parse_Normal() local
181 id1, id2); in testVerifierDeviceIdentity_Parse_Normal()
236 id1.toString(), id2.toString()); in testVerifierDeviceIdentity_Parse_SquashToUppercase()
244 assertEquals("Substitution should replace 0 with O and 1 with I", id1, id2); in testVerifierDeviceIdentity_Parse_1I_And_0O_Substitution()
[all …]
/aosp12/frameworks/native/libs/vr/libpdx/
H A 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
H A 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()
/aosp12/frameworks/native/libs/nativewindow/tests/
H A 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()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
H A DVmsProviderInfoStoreTest.java53 int id2 = mProviderInfoStore.getProviderId(MOCK_INFO_2); in testTwoInfos() local
55 assertEquals(2, id2); in testTwoInfos()
57 assertArrayEquals(MOCK_INFO_2, mProviderInfoStore.getProviderInfo(id2)); in testTwoInfos()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/autofill/
H A 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()
/aosp12/system/extras/simpleperf/
H A Ddso.h83 uint32_t id2 = UINT_MAX; in CompareByDumpId() local
84 s2->GetDumpId(&id2); in CompareByDumpId()
85 return id1 < id2; in CompareByDumpId()
H A Dcmd_report_sample.cpp700 uint32_t id2 = UINT_MAX; in CompareDsoByDumpId() local
701 d2->GetDumpId(&id2); in CompareDsoByDumpId()
702 return id1 < id2; in CompareDsoByDumpId()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/
H A DIconsUriHelperTest.java79 final String id2 = uri2.getPathSegments().get(0); in testGetContentUri_samePackageIdForSamePackageName() local
81 assertThat(id1).isEqualTo(id2); in testGetContentUri_samePackageIdForSamePackageName()
/aosp12/hardware/interfaces/broadcastradio/common/utils2x/
H A DUtils.cpp367 auto& id2 = info2.selector.primaryId; in operator ()() local
368 return id1.type == id2.type && id1.value == id2.value; in operator ()()
/aosp12/frameworks/wilhelm/tests/examples/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DCallLogGroupBuilder.java215 private boolean isSameAccount(String name1, String name2, String id1, String id2) { in isSameAccount() argument
216 return TextUtils.equals(name1, name2) && TextUtils.equals(id1, id2); in isSameAccount()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java420 final Long id2 = object2.getId();
421 if (id1 == null && id2 == null) {
425 } else if (id2 == null) {
427 } else if (id1 < id2) {
429 } else if (id1 > id2) {
/aosp12/frameworks/base/core/java/android/view/
H A 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()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsDatabaseHelperTest.java159 final long id2 = ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value2"); in testQueryIdWithOneArg_insertWithOneArgAndReturnId() local
160 MoreAsserts.assertNotEqual(-1, id2); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
163 assertEquals(id2, ContactsDatabaseHelper.queryIdWithOneArg(mDb, query, "value2")); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
H A DBaseContactsProvider2Test.java818 long id2 = o2.getAsLong(ContactsContract.Data._ID); in compare() local
819 if (id1 == id2) return 0; in compare()
820 return (id1 < id2) ? -1 : 1; in compare()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
H A DAdapterServiceTest.java814 int id2 = mAdapterService.getMetricId(device); in testGetMetricId_PersistentBetweenToggle() local
815 Assert.assertEquals(id2, id1); in testGetMetricId_PersistentBetweenToggle()
838 int id2 = mAdapterService.getMetricId(device); in testgetMetricId_PersistentBetweenAdapterServiceInitialization() local
839 Assert.assertEquals(id2, id1); in testgetMetricId_PersistentBetweenAdapterServiceInitialization()
/aosp12/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
H A DStagedInstallInternalTest.java132 int id2 = Install.multi(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp() local
133 InstallUtils.getPackageInstaller().abandonSession(id2); in testAbandonStagedSessionShouldCleanUp()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A 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()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
H A DNotificationFragment.java665 int id2 = mCurrentNotificationId++; in initNavigationButton()
682 mManager.notify(id2, updateNotification); in initNavigationButton()
689 mUpdateRunnables.put(id2, exitRunnable); in initNavigationButton()
/aosp12/system/incremental_delivery/incfs/tests/
H A Dincfs_test.cpp919 const auto id2 = fileId(2); in TEST_F() local
920 ASSERT_EQ(0, makeFile(control_, mountPath("test2"), 0555, id2, {.size = test_file_size_})); in TEST_F()
927 EXPECT_EQ(id2, ids[1]); in TEST_F()
944 EXPECT_EQ(id2, ids[0]); in TEST_F()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DAnalytics.java717 Collections.sort(callIds, (id1, id2) -> { in dump()
726 i2 = Integer.valueOf(id2.substring(prefixLength)); in dump()
/aosp12/frameworks/base/core/java/android/widget/
H A DRemoteViews.java2822 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
2824 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
2829 final Drawable id2 = i2 == null ? null : i2.loadDrawable(ctx);
2833 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
2835 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
2862 copy.id2 = i2 == null ? null : i2.loadDrawable(ctx);
2867 copy.id2 = d2 == 0 ? null : ctx.getDrawable(d2);
2900 Drawable id1, id2, id3, id4;
/aosp12/art/tools/dmtracedump/
H A Dtracedump.cc809 int64_t id2 = ((const MethodEntry*) meth2)->methodId; in compareMethods() local
810 if (id1 < id2) return -1; in compareMethods()
811 if (id1 > id2) return 1; in compareMethods()
/aosp12/hardware/interfaces/automotive/sv/1.0/
H A Dtypes.hal339 * Data: | id1 | V1 | V2 | V3 | V4 | id2 | V1 | V2 | V3 |...

12