Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DVerifierDeviceIdentityTest.java75 (int) TEST_1, id1.hashCode()); in testVerifierDeviceIdentity_HashCode()
82 TEST_1_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Success()
89 TEST_MAXVALUE_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Largest()
96 TEST_ZERO_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_Zero()
103 TEST_NEGONE_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_NegOne()
110 TEST_MINVALUE_ENCODED, id1.toString()); in testVerifierDeviceIdentity_ToString_MinValue()
129 id1.writeToParcel(parcel, 0); in testVerifierDeviceIdentity_Parcel_Read_Pass()
162 + " should be the same", id1, id2); in testVerifierDeviceIdentity_Generate_MinValue()
181 id1, id2); in testVerifierDeviceIdentity_Parse_Normal()
236 id1.toString(), id2.toString()); in testVerifierDeviceIdentity_Parse_SquashToUppercase()
[all …]
/aosp12/frameworks/native/libs/vr/libpdx/
H A 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
H A 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 …]
/aosp12/frameworks/native/libs/nativewindow/tests/
H A 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()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
H A DVmsProviderInfoStoreTest.java52 int id1 = mProviderInfoStore.getProviderId(MOCK_INFO_1); in testTwoInfos() local
54 assertEquals(1, id1); in testTwoInfos()
56 assertArrayEquals(MOCK_INFO_1, mProviderInfoStore.getProviderInfo(id1)); 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
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()
/aosp12/frameworks/wilhelm/tests/examples/
H A 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()
/aosp12/system/extras/simpleperf/
H A Ddso.h81 uint32_t id1 = UINT_MAX; in CompareByDumpId() local
82 s1->GetDumpId(&id1); in CompareByDumpId()
85 return id1 < id2; in CompareByDumpId()
H A Dcmd_report_sample.cpp698 uint32_t id1 = UINT_MAX; in CompareDsoByDumpId() local
699 d1->GetDumpId(&id1); in CompareDsoByDumpId()
702 return id1 < id2; in CompareDsoByDumpId()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/
H A DIconsUriHelperTest.java78 final String id1 = uri1.getPathSegments().get(0); in testGetContentUri_samePackageIdForSamePackageName() local
81 assertThat(id1).isEqualTo(id2); in testGetContentUri_samePackageIdForSamePackageName()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
H A DAdapterServiceTest.java808 int id1 = mAdapterService.getMetricId(device); in testGetMetricId_PersistentBetweenToggle() local
809 Assert.assertTrue(id1 > 0); in testGetMetricId_PersistentBetweenToggle()
815 Assert.assertEquals(id2, id1); in testGetMetricId_PersistentBetweenToggle()
821 Assert.assertEquals(id3, id1); in testGetMetricId_PersistentBetweenToggle()
833 int id1 = mAdapterService.getMetricId(device); in testgetMetricId_PersistentBetweenAdapterServiceInitialization() local
834 Assert.assertTrue(id1 > 0); in testgetMetricId_PersistentBetweenAdapterServiceInitialization()
839 Assert.assertEquals(id2, id1); in testgetMetricId_PersistentBetweenAdapterServiceInitialization()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsDatabaseHelperTest.java151 final long id1 = ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value1"); in testQueryIdWithOneArg_insertWithOneArgAndReturnId() local
152 MoreAsserts.assertNotEqual(-1, id1); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
154 assertEquals(id1, ContactsDatabaseHelper.queryIdWithOneArg(mDb, query, "value1")); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
162 assertEquals(id1, ContactsDatabaseHelper.queryIdWithOneArg(mDb, query, "value1")); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
H A DBaseContactsProvider2Test.java817 long id1 = o1.getAsLong(ContactsContract.Data._ID); in compare() local
819 if (id1 == id2) return 0; in compare()
820 return (id1 < id2) ? -1 : 1; in compare()
/aosp12/hardware/interfaces/broadcastradio/common/utils2x/
H A DUtils.cpp366 auto& id1 = info1.selector.primaryId; in operator ()() local
368 return id1.type == id2.type && id1.value == id2.value; in operator ()()
/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/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java419 final Long id1 = object1.getId();
421 if (id1 == null && id2 == null) {
423 } else if (id1 == null) {
427 } else if (id1 < id2) {
429 } else if (id1 > id2) {
/aosp12/frameworks/base/core/java/android/view/
H A 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()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
H A DNotificationFragment.java636 int id1 = mCurrentNotificationId++; in initNavigationButton()
653 mManager.notify(id1, updateNotification); in initNavigationButton()
658 mManager.cancel(id1); in initNavigationButton()
662 mUpdateRunnables.put(id1, rightTurnRunnable); in initNavigationButton()
/aosp12/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
H A DStagedInstallInternalTest.java130 int id1 = Install.single(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp() local
131 InstallUtils.getPackageInstaller().abandonSession(id1); in testAbandonStagedSessionShouldCleanUp()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DAnalytics.java717 Collections.sort(callIds, (id1, id2) -> { in dump()
720 i1 = Integer.valueOf(id1.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);
2828 final Drawable id1 = i1 == null ? null : i1.loadDrawable(ctx);
2833 target.setCompoundDrawablesRelativeWithIntrinsicBounds(id1, id2, id3, id4);
2835 target.setCompoundDrawablesWithIntrinsicBounds(id1, id2, id3, id4);
2861 copy.id1 = i1 == null ? null : i1.loadDrawable(ctx);
2866 copy.id1 = d1 == 0 ? null : ctx.getDrawable(d1);
2900 Drawable id1, id2, id3, id4;
/aosp12/art/tools/dmtracedump/
H A Dtracedump.cc808 int64_t id1 = ((const MethodEntry*) meth1)->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 |...
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DTouchInputMapper.cpp3138 uint32_t id1 = idBits.clearFirstMarkedBit(); in preparePointerGestures() local
3141 mCurrentRawState.rawPointerData.pointerForId(id1); in preparePointerGestures()
3157 float dist1 = dist[id1]; in preparePointerGestures()
3166 PointerGesture::Delta& delta1 = mPointerGesture.referenceDeltas[id1]; in preparePointerGestures()

12