Home
last modified time | relevance | path

Searched refs:RecordHelper (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDatabaseStatsCollector.java41 for (RecordHelper<?> recordHelper : RecordHelperProvider.getRecordHelpers().values()) { in getNumberOfIntervalRecordRows()
56 for (RecordHelper<?> recordHelper : RecordHelperProvider.getRecordHelpers().values()) { in getNumberOfSeriesRecordRows()
70 for (RecordHelper<?> recordHelper : RecordHelperProvider.getRecordHelpers().values()) { in getNumberOfInstantRecordRows()
DMedicalDataSourceHelper.java19 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.APP_INFO_ID_COL…
20 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.PRIMARY_COLUMN_…
DMedicalResourceHelper.java23 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.LAST_MODIFIED_T…
24 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.PRIMARY_COLUMN_…
25 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.UUID_COLUMN_NAM…
DActivityDateHelper.java150 new Pair<>(RecordHelper.PRIMARY_COLUMN_NAME, PRIMARY_AUTOINCREMENT), in getColumnInfo()
159 RecordHelper<?> recordHelper; in fetchUpdatedDates()
DDeviceInfoHelper.java133 long rowId = getCursorLong(cursor, RecordHelper.PRIMARY_COLUMN_NAME); in populateDeviceInfoMap()
204 columnInfo.add(new Pair<>(RecordHelper.PRIMARY_COLUMN_NAME, PRIMARY)); in getColumnInfo()
DMigrationEntityHelper.java19 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.PRIMARY_COLUMN_…
DMergeDataHelper.java25 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.APP_INFO_ID_COL…
26 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.LAST_MODIFIED_T…
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelperTest.java79 RecordHelper<?> helper = new StepsRecordHelper(); in getInternalRecords_insertThenRead_recordReturned()
99 RecordHelper<?> helper = new StepsRecordHelper(); in getInternalRecords_requestSizeMoreThanRecordNumber_recordsReturned()
115 RecordHelper<?> helper = new StepsRecordHelper(); in getInternalRecords_cursorHasTooManyData_throws()
135 RecordHelper<?> helper = new StepsRecordHelper(); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()
191 RecordHelper<?> helper = new StepsRecordHelper(); in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
278 RecordHelper<?> helper = new StepsRecordHelper(); in getNextInternalRecordsPageAndToken_wrongOffsetPageToken_skipSameStartTimeRecords()
297 RecordHelper<?> helper, ReadRecordsRequestParcel request) { in getReadTableRequest()
DMedicalDataSourceHelperTest.java22 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.APP_INFO_ID_COL…
23 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.PRIMARY_COLUMN_…
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DDeleteTransactionRequest.java30 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
57 Map<RecordHelper<?>, List<UUID>> recordTypeToUuids = new ArrayMap<>(); in DeleteTransactionRequest()
59 RecordHelper<?> recordHelper = in DeleteTransactionRequest()
93 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordType); in DeleteTransactionRequest()
DUpsertTableRequest.java31 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
59 private RecordHelper<?> mRecordHelper;
188 return RecordHelper.PRIMARY_COLUMN_NAME; in getRowIdColName()
202 RecordHelper<?> recordHelper) { in setHelper()
209 public List<RecordHelper.TableColumnPair> getChildTablesWithRowsToBeDeletedDuringUpdate() { in getChildTablesWithRowsToBeDeletedDuringUpdate()
DReadTableRequest.java29 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
48 private RecordHelper<?> mRecordHelper;
65 public RecordHelper<?> getRecordHelper() { in getRecordHelper()
69 public ReadTableRequest setRecordHelper(RecordHelper<?> recordHelper) { in setRecordHelper()
DUpsertTransactionRequest.java37 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
182 RecordHelper.UUID_COLUMN_NAME, StorageUtils.getHexString(recordInternal.getUuid())); in generateWhereClausesForUpdate()
184 RecordHelper.APP_INFO_ID_COLUMN_NAME, in generateWhereClausesForUpdate()
190 RecordHelper<?> recordHelper = in addRequest()
DAggregateTableRequest.java25 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.APP_INFO_ID_COL…
41 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
69 private final RecordHelper<?> mRecordHelper;
94 RecordHelper<?> recordHelper, in AggregateTableRequest()
125 public RecordHelper<?> getRecordHelper() { in getRecordHelper()
DReadTransactionRequest.java26 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
60 RecordHelper<?> recordHelper = in ReadTransactionRequest()
DAggregateTransactionRequest.java30 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
69 RecordHelper<?> recordHelper = in AggregateTransactionRequest()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DRecordHelperProvider.java53 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
77 private static final Map<Integer, RecordHelper<?>> RECORD_ID_TO_HELPER_MAP;
80 Map<Integer, RecordHelper<?>> recordIDToHelperMap = new ArrayMap<>();
182 public static Map<Integer, RecordHelper<?>> getRecordHelpers() { in getRecordHelpers()
187 public static RecordHelper<?> getRecordHelper(int recordType) { in getRecordHelper()
DStorageUtils.java29 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.CLIENT_RECORD_I…
30 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.PRIMARY_COLUMN_…
31 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.UUID_COLUMN_NAM…
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DDatabaseMerger.java47 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
97 long rowId = getCursorLong(cursor, RecordHelper.PRIMARY_COLUMN_NAME); in merge()
168 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordType); in mergeRecordsOfType()
223 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordType); in deleteRecordsOfType()
247 RecordHelper<?> recordHelper) { in getRecordsToMerge()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DTransactionManager.java26 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.APP_INFO_ID_COL…
27 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.PRIMARY_COLUMN_…
28 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.UUID_COLUMN_NAM…
56 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
279 final RecordHelper<?> recordHelper = in deleteAll()
402 RecordHelper<?> helper = readTableRequest.getRecordHelper(); in readRecordsByIds()
438 RecordHelper<?> helper = readTableRequest.getRecordHelper(); in readRecordsAndPageToken()
611 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordType); in getDistinctPackageNamesForRecordsTable()
898 for (RecordHelper.TableColumnPair childTableAndColumn : in deleteChildTableRequest()
923 final RecordHelper<?> recordHelper = in addChangelogsForOtherModifiedRecords()
DDatabaseUpgradeHelper.java44 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
146 Map<Integer, RecordHelper<?>> recordHelperMap = RecordHelperProvider.getRecordHelpers(); in getInitialCreateTableRequests()
168 private static void forEachRecordHelper(Consumer<RecordHelper<?>> action) { in forEachRecordHelper()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DAggregationRecordData.java24 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.APP_INFO_ID_COL…
25 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.LAST_MODIFIED_T…
26 import static com.android.server.healthconnect.storage.datatypehelpers.RecordHelper.UUID_COLUMN_NAM…
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DDataPermissionEnforcer.java36 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
136 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordTypeId); in enforceRecordsWritePermissions()
209 RecordHelper<?> recordHelper = RecordHelperProvider.getRecordHelper(recordTypeId); in collectExtraWritePermissionStateMapping()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DNoMockAutoDeleteServiceTest.java30 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
65 RecordHelper<?> helper = new StepsRecordHelper(); in startAutoDelete_changeLogsGenerated()
DAutoDeleteServiceTest.java68 import com.android.server.healthconnect.storage.datatypehelpers.RecordHelper;
205 private Map<Integer, RecordHelper<?>> getRecordHelpers() { in getRecordHelpers()
206 Map<Integer, RecordHelper<?>> recordIDToHelperMap = new ArrayMap<>(); in getRecordHelpers()
305 Map<Integer, RecordHelper<?>> recordIdToHelperMap = getRecordHelpers(); in getDeleteTableRequests()

12