Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
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()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
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()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
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()
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()
DContactsProvider2Test.java9109 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_authorize() local
9111 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_authorize()
9127 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_unauthorized() local
9129 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_unauthorized()
9139 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_invalidAuthorization() local
9141 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_invalidAuthorization()
9155 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_expired() local
9157 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_expired()
/packages/apps/Contacts/src/com/android/contacts/list/
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) {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java506 int id1 = mCurrentNotificationId++; in initNavigationButton()
523 mManager.notify(id1, updateNotification); in initNavigationButton()
528 mManager.cancel(id1); in initNavigationButton()
532 mUpdateRunnables.put(id1, rightTurnRunnable); in initNavigationButton()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
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()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java717 Collections.sort(callIds, (id1, id2) -> { in dump()
720 i1 = Integer.valueOf(id1.substring(prefixLength)); in dump()