Home
last modified time | relevance | path

Searched refs:onBluetoothStateChanged (Results 1 – 23 of 23) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothSummaryUpdaterTest.java133 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_OFF); in onBluetoothStateChanged_btDisabled_shouldSendDisabledSummary()
146 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in onBluetoothStateChanged_btEnabled_connected_shouldSendConnectedSummary()
161 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in onBluetoothStateChanged_btEnabled_connectedMisMatch_shouldSendNotConnected()
175 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_TURNING_ON); in onBluetoothStateChanged_btEnabled_notConnected_shouldSendDisconnectedMessage()
199 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_OFF); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()
203 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_TURNING_ON); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()
209 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()
H A DBluetoothDeviceUpdaterTest.java252 mBluetoothDeviceUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in onBluetoothStateChanged_bluetoothStateIsOn_forceUpdate()
261 mBluetoothDeviceUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_OFF); in onBluetoothStateChanged_bluetoothStateIsOff_removeAllDevicesFromPreference()
H A DBluetoothPairingDetailTest.java227 mFragment.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in onBluetoothStateChanged_whenTurnedOnBTShowToast()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/
H A DBluetoothErrorStringLiveData.java75 addSource(mBluetoothStateLiveData, this::onBluetoothStateChanged); in BluetoothErrorStringLiveData()
87 private void onBluetoothStateChanged(Integer state) { in onBluetoothStateChanged() method in BluetoothErrorStringLiveData
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothDevicesGroupPreferenceController.java136 public final void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in BluetoothDevicesGroupPreferenceController
137 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()
H A DBluetoothPairingSelectionFragment.java40 public void onBluetoothStateChanged(int bluetoothState) {
H A DBluetoothPreferenceController.java109 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in BluetoothPreferenceController
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImplTest.java170 mBluetoothControllerImpl.onBluetoothStateChanged(BluetoothAdapter.STATE_OFF); in testOnBluetoothStateChange_updatesBluetoothState()
174 mBluetoothControllerImpl.onBluetoothStateChanged(BluetoothAdapter.STATE_ON); in testOnBluetoothStateChange_updatesBluetoothState()
186 mBluetoothControllerImpl.onBluetoothStateChanged(BluetoothAdapter.STATE_OFF); in testOnBluetoothStateChange_updatesConnectionState()
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothPairingDetail.java168 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in BluetoothPairingDetail
169 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()
H A DDevicePickerFragment.java178 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in DevicePickerFragment
179 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()
H A DBluetoothSummaryUpdater.java52 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in BluetoothSummaryUpdater
H A DBluetoothDeviceUpdater.java144 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in BluetoothDeviceUpdater
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothCallback.java36 default void onBluetoothStateChanged(int bluetoothState) {} in onBluetoothStateChanged() method
H A DBluetoothEventManager.java270 callback.onBluetoothStateChanged(state); in onReceive()
273 mDeviceManager.onBluetoothStateChanged(state); in onReceive()
H A DCachedBluetoothDeviceManager.java211 public synchronized void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in CachedBluetoothDeviceManager
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/
H A DPairedBluetoothDevicesWorker.java58 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in PairedBluetoothDevicesWorker
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
H A DBluetoothUpdateWorkerTest.java72 mBluetoothUpdateWorker.onBluetoothStateChanged(0); in onBluetoothStateChanged_shouldNotifyChange()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
H A DBluetoothUpdateWorker.java95 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in BluetoothUpdateWorker
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java97 onBluetoothStateChanged( in BluetoothControllerImpl()
324 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in BluetoothControllerImpl
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
H A DBluetoothPairingSelectionFragmentTest.java161 mFragment.mCallback.onBluetoothStateChanged(BluetoothAdapter.STATE_OFF); in onBluetoothDisabled_goesBack()
/aosp12/packages/apps/Settings/src/com/android/settings/sound/
H A DAudioSwitchPreferenceController.java149 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in AudioSwitchPreferenceController
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
H A DBluetoothDevicesGroupPreferenceControllerTest.java207 mController.onBluetoothStateChanged(BluetoothAdapter.STATE_TURNING_OFF); in onBluetoothStateChanged_turningOff_clearsPreferences()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DKeyboardUI.java596 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() method in KeyboardUI.BluetoothCallbackHandler