Searched refs:heartRate (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | HeartRateFormatter.kt | 61 formatRange(R.string.heart_rate_series_range, record) { heartRate: Long -> in <lambda>() method 62 formatSampleValue(R.string.heart_rate_value, heartRate) in <lambda>() 77 ) { heartRate: Long -> in <lambda>() method 78 formatSampleValue(R.string.heart_rate_long_value, heartRate) in <lambda>() 106 private fun formatSampleValue(@StringRes res: Int, heartRate: Long): String { in <lambda>() 107 return MessageFormat.format(context.getString(res), mapOf("count" to heartRate)) in <lambda>() 113 getSample: (heartRate: Long) -> String in <lambda>()
|
D | RestingHeartRateFormatter.kt | 50 private fun formatSampleValue(@StringRes res: Int, heartRate: Long): String { in formatSampleValue() 51 return format(context.getString(res), mapOf("count" to heartRate)) in formatSampleValue()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | DataFactory.java | 295 public static HeartRateRecord getHeartRateRecord(int heartRate, Metadata metadata) { in getHeartRateRecord() argument 298 new HeartRateRecord.HeartRateSample(heartRate, instant.plusMillis(10)); in getHeartRateRecord() 308 public static HeartRateRecord getHeartRateRecord(int heartRate, String clientId) { in getHeartRateRecord() argument 309 return getHeartRateRecord(heartRate, NOW.plusMillis(100), clientId); in getHeartRateRecord() 312 public static HeartRateRecord getHeartRateRecord(int heartRate) { in getHeartRateRecord() argument 313 return getHeartRateRecord(heartRate, NOW.plusMillis(100)); in getHeartRateRecord() 316 public static HeartRateRecord getHeartRateRecord(int heartRate, Instant instant) { in getHeartRateRecord() argument 317 return getHeartRateRecord(heartRate, instant, "HR" + Math.random()); in getHeartRateRecord() 326 int heartRate, Instant instant, String clientId) { in getHeartRateRecord() argument 329 new HeartRateRecord.HeartRateSample(heartRate, instant); in getHeartRateRecord()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | SharedMemoryTest.java | 187 long heartRate = (long) (60 + Math.random() * 60); in seriesDataWithHugeSampleCount_viaSharedMemory_recordEqual() local 189 new HeartRateRecord.HeartRateSample(heartRate, now.minusMillis(i)); in seriesDataWithHugeSampleCount_viaSharedMemory_recordEqual()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/ |
D | HealthConnectChangeLogsTests.java | 723 int heartRate = (int) (Math.random() * 30) + 80; in testChangeLogs_operationCombinations_expectCorrectChangeLogs() local 725 getHeartRateRecord(heartRate, yesterday.plus(i, MINUTES), "heartRateId_" + i)); in testChangeLogs_operationCombinations_expectCorrectChangeLogs()
|