/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsProviderInfoStoreTest.java | 52 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/ |
D | AdapterServiceTest.java | 808 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/ |
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 | 9109 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/ |
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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
D | NotificationFragment.java | 506 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/ |
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 | 717 Collections.sort(callIds, (id1, id2) -> { in dump() 720 i1 = Integer.valueOf(id1.substring(prefixLength)); in dump()
|