Lines Matching refs:holder
64 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in setMediaCasSession() local
65 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() local
74 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() local
164 if (holder.get() == nullptr) { in descramble()
173 holder->descramble(dstBuffer.type != BufferType::SHARED_MEMORY, in descramble()
178 holder.reset(); in descramble()
186 std::shared_ptr<DescramblerPlugin> holder(nullptr); in release() local
187 std::atomic_store(&mPluginHolder, holder); in release()