Home
last modified time | relevance | path

Searched refs:zoneId (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/app/timezonedetector/
DManualTimeZoneSuggestion.java60 public ManualTimeZoneSuggestion(@NonNull String zoneId) { in ManualTimeZoneSuggestion() argument
61 mZoneId = Objects.requireNonNull(zoneId); in ManualTimeZoneSuggestion()
65 String zoneId = in.readString(); in createFromParcel() local
66 ManualTimeZoneSuggestion suggestion = new ManualTimeZoneSuggestion(zoneId); in createFromParcel()
135 String zoneId = null; in parseCommandLineArg() local
140 zoneId = cmd.getNextArgRequired(); in parseCommandLineArg()
148 ManualTimeZoneSuggestion suggestion = new ManualTimeZoneSuggestion(zoneId); in parseCommandLineArg()
DTelephonyTimeZoneSuggestion.java323 public Builder setZoneId(@Nullable String zoneId) { in setZoneId() argument
324 mZoneId = zoneId; in setZoneId()
403 String zoneId = null; in parseCommandLineArg() local
414 zoneId = cmd.getNextArgRequired(); in parseCommandLineArg()
436 if (!(TextUtils.isEmpty(zoneId) || "_".equals(zoneId))) { in parseCommandLineArg()
437 builder.setZoneId(zoneId); in parseCommandLineArg()
/frameworks/base/core/java/android/widget/
DDateTimeView.java179 ZoneId zoneId = ZoneId.systemDefault(); in update() local
187 LocalDateTime localNow = LocalDateTime.now(zoneId).withSecond(0); in update()
189 long twelveHoursBefore = toEpochMillis(localTime.minusHours(12), zoneId); in update()
190 long twelveHoursAfter = toEpochMillis(localTime.plusHours(12), zoneId); in update()
191 long midnightBefore = toEpochMillis(localStartOfDay, zoneId); in update()
192 long midnightAfter = toEpochMillis(localTomorrowStartOfDay, zoneId); in update()
193 long time = toEpochMillis(localTime, zoneId); in update()
194 long now = toEpochMillis(localNow, zoneId); in update()
279 ZoneId zoneId = ZoneId.systemDefault(); local
280 LocalDateTime localNow = toLocalDateTime(now, zoneId);
[all …]
DAnalogClock.java280 private static LocalDateTime toLocalDateTime(long timeMillis, ZoneId zoneId) { in toLocalDateTime() argument
285 return LocalDateTime.ofInstant(instant, zoneId); in toLocalDateTime()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightState.java54 final ZoneId zoneId = TimeZone.getDefault().toZoneId(); in sunrise() local
55 return LocalDateTime.ofInstant(Instant.ofEpochMilli(mSunriseTimeMillis), zoneId); in sunrise()
70 final ZoneId zoneId = TimeZone.getDefault().toZoneId(); in sunset() local
71 return LocalDateTime.ofInstant(Instant.ofEpochMilli(mSunsetTimeMillis), zoneId); in sunset()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineTestSupport.java116 Scenario(boolean frozen, long timeMillis, String zoneId, String countryIsoCode) { in Scenario() argument
119 mZone = zone(zoneId); in Scenario()
187 Builder setTimeZone(String zoneId) { in setTimeZone() argument
188 mZoneId = zoneId; in setTimeZone()
292 private static TimeZone zone(String zoneId) { in zone() argument
293 TimeZone timeZone = TimeZone.getFrozenTimeZone(zoneId); in zone()
295 fail(zoneId + " is not a valid zone"); in zone()
DTimeZoneLookupHelperTest.java485 private static TimeZone zone(String zoneId) { in zone() argument
486 return TimeZone.getFrozenTimeZone(zoneId); in zone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeZoneLookupHelper.java64 public final String zoneId; field in TimeZoneLookupHelper.CountryResult
78 public CountryResult(@NonNull String zoneId, @Quality int quality, String debugInfo) { in CountryResult() argument
79 this.zoneId = Objects.requireNonNull(zoneId); in CountryResult()
94 && zoneId.equals(that.zoneId); in equals()
99 return Objects.hash(zoneId, quality); in hashCode()
105 + "zoneId='" + zoneId + '\'' in toString()
DTimeZoneSuggesterImpl.java216 suggestionBuilder.setZoneId(countryResult.zoneId); in findTimeZoneFromCountryAndNitz()
254 suggestionBuilder.setZoneId(lookupResult.zoneId); in findTimeZoneFromNetworkCountryCode()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java467 private ManualTimeZoneSuggestion createManualSuggestion(String zoneId) { in createManualSuggestion() argument
468 return new ManualTimeZoneSuggestion(zoneId); in createManualSuggestion()
501 public void setDeviceTimeZone(String zoneId) { in setDeviceTimeZone() argument
502 mTimeZoneId.set(zoneId); in setDeviceTimeZone()
509 void initializeTimeZone(String zoneId) { in initializeTimeZone() argument
510 mTimeZoneId.init(zoneId); in initializeTimeZone()
592 Script initializeTimeZoneSetting(String zoneId) { in initializeTimeZoneSetting() argument
593 mFakeTimeZoneDetectorStrategyCallback.initializeTimeZone(zoneId); in initializeTimeZoneSetting()
651 private TelephonyTimeZoneSuggestion createSuggestion(int slotIndex, String zoneId) { in createSuggestion() argument
653 .setZoneId(zoneId) in createSuggestion()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorCallbackImpl.java79 public void setDeviceTimeZone(String zoneId) { in setDeviceTimeZone() argument
81 alarmManager.setTimeZone(zoneId); in setDeviceTimeZone()
DTimeZoneDetectorStrategyImpl.java88 void setDeviceTimeZone(@NonNull String zoneId); in setDeviceTimeZone() argument
300 String zoneId = bestTelephonySuggestion.suggestion.getZoneId(); in doAutoTimeZoneDetection() local
304 setDeviceTimeZoneIfRequired(ORIGIN_TELEPHONY, zoneId, cause); in doAutoTimeZoneDetection()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/volume/
DVolumeUI.java54 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) {
59 public void onMasterMuteChanged(int zoneId, int flags) {
DCarVolumeDialogImpl.java120 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) {
154 public void onMasterMuteChanged(int zoneId, int flags) {
/frameworks/base/core/java/android/text/format/
DDateUtils.java516 ZoneId zoneId = ZoneId.systemDefault(); in isSameDate() local
519 LocalDateTime oneLocalDateTime = LocalDateTime.ofInstant(oneInstant, zoneId); in isSameDate()
522 LocalDateTime twoLocalDateTime = LocalDateTime.ofInstant(twoInstant, zoneId); in isSameDate()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java1316 final ZoneId zoneId = ZoneId.systemDefault(); in getTwilightStateRelativeToNow() local
1319 .atZone(zoneId) in getTwilightStateRelativeToNow()
1323 .atZone(zoneId) in getTwilightStateRelativeToNow()
1328 .atZone(zoneId) in getTwilightStateRelativeToNow()
1333 .atZone(zoneId) in getTwilightStateRelativeToNow()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java651 ZoneId zoneId = ZoneId.systemDefault(); in formatTimestamp() local
652 LocalDateTime localDateTime = LocalDateTime.ofInstant(instant, zoneId); in formatTimestamp()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java162 MySimpleClock(ZoneId zoneId) { in MySimpleClock() argument
163 this.mZoneId = zoneId; in MySimpleClock()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt35245 HSPLjava/time/temporal/TemporalQueries;->zoneId()Ljava/time/temporal/TemporalQuery;
/frameworks/base/api/
Dcurrent.txt72842 method public static java.time.temporal.TemporalQuery<java.time.ZoneId> zoneId();