Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationSwitchBarController.java32 private final LocationEnabler mLocationEnabler; field in LocationSwitchBarController
39 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()
DLocationForWorkPreferenceController.java81 mLocationEnabler.getShareLocationEnforcedAdmin( in onLocationModeChanged()
83 final boolean isRestrictedByBase = mLocationEnabler.isManagedProfileRestrictedByBase(); in onLocationModeChanged()
88 final boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
DLocationBasePreferenceController.java31 protected final LocationEnabler mLocationEnabler; field in LocationBasePreferenceController
36 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationBasePreferenceController()
DLocationServicePreferenceController.java149 && mLocationEnabler.getShareLocationEnforcedAdmin(profileUserId) != null) in getLocationServices()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSwitchBarController.java32 private final LocationEnabler mLocationEnabler; field in LocationSwitchBarController
39 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()
DLocationForWorkPreferenceController.java81 mLocationEnabler.getShareLocationEnforcedAdmin( in onLocationModeChanged()
83 final boolean isRestrictedByBase = mLocationEnabler.isManagedProfileRestrictedByBase(); in onLocationModeChanged()
88 final boolean enabled = mLocationEnabler.isEnabled(mode); in onLocationModeChanged()
DLocationBasePreferenceController.java31 protected final LocationEnabler mLocationEnabler; field in LocationBasePreferenceController
36 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationBasePreferenceController()
DRecentLocationRequestSeeAllPreferenceController.java67 mCategoryAllRecentLocationRequests.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
DRecentLocationRequestPreferenceController.java127 mCategoryRecentLocationRequests.setEnabled(mLocationEnabler.isEnabled(mode)); in onLocationModeChanged()
DLocationServicePreferenceController.java149 && mLocationEnabler.getShareLocationEnforcedAdmin(profileUserId) != null) in getLocationServices()