Lines Matching refs:holder
61 std::shared_ptr<CasPlugin> holder(plugin); in init() local
62 std::atomic_store(&mPluginHolder, holder); in init()
81 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setPrivateData() local
82 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() local
94 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
109 if (holder.get() == nullptr) { in setSessionPrivateData()
112 return toStatus(holder->setSessionPrivateData(sessionId, pvtData)); in setSessionPrivateData()
118 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in closeSession() local
119 if (holder.get() == nullptr) { in closeSession()
122 return toStatus(holder->closeSession(sessionId)); in closeSession()
129 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in processEcm() local
130 if (holder.get() == nullptr) { in processEcm()
134 return toStatus(holder->processEcm(sessionId, ecm)); in processEcm()
139 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in processEmm() local
140 if (holder.get() == nullptr) { in processEmm()
144 return toStatus(holder->processEmm(emm)); in processEmm()
151 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in sendEvent() local
152 if (holder.get() == nullptr) { in sendEvent()
156 status_t err = holder->sendEvent(event, arg, eventData); in sendEvent()
162 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in provision() local
163 if (holder.get() == nullptr) { in provision()
167 return toStatus(holder->provision(String8(provisionString.c_str()))); in provision()
174 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in refreshEntitlements() local
175 if (holder.get() == nullptr) { in refreshEntitlements()
179 status_t err = holder->refreshEntitlements(refreshType, refreshData); in refreshEntitlements()
186 std::shared_ptr<CasPlugin> holder(nullptr); in release() local
187 std::atomic_store(&mPluginHolder, holder); in release()