Home
last modified time | relevance | path

Searched refs:DeleteTableRequest (Results 1 – 17 of 17) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DDeleteTableRequest.java44 public class DeleteTableRequest { class
64 public DeleteTableRequest( in DeleteTableRequest() method in DeleteTableRequest
73 public DeleteTableRequest(@NonNull String tableName) { in DeleteTableRequest() method in DeleteTableRequest
88 public DeleteTableRequest setEnforcePackageCheck( in setEnforcePackageCheck()
96 public DeleteTableRequest setIds(@NonNull String idColumnName, @NonNull List<String> ids) { in setIds()
105 public DeleteTableRequest setId(@NonNull String idColumnName, @NonNull String id) { in setId()
118 public DeleteTableRequest setRequiresUuId(@NonNull String idColumnName) { in setRequiresUuId()
147 public DeleteTableRequest setPackageFilter( in setPackageFilter()
190 public DeleteTableRequest setTimeFilter( in setTimeFilter()
DDeleteTransactionRequest.java44 private final List<DeleteTableRequest> mDeleteTableRequests;
106 public DeleteTransactionRequest(List<DeleteTableRequest> deleteTableRequests) { in DeleteTransactionRequest()
112 public List<DeleteTableRequest> getDeleteTableRequests() { in getDeleteTableRequests()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DAutoDeleteServiceTest.java81 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
147 (List<DeleteTableRequest> deleteTableRequestsList) -> in testStartAutoDelete_getPreferenceReturnNull()
172 (List<DeleteTableRequest> deleteTableRequestsList) -> in testStartAutoDelete_getPreferenceReturnNonNull()
186 private boolean checkTableNames_getPreferenceReturnNull(List<DeleteTableRequest> list) { in checkTableNames_getPreferenceReturnNull()
188 for (DeleteTableRequest request : list) { in checkTableNames_getPreferenceReturnNull()
195 private boolean checkTableNames_getPreferenceReturnNonNull(List<DeleteTableRequest> list) { in checkTableNames_getPreferenceReturnNonNull()
197 for (DeleteTableRequest request : list) { in checkTableNames_getPreferenceReturnNonNull()
302 List<DeleteTableRequest> getDeleteTableRequests(int recordAutoDeletePeriod) { in getDeleteTableRequests()
303 List<DeleteTableRequest> deleteTableRequests = new ArrayList<>(); in getDeleteTableRequests()
310 DeleteTableRequest request = in getDeleteTableRequests()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DAutoDeleteService.java30 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
91 List<DeleteTableRequest> deleteTableRequests = new ArrayList<>(); in deleteStaleRecordEntries()
96 DeleteTableRequest request = in deleteStaleRecordEntries()
DTransactionManager.java58 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
278 for (DeleteTableRequest deleteTableRequest : request.getDeleteTableRequests()) { in deleteAll()
554 public void delete(DeleteTableRequest request) { in delete()
645 public void deleteWithoutChangeLogs(@NonNull List<DeleteTableRequest> deleteTableRequests) { in deleteWithoutChangeLogs()
650 for (DeleteTableRequest deleteTableRequest : deleteTableRequests) { in deleteWithoutChangeLogs()
900 DeleteTableRequest deleteTableRequest = in deleteChildTableRequest()
901 new DeleteTableRequest(childTableAndColumn.getTableName()) in deleteChildTableRequest()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDatabaseHelper.java23 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
66 transactionManager.delete(new DeleteTableRequest(getMainTableName())); in clearData()
DAccessLogsHelper.java38 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
148 public static DeleteTableRequest getDeleteRequestForAutoDelete() { in getDeleteRequestForAutoDelete()
149 return new DeleteTableRequest(TABLE_NAME) in getDeleteRequestForAutoDelete()
DMigrationEntityHelper.java31 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
51 transactionManager.delete(new DeleteTableRequest(TABLE_NAME)); in clearData()
DChangeLogsRequestHelper.java39 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
103 public static DeleteTableRequest getDeleteRequestForAutoDelete() { in getDeleteRequestForAutoDelete()
104 return new DeleteTableRequest(TABLE_NAME) in getDeleteRequestForAutoDelete()
DActivityDateHelper.java34 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
121 DeleteTableRequest deleteTableRequest = in reSyncByRecordTypeIds()
122 new DeleteTableRequest(TABLE_NAME) in reSyncByRecordTypeIds()
DRecordHelper.java63 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
108 public DeleteTableRequest getDeleteRequestForAutoDelete(int recordAutoDeletePeriodInDays) { in getDeleteRequestForAutoDelete()
109 return new DeleteTableRequest(getMainTableName(), getRecordIdentifier()) in getDeleteRequestForAutoDelete()
590 public DeleteTableRequest getDeleteTableRequest( in getDeleteTableRequest()
597 return new DeleteTableRequest(getMainTableName(), getRecordIdentifier()) in getDeleteTableRequest()
605 public DeleteTableRequest getDeleteTableRequest(List<UUID> ids) { in getDeleteTableRequest()
606 return new DeleteTableRequest(getMainTableName(), getRecordIdentifier()) in getDeleteTableRequest()
DPreferenceHelper.java31 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
76 .delete(new DeleteTableRequest(TABLE_NAME).setId(KEY_COLUMN_NAME, id)); in removeKey()
DChangeLogsHelper.java48 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
78 public static DeleteTableRequest getDeleteRequestForAutoDelete() { in getDeleteRequestForAutoDelete()
79 return new DeleteTableRequest(TABLE_NAME) in getDeleteRequestForAutoDelete()
DHealthDataCategoryPriorityHelper.java47 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
355 DeleteTableRequest request, @HealthDataCategory.Type int dataCategory) { in safelyUpdateDBAndUpdateCache()
491 new DeleteTableRequest(TABLE_NAME) in maybeRemoveAppFromPriorityListInternal()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DPriorityMigrationHelper.java35 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
126 transactionManager.delete(new DeleteTableRequest(PRE_MIGRATION_TABLE_NAME)); in clearData()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DDatabaseMerger.java48 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
232 DeleteTableRequest deleteTableRequest = in deleteRecordsOfType()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelperTest.java55 import com.android.server.healthconnect.storage.request.DeleteTableRequest;
1913 private static final class DeleteRequestMatcher implements ArgumentMatcher<DeleteTableRequest> {
1916 private DeleteTableRequest mRequest;
1923 public boolean matches(DeleteTableRequest request) { in matches()