Home
last modified time | relevance | path

Searched refs:newStatus (Results 1 – 6 of 6) sorted by relevance

/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedCameraFactory.cpp263 void EmulatedCameraFactory::onStatusChanged(int cameraId, int newStatus) { in onStatusChanged() argument
276 if (newStatus == cam->getHotplugStatus()) { in onStatusChanged()
283 cb->camera_device_status_change(cb, cameraId, newStatus); in onStatusChanged()
286 if (newStatus == CAMERA_DEVICE_STATUS_NOT_PRESENT) { in onStatusChanged()
288 } else if (newStatus == CAMERA_DEVICE_STATUS_PRESENT) { in onStatusChanged()
295 int newStatus) { in onTorchModeStatusChanged() argument
307 cb->torch_mode_status_change(cb, id, newStatus); in onTorchModeStatusChanged()
DEmulatedCameraFactory.h150 void onStatusChanged(int cameraId, int newStatus);
152 void onTorchModeStatusChanged(int cameraId, int newStatus);
DEmulatedCameraHotplugThread.cpp177 int newStatus = readFile(filePath); in threadLoop() local
179 if (newStatus < 0) { in threadLoop()
184 int halStatus = newStatus ? CAMERA_DEVICE_STATUS_PRESENT in threadLoop()
/device/generic/goldfish/camera/
DEmulatedCameraFactory.cpp547 void EmulatedCameraFactory::onStatusChanged(int cameraId, int newStatus) { in onStatusChanged() argument
560 if (newStatus == cam->getHotplugStatus()) { in onStatusChanged()
567 cb->camera_device_status_change(cb, cameraId, newStatus); in onStatusChanged()
570 if (newStatus == CAMERA_DEVICE_STATUS_NOT_PRESENT) { in onStatusChanged()
572 } else if (newStatus == CAMERA_DEVICE_STATUS_PRESENT) { in onStatusChanged()
DEmulatedCameraHotplugThread.cpp191 int newStatus = readFile(filePath); in threadLoop() local
193 if (newStatus < 0) { in threadLoop()
198 int halStatus = newStatus ? in threadLoop()
DEmulatedCameraFactory.h182 void onStatusChanged(int cameraId, int newStatus);