Searched refs:A2dpSinkStreamHandler (Results 1 – 3 of 3) sorted by relevance
46 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 …]
53 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()
57 public class A2dpSinkStreamHandler extends Handler { class109 A2dpSinkStreamHandler.this.obtainMessage(AUDIO_FOCUS_CHANGE, focusChange)114 public A2dpSinkStreamHandler(A2dpSinkService a2dpSinkService, Context context) { in A2dpSinkStreamHandler() method in A2dpSinkStreamHandler