/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/ |
D | SelectionTest.java | 164 final String id1 = "1"; in testSetSelectedItem() local 165 final Item item1 = generateFakeImageItem(id1); in testSetSelectedItem() 186 final String id1 = "1"; in testGetSelectedItemsForPreview_orderedSelection() local 187 final Item item1 = generateFakeImageItem(id1); in testGetSelectedItemsForPreview_orderedSelection() 208 assertThat(itemsForPreview.get(1).getId()).isEqualTo(id1); in testGetSelectedItemsForPreview_orderedSelection() 216 final String id1 = "1"; in testGetSelectedItemsForPreview_multiSelect() local 217 final Item item1 = generateFakeImageItem(id1); in testGetSelectedItemsForPreview_multiSelect() 244 assertThat(itemsForPreview.get(3).getId()).isEqualTo(id1); in testGetSelectedItemsForPreview_multiSelect() 249 final String id1 = "1"; in testGetSelectedItemsForPreview_singleSelect() local 250 final Item item1 = generateFakeImageItem(id1); in testGetSelectedItemsForPreview_singleSelect() [all …]
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/ |
D | SidelessTestCaseTest.java | 48 int id1 = mTestCase.getTestInvocationId(); in testGetTestInvocationId() local 49 expect.withMessage("id of test fixture").that(id1).isAtLeast(1); in testGetTestInvocationId() 53 expect.withMessage("id of new test").that(id2).isEqualTo(id1 + 1); in testGetTestInvocationId()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV14Test.java | 116 String id1 = UUID.randomUUID().toString(); in performMigration_enrollmentIdNotFound_removesSource() local 117 sourceRows.add(buildSourceV13(id1, ENROLLMENT_ID_1)); in performMigration_enrollmentIdNotFound_removesSource() 142 id1, in performMigration_enrollmentIdNotFound_removesSource() 206 String id1 = UUID.randomUUID().toString(); in performMigration_whenEnrollmentIdNotFound_removesTrigger() local 207 triggerRows.add(buildTriggerV13(id1, ENROLLMENT_ID_1)); in performMigration_whenEnrollmentIdNotFound_removesTrigger() 232 id1, in performMigration_whenEnrollmentIdNotFound_removesTrigger() 310 String id1 = UUID.randomUUID().toString(); in performMigration_whenEnrollmentIdNotFound_removesEventReport() local 311 reportRows.add(buildEventReportV13(id1, ENROLLMENT_ID_1)); in performMigration_whenEnrollmentIdNotFound_removesEventReport() 336 id1, in performMigration_whenEnrollmentIdNotFound_removesEventReport() 427 String id1 = UUID.randomUUID().toString(); in performMigration_whenEnrollmentIdNotFound_removesAggregateReport() local [all …]
|
D | MeasurementDbMigratorV15Test.java | 105 String id1 = UUID.randomUUID().toString(); in performMigration_whenEnrollmentIdNotFound_removesDebugReport() local 106 reportRows.add(buildDebugReportV14(id1, ENROLLMENT_ID_1)); in performMigration_whenEnrollmentIdNotFound_removesDebugReport() 131 id1, in performMigration_whenEnrollmentIdNotFound_removesDebugReport()
|
D | MeasurementDbMigratorV29Test.java | 97 String id1 = cursor.getString( in performMigration_v28ToV29WithData_maintainsDataIntegrity() local 99 assertEquals(ID_ONE, id1); in performMigration_v28ToV29WithData_maintainsDataIntegrity()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsProviderInfoStoreTest.java | 50 int id1 = mProviderInfoStore.getProviderId(MOCK_INFO_1); in testTwoInfos() local 52 assertThat(id1).isEqualTo(1); in testTwoInfos() 54 assertThat(mProviderInfoStore.getProviderInfo(id1)).isEqualTo(MOCK_INFO_1); in testTwoInfos()
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackSettingsTest.java | 122 String id1 = settings1.getId(); in testGetId() local 123 expect.withMessage("callback1.getId()").that(id1).isNotEmpty(); in testGetId() 128 expect.withMessage("callback2.getId()").that(id2).isNotEqualTo(id1); in testGetId() 131 expect.withMessage("toString()").that(toString).contains("settingsId=" + id1); in testGetId()
|
D | SyncCallbackTestCase.java | 229 String id1 = callback1.getId(); in testGetId() local 230 expect.withMessage("id").that(id1).isNotNull(); in testGetId() 235 expect.withMessage("id2").that(id2).isNotEqualTo(id1); in testGetId()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/ |
D | ItemTest.java | 209 final String id1 = "1"; in testCompareTo_differentDateTaken() local 212 final Item item1 = generateJpegItem(id1, dateTaken1, generationModified1); in testCompareTo_differentDateTaken() 228 final String id1 = "1"; in testCompareTo_sameDateTaken() local 229 final Item item1 = generateJpegItem(id1, dateTaken, generationModified); in testCompareTo_sameDateTaken()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthConnectManagerTest.java | 474 final String id1 = in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites() local 494 .addId(id1) in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites() 510 final String id1 = in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite() local 530 .addId(id1) in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite() 535 assertThat(getRecordById(records, id1).getCount()).isEqualTo(count1); in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite() 567 final String id1 = in testInsertRecords_instantNoClientIdsAndSameTime_overwrites() local 577 .addId(id1) in testInsertRecords_instantNoClientIdsAndSameTime_overwrites() 592 final String id1 = in testInsertRecords_instantDifferentClientIdsAndSameTime_doesNotOverwrite() local 604 .addId(id1) in testInsertRecords_instantDifferentClientIdsAndSameTime_doesNotOverwrite() 609 assertThat(getRecordById(records, id1).getBasalMetabolicRate()).isEqualTo(bmr1); in testInsertRecords_instantDifferentClientIdsAndSameTime_doesNotOverwrite() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelperTest.java | 153 final long id1 = ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value1"); in testQueryIdWithOneArg_insertWithOneArgAndReturnId() local 154 MoreAsserts.assertNotEqual(-1, id1); in testQueryIdWithOneArg_insertWithOneArgAndReturnId() 156 assertEquals(id1, ContactsDatabaseHelper.queryIdWithOneArg(mDb, query, "value1")); in testQueryIdWithOneArg_insertWithOneArgAndReturnId() 164 assertEquals(id1, ContactsDatabaseHelper.queryIdWithOneArg(mDb, query, "value1")); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
|
D | BaseContactsProvider2Test.java | 835 long id1 = o1.getAsLong(ContactsContract.Data._ID); in compare() local 837 if (id1 == id2) return 0; in compare() 838 return (id1 < id2) ? -1 : 1; in compare()
|
D | ContactsProvider2Test.java | 9546 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_authorize() local 9548 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_authorize() 9564 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_unauthorized() local 9566 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_unauthorized() 9576 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_invalidAuthorization() local 9578 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_invalidAuthorization() 9592 long id1 = createContact(values, "Noah", "Tever", "18004664411", in testAuthorization_expired() local 9594 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, id1); in testAuthorization_expired()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/logging/ |
D | EventLogImplTest.java | 363 int id1 = idIntCaptor.getAllValues().get(0); in testDifferentLoggerInstancesUseDifferentInstanceIds() local 366 assertThat(id1).isGreaterThan(0); in testDifferentLoggerInstancesUseDifferentInstanceIds() 368 assertThat(id1).isNotEqualTo(id2); in testDifferentLoggerInstancesUseDifferentInstanceIds()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogGroupBuilder.java | 216 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/ |
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 | 794 int id1 = mCurrentNotificationId++; in initNavigationButton() 811 mManager.notify(id1, updateNotification); in initNavigationButton() 816 mManager.cancel(id1); in initNavigationButton() 820 mUpdateRunnables.put(id1, rightTurnRunnable); in initNavigationButton()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | WeightRecordTest.java | 265 String id1 = in testDeleteWeightRecord_time_filters_local() local 278 TestUtils.assertRecordFound(id1, WeightRecord.class); in testDeleteWeightRecord_time_filters_local() 288 TestUtils.assertRecordNotFound(id1, WeightRecord.class); in testDeleteWeightRecord_time_filters_local()
|
D | ExerciseSessionRecordTest.java | 448 String id1 = in testDeleteRecords_insertAndDeleteByLocalDate_deletedRecordsNotFound() local 466 TestUtils.assertRecordFound(id1, ExerciseSessionRecord.class); in testDeleteRecords_insertAndDeleteByLocalDate_deletedRecordsNotFound() 480 TestUtils.assertRecordNotFound(id1, ExerciseSessionRecord.class); in testDeleteRecords_insertAndDeleteByLocalDate_deletedRecordsNotFound()
|
D | HeartRateRecordTest.java | 364 String id1 = in testDeleteHeartRateRecord_time_filters_local() local 378 TestUtils.assertRecordFound(id1, HeartRateRecord.class); in testDeleteHeartRateRecord_time_filters_local() 386 TestUtils.assertRecordNotFound(id1, HeartRateRecord.class); in testDeleteHeartRateRecord_time_filters_local()
|
D | StepsRecordTest.java | 554 String id1 = in testDeleteStepsRecord_time_filters_local() local 570 TestUtils.assertRecordFound(id1, StepsRecord.class); in testDeleteStepsRecord_time_filters_local() 580 TestUtils.assertRecordNotFound(id1, StepsRecord.class); in testDeleteStepsRecord_time_filters_local()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarStorageMonitoringTest.java | 112 int id1, int value1, in of() argument 117 result.override(id1, value1); in of()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Analytics.java | 755 Collections.sort(callIds, (id1, id2) -> { in dump() 758 i1 = Integer.valueOf(id1.substring(prefixLength)); in dump()
|