Home
last modified time | relevance | path

Searched refs:LocationEnabler (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/location/
DLocationBasePreferenceController.java28 implements PreferenceControllerMixin, LocationEnabler.LocationModeChangeListener {
31 protected final LocationEnabler mLocationEnabler;
36 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationBasePreferenceController()
DLocationSwitchBarController.java28 LocationEnabler.LocationModeChangeListener, LifecycleObserver, OnStart, OnStop {
32 private final LocationEnabler mLocationEnabler;
39 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationSwitchBarController()
DLocationEnabler.java44 public class LocationEnabler implements LifecycleObserver, OnStart, OnStop { class
63 public LocationEnabler(Context context, LocationModeChangeListener listener, in LocationEnabler() method in LocationEnabler
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationBasePreferenceController.java28 implements PreferenceControllerMixin, LocationEnabler.LocationModeChangeListener {
31 protected final LocationEnabler mLocationEnabler;
36 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationBasePreferenceController()
DLocationSwitchBarController.java28 LocationEnabler.LocationModeChangeListener, LifecycleObserver, OnStart, OnStop {
32 private final LocationEnabler mLocationEnabler;
39 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationSwitchBarController()
DLocationEnabler.java44 public class LocationEnabler implements LifecycleObserver, OnStart, OnStop { class
63 public LocationEnabler(Context context, LocationModeChangeListener listener, in LocationEnabler() method in LocationEnabler
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationEnablerTest.java69 private LocationEnabler.LocationModeChangeListener mListener;
72 private LocationEnabler mEnabler;
83 mEnabler = spy(new LocationEnabler(mContext, mListener, mLifecycle)); in setUp()
91 eq(LocationEnabler.INTENT_FILTER_LOCATION_MODE_CHANGED)); in onStart_shouldSetActiveAndRegisterListener()
DLocationSwitchBarControllerTest.java52 private LocationEnabler mEnabler;
DLocationForWorkPreferenceControllerTest.java64 private LocationEnabler mEnabler;