/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | LightAppPermGroupLiveData.kt | 31 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 50 ) : SmartUpdateMediatorLiveData<LightAppPermGroup?>(), LocationUtils.LocationListener { in <lambda>() 62 LocationUtils.isLocationGroupAndProvider(app, permGroupName, packageName) || in <lambda>() 63 LocationUtils.isLocationGroupAndControllerExtraPackage( in <lambda>() 127 if (LocationUtils.isLocationGroupAndProvider(userContext, permGroupName, packageName)) { in <lambda>() 128 specialLocationGrant = LocationUtils.isLocationEnabled(userContext) in <lambda>() 130 LocationUtils.isLocationGroupAndControllerExtraPackage(app, permGroupName, packageName) in <lambda>() 135 LocationUtils.isExtraLocationControllerPackageEnabled(userContext) in <lambda>() 202 LocationUtils.addLocationListener(this) in <lambda>() 209 LocationUtils.removeLocationListener(this) in <lambda>()
|
D | AppPermGroupUiInfoLiveData.kt | 35 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 59 ) : SmartAsyncMediatorLiveData<AppPermGroupUiInfo>(), LocationUtils.LocationListener { in <lambda>() 70 LocationUtils.isLocationGroupAndProvider(app, permGroupName, packageName) || in <lambda>() 71 LocationUtils.isLocationGroupAndControllerExtraPackage( in <lambda>() 341 if (LocationUtils.isLocationGroupAndProvider(userContext, permGroupName, packageName)) { in <lambda>() 342 return LocationUtils.isLocationEnabled(userContext) in <lambda>() 347 LocationUtils.isLocationGroupAndControllerExtraPackage( in <lambda>() 353 return LocationUtils.isExtraLocationControllerPackageEnabled(userContext) in <lambda>() 387 LocationUtils.addLocationListener(this) in <lambda>() 396 LocationUtils.removeLocationListener(this) in <lambda>()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | LocationFragment.java | 32 import com.android.tv.common.util.LocationUtils; 68 implements LocationUtils.OnUpdateAddressListener { 84 LocationUtils.removeOnUpdateAddressListener(this); 156 Address address = LocationUtils.getCurrentAddress(getActivity()); in onRequestPermissionsResult() 169 LocationUtils.removeOnUpdateAddressListener(this); in onRequestPermissionsResult() 206 LocationUtils.addOnUpdateAddressListener(this); in onResume() 214 LocationUtils.removeOnUpdateAddressListener(this); in onPause()
|
D | PostalCodeFragment.java | 30 import com.android.tv.common.util.LocationUtils; 81 String region = LocationUtils.getCurrentCountry(getContext()); in setOnClickAction()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/ |
D | AppPermissionActivity.java | 43 import com.android.permissioncontroller.permission.utils.LocationUtils; 133 if (LocationUtils.isLocationGroupAndProvider(this, groupName, in onCreate() 142 if (LocationUtils.isLocationGroupAndControllerExtraPackage( in onCreate() 145 LocationUtils.startLocationControllerExtraPackageSettings(this, userHandle); in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | PermissionAppsViewModel.kt | 61 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 127 blocked = !LocationUtils.isLocationEnabled(app.getApplicationContext()) in <lambda>() 141 LocationUtils.addLocationListener(locListener) in <lambda>() 150 LocationUtils.removeLocationListener(locListener) in <lambda>() 318 if (LocationUtils.isLocationGroupAndProvider(activity, groupName, packageName)) { in <lambda>() 326 LocationUtils.isLocationGroupAndControllerExtraPackage(activity, groupName, packageName) in <lambda>() 329 LocationUtils.startLocationControllerExtraPackageSettings(activity, user) in <lambda>()
|
D | AppPermissionViewModel.kt | 85 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 258 !LocationUtils.isLocationEnabled(app.getApplicationContext()) in <lambda>() 284 LocationUtils.addLocationListener(mainLocListener) in <lambda>() 286 LocationUtils.isAutomotiveLocationBypassAllowlistedPackage( in <lambda>() 291 LocationUtils.addAutomotiveLocationBypassListener(locBypassListener) in <lambda>() 301 LocationUtils.removeLocationListener(mainLocListener) in <lambda>() 303 LocationUtils.isAutomotiveLocationBypassAllowlistedPackage( in <lambda>() 308 LocationUtils.removeAutomotiveLocationBypassListener(locBypassListener) in <lambda>() 915 if (LocationUtils.isLocationGroupAndProvider(context, permGroupName, packageName)) { in <lambda>() 917 LocationUtils.showLocationDialog(context, packageLabel) in <lambda>()
|
/packages/apps/TV/common/src/com/android/tv/common/feature/ |
D | CommonFeatures.java | 28 import com.android.tv.common.util.LocationUtils; 70 String country = LocationUtils.getCurrentCountry(context);
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | SafetyCenterQsViewModel.kt | 51 import com.android.permissioncontroller.permission.utils.LocationUtils 173 LocationUtils.LocationListener { 211 LocationUtils.addLocationListener(this) in onActive() 219 LocationUtils.removeLocationListener(this) in onInactive()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionControlPreference.java | 49 import com.android.permissioncontroller.permission.utils.LocationUtils; 216 if (LocationUtils.isLocationGroupAndProvider( in onBindViewHolder() 221 } else if (LocationUtils.isLocationGroupAndControllerExtraPackage( in onBindViewHolder() 224 LocationUtils.startLocationControllerExtraPackageSettings(mContext, mUser); in onBindViewHolder()
|
D | PermissionPreference.java | 43 import com.android.permissioncontroller.permission.utils.LocationUtils; 373 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getPermGroupName(), in requestChange() 375 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in requestChange() 459 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getPermGroupName(), in showBackgroundChooserDialog() 461 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in showBackgroundChooserDialog()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | PostalCodeUtils.java | 65 String postalCode = LocationUtils.getCurrentPostalCode(context); in updatePostalCode() 119 REGION_MAX_LENGTH.get(LocationUtils.getCurrentCountry(context).toUpperCase()); in getRegionMaxLength()
|
D | LocationUtils.java | 41 public class LocationUtils { class 181 private LocationUtils() {} in LocationUtils() method in LocationUtils
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearAppPermissionGroupsHelper.kt | 47 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 312 if (LocationUtils.isLocationGroupAndProvider(context, permGroupName, packageName)) { in <lambda>() 317 LocationUtils.isLocationGroupAndControllerExtraPackage( in <lambda>() 324 LocationUtils.startLocationControllerExtraPackageSettings(context, user) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | LocationUtils.java | 51 public class LocationUtils { class 57 private static final String TAG = LocationUtils.class.getSimpleName();
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | PermissionAppsFragment.java | 46 import com.android.permissioncontroller.permission.utils.LocationUtils; 327 if (LocationUtils.isLocationGroupAndProvider(getContext(), mPermissionApps.getGroupName(), in onPreferenceClick() 329 LocationUtils.showLocationDialog(getContext(), app.getLabel()); in onPreferenceClick()
|
D | AppPermissionsFragment.java | 63 import com.android.permissioncontroller.permission.utils.LocationUtils; 336 if (LocationUtils.isLocationGroupAndProvider(getContext(), group.getName(), in onPreferenceClick() 338 LocationUtils.showLocationDialog(getContext(), mAppPermissions.getAppLabel()); in onPreferenceClick()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 61 import com.android.permissioncontroller.permission.utils.LocationUtils; 774 if (LocationUtils.isLocationGroupAndProvider(mContext, mName, mPackageInfo.packageName)) { 775 return LocationUtils.isLocationEnabled(mContext) && !asOneTime; 779 if (LocationUtils.isLocationGroupAndControllerExtraPackage( 781 return LocationUtils.isExtraLocationControllerPackageEnabled(mContext) && !asOneTime;
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAppPermissionFragment.java | 70 import com.android.permissioncontroller.permission.utils.LocationUtils; 180 LocationUtils.getAutomotiveLocationBypassAllowlist(requireContext()); in onCreate() 324 isRequiredApp && LocationUtils.isAutomotiveLocationBypassEnabled( in setSensorStatus()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetcherImpl.java | 49 import com.android.tv.common.util.LocationUtils; 343 + LocationUtils.getCurrentCountry(mContext)); in checkFetchPrerequisite()
|