Home
last modified time | relevance | path

Searched refs:clientRecordId (Results 1 – 25 of 50) sorted by relevance

12

/packages/modules/HealthFitness/framework/java/android/health/connect/
DRecordIdFilter.java44 @NonNull Class<? extends Record> recordType, @NonNull String clientRecordId) { in fromClientRecordId() argument
46 Objects.requireNonNull(clientRecordId); in fromClientRecordId()
47 return new RecordIdFilter(recordType, null, clientRecordId); in fromClientRecordId()
67 private RecordIdFilter(Class<? extends Record> recordType, String id, String clientRecordId) { in RecordIdFilter() argument
70 mClientRecordId = clientRecordId; in RecordIdFilter()
DReadRecordsRequestUsingIds.java121 public Builder<T> addClientRecordId(@NonNull String clientRecordId) { in addClientRecordId() argument
127 RecordIdFilter.fromClientRecordId(mRecordType, clientRecordId)); in addClientRecordId()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DExerciseSessionRecordTest.java907 String clientRecordId = "client_id_" + i; in insertAndReadRecords() local
909 records.add(buildSession(startTime, endTime, clientRecordId, version, location)); in insertAndReadRecords()
944 Record record, String id, String clientRecordId) { in getExerciseSessionRecord_update() argument
949 .setClientRecordId(clientRecordId) in getExerciseSessionRecord_update()
991 Instant startTime, Instant endTime, String clientRecordId) { in buildSession() argument
992 return buildSession(startTime, endTime, clientRecordId, buildLocationTimePoint(startTime)); in buildSession()
1012 Instant startTime, Instant endTime, String clientRecordId, double lat, double lng) { in buildSession() argument
1016 clientRecordId, in buildSession()
1022 Instant startTime, Instant endTime, String clientRecordId, Location location) { in buildSession() argument
1024 startTime, endTime, clientRecordId, /* clientRecordVersion= */ 0L, location); in buildSession()
[all …]
DHeightRecordTest.java680 String clientRecordId = "client_id_" + i; in insertAndReadRecords() local
681 records.add(getCompleteHeightRecord(time, clientRecordId, version, height)); in insertAndReadRecords()
694 HeightRecord getHeightRecord_update(Record record, String id, String clientRecordId) { in getHeightRecord_update() argument
699 .setClientRecordId(clientRecordId) in getHeightRecord_update()
728 private static HeightRecord getCompleteHeightRecord(Instant time, String clientRecordId) { in getCompleteHeightRecord() argument
729 return getCompleteHeightRecord(time, clientRecordId, Length.fromMeters(1.0)); in getCompleteHeightRecord()
743 Instant time, String clientRecordId, Length height) { in getCompleteHeightRecord() argument
744 return getCompleteHeightRecord(time, clientRecordId, /* clientRecordVersion= */ 0L, height); in getCompleteHeightRecord()
748 Instant time, String clientRecordId, long clientRecordVersion, Length height) { in getCompleteHeightRecord() argument
749 return getCompleteHeightRecord(null, time, clientRecordId, clientRecordVersion, height); in getCompleteHeightRecord()
[all …]
DSpeedRecordTest.java725 String clientRecordId = "client_id_" + i; in insertAndReadRecords() local
728 speed, millisFromStart, startTime, endTime, clientRecordId, version)); in insertAndReadRecords()
741 SpeedRecord getSpeedRecord_update(Record record, String id, String clientRecordId) { in getSpeedRecord_update() argument
746 .setClientRecordId(clientRecordId) in getSpeedRecord_update()
801 String clientRecordId) { in buildRecordForSpeed() argument
807 clientRecordId, in buildRecordForSpeed()
817 double speed, Instant startTime, Instant endTime, String clientRecordId) { in buildRecordForSpeed() argument
824 clientRecordId, in buildRecordForSpeed()
845 String clientRecordId, in buildRecordForSpeed() argument
853 clientRecordId, in buildRecordForSpeed()
[all …]
DWeightRecordTest.java879 WeightRecord getWeightRecord_update(Record record, String id, String clientRecordId) { in getWeightRecord_update() argument
884 .setClientRecordId(clientRecordId) in getWeightRecord_update()
927 private static WeightRecord getWeightRecord(Instant time, String clientRecordId, double grams) { in getWeightRecord() argument
928 return getWeightRecord(time, /* offset= */ null, clientRecordId, grams); in getWeightRecord()
932 Instant time, ZoneOffset offset, String clientRecordId, double grams) { in getWeightRecord() argument
933 return getWeightRecord(/* id= */ null, time, offset, clientRecordId, grams); in getWeightRecord()
937 String id, Instant time, ZoneOffset offset, String clientRecordId, double grams) { in getWeightRecord() argument
951 testMetadataBuilder.setClientRecordId(clientRecordId); in getWeightRecord()
DStepsCadenceRecordTest.java609 Record record, String id, String clientRecordId) { in getStepsCadenceRecord_update() argument
614 .setClientRecordId(clientRecordId) in getStepsCadenceRecord_update()
635 int rate, int version, String clientRecordId) { in getStepsCadenceRecordWithClientVersion() argument
637 testMetadataBuilder.setClientRecordId(clientRecordId); in getStepsCadenceRecordWithClientVersion()
DTotalCaloriesBurnedRecordTest.java460 Record record, String id, String clientRecordId) { in getTotalCaloriesBurnedRecord_update() argument
465 .setClientRecordId(clientRecordId) in getTotalCaloriesBurnedRecord_update()
DMenstruationFlowRecordTest.java520 Record record, String id, String clientRecordId) { in getMenstruationFlowRecord_update() argument
525 .setClientRecordId(clientRecordId) in getMenstruationFlowRecord_update()
DSexualActivityRecordTest.java503 Record record, String id, String clientRecordId) { in getSexualActivityRecord_update() argument
508 .setClientRecordId(clientRecordId) in getSexualActivityRecord_update()
DSleepSessionRecordTest.java462 Record record, String id, String clientRecordId) { in getSleepSessionRecord_update() argument
467 .setClientRecordId(clientRecordId) in getSleepSessionRecord_update()
DWheelchairPushesRecordTest.java498 Record record, String id, String clientRecordId) { in getWheelchairPushesRecord_update() argument
503 .setClientRecordId(clientRecordId) in getWheelchairPushesRecord_update()
DOxygenSaturationRecordTest.java532 Record record, String id, String clientRecordId) { in getOxygenSaturationRecord_update() argument
537 .setClientRecordId(clientRecordId) in getOxygenSaturationRecord_update()
DIntermenstrualBleedingRecordTest.java568 Record record, String id, String clientRecordId) { in getIntermenstrualBleedingRecord_update() argument
573 .setClientRecordId(clientRecordId) in getIntermenstrualBleedingRecord_update()
DOvulationTestRecordTest.java501 Record record, String id, String clientRecordId) { in getOvulationTestRecord_update() argument
506 .setClientRecordId(clientRecordId) in getOvulationTestRecord_update()
DBodyTemperatureRecordTest.java531 Record record, String id, String clientRecordId) { in getBodyTemperatureRecord_update() argument
536 .setClientRecordId(clientRecordId) in getBodyTemperatureRecord_update()
DBoneMassRecordTest.java491 BoneMassRecord getBoneMassRecord_update(Record record, String id, String clientRecordId) { in getBoneMassRecord_update() argument
496 .setClientRecordId(clientRecordId) in getBoneMassRecord_update()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DStorageUtils.java155 final String clientRecordId = recordInternal.getClientRecordId(); in addNameBasedUUIDTo() local
156 if (isEmpty(clientRecordId)) { in addNameBasedUUIDTo()
164 clientRecordId, in addNameBasedUUIDTo()
171 final String clientRecordId = recordInternal.getClientRecordId(); in updateNameBasedUUIDIfRequired() local
172 if (isEmpty(clientRecordId)) { in updateNameBasedUUIDIfRequired()
181 clientRecordId, in updateNameBasedUUIDIfRequired()
202 final String clientRecordId = recordIdFilter.getClientRecordId(); in getUUIDFor() local
203 if (isEmpty(clientRecordId)) { in getUUIDFor()
209 clientRecordId, in getUUIDFor()
371 @NonNull String packageName, @NonNull String clientRecordId, int recordTypeId) { in getUUID() argument
[all …]
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java406 Instant startTime, Instant endTime, String clientRecordId) { in getCompleteStepsRecord() argument
407 return getCompleteStepsRecord(startTime, endTime, clientRecordId, /* count= */ 10); in getCompleteStepsRecord()
435 Instant startTime, Instant endTime, String clientRecordId, long count) { in getCompleteStepsRecord() argument
437 startTime, endTime, clientRecordId, /* clientRecordVersion= */ 0L, count); in getCompleteStepsRecord()
444 String clientRecordId, in getCompleteStepsRecord() argument
448 /* id= */ null, startTime, endTime, clientRecordId, clientRecordVersion, count); in getCompleteStepsRecord()
456 String clientRecordId, in getCompleteStepsRecord() argument
469 testMetadataBuilder.setClientRecordId(clientRecordId); in getCompleteStepsRecord()
478 Record record, String id, String clientRecordId) { in getUpdatedStepsRecord() argument
483 .setClientRecordId(clientRecordId) in getUpdatedStepsRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMetadata.java107 String clientRecordId, in Metadata() argument
115 mClientRecordId = clientRecordId; in Metadata()
312 public Builder setClientRecordId(@Nullable String clientRecordId) { in setClientRecordId() argument
313 mClientRecordId = clientRecordId; in setClientRecordId()
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/
DRecordIdFiltersParcel.java55 String clientRecordId = in.readString(); in RecordIdFiltersParcel() local
71 clientRecordId)); in RecordIdFiltersParcel() local
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthConnectManagerTest.java2122 private static StepsRecord getStepsRecord(String clientRecordId, String packageName) { in getStepsRecord() argument
2124 clientRecordId, in getStepsRecord()
2132 String clientRecordId, in getStepsRecord() argument
2141 if (clientRecordId != null) { in getStepsRecord()
2142 testMetadataBuilder.setClientRecordId(clientRecordId); in getStepsRecord()
2189 String clientRecordId, Power bmr, Instant time) { in getBasalMetabolicRateRecord() argument
2194 if (clientRecordId != null) { in getBasalMetabolicRateRecord()
2195 testMetadataBuilder.setClientRecordId(clientRecordId); in getBasalMetabolicRateRecord()
2201 String clientRecordId, Instant startTime, Instant endTime, Volume volume) { in getHydrationRecord() argument
2206 if (clientRecordId != null) { in getHydrationRecord()
[all …]
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DMigrationEntityParcelTest.java127 private static Metadata getMetadata(String clientRecordId, String packageName) { in getMetadata() argument
129 .setClientRecordId(clientRecordId) in getMetadata()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DDataMigrationTest.java173 private static Metadata getMetadata(UUID id, String clientRecordId, String packageName) { in getMetadata() argument
176 .setClientRecordId(clientRecordId) in getMetadata()
186 private static Metadata getMetadata(String clientRecordId, String packageName) { in getMetadata() argument
187 return getMetadata(/* id= */ null, clientRecordId, packageName); in getMetadata()
190 private static Metadata getMetadata(String clientRecordId) { in getMetadata() argument
191 return getMetadata(/* id= */ null, clientRecordId, PACKAGE_NAME); in getMetadata()
1032 private <T extends Record> T getRecord(Class<T> clazz, String clientRecordId) { in getRecord() argument
1035 .addClientRecordId(clientRecordId) in getRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DRecordInternal.java195 public RecordInternal<T> setClientRecordId(@Nullable String clientRecordId) { in setClientRecordId() argument
196 this.mClientRecordId = clientRecordId; in setClientRecordId()

12