Home | History | Annotate | Download | only in libcameraservice

Lines Matching full:newstatus

300         camera_device_status_t newStatus) {
301 ALOGI("%s: Status changed for cameraId=%d, newStatus=%d", __FUNCTION__,
302 cameraId, newStatus);
314 if (oldStatus == static_cast<int32_t>(newStatus)) {
315 ALOGE("%s: State transition to the same status %#x not allowed", __FUNCTION__, newStatus);
319 if (newStatus == CAMERA_DEVICE_STATUS_NOT_PRESENT) {
321 newStatus));
357 newStatus));
359 updateStatus(static_cast<int32_t>(newStatus), id);
365 int32_t newStatus) {
367 onTorchStatusChangedLocked(cameraId, newStatus);
371 int32_t newStatus) {
372 ALOGI("%s: Torch status changed for cameraId=%s, newStatus=%d",
373 __FUNCTION__, cameraId.string(), newStatus);
382 if (status == newStatus) {
386 res = setTorchStatusLocked(cameraId, newStatus);
389 (uint32_t)newStatus, strerror(-res), res);
406 if (newStatus == ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON) {
412 if (newStatus == ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON) {
424 i->onTorchStatusChanged(newStatus, String16{cameraId});