Home
last modified time | relevance | path

Searched refs:timeZoneSuggestion (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/app/timezonedetector/
DTimeZoneDetectorImpl.java43 public boolean suggestManualTimeZone(@NonNull ManualTimeZoneSuggestion timeZoneSuggestion) { in suggestManualTimeZone() argument
45 Log.d(TAG, "suggestManualTimeZone called: " + timeZoneSuggestion); in suggestManualTimeZone()
48 return mITimeZoneDetectorService.suggestManualTimeZone(timeZoneSuggestion); in suggestManualTimeZone()
55 public void suggestTelephonyTimeZone(@NonNull TelephonyTimeZoneSuggestion timeZoneSuggestion) { in suggestTelephonyTimeZone() argument
57 Log.d(TAG, "suggestTelephonyTimeZone called: " + timeZoneSuggestion); in suggestTelephonyTimeZone()
60 mITimeZoneDetectorService.suggestTelephonyTimeZone(timeZoneSuggestion); in suggestTelephonyTimeZone()
DITimeZoneDetectorService.aidl49 boolean setManualTimeZone(in ManualTimeZoneSuggestion timeZoneSuggestion); in setManualTimeZone() argument
51 boolean suggestManualTimeZone(in ManualTimeZoneSuggestion timeZoneSuggestion); in suggestManualTimeZone() argument
52 void suggestTelephonyTimeZone(in TelephonyTimeZoneSuggestion timeZoneSuggestion); in suggestTelephonyTimeZone() argument
DTimeZoneDetector.java158 boolean suggestManualTimeZone(@NonNull ManualTimeZoneSuggestion timeZoneSuggestion); in suggestManualTimeZone() argument
168 void suggestTelephonyTimeZone(@NonNull TelephonyTimeZoneSuggestion timeZoneSuggestion); in suggestTelephonyTimeZone() argument
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DTimeZoneDetectorServiceTest.java256 GeolocationTimeZoneSuggestion timeZoneSuggestion = createGeolocationTimeZoneSuggestion(); in testHandleLocationAlgorithmEvent_withoutPermission() local
258 ARBITRARY_LOCATION_CERTAIN_STATUS, timeZoneSuggestion); in testHandleLocationAlgorithmEvent_withoutPermission()
270 GeolocationTimeZoneSuggestion timeZoneSuggestion = createGeolocationTimeZoneSuggestion(); in testHandleLocationAlgorithmEvent() local
272 ARBITRARY_LOCATION_CERTAIN_STATUS, timeZoneSuggestion); in testHandleLocationAlgorithmEvent()
288 ManualTimeZoneSuggestion timeZoneSuggestion = createManualTimeZoneSuggestion(); in testSuggestManualTimeZone_withoutPermission() local
291 () -> mTimeZoneDetectorService.suggestManualTimeZone(timeZoneSuggestion)); in testSuggestManualTimeZone_withoutPermission()
300 ManualTimeZoneSuggestion timeZoneSuggestion = createManualTimeZoneSuggestion(); in testSuggestManualTimeZone() local
304 mTimeZoneDetectorService.suggestManualTimeZone(timeZoneSuggestion)); in testSuggestManualTimeZone()
309 expectedUserId, timeZoneSuggestion, expectedBypassUserPolicyChecks); in testSuggestManualTimeZone()
319 TelephonyTimeZoneSuggestion timeZoneSuggestion = createTelephonyTimeZoneSuggestion(); in testSuggestTelephonyTime_withoutPermission() local
[all …]
DTimeZoneDetectorInternalImplTest.java143 ManualTimeZoneSuggestion timeZoneSuggestion = createManualTimeZoneSuggestion(); in testSetManualTimeZoneForDpm() local
146 assertTrue(mTimeZoneDetectorInternal.setManualTimeZoneForDpm(timeZoneSuggestion)); in testSetManualTimeZoneForDpm()
151 expectedUserId, timeZoneSuggestion, expectedBypassUserPolicyChecks); in testSetManualTimeZoneForDpm()
156 GeolocationTimeZoneSuggestion timeZoneSuggestion = createGeolocationTimeZoneSuggestion(); in testHandleLocationAlgorithmEvent() local
158 ARBITRARY_LOCATION_CERTAIN_STATUS, timeZoneSuggestion); in testHandleLocationAlgorithmEvent()
DFakeTimeZoneDetectorStrategy.java104 @UserIdInt int userId, @NonNull ManualTimeZoneSuggestion timeZoneSuggestion, in suggestManualTimeZone() argument
110 public void suggestTelephonyTimeZone(@NonNull TelephonyTimeZoneSuggestion timeZoneSuggestion) { in suggestTelephonyTimeZone() argument
DTimeZoneDetectorStrategyImplTest.java1889 Script simulateTelephonyTimeZoneSuggestion(TelephonyTimeZoneSuggestion timeZoneSuggestion) { in simulateTelephonyTimeZoneSuggestion() argument
1890 mTimeZoneDetectorStrategy.suggestTelephonyTimeZone(timeZoneSuggestion); in simulateTelephonyTimeZoneSuggestion()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineImplTest.java808 TelephonyTimeZoneSuggestion timeZoneSuggestion) { in verifyOnlyTimeZoneWasSuggestedAndReset() argument
809 justVerifyTimeZoneWasSuggested(timeZoneSuggestion); in verifyOnlyTimeZoneWasSuggestedAndReset()
816 TelephonyTimeZoneSuggestion timeZoneSuggestion) { in verifyTimeAndTimeZoneSuggestedAndReset() argument
817 justVerifyTimeZoneWasSuggested(timeZoneSuggestion); in verifyTimeAndTimeZoneSuggestedAndReset()
828 TelephonyTimeZoneSuggestion timeZoneSuggestion) { in justVerifyTimeZoneWasSuggested() argument
830 mFakeTimeServiceHelper.suggestedTimeZones.assertLatestEquals(timeZoneSuggestion); in justVerifyTimeZoneWasSuggested()
919 public void maybeSuggestDeviceTimeZone(TelephonyTimeZoneSuggestion timeZoneSuggestion) { in maybeSuggestDeviceTimeZone() argument
920 suggestedTimeZones.set(timeZoneSuggestion); in maybeSuggestDeviceTimeZone()
/frameworks/base/core/java/android/app/timedetector/
DITimeDetectorService.aidl51 boolean setManualTime(in ManualTimeSuggestion timeZoneSuggestion); in setManualTime() argument