Lines Matching refs:owner
86 const std::weak_ptr<TranscodingClientManager>& owner);
108 const std::string& opPackageName, const std::weak_ptr<TranscodingClientManager>& owner) in ClientImpl() argument
116 mOwner(owner) {} in ClientImpl()
123 std::shared_ptr<TranscodingClientManager> owner; in submitRequest() local
124 if (mAbandoned || (owner = mOwner.lock()) == nullptr) { in submitRequest()
143 } else if (in_clientUid != callingUid && !owner->isTrustedCaller(callingPid, callingUid)) { in submitRequest()
159 } else if (in_clientPid != callingPid && !owner->isTrustedCaller(callingPid, callingUid)) { in submitRequest()
171 *_aidl_return = owner->mSessionController->submit(mClientId, sessionId, callingUid, in submitRequest()
189 std::shared_ptr<TranscodingClientManager> owner; in cancelSession() local
190 if (mAbandoned || (owner = mOwner.lock()) == nullptr) { in cancelSession()
198 *_aidl_return = owner->mSessionController->cancel(mClientId, in_sessionId); in cancelSession()
207 std::shared_ptr<TranscodingClientManager> owner; in getSessionWithId() local
208 if (mAbandoned || (owner = mOwner.lock()) == nullptr) { in getSessionWithId()
217 owner->mSessionController->getSession(mClientId, in_sessionId, &out_session->request); in getSessionWithId()
231 std::shared_ptr<TranscodingClientManager> owner; in addClientUid() local
232 if (mAbandoned || (owner = mOwner.lock()) == nullptr) { in addClientUid()
248 } else if (in_clientUid != callingUid && !owner->isTrustedCaller(callingPid, callingUid)) { in addClientUid()
258 *_aidl_return = owner->mSessionController->addClientUid(mClientId, in_sessionId, in_clientUid); in addClientUid()
266 std::shared_ptr<TranscodingClientManager> owner; in getClientUids() local
267 if (mAbandoned || (owner = mOwner.lock()) == nullptr) { in getClientUids()
277 if (owner->mSessionController->getClientUids(mClientId, in_sessionId, &result)) { in getClientUids()
286 std::shared_ptr<TranscodingClientManager> owner; in unregister() local
287 if (abandoned || (owner = mOwner.lock()) == nullptr) { in unregister()
292 owner->mSessionController->cancel(mClientId, -1); in unregister()
293 owner->removeClient(mClientId); in unregister()