Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java79 OffsetResult lookupResult; in testLookupByNitzByNitz() local
83 lookupResult = mTimeZoneLookupHelper.lookupByNitz(lonSummerNitzDataWithOffset); in testLookupByNitzByNitz()
85 lonSummerDstOffsetMillis, lookupResult); in testLookupByNitzByNitz()
86 assertOffsetResultMetadata(false, lookupResult); in testLookupByNitzByNitz()
90 lookupResult = mTimeZoneLookupHelper.lookupByNitz(lonWinterNitzDataWithOffset); in testLookupByNitzByNitz()
92 lonWinterDstOffsetMillis, lookupResult); in testLookupByNitzByNitz()
93 assertOffsetResultMetadata(false, lookupResult); in testLookupByNitzByNitz()
97 lookupResult = mTimeZoneLookupHelper.lookupByNitz(lonSummerNitzDataWithoutOffset); in testLookupByNitzByNitz()
99 lookupResult); in testLookupByNitzByNitz()
100 assertOffsetResultMetadata(false, lookupResult); in testLookupByNitzByNitz()
[all …]
/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/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java252 LookupResult lookupResult = mPeopleCache.get(cacheKey); in validatePeople() local
253 if (lookupResult == null || lookupResult.isExpired()) { in validatePeople()
258 if (lookupResult != null) { in validatePeople()
259 affinity = Math.max(affinity, lookupResult.getAffinity()); in validatePeople()
394 LookupResult lookupResult = new LookupResult(); in searchContacts() local
400 return lookupResult; in searchContacts()
403 lookupResult.mergeContact(c); in searchContacts()
412 return lookupResult; in searchContacts()
489 LookupResult lookupResult = null; in work() local
493 lookupResult = resolvePhoneContact(mContext, uri.getSchemeSpecificPart()); in work()
[all …]