Searched refs:mgr (Results 1 – 6 of 6) sorted by relevance
30 static std::shared_ptr<DeviceCacheManager> mgr = nullptr; in GetInstance() local31 if (mgr == nullptr) { in GetInstance()32 mgr = std::make_shared<DeviceCacheManager>(); in GetInstance()33 if (mgr == nullptr) { in GetInstance()35 return mgr; in GetInstance()38 int32_t ret = mgr->Init(); in GetInstance()40 mgr = nullptr; in GetInstance()45 return mgr; in GetInstance()
101 BufferManager* mgr = BufferManager::GetInstance(); in CommitStream() local102 CHECK_IF_PTR_NULL_RETURN_VALUE(mgr, RC_ERROR); in CommitStream()105 poolId_ = mgr->GenerateBufferPoolId(); in CommitStream()107 bufferPool_ = mgr->GetBufferPool(poolId_); in CommitStream()612 BufferManager* mgr = BufferManager::GetInstance(); in ReleaseStreamBufferPool() local613 if (mgr != nullptr) { in ReleaseStreamBufferPool()614 mgr->EraseBufferPoolMapById(poolId_); in ReleaseStreamBufferPool()
26 const std::shared_ptr<OHOS::Codec::Omx::ComponentMgr> mgr, const std::string name) in CodecComponentService() argument30 mgr_ = mgr; in CodecComponentService()
71 …entNode(const sptr<ICodecCallback> &callbacks, int64_t appData, std::shared_ptr<ComponentMgr> &mgr) in ComponentNode() argument80 mgr_ = mgr; in ComponentNode()
28 … const std::shared_ptr<OHOS::Codec::Omx::ComponentMgr> mgr, const std::string name);
38 …ntNode(const sptr<ICodecCallback> &callbacks, int64_t appData, std::shared_ptr<ComponentMgr>& mgr);