Home
last modified time | relevance | path

Searched refs:CONNECTION_STATE_CHANGED (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryStateMachine.java60 static final int CONNECTION_STATE_CHANGED = 3; field in BatteryStateMachine
133 case CONNECTION_STATE_CHANGED: in messageWhatToString()
325 case CONNECTION_STATE_CHANGED: in processMessage()
382 case CONNECTION_STATE_CHANGED: in processMessage()
444 case CONNECTION_STATE_CHANGED: in processMessage()
517 case CONNECTION_STATE_CHANGED: in processMessage()
546 sendMessage(CONNECTION_STATE_CHANGED, newState); in onConnectionStateChange()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientStateMachineTest.java30 import static com.android.bluetooth.bass_client.BassClientStateMachine.CONNECTION_STATE_CHANGED;
376 CONNECTION_STATE_CHANGED, Integer.valueOf(BluetoothProfile.STATE_CONNECTED)); in testStatesChangesWithMessages()
386 CONNECTION_STATE_CHANGED, in testStatesChangesWithMessages()
391 CONNECTION_STATE_CHANGED, in testStatesChangesWithMessages()
401 CONNECTION_STATE_CHANGED, in testStatesChangesWithMessages()
411 CONNECTION_STATE_CHANGED, in testStatesChangesWithMessages()
671 assertThat(mBassClientStateMachine.mMsgWhats).contains(CONNECTION_STATE_CHANGED); in gattCallbackOnConnectionStateChange_changedToConnected()
683 assertThat(mBassClientStateMachine.mMsgWhats).contains(CONNECTION_STATE_CHANGED); in gattCallbackOnConnectionStateChange_changedToConnected()
704 assertThat(mBassClientStateMachine.mMsgWhats).contains(CONNECTION_STATE_CHANGED); in gattCallbackOnConnectionStateChanged_changedToDisconnected()
1026 mBassClientStateMachine.obtainMessage(CONNECTION_STATE_CHANGED); in sendStateChangedMessage_inDisconnectedState()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/
DBatteryStateMachineTest.java246 BatteryStateMachine.CONNECTION_STATE_CHANGED, BluetoothGatt.STATE_DISCONNECTED); in testConnectedStateChanges()
257 BatteryStateMachine.CONNECTION_STATE_CHANGED, BluetoothGatt.STATE_CONNECTED); in testConnectedStateChanges()
266 mBatteryStateMachine.sendMessage(BatteryStateMachine.CONNECTION_STATE_CHANGED, badState); in testConnectedStateChanges()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientStateMachine.java91 static final int CONNECTION_STATE_CHANGED = 3; field in BassClientStateMachine
1066 Message m = obtainMessage(CONNECTION_STATE_CHANGED); in onConnectionStateChange()
1489 case CONNECTION_STATE_CHANGED: in processMessage()
1555 case CONNECTION_STATE_CHANGED: in processMessage()
1851 case CONNECTION_STATE_CHANGED: in processMessage()
2265 case CONNECTION_STATE_CHANGED: in processMessage()
2387 case CONNECTION_STATE_CHANGED: in messageWhatToString()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt39 …N_CONNECTION_STATE_CHANGED = "android.bluetooth.a2dp-sink.profile.action.CONNECTION_STATE_CHANGED";
398 …NNECTION_STATE_CHANGED = "android.bluetooth.headsetclient.profile.action.CONNECTION_STATE_CHANGED";
455 …CTION_CONNECTION_STATE_CHANGED = "android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED";
601 …final String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.action.CONNECTION_STATE_CHANGED";
780 … ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.map.profile.action.CONNECTION_STATE_CHANGED";
792 …TION_CONNECTION_STATE_CHANGED = "android.bluetooth.mapmce.profile.action.CONNECTION_STATE_CHANGED";
803 … ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED";
821 …ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.pbap.profile.action.CONNECTION_STATE_CHANGED";
832 …_CONNECTION_STATE_CHANGED = "android.bluetooth.pbapclient.profile.action.CONNECTION_STATE_CHANGED";
994 … ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.sap.profile.action.CONNECTION_STATE_CHANGED";
[all …]
Dcurrent.txt11 …ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED";
60 …ring ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED";
803 …ION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED";
862 …_CONNECTION_STATE_CHANGED = "android.bluetooth.hearingaid.profile.action.CONNECTION_STATE_CHANGED";
876 …N_CONNECTION_STATE_CHANGED = "android.bluetooth.hiddevice.profile.action.CONNECTION_STATE_CHANGED";