Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 21 of 21) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DSelectionTest.java149 final String id2 = "2"; in testClearSelectedItem() local
150 final Item item2 = generateFakeImageItem(id2); in testClearSelectedItem()
166 final String id2 = "2"; in testSetSelectedItem() local
167 final Item item2 = generateFakeImageItem(id2); in testSetSelectedItem()
188 final String id2 = "2"; in testGetSelectedItemsForPreview_orderedSelection() local
189 final Item item2 = generateFakeImageItem(id2); in testGetSelectedItemsForPreview_orderedSelection()
209 assertThat(itemsForPreview.get(2).getId()).isEqualTo(id2); in testGetSelectedItemsForPreview_orderedSelection()
218 final String id2 = "2"; in testGetSelectedItemsForPreview_multiSelect() local
219 final Item item2 = generateFakeImageItem(id2); in testGetSelectedItemsForPreview_multiSelect()
243 assertThat(itemsForPreview.get(2).getId()).isEqualTo(id2); in testGetSelectedItemsForPreview_multiSelect()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsProviderInfoStoreTest.java51 int id2 = mProviderInfoStore.getProviderId(MOCK_INFO_2); in testTwoInfos() local
53 assertThat(id2).isEqualTo(2); in testTwoInfos()
55 assertThat(mProviderInfoStore.getProviderInfo(id2)).isEqualTo(MOCK_INFO_2); in testTwoInfos()
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DSidelessTestCaseTest.java52 int id2 = newTestCase.getTestInvocationId(); in testGetTestInvocationId() local
53 expect.withMessage("id of new test").that(id2).isEqualTo(id1 + 1); in testGetTestInvocationId()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/
DItemTest.java214 final String id2 = "2"; in testCompareTo_differentDateTaken() local
217 final Item item2 = generateJpegItem(id2, dateTaken2, generationModified2); in testCompareTo_differentDateTaken()
231 final String id2 = "2"; in testCompareTo_sameDateTaken() local
232 final Item item2 = generateJpegItem(id2, dateTaken, generationModified); in testCompareTo_sameDateTaken()
242 final Item item2SameValues = generateJpegItem(id2, dateTaken, generationModified); in testCompareTo_sameDateTaken()
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackSettingsTest.java126 String id2 = settings2.getId(); in testGetId() local
127 expect.withMessage("callback2.getId()").that(id2).isNotEmpty(); in testGetId()
128 expect.withMessage("callback2.getId()").that(id2).isNotEqualTo(id1); in testGetId()
DSyncCallbackTestCase.java233 String id2 = callback2.getId(); in testGetId() local
234 expect.withMessage("id2").that(id2).isNotNull(); in testGetId()
235 expect.withMessage("id2").that(id2).isNotEqualTo(id1); in testGetId()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthConnectManagerTest.java482 final String id2 = in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites() local
495 .addId(id2) in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites()
499 assertThat(getRecordById(records, id2).getCount()).isEqualTo(count2); in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites()
518 final String id2 = in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite() local
531 .addId(id2) in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite()
536 assertThat(getRecordById(records, id2).getCount()).isEqualTo(count2); in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite()
570 final String id2 = in testInsertRecords_instantNoClientIdsAndSameTime_overwrites() local
578 .addId(id2) in testInsertRecords_instantNoClientIdsAndSameTime_overwrites()
582 assertThat(getRecordById(records, id2).getBasalMetabolicRate()).isEqualTo(bmr2); in testInsertRecords_instantNoClientIdsAndSameTime_overwrites()
596 final String id2 = in testInsertRecords_instantDifferentClientIdsAndSameTime_doesNotOverwrite() local
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/logging/
DEventLogImplTest.java364 int id2 = idIntCaptor.getAllValues().get(1); in testDifferentLoggerInstancesUseDifferentInstanceIds() local
367 assertThat(id2).isGreaterThan(0); in testDifferentLoggerInstancesUseDifferentInstanceIds()
368 assertThat(id1).isNotEqualTo(id2); in testDifferentLoggerInstancesUseDifferentInstanceIds()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DMeasurementDbMigratorV29Test.java105 String id2 = cursor.getString( in performMigration_v28ToV29WithData_maintainsDataIntegrity() local
107 assertEquals(ID_TWO, id2); in performMigration_v28ToV29WithData_maintainsDataIntegrity()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogGroupBuilder.java216 private boolean isSameAccount(String name1, String name2, String id1, String id2) { in isSameAccount() argument
217 return TextUtils.equals(name1, name2) && TextUtils.equals(id1, id2); in isSameAccount()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java420 final Long id2 = object2.getId();
421 if (id1 == null && id2 == null) {
425 } else if (id2 == null) {
427 } else if (id1 < id2) {
429 } else if (id1 > id2) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java161 final long id2 = ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value2"); in testQueryIdWithOneArg_insertWithOneArgAndReturnId() local
162 MoreAsserts.assertNotEqual(-1, id2); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
165 assertEquals(id2, ContactsDatabaseHelper.queryIdWithOneArg(mDb, query, "value2")); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
DBaseContactsProvider2Test.java836 long id2 = o2.getAsLong(ContactsContract.Data._ID); in compare() local
837 if (id1 == id2) return 0; in compare()
838 return (id1 < id2) ? -1 : 1; in compare()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DWeightRecordTest.java268 String id2 = in testDeleteWeightRecord_time_filters_local() local
279 TestUtils.assertRecordFound(id2, WeightRecord.class); in testDeleteWeightRecord_time_filters_local()
289 TestUtils.assertRecordNotFound(id2, WeightRecord.class); in testDeleteWeightRecord_time_filters_local()
DExerciseSessionRecordTest.java454 String id2 = in testDeleteRecords_insertAndDeleteByLocalDate_deletedRecordsNotFound() local
467 TestUtils.assertRecordFound(id2, ExerciseSessionRecord.class); in testDeleteRecords_insertAndDeleteByLocalDate_deletedRecordsNotFound()
481 TestUtils.assertRecordNotFound(id2, ExerciseSessionRecord.class); in testDeleteRecords_insertAndDeleteByLocalDate_deletedRecordsNotFound()
DHeartRateRecordTest.java368 String id2 = in testDeleteHeartRateRecord_time_filters_local() local
379 TestUtils.assertRecordFound(id2, HeartRateRecord.class); in testDeleteHeartRateRecord_time_filters_local()
387 TestUtils.assertRecordNotFound(id2, HeartRateRecord.class); in testDeleteHeartRateRecord_time_filters_local()
DStepsRecordTest.java558 String id2 = in testDeleteStepsRecord_time_filters_local() local
571 TestUtils.assertRecordFound(id2, StepsRecord.class); in testDeleteStepsRecord_time_filters_local()
581 TestUtils.assertRecordNotFound(id2, StepsRecord.class); in testDeleteStepsRecord_time_filters_local()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java823 int id2 = mCurrentNotificationId++; in initNavigationButton()
840 mManager.notify(id2, updateNotification); in initNavigationButton()
847 mUpdateRunnables.put(id2, exitRunnable); in initNavigationButton()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java113 int id2, int value2, in of() argument
118 result.override(id2, value2); in of()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java755 Collections.sort(callIds, (id1, id2) -> { in dump()
764 i2 = Integer.valueOf(id2.substring(prefixLength)); in dump()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar4944 ]M��h.1<n,0C�������>"Դ�J,��T����� �ꦻ�I��%sް�[9$��?id2�"Օ������{s�]��m�����~�w��|Ք>ZKW…
15962 id2:���d����N>Lg=�J��Č�_S�>o/b����%�8·AJ�g�b��e���M��ѐ�(nO��L9G�9�