Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java203 A2dpStackEvent event = (A2dpStackEvent) message.obj; in processMessage()
209 case A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: in processMessage()
212 case A2dpStackEvent.EVENT_TYPE_CODEC_CONFIG_CHANGED: in processMessage()
229 case A2dpStackEvent.CONNECTION_STATE_DISCONNECTED: in processConnectionEvent()
232 case A2dpStackEvent.CONNECTION_STATE_CONNECTING: in processConnectionEvent()
242 case A2dpStackEvent.CONNECTION_STATE_CONNECTED: in processConnectionEvent()
253 case A2dpStackEvent.CONNECTION_STATE_DISCONNECTING: in processConnectionEvent()
296 A2dpStackEvent event = in processMessage()
297 new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in processMessage()
299 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
[all …]
DA2dpNativeInterface.java157 private void sendMessageToService(A2dpStackEvent event) { in sendMessageToService()
171 A2dpStackEvent event = in onConnectionStateChanged()
172 new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in onConnectionStateChanged()
183 A2dpStackEvent event = new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_AUDIO_STATE_CHANGED); in onAudioStateChanged()
197 A2dpStackEvent event = new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CODEC_CONFIG_CHANGED); in onCodecConfigChanged()
DA2dpStackEvent.java26 public class A2dpStackEvent { class
49 A2dpStackEvent(int type) { in A2dpStackEvent() method in A2dpStackEvent
DA2dpService.java908 void messageFromNative(A2dpStackEvent stackEvent) { in messageFromNative()
915 if (stackEvent.type == A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED) { in messageFromNative()
917 case A2dpStackEvent.CONNECTION_STATE_CONNECTED: in messageFromNative()
918 case A2dpStackEvent.CONNECTION_STATE_CONNECTING: in messageFromNative()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpStateMachineTest.java145 A2dpStackEvent connStCh = in testIncomingPriorityReject()
146 new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityReject()
148 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityReject()
167 A2dpStackEvent connStCh = in testIncomingPriorityAccept()
168 new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityAccept()
170 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingPriorityAccept()
185 A2dpStackEvent connCompletedEvent = in testIncomingPriorityAccept()
186 new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityAccept()
188 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
254 A2dpStackEvent connStCh = in testIncomingTimeout()
[all …]
DA2dpServiceTest.java393 A2dpStackEvent connCompletedEvent; in testOutgoingConnectDisconnectSuccess()
411 connCompletedEvent = new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testOutgoingConnectDisconnectSuccess()
413 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testOutgoingConnectDisconnectSuccess()
435 connCompletedEvent = new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testOutgoingConnectDisconnectSuccess()
437 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in testOutgoingConnectDisconnectSuccess()
455 A2dpStackEvent connCompletedEvent; in testMaxConnectDevices()
477 new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testMaxConnectDevices()
479 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testMaxConnectDevices()
505 A2dpStackEvent stackEvent; in testCreateStateMachineStackEvents()
568 A2dpStackEvent stackEvent; in testProcessAudioStateChangedCodecConfigChangedEvents()
[all …]