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()
107 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in setSessionPrivateData() local
108 if (holder.get() == nullptr) { in setSessionPrivateData()
111 return toStatus(holder->setSessionPrivateData(sessionId, pvtData)); in setSessionPrivateData()
116 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in closeSession() local
117 if (holder.get() == nullptr) { in closeSession()
120 return toStatus(holder->closeSession(sessionId)); in closeSession()
126 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in processEcm() local
127 if (holder.get() == nullptr) { in processEcm()
131 return toStatus(holder->processEcm(sessionId, ecm)); in processEcm()
136 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in processEmm() local
137 if (holder.get() == nullptr) { in processEmm()
141 return toStatus(holder->processEmm(emm)); in processEmm()
148 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in sendEvent() local
149 if (holder.get() == nullptr) { in sendEvent()
153 status_t err = holder->sendEvent(event, arg, eventData); in sendEvent()
159 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in provision() local
160 if (holder.get() == nullptr) { in provision()
164 return toStatus(holder->provision(String8(provisionString.c_str()))); in provision()
171 std::shared_ptr<CasPlugin> holder = std::atomic_load(&mPluginHolder); in refreshEntitlements() local
172 if (holder.get() == nullptr) { in refreshEntitlements()
176 status_t err = holder->refreshEntitlements(refreshType, refreshData); in refreshEntitlements()
183 std::shared_ptr<CasPlugin> holder(nullptr); in release() local
184 std::atomic_store(&mPluginHolder, holder); in release()