Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorServiceTest.java82 ManualTimeZoneSuggestion timeZoneSuggestion = createManualTimeZoneSuggestion(); in testSuggestManualTimeZone_withoutPermission() local
85 mTimeZoneDetectorService.suggestManualTimeZone(timeZoneSuggestion); in testSuggestManualTimeZone_withoutPermission()
98 ManualTimeZoneSuggestion timeZoneSuggestion = createManualTimeZoneSuggestion(); in testSuggestManualTimeZone() local
99 mTimeZoneDetectorService.suggestManualTimeZone(timeZoneSuggestion); in testSuggestManualTimeZone()
107 mStubbedTimeZoneDetectorStrategy.verifySuggestManualTimeZoneCalled(timeZoneSuggestion); in testSuggestManualTimeZone()
114 TelephonyTimeZoneSuggestion timeZoneSuggestion = createTelephonyTimeZoneSuggestion(); in testSuggestTelephonyTimeZone_withoutPermission() local
117 mTimeZoneDetectorService.suggestTelephonyTimeZone(timeZoneSuggestion); in testSuggestTelephonyTimeZone_withoutPermission()
130 TelephonyTimeZoneSuggestion timeZoneSuggestion = createTelephonyTimeZoneSuggestion(); in testSuggestTelephonyTimeZone() local
131 mTimeZoneDetectorService.suggestTelephonyTimeZone(timeZoneSuggestion); in testSuggestTelephonyTimeZone()
139 mStubbedTimeZoneDetectorStrategy.verifySuggestTelephonyTimeZoneCalled(timeZoneSuggestion); in testSuggestTelephonyTimeZone()
[all …]
DTimeZoneDetectorStrategyImplTest.java606 Script suggestTelephonyTimeZone(TelephonyTimeZoneSuggestion timeZoneSuggestion) { in suggestTelephonyTimeZone() argument
607 mTimeZoneDetectorStrategy.suggestTelephonyTimeZone(timeZoneSuggestion); in suggestTelephonyTimeZone()
/frameworks/base/core/java/android/app/timezonedetector/
DTimeZoneDetectorImpl.java43 public void suggestManualTimeZone(@NonNull ManualTimeZoneSuggestion timeZoneSuggestion) { in suggestManualTimeZone() argument
45 Log.d(TAG, "suggestManualTimeZone called: " + timeZoneSuggestion); in suggestManualTimeZone()
48 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.aidl36 void suggestManualTimeZone(in ManualTimeZoneSuggestion timeZoneSuggestion); in suggestManualTimeZone() argument
37 void suggestTelephonyTimeZone(in TelephonyTimeZoneSuggestion timeZoneSuggestion); in suggestTelephonyTimeZone() argument
DTimeZoneDetector.java50 void suggestManualTimeZone(@NonNull ManualTimeZoneSuggestion timeZoneSuggestion); in suggestManualTimeZone() argument
60 void suggestTelephonyTimeZone(@NonNull TelephonyTimeZoneSuggestion timeZoneSuggestion); in suggestTelephonyTimeZone() argument
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorService.java98 public void suggestManualTimeZone(@NonNull ManualTimeZoneSuggestion timeZoneSuggestion) { in suggestManualTimeZone() argument
100 Objects.requireNonNull(timeZoneSuggestion); in suggestManualTimeZone()
102 mHandler.post(() -> mTimeZoneDetectorStrategy.suggestManualTimeZone(timeZoneSuggestion)); in suggestManualTimeZone()
106 public void suggestTelephonyTimeZone(@NonNull TelephonyTimeZoneSuggestion timeZoneSuggestion) { in suggestTelephonyTimeZone() argument
108 Objects.requireNonNull(timeZoneSuggestion); in suggestTelephonyTimeZone()
110 mHandler.post(() -> mTimeZoneDetectorStrategy.suggestTelephonyTimeZone(timeZoneSuggestion)); in suggestTelephonyTimeZone()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineImplTest.java561 TelephonyTimeZoneSuggestion timeZoneSuggestion) { in verifyOnlyTimeZoneWasSuggestedAndReset() argument
562 justVerifyTimeZoneWasSuggested(timeZoneSuggestion); in verifyOnlyTimeZoneWasSuggestedAndReset()
569 TelephonyTimeZoneSuggestion timeZoneSuggestion) { in verifyTimeAndTimeZoneSuggestedAndReset() argument
570 justVerifyTimeZoneWasSuggested(timeZoneSuggestion); in verifyTimeAndTimeZoneSuggestedAndReset()
581 TelephonyTimeZoneSuggestion timeZoneSuggestion) { in justVerifyTimeZoneWasSuggested() argument
583 mFakeTimeServiceHelper.suggestedTimeZones.assertLatestEquals(timeZoneSuggestion); in justVerifyTimeZoneWasSuggested()
671 public void maybeSuggestDeviceTimeZone(TelephonyTimeZoneSuggestion timeZoneSuggestion) { in maybeSuggestDeviceTimeZone() argument
672 suggestedTimeZones.set(timeZoneSuggestion); in maybeSuggestDeviceTimeZone()