Searched refs:A2dpSinkStreamHandler (Results 1 – 3 of 3) sorted by relevance
57 private A2dpSinkStreamHandler mStreamHandler;110 mStreamHandler = spy(new A2dpSinkStreamHandler(mMockA2dpSink, mMockNativeInterface)); in setUp()124 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_STR_START)); in testSrcStart()136 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_STR_STOP)); in testSrcStop()147 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SNK_PLAY)); in testSnkPlay()156 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SNK_PAUSE)); in testSnkPause()169 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.DISCONNECT)); in testDisconnect()179 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPlay()191 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPlayIot()200 mStreamHandler.handleMessage(mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_PLAY)); in testSrcPause()[all …]
50 public class A2dpSinkStreamHandler extends Handler { class51 private static final String TAG = A2dpSinkStreamHandler.class.getSimpleName();97 A2dpSinkStreamHandler.this103 public A2dpSinkStreamHandler( in A2dpSinkStreamHandler() method in A2dpSinkStreamHandler263 A2dpSinkStreamHandler.this.obtainMessage(AUDIO_FOCUS_CHANGE, mAudioFocus); in requestAudioFocus()264 A2dpSinkStreamHandler.this.sendMessageAtFrontOfQueue(a2dpSinkStreamHandlerMessage); in requestAudioFocus()
65 private A2dpSinkStreamHandler mA2dpSinkStreamHandler;106 mA2dpSinkStreamHandler = new A2dpSinkStreamHandler(this, mNativeInterface); in start()549 .obtainMessage(A2dpSinkStreamHandler.SRC_STR_START) in onAudioStateChanged()554 .obtainMessage(A2dpSinkStreamHandler.SRC_STR_STOP) in onAudioStateChanged()