Lines Matching refs:BasicClient

403         sp<BasicClient> clientToDisconnectOnline, clientToDisconnectOffline;  in onDeviceStatusChanged()
491 void CameraService::disconnectClient(const String8& id, sp<BasicClient> clientToDisconnect) { in disconnectClient()
808 /*out*/sp<BasicClient>* client) { in makeClient()
1233 void CameraService::finishConnectLocked(const sp<BasicClient>& client, in finishConnectLocked()
1268 sp<BasicClient>* client, in handleEvictionsLocked()
1269 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial) { in handleEvictionsLocked()
1333 sp<BasicClient>{nullptr}, static_cast<int32_t>(state->getCost()), in handleEvictionsLocked()
1350 sp<BasicClient> clientSp = clientDescriptor->getValue(); in handleEvictionsLocked()
1386 sp<BasicClient> clientSp = i->getValue(); in handleEvictionsLocked()
1660 sp<BasicClient> clientTmp = nullptr; in connectHelper()
1661 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>> partial; in connectHelper()
1702 sp<BasicClient> tmp = nullptr; in connectHelper()
1782 status_t CameraService::addOfflineClient(String8 cameraId, sp<BasicClient> offlineClient) { in addOfflineClient()
2365 void CameraService::removeByClient(const BasicClient* client) { in removeByClient()
2384 std::vector<sp<BasicClient>> evicted; in evictClientIdByRemote()
2437 sp<CameraService::BasicClient> CameraService::removeClientLocked(const String8& cameraId) { in removeClientLocked()
2443 return sp<BasicClient>{nullptr}; in removeClientLocked()
2475 std::vector<sp<BasicClient>> evicted; in doUserSwitch()
2722 CameraService::BasicClient(cameraService, in Client()
2750 sp<CameraService> CameraService::BasicClient::BasicClient::sCameraService;
2752 CameraService::BasicClient::BasicClient(const sp<CameraService>& cameraService, in BasicClient() function in android::CameraService::BasicClient
2815 CameraService::BasicClient::~BasicClient() { in ~BasicClient()
2820 binder::Status CameraService::BasicClient::disconnect() { in disconnect()
2849 status_t CameraService::BasicClient::dump(int, const Vector<String16>&) { in dump()
2857 String16 CameraService::BasicClient::getPackageName() const { in getPackageName()
2862 int CameraService::BasicClient::getClientPid() const { in getClientPid()
2866 uid_t CameraService::BasicClient::getClientUid() const { in getClientUid()
2870 bool CameraService::BasicClient::canCastToApiClient(apiLevel level) const { in canCastToApiClient()
2875 status_t CameraService::BasicClient::setAudioRestriction(int32_t mode) { in setAudioRestriction()
2884 int32_t CameraService::BasicClient::getServiceAudioRestriction() const { in getServiceAudioRestriction()
2888 int32_t CameraService::BasicClient::getAudioRestriction() const { in getAudioRestriction()
2893 bool CameraService::BasicClient::isValidAudioRestriction(int32_t mode) { in isValidAudioRestriction()
2904 status_t CameraService::BasicClient::startCameraOps() { in startCameraOps()
2958 status_t CameraService::BasicClient::finishCameraOps() { in finishCameraOps()
3001 void CameraService::BasicClient::opChanged(int32_t op, const String16&) { in opChanged()
3028 void CameraService::BasicClient::block() { in block()
3058 return BasicClient::disconnect(); in disconnect()
3065 CameraService::Client::OpsCallback::OpsCallback(wp<BasicClient> client): in OpsCallback()
3071 sp<BasicClient> client = mClient.promote(); in opChanged()
3404 sp<CameraService::BasicClient>>& descriptor) { in onClientAdded()
3415 sp<CameraService::BasicClient>>& descriptor) { in onClientRemoved()
3435 sp<CameraService::BasicClient> CameraService::CameraClientManager::getCameraClient( in getCameraClient()
3439 return sp<BasicClient>{nullptr}; in getCameraClient()
3486 const String8& key, const sp<BasicClient>& value, int32_t cost, in makeClientDescriptor()
3494 return std::make_shared<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>( in makeClientDescriptor()
3499 const sp<BasicClient>& value, const CameraService::DescriptorPtr& partial) { in makeClientDescriptor()