Searched refs:mLocationEnabler (Results 1 – 10 of 10) sorted by relevance
32 private final LocationEnabler mLocationEnabler; field in LocationSwitchBarController39 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationSwitchBarController()66 final boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()69 mLocationEnabler.getShareLocationEnforcedAdmin(userId); in onLocationModeChanged()71 mLocationEnabler.hasShareLocationRestriction(userId); in onLocationModeChanged()97 mLocationEnabler.setLocationEnabled(isChecked); in onSwitchChanged()
81 mLocationEnabler.getShareLocationEnforcedAdmin( in onLocationModeChanged()83 final boolean isRestrictedByBase = mLocationEnabler.isManagedProfileRestrictedByBase(); in onLocationModeChanged()88 final boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
31 protected final LocationEnabler mLocationEnabler; field in LocationBasePreferenceController36 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationBasePreferenceController()
149 && mLocationEnabler.getShareLocationEnforcedAdmin(profileUserId) != null) in getLocationServices()
67 mCategoryAllRecentLocationRequests.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
127 mCategoryRecentLocationRequests.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()