Lines Matching refs:newStatus
1499 CameraDeviceStatus newStatus) { in cameraDeviceStatusChange() argument
1509 deviceStatusToString(newStatus), deviceStatusToString(deviceInfo->mStatus)); in cameraDeviceStatusChange()
1510 deviceInfo->mStatus = newStatus; in cameraDeviceStatusChange()
1519 if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChange()
1524 addDevice(cameraDeviceName, newStatus, &id); in cameraDeviceStatusChange()
1525 } else if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChange()
1536 listener->onDeviceStatusChanged(String8(id.c_str()), newStatus); in cameraDeviceStatusChange()
1543 TorchModeStatus newStatus) { in torchModeStatusChange() argument
1552 torchStatusToString(newStatus)); in torchModeStatusChange()
1555 if (TorchModeStatus::AVAILABLE_ON != newStatus) { in torchModeStatusChange()
1563 mProviderName.c_str(), cameraDeviceName.c_str(), newStatus); in torchModeStatusChange()
1570 listener->onTorchStatusChanged(String8(id.c_str()), newStatus); in torchModeStatusChange()