Home
last modified time | relevance | path

Searched refs:callbacksSync_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Denvironment_callback.cpp65 [thisWeakPtr, config, callbacks = callbacks_, callbacksSync = callbacksSync_] in OnConfigurationUpdated()
112 [thisWeakPtr, level, callbacks = callbacks_, callbacksSync = callbacksSync_] in OnMemoryLevel()
141callbacksSync_.emplace(callbackId, std::shared_ptr<NativeReference>(reinterpret_cast<NativeReferen… in Register()
152 auto it = callbacksSync_.find(callbackId); in UnRegister()
153 if (it == callbacksSync_.end()) { in UnRegister()
158 return callbacksSync_.erase(callbackId) == 1; in UnRegister()
171 return callbacks_.empty() && callbacksSync_.empty(); in IsEmpty()
H A Dability_lifecycle_callback.cpp86 CallJsMethodInnerCommon(methodName, ability, nullptr, callbacksSync_); in CallJsMethod()
99 CallJsMethodInnerCommon(methodName, ability, windowStage, callbacksSync_); in CallWindowStageJsMethod()
193callbacksSync_.emplace(callbackId, std::shared_ptr<NativeReference>(reinterpret_cast<NativeReferen… in Register()
204 auto it = callbacksSync_.find(callbackId); in UnRegister()
205 if (it == callbacksSync_.end()) { in UnRegister()
209 return callbacksSync_.erase(callbackId) == 1; in UnRegister()
263 return callbacks_.empty() && callbacksSync_.empty(); in IsEmpty()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Denvironment_callback.h71 std::map<int32_t, std::shared_ptr<NativeReference>> callbacksSync_; variable
H A Dability_lifecycle_callback.h268 std::map<int32_t, std::shared_ptr<NativeReference>> callbacksSync_; variable