Home
last modified time | relevance | path

Searched refs:LocationUtils (Results 1 – 15 of 15) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DLocationFragment.java32 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()
DPostalCodeFragment.java30 import com.android.tv.common.util.LocationUtils;
81 String region = LocationUtils.getCurrentCountry(getContext()); in setOnClickAction()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DAppPermissionActivity.java36 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/
DPermissionPreference.java43 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()
DAppPermissionFragment.java63 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/
DCommonFeatures.java28 import com.android.tv.common.util.LocationUtils;
70 String country = LocationUtils.getCurrentCountry(context);
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DLocationUtils.java33 public class LocationUtils { class
37 private static final String TAG = LocationUtils.class.getSimpleName();
/packages/apps/TV/common/src/com/android/tv/common/util/
DPostalCodeUtils.java65 String postalCode = LocationUtils.getCurrentPostalCode(context); in updatePostalCode()
119 REGION_MAX_LENGTH.get(LocationUtils.getCurrentCountry(context).toUpperCase()); in getRegionMaxLength()
DLocationUtils.java41 public class LocationUtils { class
181 private LocationUtils() {} in LocationUtils() method in LocationUtils
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DAppPermissionsFragmentWear.java43 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/
DAppPermissionGroup.java49 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/
DPermissionAppsFragment.java46 import com.android.packageinstaller.permission.utils.LocationUtils;
319 if (LocationUtils.isLocationGroupAndProvider(getContext(), mPermissionApps.getGroupName(), in onPreferenceChange()
321 LocationUtils.showLocationDialog(getContext(), app.getLabel()); in onPreferenceChange()
DAppPermissionsFragment.java49 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/
DAutoAppPermissionFragment.java49 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/
DEpgFetcherImpl.java49 import com.android.tv.common.util.LocationUtils;
343 + LocationUtils.getCurrentCountry(mContext)); in checkFetchPrerequisite()