Searched refs:holder (Results 1 – 9 of 9) 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()107 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setSessionPrivateData() local[all …]
67 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in setMediaCasSession() local68 if (holder.get() == nullptr) { in setMediaCasSession()72 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()77 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in requiresSecureDecoderComponent() local78 if (holder.get() == nullptr) { in requiresSecureDecoderComponent()82 return holder->requiresSecureDecoderComponent(mime.c_str()); in requiresSecureDecoderComponent()172 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in descramble() local173 if (holder.get() == nullptr) { in descramble()182 int32_t result = holder->descramble( in descramble()193 holder.reset(); in descramble()[all …]
71 shared_ptr<CasPlugin> holder(plugin); in init() local72 atomic_store(&mPluginHolder, holder); in init()115 shared_ptr<CasPlugin> holder = atomic_load(&mPluginHolder); in setPluginStatusUpdateCallback() local116 if (holder.get() == nullptr) { in setPluginStatusUpdateCallback()119 return toStatus(holder->setStatusCallback(&CasImpl::StatusUpdate)); in setPluginStatusUpdateCallback()124 shared_ptr<CasPlugin> holder = atomic_load(&mPluginHolder); in setPrivateData() local125 if (holder.get() == nullptr) { in setPrivateData()128 return toStatus(holder->setPrivateData(pvtData)); in setPrivateData()134 shared_ptr<CasPlugin> holder = atomic_load(&mPluginHolder); in openSessionDefault() local136 if (holder.get() != nullptr) { in openSessionDefault()[all …]
59 shared_ptr<DescramblerPlugin> holder = atomic_load(&mPluginHolder); in setMediaCasSession() local60 if (holder.get() == nullptr) { in setMediaCasSession()64 return toStatus(holder->setMediaCasSession(in_sessionId)); in setMediaCasSession()69 shared_ptr<DescramblerPlugin> holder = atomic_load(&mPluginHolder); in requiresSecureDecoderComponent() local70 if (holder.get() == nullptr) { in requiresSecureDecoderComponent()74 *_aidl_return = holder->requiresSecureDecoderComponent(in_mime.c_str()); in requiresSecureDecoderComponent()162 shared_ptr<DescramblerPlugin> holder = atomic_load(&mPluginHolder); in descramble() local163 if (holder.get() == nullptr) { in descramble()171 holder->descramble(dstBuffer.getTag() != DestinationBuffer::Tag::nonsecureMemory, in descramble()176 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(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 …]
823 3. Neither the name of the copyright holder nor the names of its contributors may be used to endors…