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/
DVmsPublishersInfoTest.java52 int id1 = mVmsPublishersInfo.getIdForInfo(MOCK_INFO_1); in testTwoInfos() local
54 assertEquals(1, id1); in testTwoInfos()
56 assertArrayEquals(MOCK_INFO_1, mVmsPublishersInfo.getPublisherInfo(id1)); in testTwoInfos()
/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.java9507 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_authorize() local
9509 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_authorize()
9525 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_unauthorized() local
9527 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_unauthorized()
9537 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_invalidAuthorization() local
9539 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_invalidAuthorization()
9553 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_expired() local
9555 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_expired()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java411 int id1 = mCurrentNotificationId++; in initNavigationButton()
428 mManager.notify(id1, updateNotification); in initNavigationButton()
433 mManager.cancel(id1); in initNavigationButton()
437 mUpdateRunnables.put(id1, rightTurnRunnable); in initNavigationButton()
/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/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeMessageTest.java113 String id1 = message1.getMessageId(); in testMessageId() local
115 assertNotNull(id1); in testMessageId()
117 assertFalse("Message-ID should be unique", id1.equals(id2)); in testMessageId()
/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.java661 Collections.sort(callIds, (id1, id2) -> { in dump()
664 i1 = Integer.valueOf(id1.substring(prefixLength)); in dump()