Home
last modified time | relevance | path

Searched refs:mSwitchBarController (Results 1 – 9 of 9) 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/wifi/tether/
DWifiTetherSettings.java66 private WifiTetherSwitchBarController mSwitchBarController; field in WifiTetherSettings
129 mSwitchBarController = new WifiTetherSwitchBarController(activity, in onActivityCreated()
131 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()
201 mSwitchBarController.stopTether(); in onTetherConfigUpdated()
220 mSwitchBarController.startTether(); in startTether()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSettings.java66 private WifiTetherSwitchBarController mSwitchBarController; field in WifiTetherSettings
129 mSwitchBarController = new WifiTetherSwitchBarController(activity, in onActivityCreated()
131 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()
201 mSwitchBarController.stopTether(); in onTetherConfigUpdated()
220 mSwitchBarController.startTether(); in startTether()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java68 private LocationSwitchBarController mSwitchBarController; field in LocationSettings
82 mSwitchBarController = new LocationSwitchBarController(activity, switchBar, in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationSettings.java68 private LocationSwitchBarController mSwitchBarController; field in LocationSettings
82 mSwitchBarController = new LocationSwitchBarController(activity, switchBar, in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DDevelopmentSettingsDashboardFragment.java74 private DevelopmentSwitchBarController mSwitchBarController; field in DevelopmentSettingsDashboardFragment
170 mSwitchBarController = new DevelopmentSwitchBarController( in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragment.java74 private DevelopmentSwitchBarController mSwitchBarController; field in DevelopmentSettingsDashboardFragment
170 mSwitchBarController = new DevelopmentSwitchBarController( in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java166 private MultiUserSwitchBarController mSwitchBarController; field in UserSettings
218 mSwitchBarController = new MultiUserSwitchBarController(activity, in onActivityCreated()
220 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java166 private MultiUserSwitchBarController mSwitchBarController; field in UserSettings
218 mSwitchBarController = new MultiUserSwitchBarController(activity, in onActivityCreated()
220 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()