Home
last modified time | relevance | path

Searched refs:mSwitchBarController (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DMultiUserSwitchBarControllerTest.java46 private SwitchBarController mSwitchBarController; field in MultiUserSwitchBarControllerTest
53 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()
/packages/apps/Settings/src/com/android/settings/display/
DSmartAutoRotatePreferenceFragment.java51 private AutoRotateSwitchBarController mSwitchBarController; field in SmartAutoRotatePreferenceFragment
87 mSwitchBarController = new AutoRotateSwitchBarController(activity, switchBar, in createHeader()
100 if (mSwitchBarController != null) { in onResume()
101 mSwitchBarController.onChange(); in onResume()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java69 private WifiTetherSwitchBarController mSwitchBarController; field in WifiTetherSettings
134 mSwitchBarController = new WifiTetherSwitchBarController(activity, switchBar); in onActivityCreated()
135 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()
204 mSwitchBarController.stopTether(); in onTetherConfigUpdated()
228 mSwitchBarController.startTether(); in startTether()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java64 private LocationSwitchBarController mSwitchBarController; field in LocationSettings
79 mSwitchBarController = new LocationSwitchBarController(activity, switchBar, in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragment.java92 private DevelopmentSwitchBarController mSwitchBarController; field in DevelopmentSettingsDashboardFragment
205 mSwitchBarController = new DevelopmentSwitchBarController( in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java178 private MultiUserSwitchBarController mSwitchBarController; field in UserSettings
238 mSwitchBarController = new MultiUserSwitchBarController(activity, in onActivityCreated()
240 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()