/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | DatabaseStatsCollector.java | 41 for (RecordHelper<?> recordHelper : RecordHelperProvider.getRecordHelpers().values()) { in getNumberOfIntervalRecordRows() 42 if (recordHelper instanceof IntervalRecordHelper in getNumberOfIntervalRecordRows() 43 && !(recordHelper instanceof SeriesRecordHelper)) { in getNumberOfIntervalRecordRows() 46 recordHelper.getMainTableName()); in getNumberOfIntervalRecordRows() 56 for (RecordHelper<?> recordHelper : RecordHelperProvider.getRecordHelpers().values()) { in getNumberOfSeriesRecordRows() 57 if (recordHelper instanceof SeriesRecordHelper) { in getNumberOfSeriesRecordRows() 60 recordHelper.getMainTableName()); in getNumberOfSeriesRecordRows() 70 for (RecordHelper<?> recordHelper : RecordHelperProvider.getRecordHelpers().values()) { in getNumberOfInstantRecordRows() 71 if (recordHelper instanceof InstantRecordHelper) { in getNumberOfInstantRecordRows() 74 recordHelper.getMainTableName()); in getNumberOfInstantRecordRows()
|
D | ActivityDateHelper.java | 159 RecordHelper<?> recordHelper; in fetchUpdatedDates() local 162 recordHelper = RecordHelperProvider.getRecordHelper(recordTypeId); in fetchUpdatedDates() 164 new ReadTableRequest(recordHelper.getMainTableName()) in fetchUpdatedDates() 165 .setColumnNames(List.of(recordHelper.getPeriodGroupByColumnName())) in fetchUpdatedDates() 171 getCursorLong(cursor, recordHelper.getPeriodGroupByColumnName()); in fetchUpdatedDates()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | DeleteTransactionRequest.java | 59 RecordHelper<?> recordHelper = in DeleteTransactionRequest() local 67 recordTypeToUuids.putIfAbsent(recordHelper, new ArrayList<>()); in DeleteTransactionRequest() 68 Objects.requireNonNull(recordTypeToUuids.get(recordHelper)).add(uuid); in DeleteTransactionRequest() 73 (recordHelper, uuids) -> in DeleteTransactionRequest() 74 mDeleteTableRequests.add(recordHelper.getDeleteTableRequest(uuids))); in DeleteTransactionRequest() 93 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordType); in DeleteTransactionRequest() local 94 Objects.requireNonNull(recordHelper); in DeleteTransactionRequest() 97 recordHelper.getDeleteTableRequest( in DeleteTransactionRequest()
|
D | UpsertTransactionRequest.java | 190 RecordHelper<?> recordHelper = in addRequest() local 192 Objects.requireNonNull(recordHelper); in addRequest() 195 recordHelper.getUpsertTableRequest(recordInternal, mExtraWritePermissionsToState); in addRequest() 196 request.setRecordType(recordHelper.getRecordIdentifier()); in addRequest()
|
D | AggregateTransactionRequest.java | 69 RecordHelper<?> recordHelper = in AggregateTransactionRequest() local 72 recordHelper.getAggregateTableRequest( in AggregateTransactionRequest() 83 recordHelper.getDurationGroupByColumnName(), in AggregateTransactionRequest()
|
D | ReadTransactionRequest.java | 60 RecordHelper<?> recordHelper = in ReadTransactionRequest() local 64 recordHelper.getReadTableRequest( in ReadTransactionRequest()
|
D | ReadTableRequest.java | 69 public ReadTableRequest setRecordHelper(RecordHelper<?> recordHelper) { in setRecordHelper() argument 70 mRecordHelper = recordHelper; in setRecordHelper()
|
D | UpsertTableRequest.java | 202 RecordHelper<?> recordHelper) { in setHelper() argument 203 mRecordHelper = recordHelper; in setHelper()
|
D | AggregateTableRequest.java | 94 RecordHelper<?> recordHelper, in AggregateTableRequest() argument 101 mRecordHelper = recordHelper; in AggregateTableRequest()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | DatabaseMerger.java | 168 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordType); in mergeRecordsOfType() local 169 if (!StorageUtils.checkTableExists(stagedDatabase, recordHelper.getMainTableName())) { in mergeRecordsOfType() 183 recordHelper); in mergeRecordsOfType() 223 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordType); in deleteRecordsOfType() local 224 if (!StorageUtils.checkTableExists(stagedDatabase, recordHelper.getMainTableName())) { in deleteRecordsOfType() 233 recordHelper.getDeleteTableRequest( in deleteRecordsOfType() 247 RecordHelper<?> recordHelper) { in getRecordsToMerge() argument 255 Set.copyOf(recordHelper.getExtraReadPermissions()); in getRecordsToMerge() 276 recordHelper.getNextInternalRecordsPageAndToken( in getRecordsToMerge()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | DataPermissionEnforcer.java | 136 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordTypeId); in enforceRecordsWritePermissions() local 142 recordHelper.checkRecordOperationsAreEnabled(recordInternal); in enforceRecordsWritePermissions() 145 .addAll(recordHelper.getRequiredExtraWritePermissions(recordInternal)); in enforceRecordsWritePermissions() 198 .flatMap(recordHelper -> recordHelper.getExtraReadPermissions().stream()) in collectGrantedExtraReadPermissions() 209 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordTypeId); in collectExtraWritePermissionStateMapping() local 211 for (String permName : recordHelper.getExtraWritePermissions()) { in collectExtraWritePermissionStateMapping()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | DatabaseUpgradeHelper.java | 182 PlannedExerciseSessionRecordHelper recordHelper = in applyPlannedExerciseDatabaseUpgrade() local 184 HealthConnectDatabase.createTable(db, recordHelper.getCreateTableRequest()); in applyPlannedExerciseDatabaseUpgrade() 186 recordHelper in applyPlannedExerciseDatabaseUpgrade()
|
D | AutoDeleteService.java | 95 (recordHelper) -> { in deleteStaleRecordEntries() 97 recordHelper.getDeleteRequestForAutoDelete( in deleteStaleRecordEntries()
|
D | TransactionManager.java | 279 final RecordHelper<?> recordHelper = in deleteAll() local 310 recordHelper.getReadRequestsForRecordsModifiedByDeletion( in deleteAll() 611 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordType); in getDistinctPackageNamesForRecordsTable() local 616 recordHelper in getDistinctPackageNamesForRecordsTable() 923 final RecordHelper<?> recordHelper = in addChangelogsForOtherModifiedRecords() local 926 recordHelper.getReadRequestsForRecordsModifiedByUpsertion( in addChangelogsForOtherModifiedRecords()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | AutoDeleteServiceTest.java | 309 (recordHelper) -> { in getDeleteTableRequests() 311 recordHelper.getDeleteRequestForAutoDelete( in getDeleteTableRequests()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 2540 RecordHelper<?> recordHelper = in logRecordTypeSpecificUpsertMetrics() local 2542 recordHelper.logUpsertMetrics(recordTypeToRecordInternalsEntry.getValue(), packageName); in logRecordTypeSpecificUpsertMetrics() 2554 RecordHelper<?> recordHelper = in logRecordTypeSpecificReadMetrics() local 2556 recordHelper.logReadMetrics(recordTypeToRecordInternalsEntry.getValue(), packageName); in logRecordTypeSpecificReadMetrics()
|