Lines Matching refs:newStatus
273 camera_device_status_t newStatus) {
274 ALOGI("%s: Status changed for cameraId=%d, newStatus=%d", __FUNCTION__,
275 cameraId, newStatus);
287 if (oldStatus == static_cast<ICameraServiceListener::Status>(newStatus)) {
288 ALOGE("%s: State transition to the same status %#x not allowed", __FUNCTION__, newStatus);
292 if (newStatus == CAMERA_DEVICE_STATUS_NOT_PRESENT) {
294 newStatus));
329 newStatus));
331 updateStatus(static_cast<ICameraServiceListener::Status>(newStatus), id);
337 ICameraServiceListener::TorchStatus newStatus) {
339 onTorchStatusChangedLocked(cameraId, newStatus);
343 ICameraServiceListener::TorchStatus newStatus) {
344 ALOGI("%s: Torch status changed for cameraId=%s, newStatus=%d",
345 __FUNCTION__, cameraId.string(), newStatus);
354 if (status == newStatus) {
358 res = setTorchStatusLocked(cameraId, newStatus);
360 ALOGE("%s: Failed to set the torch status", __FUNCTION__, (uint32_t)newStatus);
377 if (newStatus == ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON) {
383 if (newStatus == ICameraServiceListener::TORCH_STATUS_AVAILABLE_ON) {
395 i->onTorchStatusChanged(newStatus, String16{cameraId});