Searched refs:TIME_ZONE_CONFIDENCE_HIGH (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | SystemTimeZone.java | 65 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/ |
D | TimeZoneDetectorStrategyImpl.java | 25 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/ |
D | TimeZoneDetectorStrategyImplTest.java | 36 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/ |
D | TimeDetectorStrategyImplTest.java | 21 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/ |
D | AlarmManagerServiceTest.java | 57 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/ |
D | AlarmManagerService.java | 48 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/ |
D | DevicePolicyManagerTest.java | 62 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/ |
D | DevicePolicyManagerService.java | 271 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH; 15242 .setTimeZone(timeZone, TIME_ZONE_CONFIDENCE_HIGH, logInfo)); in setTimeZone()
|