Home
last modified time | relevance | path

Searched refs:beatsPerMinute (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DHeartRateFormatter.kt59 formatSampleValue(R.string.heart_rate_value, record.samples.first().beatsPerMinute) in <lambda>()
72 formatSampleValue(R.string.heart_rate_long_value, record.samples.first().beatsPerMinute) in <lambda>()
101 title = formatSampleValue(R.string.heart_rate_value, sample.beatsPerMinute), in <lambda>()
102 titleA11y = formatSampleValue(R.string.heart_rate_long_value, sample.beatsPerMinute), in <lambda>()
115 val min = record.samples.minOf { it.beatsPerMinute } in <lambda>()
116 val max = record.samples.maxOf { it.beatsPerMinute } in <lambda>()
DRestingHeartRateFormatter.kt40 return formatSampleValue(R.string.heart_rate_value, record.beatsPerMinute) in formatValue()
47 return formatSampleValue(R.string.heart_rate_long_value, record.beatsPerMinute) in formatA11yValue()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DRestingHeartRateRecord.java86 @NonNull long beatsPerMinute, in RestingHeartRateRecord() argument
93 ValidationUtils.requireInRange(beatsPerMinute, 1, (long) 300, "beatsPerMinute"); in RestingHeartRateRecord()
95 mBeatsPerMinute = beatsPerMinute; in RestingHeartRateRecord()
140 @IntRange(from = 1, to = 300) long beatsPerMinute) { in Builder()
145 mBeatsPerMinute = beatsPerMinute; in Builder()
DHeartRateRecord.java160 public HeartRateSample(long beatsPerMinute, @NonNull Instant time) { in HeartRateSample() argument
161 this(beatsPerMinute, time, false); in HeartRateSample()
172 public HeartRateSample(long beatsPerMinute, @NonNull Instant time, boolean skipValidation) { in HeartRateSample() argument
175 ValidationUtils.requireInRange(beatsPerMinute, 1, (long) 300, "beatsPerMinute"); in HeartRateSample()
178 mBeatsPerMinute = beatsPerMinute; in HeartRateSample()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DRestingHeartRateRecordInternal.java39 public RestingHeartRateRecordInternal setBeatsPerMinute(int beatsPerMinute) { in setBeatsPerMinute() argument
40 this.mBeatsPerMinute = beatsPerMinute; in setBeatsPerMinute()
DHeartRateRecordInternal.java44 public HeartRateSample(int beatsPerMinute, long epochMillis) { in HeartRateSample() argument
45 mBeatsPerMinute = beatsPerMinute; in HeartRateSample()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DHeartRateRecordTest.java1110 private static HeartRateRecord getBaseHeartRateRecord(long beatsPerMinute) { in getBaseHeartRateRecord() argument
1111 return getBaseHeartRateRecord(beatsPerMinute, Instant.now(), null); in getBaseHeartRateRecord()
1115 long beatsPerMinute, Instant time, ZoneOffset offset) { in getBaseHeartRateRecord() argument
1117 new HeartRateRecord.HeartRateSample(beatsPerMinute, time.plusMillis(100)); in getBaseHeartRateRecord()