/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | LightAppPermGroupLiveData.kt | 30 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 47 ) : SmartUpdateMediatorLiveData<LightAppPermGroup?>(), LocationUtils.LocationListener { in <lambda>() 58 isSpecialLocation = LocationUtils.isLocationGroupAndProvider(app, in <lambda>() 60 LocationUtils.isLocationGroupAndControllerExtraPackage(app, permGroupName, packageName) in <lambda>() 120 if (LocationUtils.isLocationGroupAndProvider(userContext, permGroupName, packageName)) { in <lambda>() 121 specialLocationGrant = LocationUtils.isLocationEnabled(userContext) in <lambda>() 122 } else if (LocationUtils.isLocationGroupAndControllerExtraPackage(app, permGroupName, in <lambda>() 126 specialLocationGrant = LocationUtils.isExtraLocationControllerPackageEnabled( in <lambda>() 187 LocationUtils.addLocationListener(this) in <lambda>() 194 LocationUtils.removeLocationListener(this) in <lambda>()
|
D | AppPermGroupUiInfoLiveData.kt | 34 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 57 ) : SmartAsyncMediatorLiveData<AppPermGroupUiInfo>(), LocationUtils.LocationListener { in <lambda>() 66 isSpecialLocation = LocationUtils.isLocationGroupAndProvider(app, in <lambda>() 68 LocationUtils.isLocationGroupAndControllerExtraPackage(app, permGroupName, packageName) in <lambda>() 304 if (LocationUtils.isLocationGroupAndProvider(userContext, permGroupName, packageName)) { in <lambda>() 305 return LocationUtils.isLocationEnabled(userContext) in <lambda>() 309 if (LocationUtils.isLocationGroupAndControllerExtraPackage(userContext, in <lambda>() 311 return LocationUtils.isExtraLocationControllerPackageEnabled(userContext) in <lambda>() 344 LocationUtils.addLocationListener(this) in <lambda>() 353 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 | 41 import com.android.permissioncontroller.permission.utils.LocationUtils; 129 if (LocationUtils.isLocationGroupAndProvider(this, groupName, in onCreate() 138 if (LocationUtils.isLocationGroupAndControllerExtraPackage( in onCreate() 141 LocationUtils.startLocationControllerExtraPackageSettings(this, userHandle); in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | PermissionAppsViewModel.kt | 43 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 226 if (LocationUtils.isLocationGroupAndProvider( in <lambda>() 234 if (LocationUtils.isLocationGroupAndControllerExtraPackage( in <lambda>() 237 LocationUtils.startLocationControllerExtraPackageSettings(activity, user) in <lambda>()
|
D | AppPermissionViewModel.kt | 52 import com.android.permissioncontroller.permission.utils.LocationUtils in <lambda>() 492 if (LocationUtils.isLocationGroupAndProvider(context, permGroupName, packageName)) { in <lambda>() 494 LocationUtils.showLocationDialog(context, packageLabel) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionPreference.java | 42 import com.android.permissioncontroller.permission.utils.LocationUtils; 460 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getName(), in requestChange() 462 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in requestChange() 570 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getName(), in showBackgroundChooserDialog() 572 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in showBackgroundChooserDialog()
|
D | PermissionControlPreference.java | 50 import com.android.permissioncontroller.permission.utils.LocationUtils; 243 if (LocationUtils.isLocationGroupAndProvider( in onBindViewHolder() 248 } else if (LocationUtils.isLocationGroupAndControllerExtraPackage( in onBindViewHolder() 251 LocationUtils.startLocationControllerExtraPackageSettings(mContext, mUser); in onBindViewHolder()
|
/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/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/utils/ |
D | LocationUtils.java | 43 public class LocationUtils { class 49 private static final String TAG = LocationUtils.class.getSimpleName();
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | AppPermissionsFragmentWear.java | 44 import com.android.permissioncontroller.permission.utils.LocationUtils; 329 if (LocationUtils.isLocationGroupAndProvider(getContext(), in createSwitchPreferenceForGroup() 331 LocationUtils.showLocationDialog( in createSwitchPreferenceForGroup()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | PermissionAppsFragment.java | 42 import com.android.permissioncontroller.permission.utils.LocationUtils; 306 if (LocationUtils.isLocationGroupAndProvider(getContext(), mPermissionApps.getGroupName(), in onPreferenceClick() 308 LocationUtils.showLocationDialog(getContext(), app.getLabel()); in onPreferenceClick()
|
D | AppPermissionsFragment.java | 59 import com.android.permissioncontroller.permission.utils.LocationUtils; 315 if (LocationUtils.isLocationGroupAndProvider(getContext(), group.getName(), in onPreferenceClick() 317 LocationUtils.showLocationDialog(getContext(), mAppPermissions.getAppLabel()); in onPreferenceClick()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 51 import com.android.permissioncontroller.permission.utils.LocationUtils; 723 if (LocationUtils.isLocationGroupAndProvider(mContext, mName, mPackageInfo.packageName)) { 724 return LocationUtils.isLocationEnabled(mContext); 728 if (LocationUtils.isLocationGroupAndControllerExtraPackage( 730 return LocationUtils.isExtraLocationControllerPackageEnabled(mContext);
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAppPermissionFragment.java | 56 import com.android.permissioncontroller.permission.utils.LocationUtils; 616 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getName(), in requestChange() 618 LocationUtils.showLocationDialog(getContext(), in requestChange()
|
/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()
|