Searched refs:ShareData (Results 1 – 10 of 10) sorted by relevance
20 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()
26 class ACE_EXPORT ShareData {29 ShareData() = delete;30 ~ShareData() = delete;
57 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);
29 auto bufferPtr = ShareData::GetShareBufferById(bufferId); in JSShareData()171 ShareData::ReleaseShareBufferById(this->id_); in ReleaseShareBufferById()
64 void ShareData(const int32_t &uniqueId);
955 void ShareData(const int32_t &uniqueId);
170 void LifecycleDeal::ShareData(const int32_t &uniqueId) in ShareData() function in OHOS::AAFwk::LifecycleDeal
1673 void AbilityRecord::ShareData(const int32_t &uniqueId) in ShareData() function in OHOS::AAFwk::AbilityRecord1683 lifecycleDeal_->ShareData(uniqueId); in ShareData()
10398 abilityRecord->ShareData(uniqueId_); in AcquireShareData()
2691 abilityRecord->ShareData(uniqueId);