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/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()
219 mSwitchBarController.startTether(); in startTether()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java69 private WifiTetherSwitchBarController mSwitchBarController; field in WifiTetherSettings
132 mSwitchBarController = new WifiTetherSwitchBarController(activity, switchBar); in onActivityCreated()
133 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()
203 mSwitchBarController.stopTether(); in onTetherConfigUpdated()
227 mSwitchBarController.startTether(); in startTether()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java62 private LocationSwitchBarController mSwitchBarController; field in LocationSettings
76 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java167 private MultiUserSwitchBarController mSwitchBarController; field in UserSettings
219 mSwitchBarController = new MultiUserSwitchBarController(activity, in onActivityCreated()
221 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java167 private MultiUserSwitchBarController mSwitchBarController; field in UserSettings
219 mSwitchBarController = new MultiUserSwitchBarController(activity, in onActivityCreated()
221 getSettingsLifecycle().addObserver(mSwitchBarController); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragment.java84 private DevelopmentSwitchBarController mSwitchBarController; field in DevelopmentSettingsDashboardFragment
194 mSwitchBarController = new DevelopmentSwitchBarController( in onActivityCreated()