Home
last modified time | relevance | path

Searched refs:mStreamHandler (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandlerTest.java46 private A2dpSinkStreamHandler mStreamHandler; field in A2dpSinkStreamHandlerTest
84 mStreamHandler = spy(new A2dpSinkStreamHandler(mMockA2dpSink, mMockContext)); in setUp()
90 mStreamHandler.handleMessage( in testSrcStart()
91 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.SRC_STR_START)); in testSrcStart()
100 mStreamHandler.handleMessage( in testSrcStop()
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()
129 mStreamHandler.handleMessage( in testDisconnect()
130 mStreamHandler.obtainMessage(A2dpSinkStreamHandler.DISCONNECT)); in testDisconnect()
[all …]
/packages/services/Car/cpp/evs/support_library/
DDisplayUseCase.cpp87 mStreamHandler = mResourceManager->obtainStreamHandler(cameraId); in initialize()
88 if (mStreamHandler.get() == nullptr) { in initialize()
116 mStreamHandler->attachRenderCallback(mRenderCallback); in startVideoStream()
148 if (!mStreamHandler->startStream()) { in startVideoStream()
166 if (mStreamHandler == nullptr) { in stopVideoStream()
173 mStreamHandler->detachRenderCallback(); in stopVideoStream()
180 mStreamHandler = nullptr; in stopVideoStream()
220 if (!mStreamHandler->newDisplayFrameAvailable()) { in streamFrame()
228 mStreamHandler->doneWithFrame(mImageBuffer); in streamFrame()
232 mImageBuffer = mStreamHandler->getNewDisplayFrame(); in streamFrame()
DAnalyzeUseCase.cpp61 mStreamHandler = in initialize()
63 if (mStreamHandler.get() == nullptr) { in initialize()
89 mStreamHandler->attachAnalyzeCallback(mAnalyzeCallback); in startVideoStream()
92 mStreamHandler->startStream(); in startVideoStream()
100 if (mStreamHandler == nullptr) { in stopVideoStream()
107 mStreamHandler->detachAnalyzeCallback(); in stopVideoStream()
116 mStreamHandler = nullptr; in stopVideoStream()
DAnalyzeUseCase.h51 sp<StreamHandler> mStreamHandler; variable
DDisplayUseCase.h65 sp<StreamHandler> mStreamHandler; variable
/packages/services/Car/service/jni/evs/
DEvsServiceContext.cpp71 mStreamHandler = nullptr; in ~EvsServiceContext()
147 mStreamHandler = streamHandler; in openCamera()
169 return mStreamHandler->startStream(); in startVideoStream()
178 if (!mStreamHandler->asyncStopStream()) { in stopVideoStream()
215 mStreamHandler->doneWithFrame(bufferToReturn); in doneWithFrame()
255 mStreamHandler->doneWithFrame(bufferDesc); in onNewFrame()
266 mStreamHandler->doneWithFrame(bufferDesc); in onNewFrame()
296 mStreamHandler = nullptr; in onServiceDied()
DEvsServiceContext.h137 sp<StreamHandler> mStreamHandler GUARDED_BY(mLock);
/packages/services/Car/cpp/evs/apps/default/
DVideoTex.cpp45 , mStreamHandler(pStreamHandler) in VideoTex()
52 mStreamHandler->asyncStopStream(); in ~VideoTex()
67 if (!mStreamHandler->newFrameAvailable()) { in refresh()
81 mStreamHandler->doneWithFrame(mImageBuffer); in refresh()
85 mImageBuffer = mStreamHandler->getNewFrame(); in refresh()
DRenderPixelCopy.cpp54 mStreamHandler = pStreamHandler; in activate()
61 mStreamHandler = nullptr; in deactivate()
90 if (mStreamHandler->newFrameAvailable()) { in drawFrame()
91 const BufferDesc& srcBuffer = mStreamHandler->getNewFrame(); in drawFrame()
137 mStreamHandler->doneWithFrame(srcBuffer); in drawFrame()
DRenderPixelCopy.h47 sp<StreamHandler> mStreamHandler; variable
DVideoTex.h59 sp<StreamHandler> mStreamHandler; variable
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DCarEvsCameraPreviewActivity.java77 private final CarEvsManager.CarEvsStreamCallback mStreamHandler = field in CarEvsCameraPreviewActivity
271 mSessionToken, mCallbackExecutor, mStreamHandler); in handleVideoStreamLocked()