/frameworks/base/core/java/android/app/timezonedetector/ |
D | ManualTimeZoneSuggestion.java | 60 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()
|
D | TelephonyTimeZoneSuggestion.java | 323 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/ |
D | DateTimeView.java | 179 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 …]
|
D | AnalogClock.java | 280 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/ |
D | TwilightState.java | 54 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/ |
D | NitzStateMachineTestSupport.java | 116 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()
|
D | TimeZoneLookupHelperTest.java | 485 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/ |
D | TimeZoneLookupHelper.java | 64 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()
|
D | TimeZoneSuggesterImpl.java | 216 suggestionBuilder.setZoneId(countryResult.zoneId); in findTimeZoneFromCountryAndNitz() 254 suggestionBuilder.setZoneId(lookupResult.zoneId); in findTimeZoneFromNetworkCountryCode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/ |
D | TimeZoneDetectorStrategyImplTest.java | 467 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/ |
D | TimeZoneDetectorCallbackImpl.java | 79 public void setDeviceTimeZone(String zoneId) { in setDeviceTimeZone() argument 81 alarmManager.setTimeZone(zoneId); in setDeviceTimeZone()
|
D | TimeZoneDetectorStrategyImpl.java | 88 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/services/tests/servicestests/src/com/android/server/display/color/ |
D | ColorDisplayServiceTest.java | 1316 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/packages/CarSystemUI/src/com/android/systemui/volume/ |
D | CarVolumeDialogImpl.java | 118 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { 152 public void onMasterMuteChanged(int zoneId, int flags) {
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBar.java | 245 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { 259 public void onMasterMuteChanged(int zoneId, int flags) {
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 70229 method public static java.time.temporal.TemporalQuery<java.time.ZoneId> zoneId();
|
/frameworks/base/api/ |
D | current.txt | 70373 method public static java.time.temporal.TemporalQuery<java.time.ZoneId> zoneId();
|