Home
last modified time | relevance | path

Searched refs:mSwitchWidgetController (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/
H A DGraphicsDriverGlobalSwitchBarController.java49 SwitchWidgetController mSwitchWidgetController; field in GraphicsDriverGlobalSwitchBarController
59 mSwitchWidgetController = switchWidgetController; in GraphicsDriverGlobalSwitchBarController()
60 mSwitchWidgetController.setEnabled( in GraphicsDriverGlobalSwitchBarController()
62 mSwitchWidgetController.setChecked( in GraphicsDriverGlobalSwitchBarController()
67 mSwitchWidgetController.setListener(this); in GraphicsDriverGlobalSwitchBarController()
72 mSwitchWidgetController.startListening(); in onStart()
78 mSwitchWidgetController.stopListening(); in onStop()
107 mSwitchWidgetController.setChecked( in onGraphicsDriverContentChanged()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
H A DGraphicsDriverGlobalSwitchBarControllerTest.java48 private SwitchWidgetController mSwitchWidgetController; field in GraphicsDriverGlobalSwitchBarControllerTest
105 mController.mSwitchWidgetController = mSwitchWidgetController; in onStart_shouldStartListeningAndRegister()
109 verify(mSwitchWidgetController).startListening(); in onStart_shouldStartListeningAndRegister()
117 mController.mSwitchWidgetController = mSwitchWidgetController; in onStop_shouldStopListeningAndUnregister()
121 verify(mSwitchWidgetController).stopListening(); in onStop_shouldStopListeningAndUnregister()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
H A DTetherEnablerTest.java87 private SwitchWidgetController mSwitchWidgetController; field in TetherEnablerTest
228 mSwitchWidgetController.setListener(mEnabler); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState()
229 mSwitchWidgetController.startListening(); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState()
239 mSwitchWidgetController.setListener(mEnabler); in updateState_onSwitchToggleNeverCalled()
240 mSwitchWidgetController.startListening(); in updateState_onSwitchToggleNeverCalled()
248 mSwitchWidgetController.setListener(mEnabler); in updateState_shouldEnableSwitchBarNotTethering()
249 mSwitchWidgetController.startListening(); in updateState_shouldEnableSwitchBarNotTethering()
261 mSwitchWidgetController.setListener(mEnabler); in updateState_shouldEnableSwitchBarTethering()
262 mSwitchWidgetController.startListening(); in updateState_shouldEnableSwitchBarTethering()
276 mSwitchWidgetController.setListener(mEnabler); in updateState_shouldCallListener()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/network/
H A DTetherEnabler.java106 private final SwitchWidgetController mSwitchWidgetController; field in TetherEnabler
128 mSwitchWidgetController = switchWidgetController; in TetherEnabler()
147 mSwitchWidgetController.setListener(this); in onStart()
148 mSwitchWidgetController.startListening(); in onStart()
172 mSwitchWidgetController.stopListening(); in onStop()
192 mSwitchWidgetController.setEnabled( in setSwitchEnabled()
211 mSwitchWidgetController.stopListening(); in setSwitchCheckedInternal()
216 mSwitchWidgetController.setChecked(checked); in setSwitchCheckedInternal()
217 mSwitchWidgetController.startListening(); in setSwitchCheckedInternal()