Lines Matching refs:cameraId
127 onStatusChangedLocked(c.status, c.cameraId); in getCameraService()
187 const String8 &cameraId = pair.first; in binderDied() local
189 CameraServiceListener::STATUS_NOT_PRESENT, cameraId); in binderDied()
218 const String8& cameraId = pair.first; in registerAvailabilityCallback() local
226 msg->setString(kCameraIdKey, AString(cameraId)); in registerAvailabilityCallback()
287 AString cameraId; in onMessageReceived() local
298 found = msg->findString(kCameraIdKey, &cameraId); in onMessageReceived()
303 (*cb)(context, cameraId.c_str()); in onMessageReceived()
310 AString cameraId; in onMessageReceived() local
341 int32_t status, const String16& cameraId) { in onStatusChanged() argument
344 cm->onStatusChanged(status, String8(cameraId)); in onStatusChanged()
365 int32_t status, const String8& cameraId) { in onStatusChanged() argument
367 onStatusChangedLocked(status, cameraId); in onStatusChanged()
371 int32_t status, const String8& cameraId) { in onStatusChangedLocked() argument
377 bool firstStatus = (mDeviceStatusMap.count(cameraId) == 0); in onStatusChangedLocked()
380 mDeviceStatusMap[cameraId]; in onStatusChangedLocked()
389 mDeviceStatusMap[cameraId] = status; in onStatusChangedLocked()
396 msg->setString(kCameraIdKey, AString(cameraId)); in onStatusChangedLocked()
400 mDeviceStatusMap.erase(cameraId); in onStatusChangedLocked()
494 const char* cameraId, in openCamera() argument
498 camera_status_t ret = getCameraCharacteristics(cameraId, &chars); in openCamera()
502 __FUNCTION__, cameraId, ret); in openCamera()
506 ACameraDevice* device = new ACameraDevice(cameraId, callback, chars); in openCamera()
520 callbacks, String16(cameraId), String16(""), in openCamera()