Home
last modified time | relevance | path

Searched refs:LocationEnabler (Results 1 – 7 of 7) 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.java32 LocationEnabler.LocationModeChangeListener, LifecycleObserver, OnStart, OnStop {
35 private final LocationEnabler mLocationEnabler;
41 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationSwitchBarController()
DLocationSettings.java59 LocationEnabler.LocationModeChangeListener {
65 private LocationEnabler mLocationEnabler;
81 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.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.java62 private LocationEnabler mEnabler;