Home
last modified time | relevance | path

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

/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 in ReleaseShareBufferById()
[all...]
H A Dshare_data.h26 class ACE_EXPORT ShareData { class
29 ShareData() = delete;
30 ~ShareData() = delete;
/foundation/arkui/ace_engine/test/unittest/core/common/sharedata/
H A Dsharedata_test.cpp57 ShareData::InsertBuffer(bufferId, dataArray); in HWTEST_F()
58 std::shared_ptr<std::vector<uint8_t>> retData = ShareData::GetShareBufferById(bufferId); in HWTEST_F()
66 ShareData::ReleaseShareBufferById(bufferId); in HWTEST_F()
67 std::shared_ptr<std::vector<uint8_t>> retEraseData = ShareData::GetShareBufferById(bufferId); in HWTEST_F()
74 std::shared_ptr<std::vector<uint8_t>> retErrorData = ShareData::GetShareBufferById(errorBufferId); in HWTEST_F()
81 ShareData::ReleaseShareBufferById(errorBufferId); in HWTEST_F()
/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()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dlifecycle_deal.h85 void ShareData(const int32_t &uniqueId);
H A Dability_record.h949 void ShareData(const int32_t &uniqueId);
/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.cpp1665 void AbilityRecord::ShareData(const int32_t &uniqueId) in ShareData() function in OHOS::AAFwk::AbilityRecord
1675 lifecycleDeal_->ShareData(uniqueId); in ShareData()
H A Dability_manager_service.cpp10080 abilityRecord->ShareData(uniqueId_); in AcquireShareData()
/foundation/ability/ability_runtime/test/unittest/ability_record_test/
H A Dability_record_test.cpp2821 * Function: ShareData
2822 * SubFunction: ShareData
2825 * CaseDescription: Verify AbilityRecord ShareData
2837 abilityRecord->ShareData(uniqueId); in HWTEST_F()

Completed in 33 milliseconds