Searched refs:holder (Results 1 – 7 of 7) sorted by relevance
61 std::shared_ptr<CasPlugin> holder(plugin); in init() local62 std::atomic_store(&mPluginHolder, holder); in init()81 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setPrivateData() local82 if (holder.get() == nullptr) { in setPrivateData()85 return toStatus(holder->setPrivateData(pvtData)); in setPrivateData()92 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in openSession() local94 if (holder.get() != nullptr) { in openSession()95 err = holder->openSession(&sessionId); in openSession()96 holder.reset(); in openSession()108 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setSessionPrivateData() local[all …]
68 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in setMediaCasSession() local69 if (holder.get() == nullptr) { in setMediaCasSession()73 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()78 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in requiresSecureDecoderComponent() local79 if (holder.get() == nullptr) { in requiresSecureDecoderComponent()83 return holder->requiresSecureDecoderComponent(String8(mime.c_str())); in requiresSecureDecoderComponent()173 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in descramble() local174 if (holder.get() == nullptr) { in descramble()183 int32_t result = holder->descramble( in descramble()194 holder.reset(); in descramble()[all …]
77 std::shared_ptr<CasPlugin> holder(plugin); in init() local78 std::atomic_store(&mPluginHolder, holder); in init()125 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setPluginStatusUpdateCallback() local126 if (holder.get() == nullptr) { in setPluginStatusUpdateCallback()129 return toStatus(holder->setStatusCallback(&CasImpl::StatusUpdate)); in setPluginStatusUpdateCallback()134 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setPrivateData() local135 if (holder.get() == nullptr) { in setPrivateData()138 return toStatus(holder->setPrivateData(pvtData)); in setPrivateData()145 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in openSession() local147 if (holder.get() != nullptr) { in openSession()[all …]
64 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in setMediaCasSession() local65 if (holder.get() == nullptr) { in setMediaCasSession()69 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()73 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in requiresSecureDecoderComponent() local74 if (holder.get() == nullptr) { in requiresSecureDecoderComponent()78 return holder->requiresSecureDecoderComponent(String8(mime.c_str())); in requiresSecureDecoderComponent()163 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in descramble() local164 if (holder.get() == nullptr) { in descramble()173 holder->descramble(dstBuffer.type != BufferType::SHARED_MEMORY, in descramble()178 holder.reset(); in descramble()[all …]
66 std::shared_ptr<CasPlugin> holder(plugin); in init() local67 std::atomic_store(&mPluginHolder, holder); in init()103 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setPrivateData() local104 if (holder.get() == nullptr) { in setPrivateData()107 return toStatus(holder->setPrivateData(pvtData)); in setPrivateData()114 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in openSession() local116 if (holder.get() != nullptr) { in openSession()117 err = holder->openSession(&sessionId); in openSession()118 holder.reset(); in openSession()129 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setSessionPrivateData() local[all …]
620 std::unique_ptr<const C2GraphicView> holder; in Allocate() local641 holder = std::move(view); in Allocate()