Home
last modified time | relevance | path

Searched refs:getTestRecords (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNoPermissionsGrantedTest.java109 for (Record testRecord : getTestRecords()) { in testInsert_noPermissions_expectError()
122 for (Record testRecord : getTestRecords()) { in testUpdate_noPermissions_expectError()
135 for (Record testRecord : getTestRecords()) { in testDeleteUsingId_noPermissions_expectError()
148 for (Record testRecord : getTestRecords()) { in testDeleteUsingFilter_noPermissions_expectError()
166 for (Record testRecord : getTestRecords()) { in testChangeLogsToken_noPermissions_expectError()
220 for (Record testRecord : getTestRecords()) { in testReadByFilters_noPermissions_expectError()
236 for (Record testRecord : getTestRecords()) { in testReadByRecordIds_noPermissions_expectError()
254 for (Record testRecord : getTestRecords()) { in testReadByClientIds_noPermissions_expectError()
373 private static List<Record> getTestRecords() { in getTestRecords() method in HealthConnectManagerNoPermissionsGrantedTest
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java81 insertRecords(getTestRecords()); in testInsert_somePermissionsAreNotGranted_expectError()
93 updateRecords(getTestRecords()); in testUpdate_somePermissionsAreNotGranted_expectError()
106 deleteRecords(getTestRecords()); in testDeleteUsingIds_somePermissionsAreNotGranted_expectError()
120 for (Record record : getTestRecords()) { in testGetChangeLogToken_somePermissionsAreNotGranted_expectError()
174 private static List<Record> getTestRecords() { in getTestRecords() method in HealthConnectManagerNotAllPermissionsAreGrantedTest
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DGetActivityDatesTest.java66 List<Record> records = getTestRecords(); in testEmptyActivityDates()
77 List<Record> records = getTestRecords(); in testActivityDates()
93 List<Record> records = getTestRecords(); in testGetActivityDates_onUpdate()
109 List<Record> updatedRecords = getTestRecords(); in testGetActivityDates_onUpdate()
145 List<Record> records = getTestRecords(); in testGetActivityDates_onDelete()
178 private List<Record> getTestRecords() { in getTestRecords() method in GetActivityDatesTest
DHealthConnectAccessLogsTest.java21 import static android.healthconnect.cts.utils.DataFactory.getTestRecords;
99 List<Record> testRecord = getTestRecords(); in testAccessLogs_read_multipleRecordTypes()
197 List<Record> testRecord = getTestRecords(); in testAccessLogs_insert_multipleRecordTypes()
DGetApplicationInfoTest.java19 import static android.healthconnect.cts.utils.DataFactory.getTestRecords;
119 TestUtils.insertRecords(getTestRecords()); in testGetApplicationInfo()
DHealthConnectManagerTest.java244 List<Record> insertRecords = TestUtils.insertRecords(getTestRecords()); in testUpdateRecords_validInput_dataBaseUpdatedSuccessfully()
250 List<Record> updateRecords = getTestRecords(); in testUpdateRecords_validInput_dataBaseUpdatedSuccessfully()
309 List<Record> insertRecords = TestUtils.insertRecords(getTestRecords()); in testUpdateRecords_invalidInputRecords_noChangeInDataBase()
314 List<Record> updateRecords = getTestRecords(); in testUpdateRecords_invalidInputRecords_noChangeInDataBase()
380 List<Record> insertRecords = TestUtils.insertRecords(getTestRecords()); in testUpdateRecords_recordWithInvalidPackageName_noChangeInDataBase()
385 List<Record> updateRecords = getTestRecords(); in testUpdateRecords_recordWithInvalidPackageName_noChangeInDataBase()
1743 List<Record> testRecords = DataFactory.getTestRecords(); in testGetRecordTypeInfo_InsertRecords_correctContributingPackages()
1804 List<Record> testRecords = DataFactory.getTestRecords(); in testGetRecordTypeInfo_partiallyDeleteInsertedRecords_correctContributingPackages()
1869 List<Record> testRecords = TestUtils.insertRecords(DataFactory.getTestRecords()); in testGetRecordTypeInfo_MultipleInsertedRecords_correctContributingPackages()
1871 TestUtils.insertRecords(DataFactory.getTestRecords()); in testGetRecordTypeInfo_MultipleInsertedRecords_correctContributingPackages()
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java28 import static android.healthconnect.cts.utils.DataFactory.getTestRecords;
296 List<Record> testRecords = insertRecords(getTestRecords()); in testChangeLogs_insert_returnsUpsertedLogsOnly()
315 insertRecords(getTestRecords()); in testChangeLogs_insert_filterNonExistingDataOrigin_returnsEmptyLogs()
333 List<Record> testRecords = getTestRecords(); in testChangeLogs_insertAndDelete_filterNonExistingDataOrigin_returnsEmptyLogs()
373 List<Record> testRecords = insertRecords(getTestRecords()); in testChangeLogs_insertAndDeleteDataById_returnsDeletedLogsOnly()
463 List<Record> testRecords = insertRecords(getTestRecords()); in testChangeLogs_insertAndDelete_nonExistingDataOriginFilter_returnsEmptyLogs()
612 List<Record> testRecords = insertRecords(getTestRecords()); in testChangeLogs_insert_withPageSize_doesNotExceedPageSize()
666 List<Record> testRecord = getTestRecords(); in testChangeLogs_checkToken_hasMorePages_False()
689 insertRecords(getTestRecords()); in testChangeLogs_operationCombinations_expectCorrectChangeLogs()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java597 public static List<Record> getTestRecords() { in getTestRecords() method in DataFactory