Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/location/
DLocationBasePreferenceController.java28 implements LocationEnabler.LocationModeChangeListener {
31 protected LocationEnabler mLocationEnabler;
53 mLocationEnabler = new LocationEnabler(mContext, this /* listener */, mLifecycle); in init()
DLocationSwitchBarController.java33 LocationEnabler.LocationModeChangeListener, LifecycleObserver, OnStart, OnStop {
36 private final LocationEnabler mLocationEnabler;
42 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationSwitchBarController()
DLocationSettings.java67 LocationEnabler.LocationModeChangeListener {
73 private LocationEnabler mLocationEnabler;
99 mLocationEnabler = new LocationEnabler(getContext(), this, getSettingsLifecycle()); in onActivityCreated()
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.java64 private LocationEnabler.LocationModeChangeListener mListener;
67 private LocationEnabler mEnabler;
78 mEnabler = spy(new LocationEnabler(mContext, mListener, mLifecycle)); in setUp()
86 eq(LocationEnabler.INTENT_FILTER_LOCATION_MODE_CHANGED)); in onStart_shouldSetActiveAndRegisterListener()
DLocationSwitchBarControllerTest.java53 private LocationEnabler mEnabler;
DLocationForWorkPreferenceControllerTest.java62 private LocationEnabler mEnabler;
DLocationForPrivateProfilePreferenceControllerTest.java63 private LocationEnabler mEnabler;