Home
last modified time | relevance | path

Searched refs:cb_ (Results 1 - 25 of 220) sorted by relevance

123456789

/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/
H A DInnerInterfaceDependCheckTest.cpp55 int32_t SetCallback(AudioDecoderDemo *decoderDemo, std::shared_ptr<InnerADecDemoCallback> cb_) in SetCallback() argument
57 return decoderDemo->InnerSetCallback(cb_); in SetCallback()
133 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
135 ret = SetCallback(decoderDemo, cb_); in HWTEST_F()
158 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
160 ret = SetCallback(decoderDemo, cb_); in HWTEST_F()
186 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
188 ret = SetCallback(decoderDemo, cb_); in HWTEST_F()
217 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
219 ret = SetCallback(decoderDemo, cb_); in HWTEST_F()
251 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
289 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
326 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
363 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
403 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
428 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
459 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
493 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
531 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
568 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
605 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
645 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
670 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
701 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
739 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
776 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
813 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
853 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
878 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
909 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
947 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
984 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1021 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1061 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1086 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1118 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1152 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1189 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1228 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1265 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1305 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1329 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1359 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1391 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1428 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1463 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1498 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1536 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1561 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1593 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1628 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1667 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1705 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1746 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1784 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1825 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1864 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1900 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1938 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
1979 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
2017 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
[all...]
H A DInnerStablityTest.cpp112 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
113 decoderDemo->InnerSetCallback(cb_); in HWTEST_F()
146 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
147 decoderDemo->InnerSetCallback(cb_); in HWTEST_F()
180 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
181 decoderDemo->InnerSetCallback(cb_); in HWTEST_F()
214 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
215 decoderDemo->InnerSetCallback(cb_); in HWTEST_F()
247 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); in HWTEST_F() local
248 decoderDemo->InnerSetCallback(cb_); in HWTEST_F()
280 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
313 std::shared_ptr<InnerADecDemoCallback> cb_ = make_unique<InnerADecDemoCallback>(signal_); HWTEST_F() local
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/
H A DInnerInterfaceDependCheckTest.cpp53 int32_t SetCallback(AudioEncoderDemo *encoderDemo, const std::shared_ptr<AVCodecCallback> &cb_) in SetCallback() argument
55 return encoderDemo->InnerSetCallback(cb_); in SetCallback()
126 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
128 ret = SetCallback(encoderDemo, cb_); in HWTEST_F()
150 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
152 ret = SetCallback(encoderDemo, cb_); in HWTEST_F()
177 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
179 ret = SetCallback(encoderDemo, cb_); in HWTEST_F()
207 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
209 ret = SetCallback(encoderDemo, cb_); in HWTEST_F()
240 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
278 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
314 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
350 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
389 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
414 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
444 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
477 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
515 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
551 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
587 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
626 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
650 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
680 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
718 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
754 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
790 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
829 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
853 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
883 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
921 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
957 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
993 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1032 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1056 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1086 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1119 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1155 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1193 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1229 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1268 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1291 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1320 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1351 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1387 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1421 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1455 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1492 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1517 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1548 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1582 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1620 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1657 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1697 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
1734 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
[all...]
H A DInnerStablityTest.cpp150 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
151 int32_t ret = encoderDemo->InnerSetCallback(cb_); in HWTEST_F()
187 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
188 int32_t ret = encoderDemo->InnerSetCallback(cb_); in HWTEST_F()
226 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
227 int32_t ret = encoderDemo->InnerSetCallback(cb_); in HWTEST_F()
263 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
264 int32_t ret = encoderDemo->InnerSetCallback(cb_); in HWTEST_F()
299 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); in HWTEST_F() local
300 int32_t ret = encoderDemo->InnerSetCallback(cb_); in HWTEST_F()
335 std::shared_ptr<InnerAEnDemoCallback> cb_ = make_unique<InnerAEnDemoCallback>(signal_); HWTEST_F() local
[all...]
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/include/
H A Daudio_haptic_common_napi.h44 : env_(env), cb_(cb) in AutoRef()
49 if (env_ != nullptr && cb_ != nullptr) { in ~AutoRef()
50 (void)napi_delete_reference(env_, cb_); in ~AutoRef()
54 napi_ref cb_; member
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/proxy/
H A Dupdate_callback_inner.cpp27 if (cb_ == nullptr) { in OnUpdateComplete()
31 cb_->OnUpdateComplete(result); in OnUpdateComplete()
36 cb_ = cb; in SetUpdateCallback()
H A Dengine_callback_inner.cpp25 EngineCallbackInner::EngineCallbackInner(std::shared_ptr<IIntellVoiceEngineEventCallback> cb) : cb_(cb) in EngineCallbackInner()
32 if (cb_ == nullptr) { in OnIntellVoiceEngineEvent()
44 cb_->OnEvent(tmpEvent); in OnIntellVoiceEngineEvent()
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/
H A Dhelper_data_source_callback.cpp75 cb_ = std::make_shared<HelperDataSourceJsCallback>(HELPER_READAT_CALLBACK_NAME, mem, length, pos); in ReadAt()
76 CHECK_AND_RETURN_RET_LOG(cb_ != nullptr, 0, "Failed to Create HelperDataSourceJsCallback"); in ReadAt()
77 cb_->callback_ = refMap_.at(HELPER_READAT_CALLBACK_NAME); in ReadAt()
80 cb_ = nullptr; in ReadAt()
94 cbWrap->cb_ = cb_; in ReadAt()
100 cb_->WaitResult(); in ReadAt()
102 return cb_->readSize_; in ReadAt()
112 std::shared_ptr<HelperDataSourceJsCallback> event = wrap->cb_.lock(); in UvWork()
128 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, in UvWork()
[all...]
/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Dmedia_data_source_callback.cpp75 cb_ = std::make_shared<MediaDataSourceJsCallback>(READAT_CALLBACK_NAME, mem, length, pos); in ReadAt()
76 CHECK_AND_RETURN_RET_LOG(cb_ != nullptr, 0, "Failed to Create MediaDataSourceJsCallback"); in ReadAt()
77 cb_->callback_ = refMap_.at(READAT_CALLBACK_NAME); in ReadAt()
80 cb_ = nullptr; in ReadAt()
94 cbWrap->cb_ = cb_; in ReadAt()
100 cb_->WaitResult(); in ReadAt()
102 return cb_->readSize_; in ReadAt()
112 std::shared_ptr<MediaDataSourceJsCallback> event = wrap->cb_.lock(); in UvWork()
128 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, in UvWork()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dapi_test.cpp186 OH_AVCodecAsyncCallback cb_; in HWTEST_F() local
187 cb_.onError = onError; in HWTEST_F()
188 cb_.onStreamChanged = onStreamChanged; in HWTEST_F()
189 cb_.onNeedInputData = onNeedInputData; in HWTEST_F()
190 cb_.onNeedOutputData = onNewOutputData; in HWTEST_F()
192 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_VideoEncoder_SetCallback(NULL, cb_, static_cast<void *>(signal_))); in HWTEST_F()
221 OH_AVCodecAsyncCallback cb_; in HWTEST_F() local
222 cb_.onError = onError; in HWTEST_F()
223 cb_.onStreamChanged = onStreamChanged; in HWTEST_F()
224 cb_ in HWTEST_F()
609 OH_AVCodecAsyncCallback cb_; HWTEST_F() local
702 OH_AVCodecAsyncCallback cb_; HWTEST_F() local
[all...]
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/enroll/
H A Denroll_adapter_listener.cpp27 OnEnrollEventCb enrollEventCb) : cb_(cb), enrollEventCb_(enrollEventCb) in EnrollAdapterListener()
43 if (cb_ != nullptr) { in OnIntellVoiceHdiEvent()
44 cb_->OnIntellVoiceEngineEvent(event); in OnIntellVoiceHdiEvent()
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/
H A Dtrigger_detector_callback.cpp25 TriggerDetectorCallback::TriggerDetectorCallback(OnDetectedCb cb) : cb_(cb) in TriggerDetectorCallback()
30 if ((event == nullptr) || (cb_ == nullptr)) { in OnDetected()
40 std::thread([&]() { cb_(); }).detach(); in OnDetected()
/foundation/resourceschedule/ffrt/src/util/
H A Dsingleton_register.h32 return Instance_().cb_(); in Instance()
37 Instance_().cb_ = std::move(cb); in RegistInsCb()
41 typename SingleInsCB<T>::Instance cb_; member in ffrt::SingletonRegister
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/
H A Dwakeup_adapter_listener.cpp43 cb_ = nullptr; in SetCallback()
46 cb_ = cb; in SetCallback()
48 cb_->OnIntellVoiceEngineEvent(*(historyEvent_.get())); in SetCallback()
62 if (cb_ == nullptr) { in Notify()
63 INTELL_VOICE_LOG_WARN("cb_ is nullptr"); in Notify()
72 cb_->OnIntellVoiceEngineEvent(event); in Notify()
/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_async_work.h69 napi_ref cb_; member
74 : env_(env), cb_(cb) in AutoRef()
90 workData->cb_ = cb_; in ~AutoRef()
104 napi_ref cb = workData->cb_; in ~AutoRef()
119 napi_ref cb_; member
/foundation/multimedia/drm_framework/services/utils/include/
H A Dnapi_async_work.h66 napi_ref cb_; member
71 : env_(env), cb_(cb) in AutoRef()
87 workData->cb_ = cb_; in ~AutoRef()
101 napi_ref cb = workData->cb_; in ~AutoRef()
116 napi_ref cb_; member
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_render_service_client.cpp412 explicit CustomPointerLuminanceChangeCallback(const PointerLuminanceChangeCallback &callback) : cb_(callback) {} in CustomPointerLuminanceChangeCallback()
417 if (cb_ != nullptr) {
418 cb_(brightness);
423 PointerLuminanceChangeCallback cb_; member in OHOS::Rosen::CustomPointerLuminanceChangeCallback
450 explicit CustomScreenChangeCallback(const ScreenChangeCallback &callback) : cb_(callback) {} in CustomScreenChangeCallback()
455 if (cb_ != nullptr) {
456 cb_(id, event);
461 ScreenChangeCallback cb_; member in OHOS::Rosen::CustomScreenChangeCallback
718 explicit CustomBufferAvailableCallback(const BufferAvailableCallback &callback) : cb_(callback) {} in CustomBufferAvailableCallback()
723 if (cb_ !
729 BufferAvailableCallback cb_; global() member in OHOS::Rosen::CustomBufferAvailableCallback
746 BufferClearCallback cb_; global() member in OHOS::Rosen::CustomBufferClearCallback
1081 OcclusionChangeCallback cb_; global() member in OHOS::Rosen::CustomOcclusionChangeCallback
1109 SurfaceOcclusionChangeCallback cb_; global() member in OHOS::Rosen::CustomSurfaceOcclusionChangeCallback
1155 HgmConfigChangeCallback cb_; global() member in OHOS::Rosen::CustomHgmConfigChangeCallback
1190 HgmRefreshRateModeChangeCallback cb_; global() member in OHOS::Rosen::CustomHgmRefreshRateModeChangeCallback
1228 HgmRefreshRateUpdateCallback cb_; global() member in OHOS::Rosen::CustomHgmRefreshRateUpdateCallback
1494 UIExtensionCallback cb_; global() member in OHOS::Rosen::CustomUIExtensionCallback
[all...]
/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/src/
H A Dclient_unit_test.cpp46 std::shared_ptr<EngineEventCallback> cb_ = nullptr; member in ClientTest
74 cb_ = std::make_shared<EngineEventCallback>(engine, &waitForResult); in HWTEST_F()
75 ASSERT_NE(cb_, nullptr); in HWTEST_F()
77 sptr<EngineCallbackInner> callback = new (std::nothrow) EngineCallbackInner(cb_); in HWTEST_F()
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/
H A Dgraphic_timer.h61 if (cb_ != nullptr) { in Callback()
62 cb_(arg_); in Callback()
70 GraphicTimerCb cb_ = nullptr; member in OHOS::GraphicTimer
/foundation/multimedia/player_framework/frameworks/native/video_editor/codec/video/decoder/
H A Dvideo_decoder_engine_impl.cpp27 : id_(id), fd_(fd), cb_(cb) in VideoDecoderEngineImpl()
70 auto cbPtr = cb_.lock(); in OnDecodeFrame()
81 auto cbPtr = cb_.lock(); in OnDecodeResult()
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/callback/
H A Dnapi_audio_manager_callbacks.cpp87 bool isSameCallback = IsSameCallback(env_, callback, (*it).first->cb_); in SaveRoutingManagerDeviceChangeCbRef()
106 bool isSameCallback = IsSameCallback(env_, callback, (*it).first->cb_); in RemoveRoutingManagerDeviceChangeCbRef()
179 bool isSameCallback = NapiAudioManagerCallback::IsSameCallback(env_, callback, (*it)->cb_); in SaveMicrophoneBlockedCallbackReference()
195 bool isSameCallback = NapiAudioManagerCallback::IsSameCallback(env_, callback, (*it)->cb_); in RemoveMicrophoneBlockedCallbackReference()
198 napi_delete_reference(env_, (*it)->cb_); in RemoveMicrophoneBlockedCallbackReference()
199 (*it)->cb_ = nullptr; in RemoveMicrophoneBlockedCallbackReference()
211 napi_delete_reference(env_, (*it)->cb_); in RemoveAllMicrophoneBlockedCallback()
212 (*it)->cb_ = nullptr; in RemoveAllMicrophoneBlockedCallback()
225 bool isSameCallback = IsSameCallback(env_, callback, (*it).first->cb_); in SaveAudioManagerDeviceChangeCbRef()
243 bool isSameCallback = IsSameCallback(env_, callback, (*it).first->cb_); in RemoveAudioManagerDeviceChangeCbRef()
[all...]
H A Dnapi_audio_micstatechange_callback.cpp58 napi_delete_reference(env_, micStateChangeCallback_->cb_); in RemoveCallbackReference()
59 micStateChangeCallback_->cb_ = nullptr; in RemoveCallbackReference()
74 napi_get_reference_value(env_, micStateChangeCallback_->cb_, &micStateChangeCallback); in IsSameCallback()
108 napi_ref callback = event->callback->cb_; in SafeJsCallbackMicStateChangeWork()
/foundation/filemanagement/file_api/utils/filemgmt_libn/src/n_async/
H A Dn_async_work_callback.cpp45 ptr->cb_.CleanJsEnv(); in ~NAsyncWorkCallback()
75 return bool(ctx_->cb_); in operator bool()
111 napi_value callback = ctx->cb_.Deref(env).val_; in CallbackComplete()
125 if (!ctx_ || !ctx_->cb_ || !ctx_->cb_.Deref(env_).TypeIs(napi_function)) { in Schedule()
176 napi_value callback = ctx->cb_.Deref(env).val_; in AfterWorkCallback()
/foundation/multimedia/player_framework/frameworks/native/video_editor/codec/video/encoder/
H A Dvideo_encoder_engine_impl.cpp28 : id_(id), fd_(fd), cb_(cb) in VideoEncoderEngineImpl()
73 auto cbPtr = cb_.lock(); in FinishEncode()
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/n_async/
H A Dn_async_context.h56 NRef cb_; member in OHOS::FileManagement::LibN::NAsyncContextCallback
57 NAsyncContextCallback(NVal thisPtr, NVal cb) : NAsyncContext(thisPtr), cb_(cb) {} in NAsyncContextCallback()

Completed in 13 milliseconds

123456789