Home
last modified time | relevance | path

Searched refs:mBluetoothDeviceUpdater (Results 1 – 10 of 10) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DAvailableMediaBluetoothDeviceUpdaterTest.java109 when(mBluetoothDeviceUpdater. in onAudioModeChanged_hfpDeviceConnected_inCall_addPreference()
114 mBluetoothDeviceUpdater.onAudioModeChanged(); in onAudioModeChanged_hfpDeviceConnected_inCall_addPreference()
122 when(mBluetoothDeviceUpdater. in onAudioModeChanged_hfpDeviceConnected_notInCall_removePreference()
135 when(mBluetoothDeviceUpdater. in onAudioModeChanged_a2dpDeviceConnected_inCall_removePreference()
148 when(mBluetoothDeviceUpdater. in onAudioModeChanged_a2dpDeviceConnected_notInCall_addPreference()
161 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_addPreference()
174 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_removePreference()
187 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_removePreference()
200 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_addPreference()
214 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_addPreference()
[all …]
H A DConnectedBluetoothDeviceUpdaterTest.java108 when(mBluetoothDeviceUpdater. in onAudioModeChanged_hfpDeviceConnected_notInCall_addPreference()
113 mBluetoothDeviceUpdater.onAudioModeChanged(); in onAudioModeChanged_hfpDeviceConnected_notInCall_addPreference()
121 when(mBluetoothDeviceUpdater. in onAudioModeChanged_hfpDeviceConnected_inCall_removePreference()
134 when(mBluetoothDeviceUpdater. in onAudioModeChanged_a2dpDeviceConnected_notInCall_removePreference()
147 when(mBluetoothDeviceUpdater. in onAudioModeChanged_a2dpDeviceConnected_inCall_addPreference()
160 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_addPreference()
173 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_removePreference()
186 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_removePreference()
199 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_addPreference()
213 when(mBluetoothDeviceUpdater. in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_removePreference()
[all …]
H A DBluetoothDeviceUpdaterTest.java87 private BluetoothDeviceUpdater mBluetoothDeviceUpdater; field in BluetoothDeviceUpdaterTest
111 mBluetoothDeviceUpdater = in setUp()
124 mBluetoothDeviceUpdater.setPrefContext(mContext); in setUp()
177 assertThat(mBluetoothDeviceUpdater.mPreferenceMap. in testRemovePreference_subDeviceExist_removePreference()
216 mBluetoothDeviceUpdater.mLocalManager = null; in registerCallback_localBluetoothManagerNull_shouldNotCrash()
219 mBluetoothDeviceUpdater.registerCallback(); in registerCallback_localBluetoothManagerNull_shouldNotCrash()
224 mBluetoothDeviceUpdater.mLocalManager = null; in unregisterCallback_localBluetoothManagerNull_shouldNotCrash()
227 mBluetoothDeviceUpdater.unregisterCallback(); in unregisterCallback_localBluetoothManagerNull_shouldNotCrash()
235 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_bluetoothDisabled_removeAllDevicesFromPreference()
244 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_bluetoothEnabled_addPreference()
[all …]
H A DSavedBluetoothDeviceUpdaterTest.java78 private SavedBluetoothDeviceUpdater mBluetoothDeviceUpdater; field in SavedBluetoothDeviceUpdaterTest
95 mBluetoothDeviceUpdater.setPrefContext(mContext); in setUp()
109 mBluetoothDeviceUpdater.update(mCachedBluetoothDevice); in update_filterMatch_addPreference()
120 mBluetoothDeviceUpdater.update(mCachedBluetoothDevice); in update_filterNotMatch_removePreference()
148 mBluetoothDeviceUpdater.onPreferenceClick(mPreference); in onClick_Preference_setConnect()
157 mBluetoothDeviceUpdater.onPreferenceClick(mPreference); in onClick_Preference_connected_setActive()
174 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference()
192 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference()
207 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_notFindCachedBluetoothDevice_doNothing()
223 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/connecteddevice/
H A DSavedDeviceGroupController.java50 private BluetoothDeviceUpdater mBluetoothDeviceUpdater; field in SavedDeviceGroupController
64 mBluetoothDeviceUpdater.registerCallback(); in onStart()
66 mBluetoothDeviceUpdater.refreshPreference(); in onStart()
71 mBluetoothDeviceUpdater.unregisterCallback(); in onStop()
82 mBluetoothDeviceUpdater.setPrefContext(context); in displayPreference()
83 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()
119 mBluetoothDeviceUpdater = new SavedBluetoothDeviceUpdater(fragment.getContext(), in init()
125 mBluetoothDeviceUpdater = bluetoothDeviceUpdater; in setBluetoothDeviceUpdater()
H A DAvailableMediaDeviceGroupController.java56 private BluetoothDeviceUpdater mBluetoothDeviceUpdater; field in AvailableMediaDeviceGroupController
69 mBluetoothDeviceUpdater.registerCallback(); in onStart()
71 mBluetoothDeviceUpdater.refreshPreference(); in onStart()
80 mBluetoothDeviceUpdater.unregisterCallback(); in onStop()
93 mBluetoothDeviceUpdater.setPrefContext(screen.getContext()); in displayPreference()
94 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()
127 mBluetoothDeviceUpdater = new AvailableMediaBluetoothDeviceUpdater(fragment.getContext(), in init()
133 mBluetoothDeviceUpdater = bluetoothDeviceUpdater; in setBluetoothDeviceUpdater()
H A DConnectedDeviceGroupController.java51 private BluetoothDeviceUpdater mBluetoothDeviceUpdater; field in ConnectedDeviceGroupController
61 mBluetoothDeviceUpdater.registerCallback(); in onStart()
64 mBluetoothDeviceUpdater.refreshPreference(); in onStart()
70 mBluetoothDeviceUpdater.unregisterCallback(); in onStop()
83 mBluetoothDeviceUpdater.setPrefContext(context); in displayPreference()
84 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()
128 mBluetoothDeviceUpdater = bluetoothDeviceUpdater; in init()
H A DPreviouslyConnectedDevicePreferenceController.java61 private BluetoothDeviceUpdater mBluetoothDeviceUpdater; field in PreviouslyConnectedDevicePreferenceController
104 mBluetoothDeviceUpdater.setPrefContext(context); in displayPreference()
106 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()
112 mBluetoothDeviceUpdater.registerCallback(); in onStart()
115 mBluetoothDeviceUpdater.refreshPreference(); in onStart()
120 mBluetoothDeviceUpdater.unregisterCallback(); in onStop()
126 mBluetoothDeviceUpdater = new SavedBluetoothDeviceUpdater(fragment.getContext(), in init()
207 mBluetoothDeviceUpdater = bluetoothDeviceUpdater; in setBluetoothDeviceUpdater()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
H A DSavedDeviceGroupControllerTest.java54 private BluetoothDeviceUpdater mBluetoothDeviceUpdater; field in SavedDeviceGroupControllerTest
74 mSavedDeviceGroupController.setBluetoothDeviceUpdater(mBluetoothDeviceUpdater); in setUp()
83 verify(mBluetoothDeviceUpdater).registerCallback(); in testRegister()
85 verify(mBluetoothDeviceUpdater).refreshPreference(); in testRegister()
92 verify(mBluetoothDeviceUpdater).unregisterCallback(); in testUnregister()
H A DPreviouslyConnectedDevicePreferenceControllerTest.java76 private BluetoothDeviceUpdater mBluetoothDeviceUpdater; field in PreviouslyConnectedDevicePreferenceControllerTest
122 mPreConnectedDeviceController.setBluetoothDeviceUpdater(mBluetoothDeviceUpdater); in setUp()
161 verify(mBluetoothDeviceUpdater).registerCallback(); in callbackCanRegisterAndUnregister()
165 verify(mBluetoothDeviceUpdater).refreshPreference(); in callbackCanRegisterAndUnregister()
170 verify(mBluetoothDeviceUpdater).unregisterCallback(); in callbackCanRegisterAndUnregister()