Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTimeZoneLookupHelper.java39 public final String zoneId; field in TimeZoneLookupHelper.OffsetResult
44 public OffsetResult(String zoneId, boolean isOnlyMatch) { in OffsetResult() argument
45 this.zoneId = zoneId; in OffsetResult()
63 return zoneId.equals(result.zoneId); in equals()
68 int result = zoneId.hashCode(); in hashCode()
76 + "zoneId='" + zoneId + '\'' in toString()
88 public final String zoneId; field in TimeZoneLookupHelper.CountryResult
98 public CountryResult(String zoneId, boolean allZonesHaveSameOffset, long whenMillis) { in CountryResult() argument
99 this.zoneId = zoneId; in CountryResult()
121 return zoneId.equals(that.zoneId); in equals()
[all …]
DNitzStateMachine.java220 String zoneId; in handleNetworkCountryCodeSet() local
233 zoneId = lookupResult != null ? lookupResult.zoneId : null; in handleNetworkCountryCodeSet()
235 zoneId = null; in handleNetworkCountryCodeSet()
261 zoneId = zone.getID(); in handleNetworkCountryCodeSet()
313 zoneId = lookupResult != null ? lookupResult.zoneId : null; in handleNetworkCountryCodeSet()
321 + " zoneId=" + zoneId; in handleNetworkCountryCodeSet()
324 if (zoneId != null) { in handleNetworkCountryCodeSet()
325 Rlog.d(LOG_TAG, "handleNetworkCountryCodeSet: zoneId != null, zoneId=" + zoneId); in handleNetworkCountryCodeSet()
327 setAndBroadcastNetworkSetTimeZone(zoneId); in handleNetworkCountryCodeSet()
333 mSavedTimeZoneId = zoneId; in handleNetworkCountryCodeSet()
[all …]
DTimeServiceHelper.java143 public void setDeviceTimeZone(String zoneId) { in setDeviceTimeZone() argument
144 setDeviceTimeZoneStatic(mContext, zoneId); in setDeviceTimeZone()
185 static void setDeviceTimeZoneStatic(Context context, String zoneId) { in setDeviceTimeZoneStatic() argument
187 alarmManager.setTimeZone(zoneId); in setDeviceTimeZoneStatic()
190 intent.putExtra("time-zone", zoneId); in setDeviceTimeZoneStatic()
DMccTable.java362 String zoneId = defaultTimeZoneForMcc(mcc); in setTimezoneFromMccIfNeeded() local
363 if (zoneId != null && zoneId.length() > 0) { in setTimezoneFromMccIfNeeded()
365 TimeServiceHelper.setDeviceTimeZoneStatic(context, zoneId); in setTimezoneFromMccIfNeeded()
366 Slog.d(LOG_TAG, "timezone set to " + zoneId); in setTimezoneFromMccIfNeeded()
/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/base/services/tests/servicestests/src/com/android/server/display/
DColorDisplayServiceTest.java1116 final ZoneId zoneId = ZoneId.systemDefault(); in getTwilightStateRelativeToNow() local
1119 .atZone(zoneId) in getTwilightStateRelativeToNow()
1123 .atZone(zoneId) in getTwilightStateRelativeToNow()
1128 .atZone(zoneId) in getTwilightStateRelativeToNow()
1133 .atZone(zoneId) in getTwilightStateRelativeToNow()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNitzStateMachineTest.java641 String zoneId, String countryIsoCode) { in Scenario() argument
645 mZone = TimeZone.getTimeZone(zoneId); in Scenario()
708 Builder setTimeZone(String zoneId) { in setTimeZone() argument
709 mZoneId = zoneId; in setTimeZone()
DTimeZoneLookupHelperTest.java310 String timeZoneId = lookupResult.zoneId; in assertOffsetResultZoneCountry()
323 TimeZone timeZone = TimeZone.getTimeZone(lookupResult.zoneId); in assertOffsetResultZoneOffsets()
/frameworks/base/config/
Dhiddenapi-public-dex.txt66333 Ljava/time/temporal/TemporalQueries;->zoneId()Ljava/time/temporal/TemporalQuery;
/frameworks/base/api/
Dcurrent.txt65583 method public static java.time.temporal.TemporalQuery<java.time.ZoneId> zoneId();