Home
last modified time | relevance | path

Searched refs:deleteRecords (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectChangeLogsDeviceTests.java155 APP_A_WITH_READ_WRITE_PERMS.deleteRecords( in testChangeLogs_insertAndDelete_multipleApps_noFilter_returnsDeletedLogsForAllApps()
157 APP_B_WITH_READ_WRITE_PERMS.deleteRecords( in testChangeLogs_insertAndDelete_multipleApps_noFilter_returnsDeletedLogsForAllApps()
185 APP_A_WITH_READ_WRITE_PERMS.deleteRecords( in testChangeLogs_insertAndDelete_multipleApps_filterDataOrigin_returnsDeletedLogs()
187 APP_B_WITH_READ_WRITE_PERMS.deleteRecords( in testChangeLogs_insertAndDelete_multipleApps_filterDataOrigin_returnsDeletedLogs()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/api/
DDeleteAllDataUseCaseTest.kt58 .deleteRecords(any(DeleteUsingFiltersRequest::class.java), any(), any()) in <lambda>()
62 verify(manager, times(1)).deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
DDeleteAppDataUseCaseTest.kt61 .deleteRecords(any(DeleteUsingFiltersRequest::class.java), any(), any()) in <lambda>()
67 verify(dataManager, times(1)).deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
DDeleteEntriesUseCaseTest.kt63 .deleteRecords(anyListOf(RecordIdFilter::class.java), any(), any()) in <lambda>()
67 verify(manager, times(1)).deleteRecords(listCaptor.capture(), any(), any()) in <lambda>()
DDeletePermissionTypesFromAppUseCaseTest.kt68 .deleteRecords(any(DeleteUsingFiltersRequest::class.java), any(), any()) in <lambda>()
84 .deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
DDeletePermissionTypesUseCaseTest.kt67 .deleteRecords(any(DeleteUsingFiltersRequest::class.java), any(), any()) in <lambda>()
81 .deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeleteEntryUseCaseTest.kt64 .deleteRecords(anyListOf(RecordIdFilter::class.java), any(), any()) in <lambda>()
68 verify(manager, times(1)).deleteRecords(listCaptor.capture(), any(), any()) in <lambda>()
DDeleteAllDataUseCaseTest.kt61 .deleteRecords(any(DeleteUsingFiltersRequest::class.java), any(), any()) in <lambda>()
69 verify(manager, times(1)).deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
DDeleteAppDataUseCaseTest.kt64 .deleteRecords(any(DeleteUsingFiltersRequest::class.java), any(), any()) in <lambda>()
76 verify(dataManager, times(1)).deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
DDeletePermissionTypeUseCaseTest.kt64 .deleteRecords(any(DeleteUsingFiltersRequest::class.java), any(), any()) in <lambda>()
77 .deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
DDeleteCategoryUseCaseTest.kt76 .deleteRecords(any(DeleteUsingFiltersRequest::class.java), any(), any()) in <lambda>()
88 .deleteRecords(filtersCaptor.capture(), any(), any()) in <lambda>()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DTestHelperUtils.java141 public static void deleteRecords( in deleteRecords() method in TestHelperUtils
157 healthConnectManager.deleteRecords( in deleteRecords()
215 deleteRecords(deleteUsingFiltersRequest, healthConnectManager); in deleteAllRecordsAddedByTestApp()
DHealthConnectServiceLogsTests.java23 import static android.healthconnect.cts.testhelper.TestHelperUtils.deleteRecords;
142 deleteRecords(deleteUsingFiltersRequest, mHealthConnectManager); in testHealthConnectDeleteRecords()
155 deleteRecords(deleteUsingFiltersRequest, mHealthConnectManager); in testHealthConnectDeleteRecordsError()
251 deleteRecords( in testHealthConnectGetChangeLogs()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DTestAppProxy.java108 public void deleteRecords(RecordIdFilter... recordIdFilters) throws Exception { in deleteRecords() method in TestAppProxy
109 deleteRecords(Arrays.asList(recordIdFilters)); in deleteRecords()
113 public void deleteRecords(List<RecordIdFilter> recordIdFilters) throws Exception { in deleteRecords() method in TestAppProxy
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java30 import static android.healthconnect.cts.utils.TestUtils.deleteRecords;
335 deleteRecords(insertedRecords); in testChangeLogs_insertAndDelete_filterNonExistingDataOrigin_returnsEmptyLogs()
374 deleteRecords(testRecords); in testChangeLogs_insertAndDeleteDataById_returnsDeletedLogsOnly()
443 deleteRecords(testRecords); in testChangeLogs_insertAndDeleteOldRecords_returnsAllDeletedLogs()
464 deleteRecords(testRecords); in testChangeLogs_insertAndDelete_nonExistingDataOriginFilter_returnsEmptyLogs()
489 deleteRecords(testRecords); in testChangeLogs_insertAndDelete_recordFilter_onlyReturnsDeletedLogsForRecordType()
562 deleteRecords(ImmutableList.of(getStepsRecord(/* steps= */ 123, insertedRecordMetadata))); in testChangeLogs_insertUpdateAndDeleteById_returnsDeleteChangeLogOnly()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java34 import static android.healthconnect.cts.utils.TestUtils.deleteRecords;
106 deleteRecords(getTestRecords()); in testDeleteUsingIds_somePermissionsAreNotGranted_expectError()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/selectabledeletion/api/
DDeleteAllDataUseCase.kt36 healthConnectManager.deleteRecords( in invoke()
DDeleteEntriesUseCase.kt42 healthConnectManager.deleteRecords(recordIdFilters, Runnable::run) {} in <lambda>()
DDeletePermissionTypesUseCase.kt49 healthConnectManager.deleteRecords(deleteRequest.build(), Runnable::run) {} in <lambda>()
DDeletePermissionTypesFromAppUseCase.kt56 healthConnectManager.deleteRecords(deleteRequest.build(), Runnable::run) {} in <lambda>()
DDeleteAppDataUseCase.kt46 healthConnectManager.deleteRecords(deleteRequest.build(), Runnable::run) {} in invoke()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/api/
DDeleteAllDataUseCase.kt39 healthConnectManager.deleteRecords( in invoke()
DDeleteEntryUseCase.kt40 healthConnectManager.deleteRecords(listOf(recordIdFilter), Runnable::run) {} in invoke()
DDeletePermissionTypeUseCase.kt48 healthConnectManager.deleteRecords(deleteRequest.build(), Runnable::run) {} in <lambda>()
DDeleteCategoryUseCase.kt55 healthConnectManager.deleteRecords(deleteRequest.build(), Runnable::run) {} in <lambda>()

12