Home
last modified time | relevance | path

Searched refs:getOffset (Results 1 – 25 of 129) sorted by relevance

123456

/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()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpDataParser.java114 offset = mInput.getOffset(mParser); in createXmpInterface()
146 offset = mInput.getOffset(mParser); in createXmpInterface()
191 offset = mInput.getOffset(mParser); in getRedactedRanges()
204 offset = mInput.getOffset(mParser); in getRedactedRanges()
271 public long getOffset(XmlPullParser parser) { in getOffset() method in XmpDataParser.ByteCountingInputStream
/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/DeskClock/src/com/android/deskclock/data/
DCity.kt123 val utcOffset1 = c1.timeZone.getOffset(now) in compare()
124 val utcOffset2 = c2.timeZone.getOffset(now) in compare()
DSettingsModel.kt89 return homeTimeZone.getOffset(now) != defaultTZ.getOffset(now)
/packages/modules/HealthFitness/framework/java/android/health/connect/
DPageTokenWrapper.java117 getIsAscending(pageToken), getTimestamp(pageToken), getOffset(pageToken)); in from()
137 private static int getOffset(long pageToken) { in getOffset() method in PageTokenWrapper
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionZonePicker.java150 int result = Integer.compare(tzi1.getTimeZone().getOffset(mNow.getTime()), in compare()
151 tzi2.getTimeZone().getOffset(mNow.getTime())); in compare()

123456