Home
last modified time | relevance | path

Searched refs:heartRateRecord (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DToStringUtils.java87 if (record instanceof HeartRateRecord heartRateRecord) { in recordToString()
88 return heartRateRecordToString(result, baseIndentation + 4, heartRateRecord); in recordToString()
95 StringBuilder stringBuilder, int indentation, HeartRateRecord heartRateRecord) { in heartRateRecordToString() argument
96 List<HeartRateSample> samples = heartRateRecord.getSamples(); in heartRateRecordToString()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DHeartRateRecordTest.java339 HeartRateRecord.HeartRateSample heartRateRecord = in getBaseHeartRateRecord() local
342 heartRateRecords.add(heartRateRecord); in getBaseHeartRateRecord()
343 heartRateRecords.add(heartRateRecord); in getBaseHeartRateRecord()
533 HeartRateRecord.HeartRateSample heartRateRecord = in testZoneOffsets() local
536 heartRateRecords.add(heartRateRecord); in testZoneOffsets()
537 heartRateRecords.add(heartRateRecord); in testZoneOffsets()
545 assertThat(heartRateRecord.getTime()).isEqualTo(timeInstant); in testZoneOffsets()
546 assertThat(heartRateRecord.getBeatsPerMinute()).isEqualTo(10); in testZoneOffsets()
1116 HeartRateRecord.HeartRateSample heartRateRecord = in getBaseHeartRateRecord() local
1119 heartRateRecords.add(heartRateRecord); in getBaseHeartRateRecord()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DHealthDataEntryFormatterTest.kt62 val heartRateRecord = getHeartRateRecord(listOf(80, 81, 100)) in format_formatsHeartRateRecord() constant
64 assertThat(formatter.format(heartRateRecord)) in format_formatsHeartRateRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthConnectAccessLogsTest.java145 Record heartRateRecord = getHeartRateRecord(); in testAccessLogs_update_multipleRecordTypes() local
146 List<Record> records = Arrays.asList(stepsRecord, heartRateRecord); in testAccessLogs_update_multipleRecordTypes()
156 74, Instant.now(), heartRateRecord.getMetadata().getClientRecordId()); in testAccessLogs_update_multipleRecordTypes()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/
DRateLimiterTest.java171 HeartRateRecord.HeartRateSample heartRateRecord = in exceedRecordMemoryQuota() local
175 new ArrayList<>(Collections.nCopies(nCopies, heartRateRecord)); in exceedRecordMemoryQuota()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java426 } else if (record instanceof HeartRateRecord heartRateRecord) { in fromRecord()
427 values = getHeartRateRecordValues(heartRateRecord); in fromRecord()