Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/
H A 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
H A 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
H A DTimeDetectorStrategyImplTest.java21 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
1414 script.pokeFakeClocks(deviceTime, TIME_ZONE_CONFIDENCE_HIGH) in testGetTimeState()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
H A DAlarmManagerServiceTest.java54 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
3583 mService.setTimeZoneImpl("UTC", TIME_ZONE_CONFIDENCE_HIGH, "AlarmManagerServiceTest");
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DAlarmManagerService.java47 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
3067 final int timeZoneConfidence = TIME_ZONE_CONFIDENCE_HIGH;
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java63 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
4513 .setTimeZone(eq("Asia/Shanghai"), eq(TIME_ZONE_CONFIDENCE_HIGH), anyString()); in testSetTimeZone()
4529 .setTimeZone(eq("Asia/Shanghai"), eq(TIME_ZONE_CONFIDENCE_HIGH), anyString()); in testSetTimeZoneWithPOOfOrganizationOwnedDevice()
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java248 import static com.android.server.SystemTimeZone.TIME_ZONE_CONFIDENCE_HIGH;
15474 .setTimeZone(timeZone, TIME_ZONE_CONFIDENCE_HIGH, logInfo)); in setTimeZone()