/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/src/ |
H A D | client_unit_test.cpp | 80 sptr<IRemoteObject> callbackObj = callback->AsObject(); in HWTEST_F() local 81 ASSERT_NE(callbackObj, nullptr); in HWTEST_F() 83 engine->SetCallback(callbackObj); in HWTEST_F()
|
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/src/ |
H A D | js_systemload_listener.cpp | 29 SystemloadListener::SystemloadListener(napi_env env, napi_value callbackObj, OnSystemloadLevelCb callback) in SystemloadListener() argument 32 if (napiEnv_ == nullptr || callbackObj == nullptr) { in SystemloadListener() 36 napi_create_reference(napiEnv_, callbackObj, 1, &tmpRef); in SystemloadListener()
|
H A D | js_systemload.cpp | 59 void Systemload::OnSystemloadLevel(napi_env env, napi_value callbackObj, int32_t level) in OnSystemloadLevel() argument 71 NAPI_CALL_RETURN_VOID(env, napi_strict_equals(env, callbackObj, iter->first->GetNapiValue(), &isEqual)); in OnSystemloadLevel() 134 auto systemloadLevelCb = [](napi_env env, napi_value callbackObj, int32_t level) { in RegisterSystemloadCallback() 135 Systemload::GetInstance().OnSystemloadLevel(env, callbackObj, level); in RegisterSystemloadCallback()
|
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/include/ |
H A D | res_sched_client.h | 96 * @param callbackObj systemload level listener object.
98 void RegisterSystemloadNotifier(const sptr<ResSchedSystemloadNotifierClient>& callbackObj);
103 * @param callbackObj systemload level listener object
105 void UnRegisterSystemloadNotifier(const sptr<ResSchedSystemloadNotifierClient>& callbackObj);
153 void RegisterSystemloadLevelCb(const sptr<ResSchedSystemloadNotifierClient>& callbackObj);
154 void UnRegisterSystemloadLevelCb(const sptr<ResSchedSystemloadNotifierClient>& callbackObj);
|
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/ |
H A D | res_sched_client.cpp | 121 void ResSchedClient::RegisterSystemloadNotifier(const sptr<ResSchedSystemloadNotifierClient>& callbackObj)
in RegisterSystemloadNotifier() argument 129 systemloadLevelListener_->RegisterSystemloadLevelCb(callbackObj);
in RegisterSystemloadNotifier() 137 void ResSchedClient::UnRegisterSystemloadNotifier(const sptr<ResSchedSystemloadNotifierClient>& callbackObj)
in UnRegisterSystemloadNotifier() argument 145 systemloadLevelListener_->UnRegisterSystemloadLevelCb(callbackObj);
in UnRegisterSystemloadNotifier() 400 const sptr<ResSchedSystemloadNotifierClient>& callbackObj)
in RegisterSystemloadLevelCb() 403 if (callbackObj != nullptr) {
in RegisterSystemloadLevelCb() 405 if (iter == callbackObj) {
in RegisterSystemloadLevelCb() 410 systemloadLevelCbs_.emplace_back(callbackObj);
in RegisterSystemloadLevelCb() 416 const sptr<ResSchedSystemloadNotifierClient>& callbackObj)
in UnRegisterSystemloadLevelCb() 419 systemloadLevelCbs_.remove(callbackObj);
in UnRegisterSystemloadLevelCb() 399 RegisterSystemloadLevelCb( const sptr<ResSchedSystemloadNotifierClient>& callbackObj) RegisterSystemloadLevelCb() argument 415 UnRegisterSystemloadLevelCb( const sptr<ResSchedSystemloadNotifierClient>& callbackObj) UnRegisterSystemloadLevelCb() argument [all...] |
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_rss_session.cpp | 46 RssEventListener::RssEventListener(napi_env env, napi_value callbackObj, OnRssEventCb callback) in RssEventListener() argument 50 napi_create_reference(napiEnv_, callbackObj, 1, &objRef); in RssEventListener() 198 void RssSession::OnReceiveEvent(napi_env env, napi_value callbackObj, uint32_t eventType, in OnReceiveEvent() argument 210 NAPI_CALL_RETURN_VOID(env, napi_strict_equals(env, callbackObj, iter->first->GetNapiValue(), &isEqual)); in OnReceiveEvent() 262 auto rssDataCb = [](napi_env env, napi_value callbackObj, uint32_t eventType, in RegisterRssDataCallback() 264 RssSession::GetInstance().OnReceiveEvent(env, callbackObj, eventType, extraInfo); in RegisterRssDataCallback()
|
H A D | js_rss_session.h | 40 RssEventListener(napi_env env, napi_value callbackObj, OnRssEventCb callback); 74 void OnReceiveEvent(napi_env env, napi_value callbackObj, uint32_t eventType,
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureserverstartcase_fuzzer/ |
H A D | screencaptureserverstartcase_fuzzer.cpp | 111 std::shared_ptr<TestScreenCaptureCallbackTest> callbackObj = std::make_shared<TestScreenCaptureCallbackTest>(); in FuzzScreenCaptureServerStartCase() local 112 TestScreenCapture::SetScreenCaptureCallback(callbackObj); in FuzzScreenCaptureServerStartCase()
|
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/include/ |
H A D | js_systemload_listener.h | 32 SystemloadListener(napi_env env, napi_value callbackObj, OnSystemloadLevelCb callback);
|
H A D | js_systemload.h | 66 void OnSystemloadLevel(napi_env env, napi_value callbackObj, int32_t level);
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/picker/ |
H A D | camera_picker_napi.cpp | 212 napi_value callbackObj = nullptr; in CommonCompleteCallback() local 230 napi_create_object(env, &callbackObj); in CommonCompleteCallback() 232 napi_set_named_property(env, callbackObj, "resultCode", resultCode); in CommonCompleteCallback() 234 napi_set_named_property(env, callbackObj, "resultUri", resultUri); in CommonCompleteCallback() 237 napi_set_named_property(env, callbackObj, "mediaType", resultMediaType); in CommonCompleteCallback() 238 jsContext->data = callbackObj; in CommonCompleteCallback()
|
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/capi_demo/ |
H A D | avdemuxer_demo.cpp | 202 Demuxer_MediaKeySystemInfoCallback callbackObj = &OnDrmInfoChangedWithObjInApp; in SetDrmAppCallback() local 203 ret = OH_AVDemuxer_SetDemuxerMediaKeySystemInfoCallback(this->avdemxuer_, callbackObj); in SetDrmAppCallback()
|
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_hdi_handler/include/ |
H A D | audio_test_utils.h | 36 const sptr<OHOS::HDI::DistributedAudio::Audioext::V2_0::IDAudioCallback> &callbackObj) override
|
/foundation/resourceschedule/resource_schedule_service/ressched/test/fuzztest/ressched_fuzzer/ |
H A D | ressched_fuzzer.cpp | 312 sptr<ResSchedSystemloadNotifierClient> callbackObj; in ResSchedClientFuzzTest() local 313 ResSchedClient::GetInstance().RegisterSystemloadNotifier(callbackObj); in ResSchedClientFuzzTest() 314 ResSchedClient::GetInstance().UnRegisterSystemloadNotifier(callbackObj); in ResSchedClientFuzzTest()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/ |
H A D | preview_output_napi.cpp | 197 napi_value callbackObj; in OnSketchStatusDataChangedCall() local 198 napi_create_object(env_, &callbackObj); in OnSketchStatusDataChangedCall() 201 napi_set_property(env_, callbackObj, napiSketchStatusKey, napiSketchStatus); in OnSketchStatusDataChangedCall() 204 napi_set_property(env_, callbackObj, napiSketchRatioKey, napiSketchRatio); in OnSketchStatusDataChangedCall() 205 args[PARAM1] = callbackObj; in OnSketchStatusDataChangedCall()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.cpp | 748 DoubleBindCallback ParseDoubleBindCallback(const JSCallbackInfo& info, const JSRef<JSObject>& callbackObj, in ParseDoubleBindCallback() argument 751 JSRef<JSVal> arrowFunc = callbackObj->GetProperty(arrowFuncName); in ParseDoubleBindCallback() 3603 JSRef<JSObject> callbackObj = JSRef<JSObject>::Cast(info[0]); in ParseBindContextMenuShow() local 3604 menuParam.onStateChange = ParseDoubleBindCallback(info, callbackObj, "$value"); in ParseBindContextMenuShow() 3605 auto isShowObj = callbackObj->GetProperty("value"); in ParseBindContextMenuShow() 3641 JSRef<JSObject> callbackObj = JSRef<JSObject>::Cast(jsVal); in JsBindMenu() local 3642 menuParam.onStateChange = ParseDoubleBindCallback(info, callbackObj, "$value"); in JsBindMenu() 3643 auto isShowObj = callbackObj->GetProperty(static_cast<int32_t>(ArkUIIndex::VALUE)); in JsBindMenu() 7745 JSRef<JSObject> callbackObj = JSRef<JSObject>::Cast(info[0]); in ParseBindContentCoverIsShow() local 7746 auto isShowObj = callbackObj in ParseBindContentCoverIsShow() 7759 JSRef<JSObject> callbackObj = JSRef<JSObject>::Cast(info[0]); JsBindContentCover() local 7842 JSRef<JSObject> callbackObj = JSRef<JSObject>::Cast(info[0]); ParseSheetIsShow() local [all...] |
H A D | js_web.cpp | 2430 JSRef<JSObject> callbackObj = JSClass<JSWebAppLinkCallback>::NewInstance(); in Create() 2431 auto callbackEvent = Referenced::Claim(callbackObj->Unwrap<JSWebAppLinkCallback>()); in Create() 2433 obj->SetPropertyObject("result", callbackObj); in Create()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_framework_unittest.cpp | 109 const sptr<HDI::Camera::V1_0::IStreamOperatorCallback>& callbackObj, 159 MOCK_METHOD2(GetStreamOperator, int32_t(const sptr<HDI::Camera::V1_0::IStreamOperatorCallback>& callbackObj, 161 MOCK_METHOD2(GetStreamOperator_V1_1, int32_t(const sptr<HDI::Camera::V1_0::IStreamOperatorCallback>& callbackObj,
|