Home
last modified time | relevance | path

Searched refs:matchedRegions (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DTimeZoneSettings.java363 final Set<String> matchedRegions = mTimeZoneData.lookupCountryCodesForZoneId(tzId); in findRegionIdForTzId() local
364 if (matchedRegions.size() == 0) { in findRegionIdForTzId()
367 if (sharePrefRegionId != null && matchedRegions.contains(sharePrefRegionId)) { in findRegionIdForTzId()
370 if (localeRegionId != null && matchedRegions.contains(localeRegionId)) { in findRegionIdForTzId()
374 return matchedRegions.toArray(new String[matchedRegions.size()])[0]; in findRegionIdForTzId()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneSettings.java363 final Set<String> matchedRegions = mTimeZoneData.lookupCountryCodesForZoneId(tzId); in findRegionIdForTzId() local
364 if (matchedRegions.size() == 0) { in findRegionIdForTzId()
367 if (sharePrefRegionId != null && matchedRegions.contains(sharePrefRegionId)) { in findRegionIdForTzId()
370 if (localeRegionId != null && matchedRegions.contains(localeRegionId)) { in findRegionIdForTzId()
374 return matchedRegions.toArray(new String[matchedRegions.size()])[0]; in findRegionIdForTzId()