Lines Matching refs:holder

66     std::shared_ptr<CasPlugin> holder(plugin);  in init()  local
67 std::atomic_store(&mPluginHolder, holder); in init()
103 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setPrivateData() local
104 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() local
116 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
130 if (holder.get() == nullptr) { in setSessionPrivateData()
133 return toStatus(holder->setSessionPrivateData(sessionId, pvtData)); in setSessionPrivateData()
138 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in closeSession() local
139 if (holder.get() == nullptr) { in closeSession()
142 return toStatus(holder->closeSession(sessionId)); in closeSession()
147 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in processEcm() local
148 if (holder.get() == nullptr) { in processEcm()
152 return toStatus(holder->processEcm(sessionId, ecm)); in processEcm()
157 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in processEmm() local
158 if (holder.get() == nullptr) { in processEmm()
162 return toStatus(holder->processEmm(emm)); in processEmm()
167 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in sendEvent() local
168 if (holder.get() == nullptr) { in sendEvent()
172 status_t err = holder->sendEvent(event, arg, eventData); in sendEvent()
179 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in sendSessionEvent() local
180 if (holder.get() == nullptr) { in sendSessionEvent()
184 status_t err = holder->sendSessionEvent(sessionId, event, arg, eventData); in sendSessionEvent()
190 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in provision() local
191 if (holder.get() == nullptr) { in provision()
195 return toStatus(holder->provision(String8(provisionString.c_str()))); in provision()
200 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in refreshEntitlements() local
201 if (holder.get() == nullptr) { in refreshEntitlements()
205 status_t err = holder->refreshEntitlements(refreshType, refreshData); in refreshEntitlements()
212 std::shared_ptr<CasPlugin> holder(nullptr); in release() local
213 std::atomic_store(&mPluginHolder, holder); in release()