Home
last modified time | relevance | path

Searched refs:mListener (Results 1 – 24 of 24) sorted by relevance

/hardware/google/av/codec2/faultinjection/
DC2ComponentWrapper.cpp62 const std::shared_ptr<C2Component::Listener> &listener) : mListener(listener) {} in Listener()
66 mListener->onWorkDone_nb(component, std::move(workItems)); in onWorkDone_nb()
71 mListener->onTripped_nb(component,settingResult); in onTripped_nb()
76 mListener->onError_nb(component, errorCode); in onError_nb()
84 mListener = std::make_shared<Listener>(listener); in setListener_vb()
85 return mComp->setListener_vb(mListener, mayBlock); in setListener_vb()
DC2ComponentWrapper.h58 std::shared_ptr<C2Component::Listener> mListener;
81 std::shared_ptr<Listener> mListener;
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HdrPlusListenerThread.cpp26 HdrPlusClientListener *listener) : mListener(listener), mExitRequested(false), in QCamera3HdrPlusListenerThread()
169 mListener->onFatalError(); in handleFatalError()
185 mListener->onOpened(std::move(client)); in handlePendingClient()
202 mListener->onOpenFailed(err); in handleOpenError()
217 mListener->onNextCaptureReady(requestId); in handleNextCaptureReady()
234 mListener->onFailedCaptureResult(&result.result); in handleCaptureResult()
236 mListener->onCaptureResult(&result.result, *result.metadata); in handleCaptureResult()
262 mListener->onShutter(requestId, apSensorTimestampNs); in handleShutter()
280 mListener->onPostview(postview.requestId, std::move(postview.postview), postview.width, in handlePostview()
286 if (mListener == nullptr) { in threadLoop()
DQCamera3HdrPlusListenerThread.h97 HdrPlusClientListener *mListener; variable
/hardware/google/av/media/eco/
DECOSession.cpp71 mListener(nullptr), in ECOSession()
126 Status status = mListener->onNewInfo(sessionInfo); in run()
131 mListener = nullptr; in run()
238 if (mListener != nullptr) { in processSessionStats()
239 Status status = mListener->onNewInfo(info); in processSessionStats()
244 mListener = nullptr; in processSessionStats()
355 if (needToNotifyListener && mListener != nullptr) { in processFrameStats()
356 Status status = mListener->onNewInfo(info); in processFrameStats()
361 mListener = nullptr; in processFrameStats()
449 if (mListener != nullptr) { in addInfoListener()
[all …]
/hardware/interfaces/cas/1.2/default/
DCasImpl.cpp35 CasImpl::CasImpl(const sp<ICasListener>& listener) : mListener(listener) { in CasImpl()
82 if (mListener == NULL) { in onEvent()
91 mListener->onEvent(event, arg, eventData); in onEvent()
96 if (mListener == NULL) { in onEvent()
106 mListener->onSessionEvent(*sessionId, event, arg, eventData); in onEvent()
108 mListener->onEvent(event, arg, eventData); in onEvent()
113 if (mListener == NULL) { in onStatusUpdate()
116 sp<V1_2::ICasListener> listenerV1_2 = V1_2::ICasListener::castFrom(mListener); in onStatusUpdate()
DCasImpl.h100 sp<ICasListener> mListener; variable
/hardware/interfaces/cas/1.1/default/
DCasImpl.cpp34 CasImpl::CasImpl(const sp<ICasListener>& listener) : mListener(listener) { in CasImpl()
71 if (mListener == NULL) { in onEvent()
80 mListener->onEvent(event, arg, eventData); in onEvent()
85 if (mListener == NULL) { in onEvent()
95 mListener->onSessionEvent(*sessionId, event, arg, eventData); in onEvent()
97 mListener->onEvent(event, arg, eventData); in onEvent()
DCasImpl.h87 sp<ICasListener> mListener; variable
/hardware/interfaces/drm/1.0/default/
DDrmPlugin.cpp324 mListener = listener; in setListener()
331 if (mListener != nullptr) { in sendEvent()
332 mListener->sendEvent(eventType, sessionId, data); in sendEvent()
339 if (mListener != nullptr) { in sendExpirationUpdate()
340 mListener->sendExpirationUpdate(sessionId, expiryTimeInMS); in sendExpirationUpdate()
347 if (mListener != nullptr) { in sendKeysChange()
348 mListener->sendKeysChange(sessionId, keyStatusList, hasNewUsableKey); in sendKeysChange()
384 mListener->sendEvent(eventType, in sendEvent()
392 mListener->sendExpirationUpdate(toHidlVec(*sessionId), expiryTimeInMS); in sendExpirationUpdate()
428 mListener->sendKeysChange(toHidlVec(*sessionId), in sendKeysChange()
DDrmPlugin.h156 sp<IDrmPluginListener> mListener; member
/hardware/google/av/codec2/hidl/1.0/utils/
DComponent.cpp325 mListener(component->mListener) { in Listener()
332 sp<IComponentListener> listener = mListener.promote(); in onError_nb()
346 sp<IComponentListener> listener = mListener.promote(); in onTripped_nb()
378 unregisterFrameData(mListener, work->input); in onWorkDone_nb()
383 sp<IComponentListener> listener = mListener.promote(); in onWorkDone_nb()
405 wp<IComponentListener> mListener; member
419 mListener(listener), in Component()
445 registerFrameData(mListener, work->input); in queue()
468 unregisterFrameData(mListener, work->input); in flush()
505 (void)mListener->onFramesRendered(rendered).isOk(); in setOutputSurface()
[all …]
/hardware/google/av/media/codecs/base/
DSimpleC2Component.cpp173 state->mListener = listener; in setListener_vb()
364 std::shared_ptr<C2Component::Listener> listener = mExecState.lock()->mListener; in finish()
390 std::shared_ptr<C2Component::Listener> listener = mExecState.lock()->mListener; in cloneAndSend()
459 std::shared_ptr<C2Component::Listener> listener = state->mListener; in processQueue()
470 std::shared_ptr<C2Component::Listener> listener = state->mListener; in processQueue()
510 std::shared_ptr<C2Component::Listener> listener = state->mListener; in processQueue()
521 std::shared_ptr<C2Component::Listener> listener = state->mListener; in processQueue()
541 std::shared_ptr<C2Component::Listener> listener = state->mListener; in processQueue()
/hardware/google/av/codec2/hidl/1.0/mts/component/
DMtsHidlC2V1_0TargetComponentTest.cpp45 mListener.reset(new CodecListener( in SetUp()
49 ASSERT_NE(mListener, nullptr); in SetUp()
50 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
88 std::shared_ptr<android::Codec2Client::Listener> mListener; member in __anon4f3a7c8b0111::Codec2ComponentHidlTest
/hardware/interfaces/cas/1.0/default/
DCasImpl.cpp35 : mListener(listener) { in CasImpl()
67 if (mListener == NULL) { in onEvent()
76 mListener->onEvent(event, arg, eventData); in onEvent()
DCasImpl.h92 sp<ICasListener> mListener; variable
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp70 mListener.reset(new CodecListener( in SetUp()
74 ASSERT_NE(mListener, nullptr); in SetUp()
78 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
171 std::shared_ptr<android::Codec2Client::Listener> mListener; member in __anon418c823f0111::Codec2AudioEncHidlTest
DMtsHidlC2V1_0TargetAudioDecTest.cpp76 mListener.reset(new CodecListener( in SetUp()
80 ASSERT_NE(mListener, nullptr); in SetUp()
84 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
224 std::shared_ptr<android::Codec2Client::Listener> mListener; member in __anon97d0b2d50111::Codec2AudioDecHidlTest
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp90 std::shared_ptr<Listener> mListener; member in __anonf5195c740111::SimplePlayer
139 : mListener(new Listener(this)), in SimplePlayer()
218 (void)component->setListener_vb(mListener, C2_DONT_BLOCK); in play()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoEncTest.cpp69 mListener.reset(new CodecListener( in SetUp()
73 ASSERT_NE(mListener, nullptr); in SetUp()
77 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
180 std::shared_ptr<android::Codec2Client::Listener> mListener; member in __anon6594cea90111::Codec2VideoEncHidlTest
DMtsHidlC2V1_0TargetVideoDecTest.cpp75 mListener.reset(new CodecListener( in SetUp()
79 ASSERT_NE(mListener, nullptr); in SetUp()
83 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
220 std::shared_ptr<android::Codec2Client::Listener> mListener; member in __anonbbd8ff3f0111::Codec2VideoDecHidlTest
/hardware/google/av/media/eco/include/eco/
DECOSession.h139 android::sp<IECOServiceInfoListener> mListener; variable
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DComponent.h106 sp<IComponentListener> mListener; member
/hardware/google/av/media/codecs/base/include/
DSimpleC2Component.h196 std::shared_ptr<C2Component::Listener> mListener; member