Searched refs:clientToDisconnect (Results 1 – 1 of 1) sorted by relevance
295 sp<BasicClient> clientToDisconnect; in onDeviceStatusChanged() local308 clientToDisconnect = removeClientLocked(id); in onDeviceStatusChanged()311 clientToDisconnect->notifyError(ICameraDeviceCallbacks::ERROR_CAMERA_DISCONNECTED, in onDeviceStatusChanged()319 if (clientToDisconnect.get() != nullptr) { in onDeviceStatusChanged()323 clientToDisconnect->disconnect(); in onDeviceStatusChanged()