/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | subscribe.h | 170 struct CallbackInfo { struct in OHOS::NotificationNapi::SubscriberInstance 175 CallbackInfo canceCallbackInfo_; 176 CallbackInfo consumeCallbackInfo_; 177 CallbackInfo updateCallbackInfo_; 178 CallbackInfo subscribeCallbackInfo_; 179 CallbackInfo unsubscribeCallbackInfo_; 180 CallbackInfo dieCallbackInfo_; 181 CallbackInfo disturbModeCallbackInfo_; 182 CallbackInfo disturbDateCallbackInfo_; 183 CallbackInfo disturbChangedCallbackInfo [all...] |
H A D | local_live_view_subscribe.h | 63 struct CallbackInfo { struct in OHOS::NotificationNapi::LocalLiveViewSubscriberInstance 68 CallbackInfo responseCallbackInfo_;
|
/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/include/ |
H A D | js_util_cooperate.h | 63 struct CallbackInfo : RefBase {
struct in OHOS::Msdp::DeviceStatus::JsUtilCooperate 64 CallbackInfo() = default;
65 ~CallbackInfo() = default;
81 static napi_value GetEnableInfo(sptr<CallbackInfo> cb);
82 static napi_value GetStartInfo(sptr<CallbackInfo> cb);
83 static napi_value GetStopInfo(sptr<CallbackInfo> cb);
84 static napi_value GetStateInfo(sptr<CallbackInfo> cb);
|
H A D | js_event_cooperate_target.h | 50 static void EmitJsEnable(sptr<JsUtilCooperate::CallbackInfo> cb,
52 static void EmitJsStart(sptr<JsUtilCooperate::CallbackInfo> cb,
54 static void EmitJsStop(sptr<JsUtilCooperate::CallbackInfo> cb,
56 static void EmitJsGetState(sptr<JsUtilCooperate::CallbackInfo> cb, bool state);
59 napi_value CreateCallbackInfo(napi_env, napi_value handle, sptr<JsUtilCooperate::CallbackInfo> callback);
81 inline static std::map<std::string_view, std::vector<sptr<JsUtilCooperate::CallbackInfo>>>
|
/base/msdp/device_status/frameworks/js/napi/interaction/coordination/include/ |
H A D | js_util.h | 64 struct CallbackInfo : RefBase {
struct in OHOS::Msdp::DeviceStatus::JsUtil 65 CallbackInfo() = default;
66 ~CallbackInfo() = default;
97 static napi_value GetPrepareInfo(sptr<CallbackInfo> cb);
98 static napi_value GetActivateInfo(sptr<CallbackInfo> cb);
99 static napi_value GetDeactivateInfo(sptr<CallbackInfo> cb);
100 static napi_value GetCrossingSwitchStateInfo(sptr<CallbackInfo> cb);
|
H A D | js_event_target.h | 46 static void EmitJsPrepare(sptr<JsUtil::CallbackInfo> cb, const std::string &networkId,
48 static void EmitJsActivate(sptr<JsUtil::CallbackInfo> cb, const std::string &remoteNetworkId,
50 static void EmitJsDeactivate(sptr<JsUtil::CallbackInfo> cb, const std::string &networkId,
52 static void EmitJsGetCrossingSwitchState(sptr<JsUtil::CallbackInfo> cb, bool state);
57 napi_value CreateCallbackInfo(napi_env env, napi_value handle, sptr<JsUtil::CallbackInfo> callback);
83 inline static std::map<std::string_view, std::vector<sptr<JsUtil::CallbackInfo>>> coordinationListeners_;
|
/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/ |
H A D | js_cooperate_manager.cpp | 32 sptr<JsUtilCooperate::CallbackInfo> cb = new (std::nothrow) JsUtilCooperate::CallbackInfo();
in Enable() 55 sptr<JsUtilCooperate::CallbackInfo> cb = new (std::nothrow) JsUtilCooperate::CallbackInfo();
in Start() 72 sptr<JsUtilCooperate::CallbackInfo> cb = new (std::nothrow) JsUtilCooperate::CallbackInfo();
in Stop() 90 sptr<JsUtilCooperate::CallbackInfo> cb = new (std::nothrow) JsUtilCooperate::CallbackInfo();
in GetState()
|
H A D | js_event_cooperate_target.cpp | 44 std::vector<sptr<JsUtilCooperate::CallbackInfo>>()});
in JsEventCooperateTarget() 50 void JsEventCooperateTarget::EmitJsEnable(sptr<JsUtilCooperate::CallbackInfo> cb,
in EmitJsEnable() 79 void JsEventCooperateTarget::EmitJsStart(sptr<JsUtilCooperate::CallbackInfo> cb,
in EmitJsStart() 107 void JsEventCooperateTarget::EmitJsStop(sptr<JsUtilCooperate::CallbackInfo> cb,
in EmitJsStop() 135 void JsEventCooperateTarget::EmitJsGetState(sptr<JsUtilCooperate::CallbackInfo> cb, bool state)
in EmitJsGetState() 180 sptr<JsUtilCooperate::CallbackInfo> monitor = new (std::nothrow) JsUtilCooperate::CallbackInfo();
in AddListener() 220 napi_value handle, sptr<JsUtilCooperate::CallbackInfo> callback)
in CreateCallbackInfo() 281 sptr<JsUtilCooperate::CallbackInfo> cb(static_cast<JsUtilCooperate::CallbackInfo *>(wor in CallEnablePromiseWork() [all...] |
H A D | js_util_cooperate.cpp | 34 napi_value JsUtilCooperate::GetEnableInfo(sptr<CallbackInfo> cb)
in GetEnableInfo() 41 napi_value JsUtilCooperate::GetStartInfo(sptr<CallbackInfo> cb)
in GetStartInfo() 48 napi_value JsUtilCooperate::GetStopInfo(sptr<CallbackInfo> cb)
in GetStopInfo() 55 napi_value JsUtilCooperate::GetStateInfo(sptr<CallbackInfo> cb)
in GetStateInfo()
|
/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/ |
H A D | js_coordination_manager.cpp | 32 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo();
in Prepare() 49 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo();
in Unprepare() 67 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo();
in Activate() 86 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo();
in Deactivate() 104 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo();
in GetCrossingSwitchState() [all...] |
H A D | js_event_target.cpp | 42 auto ret = coordinationListeners_.insert({ COOPERATE_NAME, std::vector<sptr<JsUtil::CallbackInfo>>() });
in JsEventTarget() 48 void JsEventTarget::EmitJsPrepare(sptr<JsUtil::CallbackInfo> cb, const std::string &networkId,
in EmitJsPrepare() 77 void JsEventTarget::EmitJsActivate(sptr<JsUtil::CallbackInfo> cb, const std::string &remoteNetworkId,
in EmitJsActivate() 105 void JsEventTarget::EmitJsDeactivate(sptr<JsUtil::CallbackInfo> cb, const std::string &networkId,
in EmitJsDeactivate() 133 void JsEventTarget::EmitJsGetCrossingSwitchState(sptr<JsUtil::CallbackInfo> cb, bool state)
in EmitJsGetCrossingSwitchState() 186 sptr<JsUtil::CallbackInfo> monitor = new (std::nothrow) JsUtil::CallbackInfo();
in AddListener() 332 napi_value JsEventTarget::CreateCallbackInfo(napi_env env, napi_value handle, sptr<JsUtil::CallbackInfo> callback)
in CreateCallbackInfo() 444 sptr<JsUtil::CallbackInfo> cb(static_cast<JsUtil::CallbackInfo *>(wor in CallPreparePromiseWork() [all...] |
H A D | js_util.cpp | 34 napi_value JsUtil::GetPrepareInfo(sptr<CallbackInfo> cb)
in GetPrepareInfo() 41 napi_value JsUtil::GetActivateInfo(sptr<CallbackInfo> cb)
in GetActivateInfo() 48 napi_value JsUtil::GetDeactivateInfo(sptr<CallbackInfo> cb)
in GetDeactivateInfo() 55 napi_value JsUtil::GetCrossingSwitchStateInfo(sptr<CallbackInfo> cb)
in GetCrossingSwitchStateInfo()
|
/base/time/time_service/framework/js/napi/system_timer/include/ |
H A D | napi_system_timer.h | 43 struct CallbackInfo { struct in OHOS::MiscServices::Time::ITimerInfoInstance 44 CallbackInfo(){}; in CallbackInfo() function 45 CallbackInfo(napi_env napiEnv, napi_ref napiRef) : env(napiEnv), ref(napiRef){}; in CallbackInfo() function 51 CallbackInfo callbackInfo_;
|
/base/msdp/device_status/frameworks/js/napi/interaction/drag/include/ |
H A D | js_drag_manager.h | 48 struct CallbackInfo : public RefBase { struct in OHOS::Msdp::DeviceStatus::JsDragManager 63 void DeleteCallbackInfo(std::unique_ptr<CallbackInfo> callback); 69 inline static std::vector<sptr<CallbackInfo>> listeners_ {};
|
/base/notification/eventhandler/frameworks/cj/src/ |
H A D | emitter.cpp | 35 CallbackInfo* callbackInfo; 39 static std::map<InnerEvent::EventId, std::unordered_set<CallbackInfo *>> g_emitterImpls; 46 CallbackInfo::~CallbackInfo() in ~CallbackInfo() 83 CallbackInfo *SearchCallbackInfo(const InnerEvent::EventId &eventIdValue, const std::string &callbackName) in SearchCallbackInfo() 102 void UpdateOnceFlag(CallbackInfo *callbackInfo, bool once) in UpdateOnceFlag() 142 callbackInfo = new (std::nothrow) CallbackInfo(); in OnOrOnce() 275 void ProcessCallback(const InnerEvent::Pointer& event, std::unordered_set<CallbackInfo *>& callbackInfos) in ProcessCallback() 283 CallbackInfo* callbackInfo = *iter; in ProcessCallback() 311 std::unordered_set<CallbackInfo *> callbackInfo in ProcessEvent() [all...] |
H A D | emitter.h | 31 struct CallbackInfo { struct 36 ~CallbackInfo();
|
/base/security/device_security_level/interfaces/inner_api/src/standard/ |
H A D | device_security_level_callback_helper.h | 49 struct CallbackInfo { struct in OHOS::Security::DeviceSecurityLevel::DeviceSecurityLevelCallbackHelper::final 64 std::map<uint32_t, CallbackInfo> map_;
|
H A D | device_security_level_callback_helper.cpp | 119 CallbackInfo info = {.identity = identity, .callback = callback, .cookie = cookie}; in PushCallback()
|
/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/ |
H A D | js_drag_manager.cpp | 90 sptr<CallbackInfo> monitor = new (std::nothrow) CallbackInfo(); in RegisterListener() 165 sptr<CallbackInfo> temp(static_cast<CallbackInfo*>(work->data)); in CallDragMsg()
|
/base/useriam/user_auth_framework/services/remote_connect/inc/ |
H A D | soft_bus_base_socket.h | 72 struct CallbackInfo { struct in OHOS::UserIam::UserAuth::BaseSocket 95 /* <messageSeq, CallbackInfo> */ 96 std::map<uint32_t, CallbackInfo> callbackMap_;
|
/base/time/time_service/framework/js/napi/system_timer/src/ |
H A D | napi_system_timer.cpp | 34 auto *callback = new (std::nothrow) CallbackInfo(callbackInfo_.env, callbackInfo_.ref); in ~ITimerInfoInstance() 44 auto *callback = reinterpret_cast<CallbackInfo *>(data); in Call() 52 delete static_cast<CallbackInfo *>(data); in Call()
|
/base/useriam/user_auth_framework/services/remote_connect/src/ |
H A D | soft_bus_base_socket.cpp | 64 CallbackInfo callbackInfo = { in InsertMsgCallback() 70 callbackMap_.insert(std::pair<int32_t, CallbackInfo>(messageSeq, callbackInfo)); in InsertMsgCallback()
|