Searched refs:mSwitchBarController (Results 1 – 6 of 6) sorted by relevance
46 private SwitchBarController mSwitchBarController; field in MultiUserSwitchBarControllerTest53 mSwitchBarController = spy(new SwitchBarController(new SwitchBar(mContext))); in setUp()68 mSwitchBarController, null); in onStart_disallowUserSwitch_shouldSetDisabledByAdmin()70 verify(mSwitchBarController).setDisabledByAdmin(any()); in onStart_disallowUserSwitch_shouldSetDisabledByAdmin()79 mSwitchBarController, null); in onStart_allowUserSwitch_shouldNotSetDisabledByAdmin()81 verify(mSwitchBarController, never()).setDisabledByAdmin(any()); in onStart_allowUserSwitch_shouldNotSetDisabledByAdmin()
51 private AutoRotateSwitchBarController mSwitchBarController; field in SmartAutoRotatePreferenceFragment87 mSwitchBarController = new AutoRotateSwitchBarController(activity, switchBar, in createHeader()100 if (mSwitchBarController != null) { in onResume()101 mSwitchBarController.onChange(); in onResume()
69 private WifiTetherSwitchBarController mSwitchBarController; field in WifiTetherSettings134 mSwitchBarController = new WifiTetherSwitchBarController(activity, switchBar); in onActivityCreated()135 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()204 mSwitchBarController.stopTether(); in onTetherConfigUpdated()228 mSwitchBarController.startTether(); in startTether()
64 private LocationSwitchBarController mSwitchBarController; field in LocationSettings79 mSwitchBarController = new LocationSwitchBarController(activity, switchBar, in onActivityCreated()
92 private DevelopmentSwitchBarController mSwitchBarController; field in DevelopmentSettingsDashboardFragment205 mSwitchBarController = new DevelopmentSwitchBarController( in onActivityCreated()
178 private MultiUserSwitchBarController mSwitchBarController; field in UserSettings238 mSwitchBarController = new MultiUserSwitchBarController(activity, in onActivityCreated()240 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()