/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/apps/PermissionController/src/com/android/packageinstaller/permission/ui/ |
D | AppPermissionActivity.java | 36 import com.android.packageinstaller.permission.utils.LocationUtils; 82 if (LocationUtils.isLocationGroupAndProvider(this, groupName, in onCreate() 91 if (LocationUtils.isLocationGroupAndControllerExtraPackage( in onCreate() 94 LocationUtils.startLocationControllerExtraPackageSettings(this); in onCreate()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | PermissionPreference.java | 43 import com.android.packageinstaller.permission.utils.LocationUtils; 476 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getName(), in requestChange() 478 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in requestChange() 586 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getName(), in showBackgroundChooserDialog() 588 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in showBackgroundChooserDialog()
|
D | AppPermissionFragment.java | 63 import com.android.packageinstaller.permission.utils.LocationUtils; 779 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getName(), in requestChange() 781 LocationUtils.showLocationDialog(getContext(), in requestChange()
|
/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/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | LocationUtils.java | 33 public class LocationUtils { class 37 private static final String TAG = LocationUtils.class.getSimpleName();
|
/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/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/ |
D | AppPermissionsFragmentWear.java | 43 import com.android.packageinstaller.permission.utils.LocationUtils; 329 if (LocationUtils.isLocationGroupAndProvider(getContext(), in createSwitchPreferenceForGroup() 331 LocationUtils.showLocationDialog( in createSwitchPreferenceForGroup()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 49 import com.android.packageinstaller.permission.utils.LocationUtils; 638 if (LocationUtils.isLocationGroupAndProvider(mContext, mName, mPackageInfo.packageName)) { in areRuntimePermissionsGranted() 639 return LocationUtils.isLocationEnabled(mContext); in areRuntimePermissionsGranted() 643 if (LocationUtils.isLocationGroupAndControllerExtraPackage( in areRuntimePermissionsGranted() 645 return LocationUtils.isExtraLocationControllerPackageEnabled(mContext); in areRuntimePermissionsGranted()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/ |
D | PermissionAppsFragment.java | 46 import com.android.packageinstaller.permission.utils.LocationUtils; 319 if (LocationUtils.isLocationGroupAndProvider(getContext(), mPermissionApps.getGroupName(), in onPreferenceChange() 321 LocationUtils.showLocationDialog(getContext(), app.getLabel()); in onPreferenceChange()
|
D | AppPermissionsFragment.java | 49 import com.android.packageinstaller.permission.utils.LocationUtils; 282 if (LocationUtils.isLocationGroupAndProvider(getContext(), group.getName(), in onPreferenceChange() 284 LocationUtils.showLocationDialog(getContext(), mAppPermissions.getAppLabel()); in onPreferenceChange()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoAppPermissionFragment.java | 49 import com.android.packageinstaller.permission.utils.LocationUtils; 595 if (LocationUtils.isLocationGroupAndProvider(getContext(), mGroup.getName(), in requestChange() 597 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()
|