Home
last modified time | relevance | path

Searched refs:mLocationEnabler (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/location/
DLocationSwitchBarController.java35 private final LocationEnabler mLocationEnabler; field in LocationSwitchBarController
41 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationSwitchBarController()
68 final boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
71 mLocationEnabler.getShareLocationEnforcedAdmin(userId); in onLocationModeChanged()
73 mLocationEnabler.hasShareLocationRestriction(userId); in onLocationModeChanged()
99 mLocationEnabler.setLocationEnabled(isChecked); in onSwitchChanged()
DLocationForWorkPreferenceController.java71 mLocationEnabler.getShareLocationEnforcedAdmin( in onLocationModeChanged()
76 final boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
81 mLocationEnabler.isManagedProfileRestrictedByBase(); in onLocationModeChanged()
DLocationSettings.java65 private LocationEnabler mLocationEnabler; field in LocationSettings
81 mLocationEnabler = new LocationEnabler(getContext(), this, getSettingsLifecycle()); in onActivityCreated()
107 if (mLocationEnabler.isEnabled(mode)) { in onLocationModeChanged()
DLocationBasePreferenceController.java31 protected LocationEnabler mLocationEnabler; field in LocationBasePreferenceController
53 mLocationEnabler = new LocationEnabler(mContext, this /* listener */, mLifecycle); in init()
DRecentLocationAccessSeeAllButtonPreferenceController.java46 boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
DLocationInjectedServiceBasePreferenceController.java118 && mLocationEnabler.getShareLocationEnforcedAdmin(profileUserId) != null) in getLocationServices()
DRecentLocationAccessSeeAllPreferenceController.java52 mCategoryAllRecentLocationAccess.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
DRecentLocationRequestSeeAllPreferenceController.java52 mCategoryAllRecentLocationRequests.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
DRecentLocationRequestPreferenceController.java113 mCategoryRecentLocationRequests.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
DRecentLocationAccessPreferenceController.java118 boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
DLocationSettingsFooterPreferenceController.java69 mLocationEnabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()