Home
last modified time | relevance | path

Searched refs:timeZoneSuggestion (Results 1 – 11 of 11) 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.aidl44 boolean suggestManualTimeZone(in ManualTimeZoneSuggestion timeZoneSuggestion); in suggestManualTimeZone() argument
45 void suggestTelephonyTimeZone(in TelephonyTimeZoneSuggestion timeZoneSuggestion); in suggestTelephonyTimeZone() argument
DTimeZoneDetector.java120 boolean suggestManualTimeZone(@NonNull ManualTimeZoneSuggestion timeZoneSuggestion); in suggestManualTimeZone() argument
130 void suggestTelephonyTimeZone(@NonNull TelephonyTimeZoneSuggestion timeZoneSuggestion); in suggestTelephonyTimeZone() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorServiceTest.java234 GeolocationTimeZoneSuggestion timeZoneSuggestion = createGeolocationTimeZoneSuggestion(); in testSuggestGeolocationTimeZone_withoutPermission() local
237 mTimeZoneDetectorService.suggestGeolocationTimeZone(timeZoneSuggestion); in testSuggestGeolocationTimeZone_withoutPermission()
250 GeolocationTimeZoneSuggestion timeZoneSuggestion = createGeolocationTimeZoneSuggestion(); in testSuggestGeolocationTimeZone() local
252 mTimeZoneDetectorService.suggestGeolocationTimeZone(timeZoneSuggestion); in testSuggestGeolocationTimeZone()
260 mFakeTimeZoneDetectorStrategy.verifySuggestGeolocationTimeZoneCalled(timeZoneSuggestion); in testSuggestGeolocationTimeZone()
267 ManualTimeZoneSuggestion timeZoneSuggestion = createManualTimeZoneSuggestion(); in testSuggestManualTimeZone_withoutPermission() local
270 mTimeZoneDetectorService.suggestManualTimeZone(timeZoneSuggestion); in testSuggestManualTimeZone_withoutPermission()
283 ManualTimeZoneSuggestion timeZoneSuggestion = createManualTimeZoneSuggestion(); in testSuggestManualTimeZone() local
287 mTimeZoneDetectorService.suggestManualTimeZone(timeZoneSuggestion)); in testSuggestManualTimeZone()
289 mFakeTimeZoneDetectorStrategy.verifySuggestManualTimeZoneCalled(timeZoneSuggestion); in testSuggestManualTimeZone()
[all …]
DFakeTimeZoneDetectorStrategy.java103 public void suggestGeolocationTimeZone(GeolocationTimeZoneSuggestion timeZoneSuggestion) { in suggestGeolocationTimeZone() argument
104 mLastGeolocationSuggestion = timeZoneSuggestion; in suggestGeolocationTimeZone()
109 @UserIdInt int userId, @NonNull ManualTimeZoneSuggestion timeZoneSuggestion) { in suggestManualTimeZone() argument
110 mLastManualSuggestion = timeZoneSuggestion; in suggestManualTimeZone()
116 @NonNull TelephonyTimeZoneSuggestion timeZoneSuggestion) { in suggestTelephonyTimeZone()
117 mLastTelephonySuggestion = timeZoneSuggestion; in suggestTelephonyTimeZone()
DTimeZoneDetectorInternalImplTest.java71 GeolocationTimeZoneSuggestion timeZoneSuggestion = createGeolocationTimeZoneSuggestion(); in testSuggestGeolocationTimeZone() local
72 mTimeZoneDetectorInternal.suggestGeolocationTimeZone(timeZoneSuggestion); in testSuggestGeolocationTimeZone()
76 mFakeTimeZoneDetectorStrategy.verifySuggestGeolocationTimeZoneCalled(timeZoneSuggestion); in testSuggestGeolocationTimeZone()
DTimeZoneDetectorStrategyImplTest.java1214 Script simulateTelephonyTimeZoneSuggestion(TelephonyTimeZoneSuggestion timeZoneSuggestion) { in simulateTelephonyTimeZoneSuggestion() argument
1215 mTimeZoneDetectorStrategy.suggestTelephonyTimeZone(timeZoneSuggestion); in simulateTelephonyTimeZoneSuggestion()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorService.java277 void suggestGeolocationTimeZone(@NonNull GeolocationTimeZoneSuggestion timeZoneSuggestion) { in suggestGeolocationTimeZone() argument
279 Objects.requireNonNull(timeZoneSuggestion); in suggestGeolocationTimeZone()
282 () -> mTimeZoneDetectorStrategy.suggestGeolocationTimeZone(timeZoneSuggestion)); in suggestGeolocationTimeZone()
286 public boolean suggestManualTimeZone(@NonNull ManualTimeZoneSuggestion timeZoneSuggestion) { in suggestManualTimeZone() argument
288 Objects.requireNonNull(timeZoneSuggestion); in suggestManualTimeZone()
293 return mTimeZoneDetectorStrategy.suggestManualTimeZone(userId, timeZoneSuggestion); in suggestManualTimeZone()
300 public void suggestTelephonyTimeZone(@NonNull TelephonyTimeZoneSuggestion timeZoneSuggestion) { in suggestTelephonyTimeZone() argument
302 Objects.requireNonNull(timeZoneSuggestion); in suggestTelephonyTimeZone()
304 mHandler.post(() -> mTimeZoneDetectorStrategy.suggestTelephonyTimeZone(timeZoneSuggestion)); in suggestTelephonyTimeZone()
DTimeZoneDetectorInternalImpl.java86 @NonNull GeolocationTimeZoneSuggestion timeZoneSuggestion) { in suggestGeolocationTimeZone()
87 Objects.requireNonNull(timeZoneSuggestion); in suggestGeolocationTimeZone()
91 () -> mTimeZoneDetectorStrategy.suggestGeolocationTimeZone(timeZoneSuggestion)); in suggestGeolocationTimeZone()
DTimeZoneDetectorInternal.java52 void suggestGeolocationTimeZone(@NonNull GeolocationTimeZoneSuggestion timeZoneSuggestion); in suggestGeolocationTimeZone() argument
/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()