Searched refs:newSuggestion (Results 1 – 2 of 2) sorted by relevance
79 public void maybeSuggestDeviceTimeZone(@NonNull TelephonyTimeZoneSuggestion newSuggestion) { in maybeSuggestDeviceTimeZone() argument80 Objects.requireNonNull(newSuggestion); in maybeSuggestDeviceTimeZone()83 if (shouldSendNewTimeZoneSuggestion(oldSuggestion, newSuggestion)) { in maybeSuggestDeviceTimeZone()84 mTimeZoneLog.log("Suggesting time zone update: " + newSuggestion); in maybeSuggestDeviceTimeZone()85 mTimeZoneDetector.suggestTelephonyTimeZone(newSuggestion); in maybeSuggestDeviceTimeZone()86 mLastSuggestedTimeZone = newSuggestion; in maybeSuggestDeviceTimeZone()92 @NonNull TelephonyTimeZoneSuggestion newSuggestion) { in shouldSendNewTimeZoneSuggestion() argument98 return !Objects.equals(newSuggestion, oldSuggestion); in shouldSendNewTimeZoneSuggestion()
95 final Suggestion newSuggestion = Suggestion.CREATOR.createFromParcel(parcel); in buildSuggestion_fromParcelable() local97 assertThat(newSuggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_fromParcelable()98 assertThat(newSuggestion.getTitle()).isEqualTo(TEST_TITLE); in buildSuggestion_fromParcelable()99 assertThat(newSuggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_fromParcelable()100 assertThat(newSuggestion.getIcon().toString()).isEqualTo(mIcon.toString()); in buildSuggestion_fromParcelable()101 assertThat(newSuggestion.getFlags()) in buildSuggestion_fromParcelable()103 assertThat(newSuggestion.getPendingIntent()).isEqualTo(mTestIntent); in buildSuggestion_fromParcelable()