Lines Matching refs:clientDescriptor
1169 auto clientDescriptor = mActiveClientManager.get(cameraId); in injectSessionParams() local
1170 if (clientDescriptor == nullptr) { in injectSessionParams()
1176 sp<BasicClient> clientSp = clientDescriptor->getValue(); in injectSessionParams()
1880 auto clientDescriptor = in finishConnectLocked() local
1883 auto evicted = mActiveClientManager.addAndEvict(clientDescriptor); in finishConnectLocked()
1919 DescriptorPtr clientDescriptor; in handleEvictionsLocked() local
1961 clientDescriptor = CameraClientManager::makeClientDescriptor(cameraId, in handleEvictionsLocked()
1997 clientDescriptor = CameraClientManager::makeClientDescriptor(cameraId, in handleEvictionsLocked()
2003 resource_policy::ClientPriority clientPriority = clientDescriptor->getPriority(); in handleEvictionsLocked()
2006 auto evicted = mActiveClientManager.wouldEvict(clientDescriptor); in handleEvictionsLocked()
2010 if (std::find(evicted.begin(), evicted.end(), clientDescriptor) != evicted.end()) { in handleEvictionsLocked()
2014 sp<BasicClient> clientSp = clientDescriptor->getValue(); in handleEvictionsLocked()
2017 mActiveClientManager.getIncompatibleClients(clientDescriptor); in handleEvictionsLocked()
2124 *partial = clientDescriptor; in handleEvictionsLocked()
2722 auto clientDescriptor = mActiveClientManager.get(mInjectionInternalCamId); in connectHelper() local
2723 if (clientDescriptor != nullptr) { in connectHelper()
2724 sp<BasicClient> clientSp = clientDescriptor->getValue(); in connectHelper()
3667 auto clientDescriptor = mActiveClientManager.get(mInjectionInternalCamId); in injectCamera() local
3671 if (clientDescriptor != nullptr) { in injectCamera()
3673 sp<BasicClient> clientSp = clientDescriptor->getValue(); in injectCamera()
5274 auto clientDescriptor = parent->mActiveClientManager.get(parent->mInjectionInternalCamId); in binderDied() local
5275 if (clientDescriptor != nullptr) { in binderDied()
5276 BasicClient* baseClientPtr = clientDescriptor->getValue().get(); in binderDied()
5297 auto clientDescriptor = parent->mActiveClientManager.get(parent->mInjectionInternalCamId); in stopInjection() local
5298 if (clientDescriptor != nullptr) { in stopInjection()
5299 BasicClient* baseClientPtr = clientDescriptor->getValue().get(); in stopInjection()
5342 auto clientDescriptor = mActiveClientManager.get(cameraId); in cacheDump() local
5343 if (clientDescriptor != nullptr) { in cacheDump()
5423 auto clientDescriptor = mActiveClientManager.get(cameraId); in dump() local
5424 if (clientDescriptor != nullptr) { in dump()
5514 auto clientDescriptor = mActiveClientManager.get(cameraId); in dumpOpenSessionClientLogs() local
5519 clientDescriptor->getPriority().getScore(), in dumpOpenSessionClientLogs()
5520 clientDescriptor->getPriority().getState()); in dumpOpenSessionClientLogs()
5521 dprintf(fd, " Client PID: %d\n", clientDescriptor->getOwnerId()); in dumpOpenSessionClientLogs()
5523 auto client = clientDescriptor->getValue(); in dumpOpenSessionClientLogs()
6274 for (const auto &clientDescriptor: cameraClients) { in startWatchingTags() local
6275 if (clientDescriptor == nullptr) { continue; } in startWatchingTags()
6276 sp<BasicClient> client = clientDescriptor->getValue(); in startWatchingTags()
6300 for (const auto &clientDescriptor : cameraClients) { in stopWatchingTags() local
6301 if (clientDescriptor == nullptr) { continue; } in stopWatchingTags()
6302 sp<BasicClient> client = clientDescriptor->getValue(); in stopWatchingTags()
6328 for (const auto &clientDescriptor: mActiveClientManager.getAll()) { in printWatchedTags() local
6329 if (clientDescriptor == nullptr) { continue; } in printWatchedTags()
6331 sp<BasicClient> client = clientDescriptor->getValue(); in printWatchedTags()
6344 const std::string &cameraId = clientDescriptor->getKey(); in printWatchedTags()
6498 for (const auto& clientDescriptor : cameraClients) { in printWatchedTagsUntilInterrupt() local
6500 if (clientDescriptor == nullptr) { continue; } in printWatchedTagsUntilInterrupt()
6502 sp<BasicClient> client = clientDescriptor->getValue(); in printWatchedTagsUntilInterrupt()
6515 clientDescriptor->getKey(), in printWatchedTagsUntilInterrupt()