/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | VmsPublishersInfoTest.java | 51 int id1 = mVmsPublishersInfo.getIdForInfo(MOCK_INFO_1); in testTwoInfos() local 53 assertEquals(1, id1); in testTwoInfos() 55 assertArrayEquals(MOCK_INFO_1, mVmsPublishersInfo.getPublisherInfo(id1)); in testTwoInfos()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 769 int id1 = mAdapterService.getMetricId(device); in testGetMetricId_PersistentBetweenToggle() local 770 Assert.assertTrue(id1 > 0); in testGetMetricId_PersistentBetweenToggle() 776 Assert.assertEquals(id2, id1); in testGetMetricId_PersistentBetweenToggle() 782 Assert.assertEquals(id3, id1); in testGetMetricId_PersistentBetweenToggle() 794 int id1 = mAdapterService.getMetricId(device); in testgetMetricId_PersistentBetweenAdapterServiceInitialization() local 795 Assert.assertTrue(id1 > 0); in testgetMetricId_PersistentBetweenAdapterServiceInitialization() 800 Assert.assertEquals(id2, id1); in testgetMetricId_PersistentBetweenAdapterServiceInitialization()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelperTest.java | 151 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()
|
D | BaseContactsProvider2Test.java | 817 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()
|
D | ContactsProvider2Test.java | 9533 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_authorize() local 9535 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_authorize() 9551 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_unauthorized() local 9553 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_unauthorized() 9563 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_invalidAuthorization() local 9565 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_invalidAuthorization() 9579 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_expired() local 9581 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_expired()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
D | NotificationFragment.java | 411 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/ |
D | CustomContactListFilterActivity.java | 419 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/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogGroupBuilder.java | 215 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/ |
D | Analytics.java | 696 Collections.sort(callIds, (id1, id2) -> { in dump() 699 i1 = Integer.valueOf(id1.substring(prefixLength)); in dump()
|