Home
last modified time | relevance | path

Searched refs:A2dpSinkStreamHandler (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandlerTest.java46 private A2dpSinkStreamHandler mStreamHandler;
84 mStreamHandler = spy(new A2dpSinkStreamHandler(mMockA2dpSink, mMockContext)); in setUp()
91 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_STR_START)); in testSrcStart()
101 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_STR_STOP)); in testSrcStop()
110 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SNK_PLAY)); in testSnkPlay()
119 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SNK_PAUSE)); in testSnkPause()
130 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.DISCONNECT)); in testDisconnect()
138 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPlay()
148 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPlayIot()
157 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPause()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java53 private A2dpSinkStreamHandler mA2dpSinkStreamHandler;
63 mA2dpSinkStreamHandler = new A2dpSinkStreamHandler(this, this); in start()
488 A2dpSinkStreamHandler.SRC_STR_START).sendToTarget(); in onAudioStateChanged()
492 A2dpSinkStreamHandler.SRC_STR_STOP).sendToTarget(); in onAudioStateChanged()
DA2dpSinkStreamHandler.java57 public class A2dpSinkStreamHandler extends Handler { class
109 A2dpSinkStreamHandler.this.obtainMessage(AUDIO_FOCUS_CHANGE, focusChange)
114 public A2dpSinkStreamHandler(A2dpSinkService a2dpSinkService, Context context) { in A2dpSinkStreamHandler() method in A2dpSinkStreamHandler