/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | NativeInterface.java | 362 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_NETWORK_STATE); in onNetworkState() 380 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_ROAMING_STATE); in onNetworkRoaming() 396 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_NETWORK_SIGNAL); in onNetworkSignal() 411 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_BATTERY_LEVEL); in onBatteryLevel() 426 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_OPERATOR_NAME); in onCurrentOperator() 442 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALL); in onCall() 466 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALLSETUP); in onCallSetup() 491 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALLHELD); in onCallHeld() 521 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CLIP); in onClip() 536 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALL_WAITING); in onCallWaiting() [all …]
|
H A D | HeadsetClientStateMachine.java | 262 case StackEvent.STACK_EVENT: in getMessageName() 946 case StackEvent.STACK_EVENT: in processMessage() 947 StackEvent event = (StackEvent) message.obj; in processMessage() 1033 case StackEvent.STACK_EVENT: in processMessage() 1034 StackEvent event = (StackEvent) message.obj; in processMessage() 1349 case StackEvent.STACK_EVENT: in processMessage() 1351 StackEvent event = (StackEvent) message.obj; in processMessage() 1600 StackEvent event = in processAudioEvent() 1601 new StackEvent(StackEvent.EVENT_TYPE_AUDIO_STATE_CHANGED); in processAudioEvent() 1704 case StackEvent.STACK_EVENT: in processMessage() [all …]
|
H A D | StackEvent.java | 24 public class StackEvent { class 60 StackEvent(int type) { in StackEvent() method in StackEvent
|
H A D | HeadsetClientService.java | 993 public void messageFromNative(StackEvent stackEvent) { in messageFromNative() 999 sm.sendMessage(StackEvent.STACK_EVENT, stackEvent); in messageFromNative()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
H A D | HeadsetClientStateMachineTest.java | 135 StackEvent connStCh = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityReject() 166 StackEvent connStCh = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityAccept() 184 StackEvent slcEvent = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityAccept() 212 StackEvent connStCh = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingTimeout() 284 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_IN_BAND_RINGTONE); in testInBandRingtone() 302 StackEvent eventCallStatusUpdated = new StackEvent(StackEvent.EVENT_TYPE_CLIP); in testInBandRingtone() 311 StackEvent eventIncomingCall = new StackEvent(StackEvent.EVENT_TYPE_CURRENT_CALLS); in testInBandRingtone() 326 StackEvent eventCommandStatus = new StackEvent(StackEvent.EVENT_TYPE_CMD_RESULT); in testInBandRingtone() 485 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_UNKNOWN_EVENT); in runSupportedVendorEvent() 542 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_UNKNOWN_EVENT); in runUnsupportedVendorEvent() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
H A D | StackEvent.java | 20 final class StackEvent { class 44 private StackEvent(int type) { in StackEvent() method in StackEvent 62 static StackEvent connectionStateChanged(BluetoothDevice device, int state) { in connectionStateChanged() 63 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in connectionStateChanged() 69 static StackEvent audioStateChanged(BluetoothDevice device, int state) { in audioStateChanged() 70 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_AUDIO_STATE_CHANGED); in audioStateChanged() 76 static StackEvent audioConfigChanged(BluetoothDevice device, int sampleRate, in audioConfigChanged() 78 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_AUDIO_CONFIG_CHANGED); in audioConfigChanged()
|
H A D | A2dpSinkStateMachine.java | 157 processStackEvent((StackEvent) message.obj); in processMessage() 171 void processStackEvent(StackEvent event) { in processStackEvent() 173 case StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: in processStackEvent() 175 case StackEvent.CONNECTION_STATE_CONNECTING: in processStackEvent() 186 case StackEvent.CONNECTION_STATE_CONNECTED: in processStackEvent() 217 processStackEvent((StackEvent) message.obj); in processMessage() 226 void processStackEvent(StackEvent event) { in processStackEvent() 230 case StackEvent.CONNECTION_STATE_CONNECTED: in processStackEvent() 262 processStackEvent((StackEvent) message.obj); in processMessage() 268 void processStackEvent(StackEvent event) { in processStackEvent() [all …]
|
H A D | A2dpSinkService.java | 534 StackEvent event = StackEvent.connectionStateChanged(getAnonymousDevice(address), state); in onConnectionStateChanged() 544 } else if (state == StackEvent.AUDIO_STATE_STARTED) { in onAudioStateChanged() 547 } else if (state == StackEvent.AUDIO_STATE_STOPPED in onAudioStateChanged() 548 || state == StackEvent.AUDIO_STATE_REMOTE_SUSPEND) { in onAudioStateChanged() 556 StackEvent event = StackEvent.audioConfigChanged(getAnonymousDevice(address), sampleRate, in onAudioConfigChanged()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | StackEvent.java | 18 final class StackEvent { class 29 private StackEvent(int type) { in StackEvent() method in StackEvent 45 static StackEvent connectionStateChanged(boolean remoteControlConnected, in connectionStateChanged() 47 StackEvent event = new StackEvent(EVENT_TYPE_CONNECTION_STATE_CHANGED); in connectionStateChanged() 53 static StackEvent rcFeatures(int features) { in rcFeatures() 54 StackEvent event = new StackEvent(EVENT_TYPE_RC_FEATURES); in rcFeatures()
|
H A D | AvrcpControllerService.java | 464 StackEvent event = in onConnectionStateChanged() 465 StackEvent.connectionStateChanged(remoteControlConnected, browsingConnected); in onConnectionStateChanged()
|
H A D | AvrcpControllerStateMachine.java | 214 public boolean connect(StackEvent event) { in connect()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
H A D | AvrcpControllerStateMachineTest.java | 201 mAvrcpStateMachine.connect(StackEvent.connectionStateChanged(control, browsing)); in setUpConnectedState()
|