Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DSystemTimeZone.java65 value = { TIME_ZONE_CONFIDENCE_LOW, TIME_ZONE_CONFIDENCE_HIGH })
74 public static final @TimeZoneConfidence int TIME_ZONE_CONFIDENCE_HIGH = 100; field in SystemTimeZone
196 return confidence >= TIME_ZONE_CONFIDENCE_LOW && confidence <= TIME_ZONE_CONFIDENCE_HIGH; in isValidTimeZoneConfidence()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImpl.java25 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
370 if (mEnvironment.getDeviceTimeZoneConfidence() < TIME_ZONE_CONFIDENCE_HIGH) { in confirmTimeZone()
372 TIME_ZONE_CONFIDENCE_HIGH, "confirmTimeZone: timeZoneId=" + timeZoneId); in confirmTimeZone()
380 mEnvironment.getDeviceTimeZoneConfidence() < TIME_ZONE_CONFIDENCE_HIGH; in getTimeZoneState()
389 ? TIME_ZONE_CONFIDENCE_LOW : TIME_ZONE_CONFIDENCE_HIGH;
801 int newConfidence = TIME_ZONE_CONFIDENCE_HIGH; in setDeviceTimeZoneIfRequired()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java36 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
1486 script.initializeTimeZoneSetting(timeZoneId, TIME_ZONE_CONFIDENCE_HIGH); in testGetTimeZoneState()
1505 script.verifyTimeZoneChangedAndReset(timeZoneId, TIME_ZONE_CONFIDENCE_HIGH); in testSetTimeZoneState()
1532 script.verifyTimeZoneChangedAndReset(timeZoneId, TIME_ZONE_CONFIDENCE_HIGH); in testConfirmTimeZone()
1602 .verifyTimeZoneChangedAndReset(expectedDeviceTimeZoneId, TIME_ZONE_CONFIDENCE_HIGH); in testGenerateMetricsState()
1921 verifyTimeZoneChangedAndReset(suggestion.getZoneId(), TIME_ZONE_CONFIDENCE_HIGH); in verifyTimeZoneChangedAndReset() local
1926 verifyTimeZoneChangedAndReset(suggestion.getZoneId(), TIME_ZONE_CONFIDENCE_HIGH); in verifyTimeZoneChangedAndReset() local
1936 suggestion.getZoneIds().get(0), TIME_ZONE_CONFIDENCE_HIGH); in verifyTimeZoneChangedAndReset()
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DTimeDetectorStrategyImplTest.java21 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
1414 script.pokeFakeClocks(deviceTime, TIME_ZONE_CONFIDENCE_HIGH) in testGetTimeState()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java57 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
3368 mService.setTimeZoneImpl("UTC", TIME_ZONE_CONFIDENCE_HIGH, "AlarmManagerServiceTest");
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java48 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
2911 final int timeZoneConfidence = TIME_ZONE_CONFIDENCE_HIGH;
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java62 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
4519 .setTimeZone(eq("Asia/Shanghai"), eq(TIME_ZONE_CONFIDENCE_HIGH), anyString()); in testSetTimeZone()
4535 .setTimeZone(eq("Asia/Shanghai"), eq(TIME_ZONE_CONFIDENCE_HIGH), anyString()); in testSetTimeZoneWithPOOfOrganizationOwnedDevice()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java271 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
15242 .setTimeZone(timeZone, TIME_ZONE_CONFIDENCE_HIGH, logInfo)); in setTimeZone()