Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/camera/
DEmulatedCameraFactory.cpp244 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()
DEmulatedCameraFactory.h147 void onStatusChanged(int cameraId, int newStatus);
149 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.cpp499 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()
DEmulatedCameraHotplugThread.cpp180 int newStatus = readFile(filePath); in threadLoop() local
182 if (newStatus < 0) { in threadLoop()
187 int halStatus = newStatus ? in threadLoop()
DEmulatedCameraFactory.h183 void onStatusChanged(int cameraId, int newStatus);