Home
last modified time | relevance | path

Searched refs:onRegistration (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/
H A Ddistributed_mission_manager.cpp772 onCB->onRegistration = registrationOfOn; in OnExecuteCB()
773 if (onCB->onRegistration == nullptr) { in OnExecuteCB()
780 onCB->onRegistration->SetEnv(env); in OnExecuteCB()
781 …std::vector<std::shared_ptr<NativeReference>> vecCallback = onCB->onRegistration->GetOnCallbackCBR… in OnExecuteCB()
790 onCB->onRegistration-> in OnExecuteCB()
793 onCB->result = DmsSaClient::GetInstance().AddListener(onCB->type, onCB->onRegistration); in OnExecuteCB()
851 onCB->onRegistration = registrationOfOn; in OffExecuteCB()
852 onCB->onRegistration->DelOnCallbackCBRef(env, onCB->onCallbackCB.napiCallback); in OffExecuteCB()
853 if (!onCB->onRegistration->GetOnCallbackCBRef().empty()) { in OffExecuteCB()
856 DmsSaClient::GetInstance().DelListener(onCB->type, onCB->onRegistration); in OffExecuteCB()
H A Ddistributed_mission_manager.h159 sptr<NAPIRemoteOnListener> onRegistration; member