Home
last modified time | relevance | path

Searched refs:ShareData (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/sharedata/
H A Dshare_data.cpp20 std::map<int32_t, std::shared_ptr<std::vector<uint8_t>>> ShareData::shareDataMap_;
21 std::mutex ShareData::shareDataMapMutex_;
23 void ShareData::InsertBuffer(int32_t bufferId, std::shared_ptr<std::vector<uint8_t>> dataArray) in InsertBuffer()
29 std::shared_ptr<std::vector<uint8_t>> ShareData::GetShareBufferById(int32_t id) in GetShareBufferById()
32 auto data = ShareData::shareDataMap_.find(id); in GetShareBufferById()
33 if (data != ShareData::shareDataMap_.end()) { in GetShareBufferById()
39 void ShareData::ReleaseShareBufferById(int32_t id) in ReleaseShareBufferById()
42 auto data = ShareData::shareDataMap_.find(id); in ReleaseShareBufferById()
43 if (data != ShareData::shareDataMap_.end()) { in ReleaseShareBufferById()
44 ShareData::shareDataMap_.erase(data); in ReleaseShareBufferById()
H A Dshare_data.h26 class ACE_EXPORT ShareData {
29 ShareData() = delete;
30 ~ShareData() = delete;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/sharedata/
H A Dsharedata_test.cpp57 ShareData::InsertBuffer(bufferId, dataArray);
58 std::shared_ptr<std::vector<uint8_t>> retData = ShareData::GetShareBufferById(bufferId);
66 ShareData::ReleaseShareBufferById(bufferId);
67 std::shared_ptr<std::vector<uint8_t>> retEraseData = ShareData::GetShareBufferById(bufferId);
74 … std::shared_ptr<std::vector<uint8_t>> retErrorData = ShareData::GetShareBufferById(errorBufferId);
81 ShareData::ReleaseShareBufferById(errorBufferId);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/sharedata/
H A Djs_share_data.cpp29 auto bufferPtr = ShareData::GetShareBufferById(bufferId); in JSShareData()
171 ShareData::ReleaseShareBufferById(this->id_); in ReleaseShareBufferById()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dlifecycle_deal.h64 void ShareData(const int32_t &uniqueId);
H A Dability_record.h955 void ShareData(const int32_t &uniqueId);
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dlifecycle_deal.cpp170 void LifecycleDeal::ShareData(const int32_t &uniqueId) in ShareData() function in OHOS::AAFwk::LifecycleDeal
H A Dability_record.cpp1673 void AbilityRecord::ShareData(const int32_t &uniqueId) in ShareData() function in OHOS::AAFwk::AbilityRecord
1683 lifecycleDeal_->ShareData(uniqueId); in ShareData()
H A Dability_manager_service.cpp10398 abilityRecord->ShareData(uniqueId_); in AcquireShareData()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_record_test/
H A Dability_record_test.cpp2691 abilityRecord->ShareData(uniqueId);