Home | History | Annotate | Download | only in location

Lines Matching defs:mController

54     private LocationSwitchBarController mController;
65 mController = spy(new LocationSwitchBarController(mContext, mSwitchBar, mLifecycle));
66 ReflectionHelpers.setField(mController, "mLocationEnabler", mEnabler);
71 mController.onStart();
73 verify(mSwitchBar).addOnSwitchChangeListener(mController);
78 mController.onStart();
79 mController.onStop();
81 verify(mSwitchBar).removeOnSwitchChangeListener(mController);
86 mController.onSwitchChanged(mSwitch, true);
93 mController.onSwitchChanged(mSwitch, false);
105 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false);
115 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, true);
125 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false);
137 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false);
148 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false);