Searched refs:newStatus (Results 1 – 6 of 6) sorted by relevance
/device/google/cuttlefish/guest/hals/camera/ |
D | EmulatedCameraFactory.cpp | 244 void EmulatedCameraFactory::onStatusChanged(int cameraId, int newStatus) { in onStatusChanged() argument 256 if (newStatus == cam->getHotplugStatus()) { in onStatusChanged() 263 cb->camera_device_status_change(cb, cameraId, newStatus); in onStatusChanged() 266 if (newStatus == CAMERA_DEVICE_STATUS_NOT_PRESENT) { in onStatusChanged() 268 } else if (newStatus == CAMERA_DEVICE_STATUS_PRESENT) { in onStatusChanged() 274 int newStatus) { in onTorchModeStatusChanged() argument 285 cb->torch_mode_status_change(cb, id, newStatus); in onTorchModeStatusChanged()
|
D | EmulatedCameraFactory.h | 147 void onStatusChanged(int cameraId, int newStatus); 149 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 | 499 void EmulatedCameraFactory::onStatusChanged(int cameraId, int newStatus) { in onStatusChanged() argument 512 if (newStatus == cam->getHotplugStatus()) { in onStatusChanged() 519 cb->camera_device_status_change(cb, cameraId, newStatus); in onStatusChanged() 522 if (newStatus == CAMERA_DEVICE_STATUS_NOT_PRESENT) { in onStatusChanged() 524 } else if (newStatus == CAMERA_DEVICE_STATUS_PRESENT) { in onStatusChanged()
|
D | EmulatedCameraHotplugThread.cpp | 180 int newStatus = readFile(filePath); in threadLoop() local 182 if (newStatus < 0) { in threadLoop() 187 int halStatus = newStatus ? in threadLoop()
|
D | EmulatedCameraFactory.h | 183 void onStatusChanged(int cameraId, int newStatus);
|