Home
last modified time | relevance | path

Searched refs:lookupResult (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeZoneSuggesterImpl.java145 OffsetResult lookupResult = in findTimeZoneForTestNetwork() local
147 if (lookupResult == null) { in findTimeZoneForTestNetwork()
150 suggestionBuilder.setZoneId(lookupResult.getTimeZone().getID()); in findTimeZoneForTestNetwork()
153 int quality = lookupResult.isOnlyMatch() in findTimeZoneForTestNetwork()
158 "findTimeZoneForTestNetwork: lookupResult=" + lookupResult); in findTimeZoneForTestNetwork()
186 OffsetResult lookupResult = in findTimeZoneFromCountryAndNitz() local
188 if (lookupResult != null) { in findTimeZoneFromCountryAndNitz()
189 suggestionBuilder.setZoneId(lookupResult.getTimeZone().getID()); in findTimeZoneFromCountryAndNitz()
192 int quality = lookupResult.isOnlyMatch() in findTimeZoneFromCountryAndNitz()
197 + " lookupResult=" + lookupResult); in findTimeZoneFromCountryAndNitz()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java88 OffsetResult lookupResult; in testLookupByNitzByNitz() local
92 lookupResult = mTimeZoneLookupHelper.lookupByNitz(lonSummerNitzDataWithOffset); in testLookupByNitzByNitz()
94 lonSummerDstOffsetMillis, lookupResult); in testLookupByNitzByNitz()
95 assertOffsetResultMetadata(false, lookupResult); in testLookupByNitzByNitz()
99 lookupResult = mTimeZoneLookupHelper.lookupByNitz(lonWinterNitzDataWithOffset); in testLookupByNitzByNitz()
101 lonWinterDstOffsetMillis, lookupResult); in testLookupByNitzByNitz()
102 assertOffsetResultMetadata(false, lookupResult); in testLookupByNitzByNitz()
106 lookupResult = mTimeZoneLookupHelper.lookupByNitz(lonSummerNitzDataWithoutOffset); in testLookupByNitzByNitz()
108 lookupResult); in testLookupByNitzByNitz()
109 assertOffsetResultMetadata(false, lookupResult); in testLookupByNitzByNitz()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java284 LookupResult lookupResult = mPeopleCache.get(cacheKey); in validatePeople() local
285 if (lookupResult == null || lookupResult.isExpired()) { in validatePeople()
290 if (lookupResult != null) { in validatePeople()
291 affinity = Math.max(affinity, lookupResult.getAffinity()); in validatePeople()
296 ArraySet<String> phoneNumbers = lookupResult.getPhoneNumbers(); in validatePeople()
550 LookupResult lookupResult; in work() local
553 lookupResult = mPeopleCache.get(cacheKey); in work()
554 if (lookupResult != null && !lookupResult.isExpired()) { in work()
563 lookupResult = resolvePhoneContact(mContext, uri.getSchemeSpecificPart()); in work()
566 lookupResult = resolveEmailContact(mContext, uri.getSchemeSpecificPart()); in work()
[all …]