Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/pm/
DCarAppMetadataReader.java108 String regionString = metaData.getString(DRIVING_SAFETY_ACTIVITY_METADATA_REGIONS, in findDistractionOptimizedActivitiesAsUser() local
110 if (!isRegionSupported(regionString, drivingSafetyRegion)) { in findDistractionOptimizedActivitiesAsUser()
151 String regionString = metaData.getString(DRIVING_SAFETY_ACTIVITY_METADATA_REGIONS, in getSupportedDrivingSafetyRegionsForActivityAsUser() local
153 String[] regions = regionString.split(","); in getSupportedDrivingSafetyRegionsForActivityAsUser()
164 private static boolean isRegionSupported(String regionString, String currentRegion) { in isRegionSupported() argument
165 if (regionString.isEmpty()) { // not specified means all regions. in isRegionSupported()
171 String[] regions = regionString.split(","); in isRegionSupported()
183 "isRegionSupported not supported, regionString:" + regionString in isRegionSupported()
DCarPackageManagerService.java1772 String regionString; in findDistractionOptimizedActivitiesAsUser() local
1774 regionString = mCurrentDrivingSafetyRegion; in findDistractionOptimizedActivitiesAsUser()
1777 userId, regionString); in findDistractionOptimizedActivitiesAsUser()