Searched refs:newStatus (Results 1 – 6 of 6) sorted by relevance
/device/google/cuttlefish_common/guest/hals/camera/ |
D | EmulatedCameraFactory.cpp | 263 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()
|
D | EmulatedCameraFactory.h | 150 void onStatusChanged(int cameraId, int newStatus); 152 void onTorchModeStatusChanged(int cameraId, int newStatus);
|
D | EmulatedCameraHotplugThread.cpp | 177 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/ |
D | EmulatedCameraFactory.cpp | 547 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()
|
D | EmulatedCameraHotplugThread.cpp | 191 int newStatus = readFile(filePath); in threadLoop() local 193 if (newStatus < 0) { in threadLoop() 198 int halStatus = newStatus ? in threadLoop()
|
D | EmulatedCameraFactory.h | 182 void onStatusChanged(int cameraId, int newStatus);
|