Home
last modified time | relevance | path

Searched refs:providerStatus (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/service/timezone/
DTimeZoneProviderService.java206 TimeZoneProviderStatus providerStatus = null; in reportSuggestion() local
207 reportSuggestionInternal(suggestion, providerStatus); in reportSuggestion()
218 @NonNull TimeZoneProviderStatus providerStatus) { in reportSuggestion() argument
219 Objects.requireNonNull(providerStatus); in reportSuggestion()
220 reportSuggestionInternal(suggestion, providerStatus); in reportSuggestion()
224 @Nullable TimeZoneProviderStatus providerStatus) { in reportSuggestionInternal() argument
234 SystemClock.elapsedRealtime(), suggestion, providerStatus); in reportSuggestionInternal()
254 TimeZoneProviderStatus providerStatus = null; in reportUncertain() local
255 reportUncertainInternal(providerStatus); in reportUncertain()
267 public final void reportUncertain(@NonNull TimeZoneProviderStatus providerStatus) { in reportUncertain() argument
[all …]
DTimeZoneProviderEvent.java111 @Nullable TimeZoneProviderStatus providerStatus) { in createSuggestionEvent() argument
113 Objects.requireNonNull(suggestion), null, providerStatus); in createSuggestionEvent()
/frameworks/base/core/java/android/app/time/
DLocationTimeZoneAlgorithmStatus.java360 public static String providerStatusToString(@ProviderStatus int providerStatus) { in providerStatusToString() argument
361 switch (providerStatus) { in providerStatusToString()
371 throw new IllegalArgumentException("Unknown status: " + providerStatus); in providerStatusToString()
396 private static boolean hasProviderReported(@ProviderStatus int providerStatus) { in hasProviderReported() argument
397 return providerStatus == PROVIDER_STATUS_IS_CERTAIN in hasProviderReported()
398 || providerStatus == PROVIDER_STATUS_IS_UNCERTAIN; in hasProviderReported()
403 @ProviderStatus int providerStatus) { in requireValidProviderStatus()
404 if (providerStatus < PROVIDER_STATUS_NOT_PRESENT in requireValidProviderStatus()
405 || providerStatus > PROVIDER_STATUS_IS_UNCERTAIN) { in requireValidProviderStatus()
407 "Invalid provider status: " + providerStatus); in requireValidProviderStatus()
[all …]
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/
DBrowsedAuthenticationMetric.java79 public void setProviderStatus(int providerStatus) { in setProviderStatus() argument
80 mProviderStatus = providerStatus; in setProviderStatus()
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DZoneInfoDbTimeZoneProviderEventPreProcessor.java59 TimeZoneProviderStatus providerStatus = new TimeZoneProviderStatus.Builder( in preProcess() local
64 event.getCreationElapsedMillis(), providerStatus); in preProcess()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DZoneInfoDbTimeZoneProviderEventPreProcessorTest.java77 TimeZoneProviderStatus providerStatus = new TimeZoneProviderStatus.Builder() in timeZoneProviderEvent() local
87 ARBITRARY_TIME_MILLIS, suggestion, providerStatus); in timeZoneProviderEvent()
DLocationTimeZoneProviderTest.java267 TimeZoneProviderStatus providerStatus = null; in entersUncertainState_whenEventHasUnsupportedZones() local
269 ARBITRARY_ELAPSED_REALTIME_MILLIS, invalidIdSuggestion, providerStatus); in entersUncertainState_whenEventHasUnsupportedZones()
DLocationTimeZoneProviderControllerTest.java1620 TimeZoneProviderStatus providerStatus = new TimeZoneProviderStatus.Builder() in createSuggestionEvent() local
1630 elapsedRealtimeMillis, suggestion, providerStatus); in createSuggestionEvent()
/frameworks/base/core/tests/timetests/src/android/service/timezone/
DTimeZoneProviderStatusTest.java66 TimeZoneProviderStatus providerStatus = in couldEnableTelephonyFallback() local
83 providerStatus.couldEnableTelephonyFallback()); in couldEnableTelephonyFallback()
DTimeZoneProviderEventTest.java136 TimeZoneProviderStatus providerStatus = ARBITRARY_TIME_ZONE_PROVIDER_STATUS; in isEquivalentToAndEquals() local
139 TimeZoneProviderEvent.createUncertainEvent(creationElapsedMillis, providerStatus); in isEquivalentToAndEquals()
145 creationElapsedMillis, suggestion, providerStatus); in isEquivalentToAndEquals()