Searched refs:TimeZoneProviderResult (Results 1 – 6 of 6) sorted by relevance
31 public final class TimeZoneProviderResult { class54 private static final TimeZoneProviderResult UNCERTAIN_RESULT =55 new TimeZoneProviderResult(RESULT_TYPE_UNCERTAIN, null, null);66 private TimeZoneProviderResult(@ResultType int type, in TimeZoneProviderResult() method in TimeZoneProviderResult75 public static TimeZoneProviderResult createSuggestion( in createSuggestion()77 return new TimeZoneProviderResult(RESULT_TYPE_SUGGESTION, in createSuggestion()82 public static TimeZoneProviderResult createUncertain() { in createUncertain()87 public static TimeZoneProviderResult createPermanentFailure(@NonNull Throwable cause) { in createPermanentFailure()88 return new TimeZoneProviderResult(RESULT_TYPE_PERMANENT_FAILURE, null, in createPermanentFailure()131 TimeZoneProviderResult that = (TimeZoneProviderResult) o; in equals()
148 private final ReferenceWithHistory<TimeZoneProviderResult> mLastTimeZoneProviderResult =459 TimeZoneProviderResult result = TimeZoneProviderResult.createUncertain(); in onInitializationTimeout()499 TimeZoneProviderResult result = in sendTimeZoneCertainResultIfNeeded()500 TimeZoneProviderResult.createSuggestion(suggestion); in sendTimeZoneCertainResultIfNeeded()508 TimeZoneProviderResult lastResult = mLastTimeZoneProviderResult.get(); in sendTimeZoneUncertainResultIfNeeded()519 lastResult.getType() != TimeZoneProviderResult.RESULT_TYPE_UNCERTAIN) { in sendTimeZoneUncertainResultIfNeeded()520 TimeZoneProviderResult result = TimeZoneProviderResult.createUncertain(); in sendTimeZoneUncertainResultIfNeeded()530 TimeZoneProviderResult result = TimeZoneProviderResult.createPermanentFailure(cause); in sendPermanentFailureResult()536 @NonNull TimeZoneProviderResult result, in reportTimeZoneProviderResultInternal()
234 void reportTimeZoneProviderResult(@NonNull TimeZoneProviderResult result); in reportTimeZoneProviderResult()
26 import com.android.timezone.location.provider.core.TimeZoneProviderResult;67 @NonNull TimeZoneProviderResult timeZoneProviderResult) { in reportTimeZoneProviderEvent()69 case TimeZoneProviderResult.RESULT_TYPE_SUGGESTION: { in reportTimeZoneProviderEvent()73 case TimeZoneProviderResult.RESULT_TYPE_UNCERTAIN: { in reportTimeZoneProviderEvent()77 case TimeZoneProviderResult.RESULT_TYPE_PERMANENT_FAILURE: { in reportTimeZoneProviderEvent()
47 import com.android.timezone.location.provider.core.TimeZoneProviderResult;142 @NonNull private final Consumer<TimeZoneProviderResult> mResultConsumer;152 @NonNull Consumer<TimeZoneProviderResult> resultConsumer) { in EnvironmentImpl()448 public void reportTimeZoneProviderResult(@NonNull TimeZoneProviderResult result) {
20 import static com.android.timezone.location.provider.core.TimeZoneProviderResult.RESULT_TYPE_SUGGES…192 private TimeZoneProviderResult mLastResultReported;242 public void reportTimeZoneProviderResult(@NonNull TimeZoneProviderResult result) {