Home
last modified time | relevance | path

Searched refs:zoneId (Results 1 – 13 of 13) 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 …]
DNewNitzStateMachine.java159 String zoneId; in updateTimeZoneFromCountryAndNitz() local
161 zoneId = nitzData.getEmulatorHostTimeZone().getID(); in updateTimeZoneFromCountryAndNitz()
164 zoneId = null; in updateTimeZoneFromCountryAndNitz()
179 zoneId = lookupResult != null ? lookupResult.zoneId : null; in updateTimeZoneFromCountryAndNitz()
186 zoneId = null; in updateTimeZoneFromCountryAndNitz()
197 zoneId = null; in updateTimeZoneFromCountryAndNitz()
208 zoneId = lookupResult != null ? lookupResult.zoneId : null; in updateTimeZoneFromCountryAndNitz()
216 + " zoneId=" + zoneId in updateTimeZoneFromCountryAndNitz()
222 if (zoneId != null) { in updateTimeZoneFromCountryAndNitz()
224 Rlog.d(LOG_TAG, "updateTimeZoneFromCountryAndNitz: zoneId=" + zoneId); in updateTimeZoneFromCountryAndNitz()
[all …]
DOldNitzStateMachine.java167 String zoneId; in updateTimeZoneFromCountryAndNitz() local
169 zoneId = nitzData.getEmulatorHostTimeZone().getID(); in updateTimeZoneFromCountryAndNitz()
172 zoneId = null; in updateTimeZoneFromCountryAndNitz()
187 zoneId = lookupResult != null ? lookupResult.zoneId : null; in updateTimeZoneFromCountryAndNitz()
194 zoneId = null; in updateTimeZoneFromCountryAndNitz()
205 zoneId = null; in updateTimeZoneFromCountryAndNitz()
216 zoneId = lookupResult != null ? lookupResult.zoneId : null; in updateTimeZoneFromCountryAndNitz()
224 + " zoneId=" + zoneId in updateTimeZoneFromCountryAndNitz()
230 if (zoneId != null) { in updateTimeZoneFromCountryAndNitz()
232 Rlog.d(LOG_TAG, "updateTimeZoneFromCountryAndNitz: zoneId=" + zoneId); in updateTimeZoneFromCountryAndNitz()
[all …]
DNewTimeServiceHelper.java125 public void setDeviceTimeZone(String zoneId) { in setDeviceTimeZone() argument
126 setDeviceTimeZoneStatic(mContext, zoneId); in setDeviceTimeZone()
163 static void setDeviceTimeZoneStatic(Context context, String zoneId) { in setDeviceTimeZoneStatic() argument
165 alarmManager.setTimeZone(zoneId); in setDeviceTimeZoneStatic()
168 intent.putExtra("time-zone", zoneId); in setDeviceTimeZoneStatic()
DOldTimeServiceHelper.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.java365 String zoneId = defaultTimeZoneForMcc(mcc); in setTimezoneFromMccIfNeeded() local
366 if (zoneId != null && zoneId.length() > 0) { in setTimezoneFromMccIfNeeded()
368 NewTimeServiceHelper.setDeviceTimeZoneStatic(context, zoneId); in setTimezoneFromMccIfNeeded()
369 Slog.d(LOG_TAG, "timezone set to " + zoneId); in setTimezoneFromMccIfNeeded()
374 String zoneId = defaultTimeZoneForMcc(mcc); in setTimezoneFromMccIfNeeded() local
375 if (zoneId != null && zoneId.length() > 0) { in setTimezoneFromMccIfNeeded()
377 OldTimeServiceHelper.setDeviceTimeZoneStatic(context, zoneId); in setTimezoneFromMccIfNeeded()
378 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/color/
DColorDisplayServiceTest.java1237 final ZoneId zoneId = ZoneId.systemDefault(); in getTwilightStateRelativeToNow() local
1240 .atZone(zoneId) in getTwilightStateRelativeToNow()
1244 .atZone(zoneId) in getTwilightStateRelativeToNow()
1249 .atZone(zoneId) in getTwilightStateRelativeToNow()
1254 .atZone(zoneId) in getTwilightStateRelativeToNow()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNewNitzStateMachineTest.java656 String expectedZoneId = result.zoneId; in checkNitzOnlyLookupIsAmbiguousAndReturnZoneId()
872 String zoneId, String countryIsoCode) { in Scenario() argument
876 mZone = TimeZone.getTimeZone(zoneId); in Scenario()
940 Builder setTimeZone(String zoneId) { in setTimeZone() argument
941 mZoneId = zoneId; in setTimeZone()
DTimeZoneLookupHelperTest.java310 String timeZoneId = lookupResult.zoneId; in assertOffsetResultZoneCountry()
323 TimeZone timeZone = TimeZone.getTimeZone(lookupResult.zoneId); in assertOffsetResultZoneOffsets()
DOldNitzStateMachineTest.java780 String expectedZoneId = result.zoneId; in checkNitzOnlyLookupIsAmbiguousAndReturnZoneId()
1011 String zoneId, String countryIsoCode) { in Scenario() argument
1015 mZone = TimeZone.getTimeZone(zoneId); in Scenario()
1079 Builder setTimeZone(String zoneId) { in setTimeZone() argument
1080 mZoneId = zoneId; in setTimeZone()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/volume/
DCarVolumeDialogImpl.java106 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) {
139 public void onMasterMuteChanged(int zoneId, int flags) {
/frameworks/base/api/
Dcurrent.txt68864 method public static java.time.temporal.TemporalQuery<java.time.ZoneId> zoneId();