/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/ |
D | NativeInterfaceDependCheckTest.cpp | 49 OH_AVErrCode SetCallback(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle) in SetCallback() function 146 ret = SetCallback(encoderDemo, handle); 165 ret = SetCallback(encoderDemo, handle); 168 ret = SetCallback(encoderDemo, handle); 190 ret = SetCallback(encoderDemo, handle); 209 ret = SetCallback(encoderDemo, handle); 218 ret = SetCallback(encoderDemo, handle); 241 ret = SetCallback(encoderDemo, handle); 257 ret = SetCallback(encoderDemo, handle); 280 ret = SetCallback(encoderDemo, handle); [all …]
|
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/ |
D | NativeInterfaceDependCheckTest.cpp | 55 OH_AVErrCode SetCallback(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle) in SetCallback() function 144 ret = SetCallback(decoderDemo, handle); 163 ret = SetCallback(decoderDemo, handle); 166 ret = SetCallback(decoderDemo, handle); 188 ret = SetCallback(decoderDemo, handle); 207 ret = SetCallback(decoderDemo, handle); 216 ret = SetCallback(decoderDemo, handle); 239 ret = SetCallback(decoderDemo, handle); 255 ret = SetCallback(decoderDemo, handle); 278 ret = SetCallback(decoderDemo, handle); [all …]
|
/foundation/communication/netmanager_base/frameworks/js/napi/connection/async_context/src/ |
D | getaddressbyname_context.cpp | 35 SetParseOK(SetCallback(params[ARG_INDEX_1]) == napi_ok); in ParseParams() 48 SetCallback(params[paramsCount - 1]); in CheckParamsType() 58 SetCallback(params[paramsCount - 1]); in CheckParamsType()
|
D | bindsocket_context.cpp | 43 SetParseOK(SetCallback(params[ARG_INDEX_1]) == napi_ok); in ParseParams() 57 SetCallback(params[paramsCount - 1]); in CheckParamsType() 67 SetCallback(params[paramsCount - 1]); in CheckParamsType()
|
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/ |
D | InnerInterfaceDependCheckTest.cpp | 53 int32_t SetCallback(AudioEncoderDemo *encoderDemo, const std::shared_ptr<AVCodecCallback> &cb_) in SetCallback() function 128 ret = SetCallback(encoderDemo, cb_); 152 ret = SetCallback(encoderDemo, cb_); 179 ret = SetCallback(encoderDemo, cb_); 209 ret = SetCallback(encoderDemo, cb_); 242 ret = SetCallback(encoderDemo, cb_); 280 ret = SetCallback(encoderDemo, cb_); 316 ret = SetCallback(encoderDemo, cb_); 352 ret = SetCallback(encoderDemo, cb_); 391 ret = SetCallback(encoderDemo, cb_); [all …]
|
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/ |
D | InnerInterfaceDependCheckTest.cpp | 55 int32_t SetCallback(AudioDecoderDemo *decoderDemo, std::shared_ptr<InnerADecDemoCallback> cb_) in SetCallback() function 135 ret = SetCallback(decoderDemo, cb_); 160 ret = SetCallback(decoderDemo, cb_); 188 ret = SetCallback(decoderDemo, cb_); 219 ret = SetCallback(decoderDemo, cb_); 253 ret = SetCallback(decoderDemo, cb_); 291 ret = SetCallback(decoderDemo, cb_); 328 ret = SetCallback(decoderDemo, cb_); 365 ret = SetCallback(decoderDemo, cb_); 405 ret = SetCallback(decoderDemo, cb_); [all …]
|
/foundation/communication/netstack/frameworks/js/napi/websocket/async_context/src/ |
D | connect_context.cpp | 35 SetCallback(params[0]); in ParseParams() 42 SetCallback(params[1]); in ParseParams() 49 SetCallback(params[FUNCTION_PARAM_TWO]); in ParseParams() 64 return SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams() 72 return SetParseOK(SetCallback(params[FUNCTION_PARAM_TWO]) == napi_ok); in ParseParams()
|
D | close_context.cpp | 35 SetCallback(params[0]); in ParseParams() 42 SetCallback(params[1]); in ParseParams() 56 return SetParseOK(SetCallback(params[0]) == napi_ok); in ParseParams() 70 return SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
D | send_context.cpp | 92 SetCallback(params[0]); in ParseParams() 99 SetCallback(params[1]); in ParseParams() 118 return SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
/foundation/ai/ai_engine/services/client/algorithm_sdk/cv/image_classification/source/ |
D | ic_sdk.cpp | 32 int32_t IcSdk::SetCallback(std::shared_ptr<IcCallback> callback) in SetCallback() function in IcSdk 34 return IcSdkImpl::GetInstance().SetCallback(callback); in SetCallback()
|
/foundation/ai/ai_engine/services/client/algorithm_sdk/asr/keyword_spotting/source/ |
D | kws_sdk.cpp | 49 int32_t KWSSdk::SetCallback(const std::shared_ptr<KWSCallback> &callback) in SetCallback() function in OHOS::AI::KWSSdk 55 return kwsSdkImpl_->SetCallback(callback); in SetCallback()
|
/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/ |
D | bind_context.cpp | 33 SetCallback(params[0]); in ParseParams() 39 SetCallback(params[1]); in ParseParams() 65 SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
D | tcp_server_listen_context.cpp | 33 SetCallback(params[0]); in ParseParams() 39 SetCallback(params[1]); in ParseParams() 66 SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
D | tcp_send_context.cpp | 33 SetCallback(params[0]); in ParseParams() 39 SetCallback(params[1]); in ParseParams() 55 SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
D | tcp_server_send_context.cpp | 33 SetCallback(params[0]); in ParseParams() 39 SetCallback(params[1]); in ParseParams() 55 SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
D | udp_extra_context.cpp | 33 SetCallback(params[0]); in ParseParams() 39 SetCallback(params[1]); in ParseParams() 67 SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
D | tcp_server_common_context.cpp | 33 SetCallback(params[0]); in ParseParams() 41 SetParseOK(SetCallback(params[0]) == napi_ok); in ParseParams()
|
D | connect_context.cpp | 34 SetCallback(params[0]); in ParseParams() 40 SetCallback(params[1]); in ParseParams() 74 SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
D | common_context.cpp | 32 SetCallback(params[0]); in ParseParams() 40 SetParseOK(SetCallback(params[0]) == napi_ok); in ParseParams()
|
D | tcp_server_extra_context.cpp | 81 SetCallback(params[0]); in ParseParams() 87 SetCallback(params[1]); in ParseParams() 97 SetParseOK(SetCallback(params[1]) == napi_ok); in ParseParams()
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/ |
D | wakeup_engine.h | 35 void SetCallback(sptr<IRemoteObject> object) override; 48 bool SetCallback();
|
D | wakeup_engine.cpp | 87 bool WakeupEngine::SetCallback() in SetCallback() function in OHOS::IntellVoiceEngine::WakeupEngine 109 adapter_->SetCallback(callback_); in SetCallback() 128 if (!SetCallback()) { in Init() 150 void WakeupEngine::SetCallback(sptr<IRemoteObject> object) in SetCallback() function in OHOS::IntellVoiceEngine::WakeupEngine 164 adapterListener_->SetCallback(callback); in SetCallback()
|
/foundation/communication/netstack/frameworks/js/napi/tls/src/context/ |
D | tls_server_close_context.cpp | 38 SetParseOK(SetCallback(params[TlsSocket::ARG_INDEX_0]) == napi_ok); in ParseParams() 42 SetParseOK(SetCallback(params[TlsSocket::ARG_INDEX_1]) == napi_ok); in ParseParams()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/unittest/ |
D | vsync_controller_test.cpp | 74 ASSERT_EQ(VSyncControllerTest::vsyncController_->SetCallback(callback), VSYNC_ERROR_OK); 87 ASSERT_EQ(VSyncControllerTest::vsyncController_->SetCallback(nullptr), VSYNC_ERROR_NULLPTR);
|
/foundation/ai/intelligent_voice_framework/frameworks/native/ |
D | wakeup_intell_voice_engine.cpp | 82 int32_t WakeupIntellVoiceEngine::SetCallback(shared_ptr<IIntellVoiceEngineEventCallback> callback) in SetCallback() function in OHOS::IntellVoice::WakeupIntellVoiceEngine 96 engine_->SetCallback(callback_->AsObject()); in SetCallback()
|