Home
last modified time | relevance | path

Searched refs:getRules (Results 1 – 25 of 98) sorted by relevance

1234

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DPlannedExerciseSessionRecord.java221 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(mStartTime); in Builder()
223 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(mEndTime); in Builder()
248 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(mStartTime); in Builder()
250 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(mEndTime); in Builder()
273 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(mStartTime); in setStartTime()
282 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(mEndTime); in setEndTime()
DMenstruationPeriodRecord.java94 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
95 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DStepsRecord.java63 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
64 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DFloorsClimbedRecord.java137 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
138 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DActiveCaloriesBurnedRecord.java64 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
65 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DHydrationRecord.java139 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
140 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DWheelchairPushesRecord.java146 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
147 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DElevationGainedRecord.java62 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
63 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DDistanceRecord.java70 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
71 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DTotalCaloriesBurnedRecord.java149 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
150 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DRecordUtils.java43 return ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in getDefaultZoneOffset()
DMindfulnessSessionRecord.java217 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
218 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
DHeartRateRecord.java260 mStartZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(startTime); in Builder()
261 mEndZoneOffset = ZoneOffset.systemDefault().getRules().getOffset(endTime); in Builder()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DHeartRateRecordTest.java529 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
580 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_timeRange_all()
584 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_timeRange_all()
588 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_timeRange_all()
657 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_withDataOrigin_correct()
661 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_withDataOrigin_correct()
665 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_withDataOrigin_correct()
731 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_groupBy_Duration()
735 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_groupBy_Duration()
739 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_groupBy_Duration()
[all …]
DTotalCaloriesBurnedRecordTest.java236 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
476 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getTotalCaloriesBurnedRecord_update()
477 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getTotalCaloriesBurnedRecord_update()
500 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteTotalCaloriesBurnedRecord()
501 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteTotalCaloriesBurnedRecord()
DRestingHeartRateRecordTest.java375 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_timeRange_all()
379 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_timeRange_all()
383 .isEqualTo(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())); in testBpmAggregation_timeRange_all()
393 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
600 .setZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getRestingHeartRateRecord_update()
632 .setZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteRestingHeartRateRecord()
DWheelchairPushesRecordTest.java276 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
511 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getWheelchairPushesRecord_update()
512 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getWheelchairPushesRecord_update()
535 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteWheelchairPushesRecord()
536 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteWheelchairPushesRecord()
DMenstruationPeriodRecordTest.java323 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
581 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getMenstruationPeriodRecord_update()
582 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getMenstruationPeriodRecord_update()
610 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteMenstruationPeriodRecord()
611 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteMenstruationPeriodRecord()
DActiveCaloriesBurnedRecordTest.java347 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
580 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getActiveCaloriesBurnedRecord_update()
581 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getActiveCaloriesBurnedRecord_update()
622 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteActiveCaloriesBurnedRecord()
623 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteActiveCaloriesBurnedRecord()
DFloorsClimbedRecordTest.java289 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
533 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getFloorsClimbedRecord_update()
534 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getFloorsClimbedRecord_update()
565 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteFloorsClimbedRecord()
566 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteFloorsClimbedRecord()
DDistanceRecordTest.java357 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
559 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getDistanceRecord_update()
560 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getDistanceRecord_update()
622 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteDistanceRecord()
623 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteDistanceRecord()
DHydrationRecordTest.java347 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
575 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getHydrationRecord_update()
576 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getHydrationRecord_update()
607 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteHydrationRecord()
608 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteHydrationRecord()
DElevationGainedRecordTest.java397 ZoneOffset.systemDefault().getRules().getOffset(Instant.now()); in testZoneOffsets()
610 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getElevationGainedRecord_update()
611 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getElevationGainedRecord_update()
663 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteElevationGainedRecord()
664 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteElevationGainedRecord()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeAutomaticRulesPreferenceController.java62 mSortedRules = getRules(); in displayPreference()
68 Map.Entry<String, AutomaticZenRule>[] sortedRules = getRules(); in updateState()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateWithFiltersTest.java85 ZoneOffset.systemDefault().getRules().getOffset(Instant.now());
326 ZoneOffset dataZone = ZoneOffset.systemDefault().getRules().getOffset(startTime); in timeRangeFilter_priorityType_outOfRangePriorityDataTrimmed()
364 ZoneOffset dataZone = ZoneOffset.systemDefault().getRules().getOffset(startTime); in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()
397 ZoneOffset dataZone = ZoneOffset.systemDefault().getRules().getOffset(filterEndTime); in timeRangeFilter_openStartTime_aggregateDataFromEpoch()
430 ZoneOffset dataZone = ZoneOffset.systemDefault().getRules().getOffset(filterStartTime); in timeRangeFilter_openEndTime_aggregateDataUntilFuture()

1234