Searched refs:mLocationEnabler (Results 1 – 11 of 11) sorted by relevance
35 private final LocationEnabler mLocationEnabler; field in LocationSwitchBarController41 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()
71 mLocationEnabler.getShareLocationEnforcedAdmin( in onLocationModeChanged()76 final boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()81 mLocationEnabler.isManagedProfileRestrictedByBase(); in onLocationModeChanged()
65 private LocationEnabler mLocationEnabler; field in LocationSettings81 mLocationEnabler = new LocationEnabler(getContext(), this, getSettingsLifecycle()); in onActivityCreated()107 if (mLocationEnabler.isEnabled(mode)) { in onLocationModeChanged()
31 protected LocationEnabler mLocationEnabler; field in LocationBasePreferenceController53 mLocationEnabler = new LocationEnabler(mContext, this /* listener */, mLifecycle); in init()
46 boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
118 && mLocationEnabler.getShareLocationEnforcedAdmin(profileUserId) != null) in getLocationServices()
52 mCategoryAllRecentLocationAccess.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
52 mCategoryAllRecentLocationRequests.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
113 mCategoryRecentLocationRequests.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
118 boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
69 mLocationEnabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()