Home
last modified time | relevance | path

Searched refs:offsetMillis (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java131 int offsetMillis = tz.getOffset(now.getTime()); in getZonesList() local
133 createDisplayEntry(tz, gmtOffsetText, displayName, offsetMillis); in getZonesList()
140 TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) { in createDisplayEntry() argument
147 map.put(KEY_OFFSET, offsetMillis); in createDisplayEntry()
296 int offsetMillis = tz.getOffset(now.getTime()); in getGmtOffsetText() local
297 final boolean negative = offsetMillis < 0; in getGmtOffsetText()
300 offsetMillis = -offsetMillis; in getGmtOffsetText()
308 final int offsetHours = (int) (offsetMillis / DateUtils.HOUR_IN_MILLIS); in getGmtOffsetText()
309 final int offsetMinutes = (int) (offsetMillis / DateUtils.MINUTE_IN_MILLIS); in getGmtOffsetText()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTestUtils.java76 static void forwardTimeBy(long offsetMillis) { in forwardTimeBy() argument
77 setTime(System.currentTimeMillis() + offsetMillis); in forwardTimeBy()
78 Log.i(TAG, "Forwarded time on device by " + offsetMillis + " millis"); in forwardTimeBy()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java294 int offsetMillis = tzi.getNowOffsetMillis(); in indexByOffsets() local
295 int index = OFFSET_ARRAY_OFFSET + (int) (offsetMillis / DateUtils.HOUR_IN_MILLIS); in indexByOffsets()
/frameworks/base/core/java/android/text/format/
DTime.java974 long offsetMillis = gmtoff * 1000; in getJulianDay() local
975 long julianDay = (millis + offsetMillis) / DateUtils.DAY_IN_MILLIS; in getJulianDay()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java488 void offsetHistory(long offsetMillis) { in offsetHistory() argument
501 ops.offsetBeginAndEndTime(offsetMillis); in offsetHistory()
503 if (offsetMillis < 0) { in offsetHistory()
528 private void resampleHistoryOnDiskInMemoryDMLocked(long offsetMillis) { in resampleHistoryOnDiskInMemoryDMLocked() argument
530 offsetHistory(offsetMillis); in resampleHistoryOnDiskInMemoryDMLocked()
DAppOpsService.java4334 public void offsetHistory(long offsetMillis) { in offsetHistory() argument
4338 mHistoricalRegistry.offsetHistory(offsetMillis); in offsetHistory()
/frameworks/base/core/java/android/app/
DAppOpsManager.java3049 public void offsetBeginAndEndTime(long offsetMillis) { in offsetBeginAndEndTime() argument
3050 mBeginTimeMillis += offsetMillis; in offsetBeginAndEndTime()
3051 mEndTimeMillis += offsetMillis; in offsetBeginAndEndTime()
5497 public void offsetHistory(long offsetMillis) { in offsetHistory() argument
5499 mService.offsetHistory(offsetMillis); in offsetHistory()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...