Home
last modified time | relevance | path

Searched refs:timePeriod (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadEntriesHelperUseCaseTest.kt494 timePeriod: DateNavigationPeriod in <lambda>()
499 receiver.onResult(getSleepRecords(timePeriod)) in <lambda>()
500 getSleepRecords(timePeriod) in <lambda>()
535 timePeriod: DateNavigationPeriod in <lambda>()
537 return when (timePeriod) { in <lambda>()
560 else -> throw IllegalArgumentException("DateNavigationPeriod $timePeriod not supported") in <lambda>()
616 timePeriod: DateNavigationPeriod, in <lambda>()
623 period = timePeriod, in <lambda>()
627 loadEntriesHelper.getTimeFilter(defaultStartTime.atStartOfDay(), timePeriod, true) in <lambda>()
633 HealthPermissionType.SLEEP -> Mockito.doAnswer(prepareSleepAnswer(timePeriod)) in <lambda>()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java66 private long timePeriod; field in BatteryInfo
84 timePeriod = endTime - startTime; in bindHistory()
87 view.configureGraph((int) timePeriod, 100); in bindHistory()
125 (timePeriod in bindHistory()
150 Formatter.formatShortElapsedTime(context, timePeriod)); in bindHistory()