Lines Matching refs:clientSp
1082 auto clientSp = current->getValue(); in handleEvictionsLocked() local
1083 if (clientSp.get() != nullptr) { // should never be needed in handleEvictionsLocked()
1084 if (!clientSp->canCastToApiClient(effectiveApiLevel)) { in handleEvictionsLocked()
1087 } else if (clientSp->getRemote() == remoteCallback) { in handleEvictionsLocked()
1090 *client = clientSp; in handleEvictionsLocked()
1142 sp<BasicClient> clientSp = clientDescriptor->getValue(); in handleEvictionsLocked() local
1171 sp<BasicClient> clientSp = i->getValue(); in handleEvictionsLocked() local
1172 if (clientSp.get() == nullptr) { in handleEvictionsLocked()
1190 i->getKey().string(), String8{clientSp->getPackageName()}.string(), in handleEvictionsLocked()
1196 … clientSp->notifyError(hardware::camera2::ICameraDeviceCallbacks::ERROR_CAMERA_DISCONNECTED, in handleEvictionsLocked()
1646 auto clientSp = i->getValue(); in removeByClient() local
1647 if (clientSp.get() == client) { in removeByClient()
1665 auto clientSp = i->getValue(); in evictClientIdByRemote() local
1666 if (clientSp.get() == nullptr) { in evictClientIdByRemote()
1671 if (remote == clientSp->getRemote() && (callingPid == servicePid || in evictClientIdByRemote()
1672 callingPid == clientSp->getClientPid())) { in evictClientIdByRemote()
1674 evicted.push_back(clientSp); in evictClientIdByRemote()
1677 clientSp->notifyError( in evictClientIdByRemote()
1832 auto clientSp = i->getValue(); in doUserSwitch() local
1834 if (clientSp.get() == nullptr) { in doUserSwitch()
1840 uid_t clientUid = clientSp->getClientUid(); in doUserSwitch()
1846 evicted.push_back(clientSp); in doUserSwitch()
1856 i->getKey().string(), String8{clientSp->getPackageName()}.string(), in doUserSwitch()
2402 auto clientSp = i->getValue(); in toString() local
2405 if (clientSp.get() != nullptr) { in toString()
2406 packageName = String8{clientSp->getPackageName()}; in toString()
2407 uid_t clientUid = clientSp->getClientUid(); in toString()
2413 if (clientSp.get() != nullptr) { in toString()