Lines Matching defs:Client

480     sp<Client> client;
486 client = static_cast<Client*>(mClient[cameraId].promote().get());
644 mBusy is set to false as the last step of the Client destructor,
645 after which it is guaranteed that the Client destructor has finished (
648 We only need this for a Client subclasses since we don't allow
664 sp<Client>& client,
753 sp<Client> client;
762 device = static_cast<Client*>(clientTmp.get());
816 sp<Client> client;
825 device = static_cast<Client*>(clientTmp.get());
1221 // Client::~Client() -> disconnect() -> removeClientByRemote().
1293 // may come in while the previous Client's destructor has not been run or is
1294 // still running. If the last strong reference of the previous Client is gone
1295 // but the destructor has not been finished, we should not allow the new Client
1296 // to be created because we need to wait for the previous Client to tear down
1360 CameraService::Client::Client(const sp<CameraService>& cameraService,
1373 LOG1("Client::Client E (pid %d, id %d)", callingPid, cameraId);
1380 LOG1("Client::Client X (pid %d, id %d)", callingPid, cameraId);
1384 CameraService::Client::~Client() {
1385 ALOGV("~Client");
1390 Client::disconnect();
1517 Mutex* CameraService::Client::getClientLockFromCookie(void* user) {
1521 // Provide client pointer for callbacks. Client lock returned from getClientLockFromCookie should
1523 CameraService::Client* CameraService::Client::getClientFromCookie(void* user) {
1526 Client* client = static_cast<Client*>(basicClient);
1528 // This could happen if the Client is in the process of shutting down (the
1539 void CameraService::Client::notifyError(ICameraDeviceCallbacks::CameraErrorCode errorCode,
1545 void CameraService::Client::disconnect() {
1546 ALOGV("Client::disconnect");
1551 CameraService::Client::OpsCallback::OpsCallback(wp<BasicClient> client):
1555 void CameraService::Client::OpsCallback::opChanged(int32_t op,
1692 result = String8::format(" Device is open. Client instance dump:\n");