Lines Matching refs:holder
68 std::shared_ptr<DescramblerPlugin> holder = std::atomic_load(&mPluginHolder); in setMediaCasSession() local
69 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() local
79 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() local
174 if (holder.get() == nullptr) { in descramble()
183 int32_t result = holder->descramble( in descramble()
194 holder.reset(); in descramble()
202 std::shared_ptr<DescramblerPlugin> holder(nullptr); in release() local
203 std::atomic_store(&mPluginHolder, holder); in release()