Searched refs:medicalResourceInternal (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | MedicalResourceHelper.java | 150 @NonNull UUID uuid, @NonNull MedicalResourceInternal medicalResourceInternal) { in getUpsertTableRequest() argument 151 ContentValues contentValues = getContentValues(uuid, medicalResourceInternal); in getUpsertTableRequest() 158 @NonNull UUID uuid, @NonNull MedicalResourceInternal medicalResourceInternal) { in getContentValues() argument 163 Long.parseLong(medicalResourceInternal.getDataSourceId())); in getContentValues() 164 resourceContentValues.put(FHIR_DATA_COLUMN_NAME, medicalResourceInternal.getData()); in getContentValues() 167 getFhirResourceTypeInt(medicalResourceInternal.getFhirResourceType())); in getContentValues() 169 FHIR_RESOURCE_ID_COLUMN_NAME, medicalResourceInternal.getFhirResourceId()); in getContentValues() 178 @NonNull UUID uuid, @NonNull MedicalResourceInternal medicalResourceInternal) { in buildMedicalResource() argument 181 getMedicalResourceType(medicalResourceInternal.getFhirResourceType()), in buildMedicalResource() 182 medicalResourceInternal.getDataSourceId(), in buildMedicalResource() [all …]
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | TransactionManagerTest.java | 315 MedicalResourceInternal medicalResourceInternal = in insertMedicalResources_returnsMedicalResources() local 323 mTransactionManager.upsertMedicalResources(List.of(medicalResourceInternal)); in insertMedicalResources_returnsMedicalResources() 335 MedicalResourceInternal medicalResourceInternal = in insertSingleMedicalResource_readSingleResource() local 352 mTransactionManager.upsertMedicalResources(List.of(medicalResourceInternal)); in insertSingleMedicalResource_readSingleResource() 419 MedicalResourceInternal medicalResourceInternal = in updateSingleMedicalResource_success() local 443 mTransactionManager.upsertMedicalResources(List.of(medicalResourceInternal)); in updateSingleMedicalResource_success()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | MedicalResourceHelperTest.java | 56 MedicalResourceInternal medicalResourceInternal = in getUpsertTableRequest_correctResult() local 65 MedicalResourceHelper.getUpsertTableRequest(uuid, medicalResourceInternal); in getUpsertTableRequest_correctResult()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | TransactionManager.java | 142 for (MedicalResourceInternal medicalResourceInternal : medicalResourceInternals) { in upsertMedicalResources() 145 medicalResourceInternal.getFhirResourceId(), in upsertMedicalResources() 146 medicalResourceInternal.getFhirResourceType(), in upsertMedicalResources() 147 medicalResourceInternal.getDataSourceId()); in upsertMedicalResources() 149 MedicalResourceHelper.getUpsertTableRequest(uuid, medicalResourceInternal); in upsertMedicalResources() 152 MedicalResourceHelper.buildMedicalResource(uuid, medicalResourceInternal)); in upsertMedicalResources()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/ |
D | StorageUtils.java | 142 @NonNull MedicalResourceInternal medicalResourceInternal) { in addNameBasedUUIDTo() 145 medicalResourceInternal.setUuid(UUID.randomUUID()); in addNameBasedUUIDTo()
|