Skip to content

๐Ÿ› Torch does not work on CodeScannerย #2928

@P0diceps

Description

@P0diceps

What's happening?

I want to use the CodeScanner with the torch already activated but it doesn't work.
If I use a button to turn the torch on while using the Codescanner then it works but I would like to start the scanner with the torch already on.

Reproduceable Code

<Camera
        key={device.id}
        isActive={isActive}        
        torch="on"
        device={device}
        codeScanner={codeScanner}
        style={StyleSheet.absoluteFillObject}
        enableZoomGesture
      />

Relevant log output

05-31 12:12:46.049 12943 12943 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.inappreach.service.START dat=chimera-action: cmp=com.google.android.gms/.chimera.GmsApiService }
05-31 12:12:46.272  3444  3928 I WifiClientModeImpl: fetchRssiLinkSpeedAndFrequencyNative rssi=-63 TxLinkspeed=72 freq=2437 RxLinkSpeed=72
05-31 12:12:46.292  4283  4283 D CompatibilityChangeReporter: Compat change id reported: 150939131; UID 10134; state: DISABLED
05-31 12:12:46.292  4283  4283 D RegisterPublishData: in OnChange, selfChange = false
05-31 12:12:46.299  4283  4283 D RegisterPublishData: Publishing data for the uri
05-31 12:12:46.358  4283  4283 D DcaPublisher: Successfully registered and inserted the data
05-31 12:12:46.358  4283  4283 D RegisterPublishData: in OnChange, selfChange = false       
05-31 12:12:46.360  4283  4283 D RegisterPublishData: Publishing data for the uri
05-31 12:12:46.379  4283  4283 D DcaPublisher: Successfully registered and inserted the data
05-31 12:12:46.379  4283  4283 D RegisterPublishData: in OnChange, selfChange = false       
05-31 12:12:46.380  4283  4283 D RegisterPublishData: Publishing data for the uri
05-31 12:12:46.393  4283  4283 D DcaPublisher: Successfully registered and inserted the data
05-31 12:12:46.393  4283  4283 D RegisterPublishData: in OnChange, selfChange = false       
05-31 12:12:46.394  4283  4283 D RegisterPublishData: Publishing data for the uri
05-31 12:12:46.409  4283  4283 D DcaPublisher: Successfully registered and inserted the data
05-31 12:12:46.617  3444  4348 D BatteryService: level : 80 / status : 2/Health : 2/Decommission : 0
05-31 12:12:46.622  4508  4508 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
05-31 12:12:46.625  4283  4283 D com.symbol.dataanalytics.a.a.d.b: Received battery event
05-31 12:12:46.626  4283  4283 D com.symbol.dataanalytics.a.a.d.b: BatteryFactory event action = android.intent.action.BATTERY_CHANGED
05-31 12:12:46.629 21999 21999 D HighTemperatureReceiver: Receive action: android.intent.action.BATTERY_CHANGED 
05-31 12:12:46.633  5503  5503 I OSUService: handle_ab_resume -1 3
05-31 12:12:46.633  5503  5503 I OSUService: handle_ab_resume state 1 last_state 0
05-31 12:12:46.633  5503  5503 E OSUService: Can't resume - there are no update in suspended state
05-31 12:12:46.633  3999  3999 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
05-31 12:12:46.649  3999  3999 D KeyguardUpdateMonitor: handleBatteryUpdate
05-31 12:12:46.683 27691 27691 I CameraSession: Camera Lifecycle changed to CREATED!
05-31 12:12:46.685 27691 27691 I CameraView: Updating CameraSession...
05-31 12:12:46.708 27691 27691 I CameraView: Updating CameraSession...
05-31 12:12:46.709 27691 27691 I CameraSession: configure { ... }: Waiting for lock...
05-31 12:12:46.709 27691 27691 I CameraView: A new configure { ... } call arrived, aborting this one...
05-31 12:12:46.712 27691 27691 I CameraSession: configure { ... }: Waiting for lock...
05-31 12:12:46.712 27691 27691 I CameraView: A new configure { ... } call arrived, aborting this one...
05-31 12:12:46.712 27691 27691 I CameraSession: configure { ... }: Waiting for lock...
05-31 12:12:46.713 27691 27691 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true, locationChanged=true)
05-31 12:12:46.713 27691 27691 I CameraSession: Creating new Outputs for Camera #0...
05-31 12:12:46.713 27691 27691 I CameraSession: Using FPS Range: null
05-31 12:12:46.713 27691 27691 I CameraSession: Creating Preview output...
05-31 12:12:46.714 27691 27691 I CameraSession: Creating CodeScanner output...
05-31 12:12:46.715 27691 27691 I CameraSession: Successfully created new Outputs for Camera #0!
05-31 12:12:46.715 27691 27691 I CameraSession: Binding Camera #0...
05-31 12:12:46.716 27691 27691 I CameraSession: Binding 2 use-cases...
05-31 12:12:46.721 27691 27691 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
05-31 12:12:46.722 27691 27691 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
05-31 12:12:46.724 27691 31902 D TransportRuntime.SQLiteEventStore: Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
05-31 12:12:46.727 27691 27691 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
05-31 12:12:46.729 27691 27691 D DynamicRangeResolver: Resolved dynamic range for use case androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8 to no compatible HDR dynamic ranges.
05-31 12:12:46.729 27691 27691 D DynamicRangeResolver: DynamicRange@1862b5b{encoding=UNSPECIFIED, bitDepth=0}
05-31 12:12:46.729 27691 27691 D DynamicRangeResolver: ->
05-31 12:12:46.729 27691 27691 D DynamicRangeResolver: DynamicRange@ef64a6a{encoding=SDR, bitDepth=8}
05-31 12:12:46.731 27691 31902 D TransportRuntime.JobInfoScheduler: Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
05-31 12:12:46.732 27691 27691 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
05-31 12:12:46.733 27691 27691 D DeferrableSurface: Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.processing.SurfaceEdge$SettableSurface@446ddcf}
05-31 12:12:46.734 27691 27691 D DeferrableSurface: Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@bfd87eb}
05-31 12:12:46.735 27691 27691 D DeferrableSurface: New surface in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@bfd87eb}
05-31 12:12:46.735 27691 27691 D DeferrableSurface: use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@bfd87eb
05-31 12:12:46.736 27691 27691 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
05-31 12:12:46.741 27691 27691 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
05-31 12:12:46.742 27691 27691 D DeferrableSurface: Surface created[total_surfaces=3, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@b1911f4}
05-31 12:12:46.743 27691 27691 I CameraSession: Successfully bound Camera #0!
05-31 12:12:46.744 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Use case androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171 ACTIVE
05-31 12:12:46.744 27691 27691 I CameraSession: Camera Lifecycle changed to STARTED!
05-31 12:12:46.744 27691 27691 I CameraView: invokeOnStopped()
05-31 12:12:46.744 27691 27792 D UseCaseAttachState: Active and attached use case: [] for camera: 0
05-31 12:12:46.745 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Use case androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800 ACTIVE
05-31 12:12:46.745 27691 27792 D UseCaseAttachState: Active and attached use case: [] for camera: 0
05-31 12:12:46.746 27691 27691 I CameraSession: Camera State: CLOSED (has error: false)
05-31 12:12:46.746 27691 27691 I CameraSession: Camera Lifecycle changed to RESUMED!
05-31 12:12:46.746 27691 27691 I MetadataProvider: Stopping location updates...
05-31 12:12:46.746 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Use cases [androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171, androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800] now ATTACHED
05-31 12:12:46.746 27691 27691 I CameraSession: configure { ... }: Completed CameraSession Configuration! (State: RESUMED)
05-31 12:12:46.747 27691 27792 D UseCaseAttachState: All use case: [androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171, androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800] for camera: 0
05-31 12:12:46.747 27691 27792 D UseCaseAttachState: Active and attached use case: [androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171, androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800] for camera: 0
05-31 12:12:46.748 27691 27691 D PreviewView: Surface requested by Preview.
05-31 12:12:46.750 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Resetting Capture Session
05-31 12:12:46.750 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Releasing session in state INITIALIZED
05-31 12:12:46.750 27691 27691 D PreviewView: Preview transformation info updated. TransformationInfo{getCropRect=Rect(0, 0 - 1024, 768), getRotationDegrees=90, getTargetRotation=-1, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}
05-31 12:12:46.750 27691 27691 D PreviewTransform: Transformation info set: TransformationInfo{getCropRect=Rect(0, 0 - 1024, 768), getRotationDegrees=90, getTargetRotation=-1, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 1024x768 false
05-31 12:12:46.751 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Attempting to force open the camera.
05-31 12:12:46.751 27691 27792 D CameraStateRegistry: tryOpenCamera(Camera@470cb9[id=0]) [Available Cameras: 1, Already Open: false (Previous state: CLOSED)] --> SUCCESS
05-31 12:12:46.757 27691 27792 D CameraStateRegistry: Recalculating open cameras:
05-31 12:12:46.757 27691 27792 D CameraStateRegistry: Camera                                       State
05-31 12:12:46.757 27691 27792 D CameraStateRegistry: -------------------------------------------------------------------
05-31 12:12:46.757 27691 27792 D CameraStateRegistry: Camera@6895b7b[id=1]                         UNKNOWN
05-31 12:12:46.757 27691 27792 D CameraStateRegistry: Camera@470cb9[id=0]                          OPENING
05-31 12:12:46.757 27691 27792 D CameraStateRegistry: -------------------------------------------------------------------
05-31 12:12:46.757 27691 27792 D CameraStateRegistry: Open count: 1 (Max allowed: 1)
05-31 12:12:46.757 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Opening camera.
05-31 12:12:46.758 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING
05-31 12:12:46.758 27691 27792 D CameraStateMachine: New public camera state CameraState{type=OPENING, error=null} from OPENING and null
05-31 12:12:46.758 27691 27792 D CameraStateMachine: Publishing new public camera state CameraState{type=OPENING, error=null}
05-31 12:12:46.758 27691 27792 D UseCaseAttachState: All use case: [androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171, androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800] for camera: 0
05-31 12:12:46.759 27691 27691 I CameraSession: Camera State: OPENING (has error: false)
05-31 12:12:46.762 27691 27792 E libc    : Access denied finding property "persist.vendor.camera.privapp.list"
05-31 12:12:46.763  3048  2304 I CameraService: CameraService::connect call (PID -1 "package", camera ID 0) for HAL version default and Camera API version 2
05-31 12:12:46.763  3048  2304 I Camera2ClientBase: Camera 0: Opened. Client: package (PID 27691, UID 10276)
05-31 12:12:46.754 27691 27691 W CameraX-core_ca: type=1400 audit(0.0:276441): avc: denied { read } for name="u:object_r:vendor_persist_camera_prop:s0" dev="tmpfs" ino=1656 scontext=u:r:untrusted_app:s0:c20,c257,c512,c768 tcontext=u:object_r:vendor_persist_camera_prop:s0 tclass=file permissive=0 app=package
05-31 12:12:46.763  3048  2304 I CameraDeviceClient: CameraDeviceClient 0: Opened
05-31 12:12:46.774  3048  2304 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
05-31 12:12:46.775 27691 31980 E libc    : Access denied finding property "vendor.camera.aux.packagelist"
05-31 12:12:46.775 27691 31980 E libc    : Access denied finding property "vendor.camera.aux.packagelist"
05-31 12:12:46.776 27691 27782 I CameraDevices: Camera #0 is now unavailable.
05-31 12:12:46.764 27691 27691 W Binder:27691_5: type=1400 audit(0.0:276442): avc: denied { read } for name="u:object_r:vendor_persist_camera_prop:s0" dev="tmpfs" ino=1656 scontext=u:r:untrusted_app:s0:c20,c257,c512,c768 tcontext=u:object_r:vendor_persist_camera_prop:s0 tclass=file permissive=0 
app=package
05-31 12:12:46.806   712  3103 I QCamera : <HAL><INFO> cameraDeviceOpen: 407: Open camera id 0 API version 768
05-31 12:12:46.872   708   782 D audio_hw_primary: adev_set_parameters: enter: cameraFacing=back
05-31 12:12:47.015   712  3103 I QCamera : <HAL><INFO> QCamera3HardwareInterface: 576: AV timer enabled: 0
05-31 12:12:47.019   712  3103 I QCamera : <HAL><INFO> openCamera: 1010: [KPI Perf]: E PROFILE_OPEN_CAMERA camera id 0
05-31 12:12:47.019  3048  2304 I CameraProviderManager: Camera device [email protected]/legacy/0 torch status is now NOT_AVAILABLE
05-31 12:12:47.020  3048  2304 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
05-31 12:12:47.020   712  3103 D QCamera : Debug log file is not enabled
05-31 12:12:47.021   712  3103 I mm-camera: <MCT   >< INFO> 120: mct_controller_new: Creating new mct_controller with session-id 6
05-31 12:12:47.023   712  4632 I mm-camera: <ISP   >< INFO> 214: isp_module_start_session: session id 6
05-31 12:12:47.041   712  3103 I mm-camera: <MCT   >< INFO> 526: mct_stream_start_link: Start linking Session-stream 0x6000f
05-31 12:12:47.042   712  3103 I mm-camera: <ISP   >< INFO> 851: isp_port_check_caps_reserve: port 0xef2d8790 ide 6000f type 10 dim 0 0
05-31 12:12:47.042   712  3103 I mm-camera: <PPROC >< INFO> 449: pproc_port_add_modules_to_stream: in identity 6000f stream 10 int_link = 0xef2dd0b0
05-31 12:12:47.042   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods tmod and paaf for identity 6000f
05-31 12:12:47.042   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods paaf and ppeiscore for identity 6000f
05-31 12:12:47.043   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods ppeiscore and c2d for identity 6000f
05-31 12:12:47.043   712  3103 I mm-camera: <C2D   >< INFO> 1557: c2d_module_notify_add_stream: width 0, height 0, stride 0, scanline 0, is_type 0
05-31 12:12:47.043   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods c2d and cpp for identity 6000f
05-31 12:12:47.043   712  3103 I mm-camera: <CPP   >< INFO> 2536: cpp_module_notify_add_stream: :stream 10, width 0, height 0, stride 0,scanline 0, framelen 0
05-31 12:12:47.043   712  3103 I mm-camera: <CPP   >< INFO> 2693: cpp_module_notify_add_stream: : stream 10, fmt 1, asf_mode 0, sharpness_level 0.000000,asf mask 0, denoise 0, denoise_mask 0, dsdn mask 0,dsdn enable 0, tnr mask 0, tnr enable 0, ds_mask 0, luma dsdn 0
05-31 12:12:47.043   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods cpp and rtbdm for identity 6000f
05-31 12:12:47.043   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods rtbdm and depth_map for identity 6000f
05-31 12:12:47.058   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods depth_map and rtb for identity 6000f
05-31 12:12:47.059   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods rtb and ezt for identity 6000f
05-31 12:12:47.059   712  3103 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods ezt and quadracfa for identity 6000f
05-31 12:12:47.061   712  3103 E mm-camera: <STATS ><ERROR> 3027: stats_port_check_caps_reserve: Invalid Port capability type!
05-31 12:12:47.061   712  3103 I chatty  : uid=1047(cameraserver) HwBinder:712_4 identical 3 lines
05-31 12:12:47.061   712  3103 E mm-camera: <STATS ><ERROR> 3027: stats_port_check_caps_reserve: Invalid Port capability type!
05-31 12:12:47.064   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.065   718   800 I SDM     : ResourceImpl::SetMaxBandwidthMode: new bandwidth mode=1
05-31 12:12:47.054   712   712 W HwBinder:712_4: type=1400 audit(0.0:276444): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=1478 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
05-31 12:12:47.067   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.067   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.068   712  3103 I Thermal-Lib: Thermal-Lib-Client: Registration successful for camera with handle:1
05-31 12:12:47.068   712  3103 I Thermal-Lib: Thermal-Lib-Client: Registration successful for camcorder with handle:2
05-31 12:12:47.068   712  3103 I QCamera : <HAL><INFO> openCamera: 1038: [KPI Perf]: X PROFILE_OPEN_CAMERA camera id 0, rc: 0
05-31 12:12:47.068   712  3103 I QCamera : <HAL><INFO> initialize: 1299: E :mCameraId = 0 mState = 1
05-31 12:12:47.064   712   712 W HwBinder:712_4: type=1400 audit(0.0:276445): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=1478 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
05-31 12:12:47.068  5380  5489 I ThermalEngine: Thermal-Server: Adding thermal event listener on fd 41
05-31 12:12:47.068   712  4660 I Thermal-Lib: Thermal-Lib-Client: Client received msg camera 0
05-31 12:12:47.068   712  4660 I Thermal-Lib: Thermal-Lib-Client: Client received msg camcorder 0
05-31 12:12:47.069   712  3103 I QCamera : <HAL><INFO> initialize: 1325: X
05-31 12:12:47.069   712  3103 E libc    : Access denied finding property "ro.camera.req.fmq.size"
05-31 12:12:47.071   712  3103 E FMQ     : grantorIdx must be less than 3
05-31 12:12:47.071   712  3103 E libc    : Access denied finding property "ro.camera.res.fmq.size"
05-31 12:12:47.071   712  3103 E FMQ     : grantorIdx must be less than 3
05-31 12:12:47.072   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.074  3048  2304 E FMQ     : grantorIdx must be less than 3
05-31 12:12:47.074   712  4630 E mm-camera: s5k3l6_p24c64e_eeprom_get_calibration_items:22,Enter
05-31 12:12:47.074   712  4630 E mm-camera: s5k3l6_p24c64e_eeprom_get_calibration_items:36,is_wbc:1,is_afc:1,is_lsc:1,is_dpc:0,is_insensor:0,  is_ois:0
05-31 12:12:47.074   712  4630 E mm-camera: s5k3l6_p24c64e_eeprom_get_calibration_items:37,Exit
05-31 12:12:47.074  3048  2304 E FMQ     : grantorIdx must be less than 3
05-31 12:12:47.077   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.077   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.081 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Use case androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171 ACTIVE
05-31 12:12:47.082 27691 27792 D UseCaseAttachState: Active and attached use case: [androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171, androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800] for camera: 0
05-31 12:12:47.084 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Use case androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800 ACTIVE
05-31 12:12:47.084 27691 27792 D UseCaseAttachState: Active and attached use case: [androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171, androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800] for camera: 0
05-31 12:12:47.086 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} CameraDevice.onOpened()
05-31 12:12:47.086 27691 27792 D Camera2CameraImpl: {Camera@470cb9[id=0]} Transitioning camera internal state: OPENING --> OPENED
05-31 12:12:47.086 27691 27792 D CameraStateRegistry: Recalculating open cameras:
05-31 12:12:47.086 27691 27792 D CameraStateRegistry: Camera                                       State
05-31 12:12:47.086 27691 27792 D CameraStateRegistry: -------------------------------------------------------------------
05-31 12:12:47.086 27691 27792 D CameraStateRegistry: Camera@6895b7b[id=1]                         UNKNOWN
05-31 12:12:47.086 27691 27792 D CameraStateRegistry: Camera@470cb9[id=0]                          OPEN
05-31 12:12:47.086 27691 27792 D CameraStateRegistry: -------------------------------------------------------------------
05-31 12:12:47.086 27691 27792 D CameraStateRegistry: Open count: 1 (Max allowed: 1)
05-31 12:12:47.087 27691 27792 D CameraStateMachine: New public camera state CameraState{type=OPEN, error=null} from OPEN and null
05-31 12:12:47.087 27691 27792 D CameraStateMachine: Publishing new public camera state CameraState{type=OPEN, error=null}
05-31 12:12:47.087 27691 27691 I CameraSession: Camera State: OPEN (has error: false)
05-31 12:12:47.087 27691 27691 I CameraView: invokeOnInitialized()
05-31 12:12:47.087 27691 27792 D UseCaseAttachState: All use case: [androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171, androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800] for camera: 0
05-31 12:12:47.089 27691 27792 D UseCaseAttachState: Active and attached use case: [androidx.camera.core.Preview-21363c61-42e2-4b74-b37a-e11a098734e8183885171, androidx.camera.core.ImageAnalysis-9f7374a2-1099-4653-a8cb-8576805b6e93236618800] for camera: 0
05-31 12:12:47.122 27691 27691 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
05-31 12:12:47.134 27691 27691 D SurfaceViewImpl: Surface created.
05-31 12:12:47.135 27691 27691 D SurfaceViewImpl: Surface changed. Size: 1024x768
05-31 12:12:47.148 27691 27691 D SurfaceViewImpl: Surface set on Preview.
05-31 12:12:47.148 27691 27791 D SyncCaptureSessionBase: [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@98af4a2] getSurface done with results: [Surface(name=null)/@0x8974697, Surface(name=null)/@0x3ece06d]
05-31 12:12:47.149 27691 27791 D CaptureSession: Opening capture session.
05-31 12:12:47.151   712  1471 E CamComm1.0-MD: Mismatched tag type when updating entry enable (-2146762752) of type byte; got type int32 data instead
05-31 12:12:47.151   712  1471 E CamComm1.0-MD: Mismatched tag type when updating entry is_main (-2146762751) of type byte; got type int32 data instead
05-31 12:12:47.153 27691 27791 D SyncCaptureSessionImpl: [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@98af4a2] start openCaptureSession
05-31 12:12:47.153 27691 27791 D DeferrableSurface: use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@bfd87eb
05-31 12:12:47.153 27691 27791 D DeferrableSurface: New surface in use[total_surfaces=3, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@b1911f4}
05-31 12:12:47.153 27691 27791 D DeferrableSurface: use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@b1911f4
05-31 12:12:47.155  3048  2304 W CameraDeviceClient: createSurfaceFromGbp: Camera 0 with consumer usage flag: 2304: Forcing asynchronous mode for stream
05-31 12:12:47.155  3048  2304 W CameraDeviceClient: createSurfaceFromGbp: Camera 0: Overriding format 0x4 to IMPLEMENTATION_DEFINED
05-31 12:12:47.158   712  1471 I QCamera : <HAL><INFO> configureStreamsPerfLocked: 2397: stream[0] type = 0, format = 34, width = 1024, height = 768, rotation = 0, usage = 0x900
05-31 12:12:47.158   712  1471 I QCamera : <HAL><INFO> configureStreamsPerfLocked: 2397: stream[1] type = 0, format = 35, width = 1280, height = 720, rotation = 0, usage = 0x3
05-31 12:12:47.159   712  4616 I mm-camera: <MCT   >< INFO> 626: mct_stream_start_link: Link Metadata stream 0x60001: do nothing
05-31 12:12:47.163  3048  2304 D Camera3-Device: Set real time priority for request queue thread (tid 4665)
05-31 12:12:47.164 27691 27791 D SyncCaptureSessionImpl: [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@98af4a2] Session onConfigured()
05-31 12:12:47.164 27691 27791 D CaptureSession: Attempting to send capture request onConfigured
05-31 12:12:47.164 27691 27791 D CaptureSession: Issuing request for session.
05-31 12:12:47.164 27691 27791 D Camera2CaptureRequestBuilder: createCaptureRequest
05-31 12:12:47.167 27691 27791 D CaptureSession: CameraCaptureSession.onConfigured() mState=OPENED
05-31 12:12:47.167 27691 27791 D CaptureSession: CameraCaptureSession.onReady() OPENED
05-31 12:12:47.170 27691 27777 D qdgralloc: Imported handle: 0xb4000076d8496a90 id: 2002
05-31 12:12:47.170 27691 27777 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.171  3048  4665 D qdgralloc: Imported handle: 0xe8783b90 id: 2002
05-31 12:12:47.171  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.172   780  2205 D qdgralloc: Imported handle: 0xb40000771ef7bb80 id: 2003
05-31 12:12:47.172   780  2205 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.172  3048  4665 D qdgralloc: Imported handle: 0xe8784210 id: 2003
05-31 12:12:47.172  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.173   712  1471 D qdgralloc: Imported handle: 0xef581290 id: 2002
05-31 12:12:47.173   712  1471 D qdgralloc: Imported handle: 0xef583310 id: 2003
05-31 12:12:47.174   712  1471 I QCamera : <HAL><INFO> processCaptureRequest: 7359: STREAM INFO 0: type 1, wxh: 1024 x 768, pp_mask: 0x10100068e, Format:0 is_type: 0 sync_type 0
05-31 12:12:47.174   712  1471 I QCamera : <HAL><INFO> processCaptureRequest: 7359: STREAM INFO 0: type 5, wxh: 1280 x 720, pp_mask: 0x100068e, Format:0 is_type: 0 sync_type 0
05-31 12:12:47.174   712  1471 I QCamera : <HAL><INFO> processCaptureRequest: 7359: STREAM INFO 0: type 11, wxh: 640 x 480, pp_mask: 0x100068e, Format:0 is_type: 0 sync_type 0
05-31 12:12:47.175   712  4616 E mm-camera: <IMGLIB><ERROR> 322: module_depth_map_handle_ctrl_parm: E
05-31 12:12:47.175   712  4616 E mm-camera: <IMGLIB><ERROR> 430: module_depth_map_set_config_param: X
05-31 12:12:47.175   712  4616 E mm-camera: <IMGLIB><ERROR> 254: module_depth_map_send_config_data: CAM_STREAM_TYPE_DEPTH not set !!
05-31 12:12:47.175   712  4616 E mm-camera: <IMGLIB><ERROR> 369: module_depth_map_handle_ctrl_parm: Error module_depth_map_send_config_data
05-31 12:12:47.175   712  4616 E mm-camera: <IMGLIB><ERROR> 373: module_depth_map_handle_ctrl_parm: X
05-31 12:12:47.175   712  4616 E mm-camera: <IMGLIB><ERROR> 880: module_imgbase_process_param: [depth_map] handle_ctrl_parm error : type=10, rc=-5
05-31 12:12:47.175   712  4616 I mm-camera: <IFACE >< INFO> 6279: iface_util_set_dis_enable_flag: iface_util_set_dis_enable_flag:6279 DIS enable flag = 0
05-31 12:12:47.175   712  4616 I mm-camera: <SENSOR>< INFO> 4269: sensor_get_resolution_info: sensor info: name: s5k3l6, res: -1, max_fps: 0.000000, w: 0, h: 0 op pix clk: 0, FLL: 0, LLPCK: 0, mode: 0, PDAF support: 0
05-31 12:12:47.175   712  4616 I mm-camera: <C2D   >< INFO> 1970: c2d_module_handle_set_parm_event: META_STREAM_INFO type = 1 w x h : 1024 x 768 pp_mask = 0x100068e
05-31 12:12:47.175   712  4616 I mm-camera: <C2D   >< INFO> 1970: c2d_module_handle_set_parm_event: META_STREAM_INFO type = 5 w x h : 1280 x 720 pp_mask = 0x100068e
05-31 12:12:47.175   712  4616 I mm-camera: <C2D   >< INFO> 1970: c2d_module_handle_set_parm_event: META_STREAM_INFO type = 11 w x h : 640 x 480 pp_mask = 0x100068e
05-31 12:12:47.175   712  4616 I mm-camera: <ISP   >< INFO> 7155: isp_util_print_meta_stream_info: Stream type 1 Resolution: 1024x768 pp_mask: 0x100068e
05-31 12:12:47.175   712  4616 I mm-camera: <ISP   >< INFO> 7155: isp_util_print_meta_stream_info: Stream type 5 Resolution: 1280x720 pp_mask: 0x100068e
05-31 12:12:47.175   712  4616 I mm-camera: <ISP   >< INFO> 7155: isp_util_print_meta_stream_info: Stream type 11 Resolution: 640x480 pp_mask: 0x100068e
05-31 12:12:47.176   712  4616 I mm-camera: <ISP   >< INFO> 1179: isp_resource_reserve_isp: Allocate num_isp 1 for session 6 request_dual_isp 0
05-31 12:12:47.176   712  4616 I mm-camera: <ISP   >< INFO> 2654: isp_resource_allocate: INFO: ISP resource acquired: session 6 num_isp 1
05-31 12:12:47.176   712  4616 I mm-camera: <ISP   >< INFO> 2656: isp_resource_allocate: INFO: ISP resource acquired: hw_id 1
05-31 12:12:47.176   712  4616 I mm-camera: <ISP   >< INFO> 7001: isp_util_decide_stream_mapping: stream_port_map num streams 3
05-31 12:12:47.176   712  4616 I mm-camera: <ISP   >< INFO> 7015: isp_util_decide_stream_mapping: INFO: type 5 resolution 1280x720 hw_stream 1 need_native_buff 1 controllable_output 0 shared_output 0is_changed 0 changed_dim 1280x720
05-31 12:12:47.176   712  4616 I mm-camera: <ISP   >< INFO> 7015: isp_util_decide_stream_mapping: INFO: type 1 resolution 1024x768 hw_stream 0 need_native_buff 1 controllable_output 0 shared_output 0is_changed 0 changed_dim 1024x768
05-31 12:12:47.176   712  4616 I mm-camera: <ISP   >< INFO> 7015: isp_util_decide_stream_mapping: INFO: type 11 resolution 640x480 hw_stream 2 need_native_buff 1 controllable_output 0 shared_output 0is_changed 0 changed_dim 640x480
05-31 12:12:47.176   712  4616 I mm-camera: <ISP   >< INFO> 7626: isp_util_handle_stream_info: INFO: set VFE 1 in secure mode value 10200
05-31 12:12:47.178   712  4616 I mm-camera: <IFACE >< INFO> 6389: iface_util_handle_meta_stream_info: iface_util_handle_meta_stream_info: ms_type 0 num streams 3
05-31 12:12:47.178   712  4616 W mm-camera: <IFACE >< WARN> 2857: iface_util_modify_plane_info_for_native_buf: iface_util_modify_plane_info_for_native_buf: Invalid cam_format -2088533117
05-31 12:12:47.178   712  4616 W mm-camera: <IFACE >< WARN> 2892: iface_util_calculate_frame_length_for_native_buf: iface_util_calculate_frame_length_for_native_buf: returned fail=-1
05-31 12:12:47.178   712  4616 W mm-camera: <IFACE >< WARN> 2857: iface_util_modify_plane_info_for_native_buf: iface_util_modify_plane_info_for_native_buf: Invalid cam_format -2088533117
05-31 12:12:47.178   712  4616 W mm-camera: <IFACE >< WARN> 2892: iface_util_calculate_frame_length_for_native_buf: iface_util_calculate_frame_length_for_native_buf: returned fail=-1
05-31 12:12:47.178   712  4616 W mm-camera: <IFACE >< WARN> 2857: iface_util_modify_plane_info_for_native_buf: iface_util_modify_plane_info_for_native_buf: Invalid cam_format -2088533117
05-31 12:12:47.178   712  4616 W mm-camera: <IFACE >< WARN> 2892: iface_util_calculate_frame_length_for_native_buf: iface_util_calculate_frame_length_for_native_buf: returned fail=-1
05-31 12:12:47.179   712  4616 I mm-camera: <MCT   >< INFO> 501: mct_stream_start_link: Start linking preview stream 0x60002
05-31 12:12:47.179   712  4616 I mm-camera: <MCT   >< INFO> 512: mct_stream_start_link: non secure stream linking
05-31 12:12:47.180   712  4616 I mm-camera: <ISP   >< INFO> 851: isp_port_check_caps_reserve: port 0xef2d8790 ide 60002 type 1 dim 1024 768
05-31 12:12:47.180   712  4616 I mm-camera: <PPROC >< INFO> 449: pproc_port_add_modules_to_stream: in identity 60002 stream 1 int_link = 0xef2dc7b0
05-31 12:12:47.180   712  4616 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods tmod and paaf for identity 60002
05-31 12:12:47.181   712  4616 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods paaf and cpp for identity 60002
05-31 12:12:47.181   712  4616 I mm-camera: <CPP   >< INFO> 3712: cpp_module_util_update_dim: offset_x 0, offset_y 0, offset 0, meta_len 0,meta_scanline 0, meta_stride 0, plane_len 786432
05-31 12:12:47.181   712  4616 I mm-camera: <CPP   >< INFO> 3712: cpp_module_util_update_dim: offset_x 0, offset_y 0, offset 0, meta_len 0,meta_scanline 0, meta_stride 0, plane_len 397312
05-31 12:12:47.181   712  4616 I mm-camera: <CPP   >< INFO> 2536: cpp_module_notify_add_stream: :stream 1, width 1024, height 768, stride 1024,scanline 768, framelen 1183744
05-31 12:12:47.181   712  4616 I mm-camera: <CPP   >< INFO> 2693: cpp_module_notify_add_stream: : stream 1, fmt 7, asf_mode 0, sharpness_level 0.333333,asf mask 1, denoise 0, denoise_mask 1, dsdn mask 0,dsdn enable 0, tnr mask 0, tnr enable 0, ds_mask 1, luma dsdn 0
05-31 12:12:47.181   712  4616 W mm-camera: <IMGLIB>< WARN> 5728: faceproc_hw_comp_create: Library not loaded, handle=0x0, p_ops=0xefab903c
05-31 12:12:47.181   712  4616 W mm-camera: <IMGLIB>< WARN> 3899: module_faceproc_comp_create: create comp failed, eng_type=0
05-31 12:12:47.181   712  4616 W mm-camera: <IMGLIB>< WARN> 1060: faceproc_dsp_comp_create: fddsp stub library not loaded
05-31 12:12:47.181   712  4616 W mm-camera: <IMGLIB>< WARN> 3899: module_faceproc_comp_create: create comp failed, eng_type=1
05-31 12:12:47.185   712  4616 I mm-camera: <MCT   >< INFO> 546: mct_stream_start_link: Start linking callback stream 0x60003
05-31 12:12:47.185   712  4616 I mm-camera: <ISP   >< INFO> 851: isp_port_check_caps_reserve: port 0xef2d8790 ide 60003 type 5 dim 1280 720
05-31 12:12:47.187   712  4616 I mm-camera: <PPROC >< INFO> 449: pproc_port_add_modules_to_stream: in identity 60003 stream 5 int_link = 0xef2de4f0
05-31 12:12:47.187   712  4616 I mm-camera: <PPROC >< INFO> 461: pproc_port_add_modules_to_stream: :LINK linking mods tmod and cpp for identity 60003
05-31 12:12:47.187   712  4616 I mm-camera: <CPP   >< INFO> 3712: cpp_module_util_update_dim: offset_x 0, offset_y 0, offset 0, meta_len 0,meta_scanline 0, meta_stride 0, plane_len 983040
05-31 12:12:47.187   712  4616 I mm-camera: <CPP   >< INFO> 3712: cpp_module_util_update_dim: offset_x 0, offset_y 0, offset 0, meta_len 0,meta_scanline 0, meta_stride 0, plane_len 491520
05-31 12:12:47.187   712  4616 I mm-camera: <CPP   >< INFO> 2536: cpp_module_notify_add_stream: :stream 5, width 1280, height 720, stride 1280,scanline 768, framelen 1474560
05-31 12:12:47.187   712  4616 I mm-camera: <CPP   >< INFO> 2693: cpp_module_notify_add_stream: : stream 5, fmt 2, asf_mode 0, sharpness_level 0.333333,asf mask 1, denoise 0, denoise_mask 1, dsdn mask 0,dsdn enable 0, tnr mask 0, tnr enable 0, ds_mask 1, luma dsdn 0
05-31 12:12:47.190   712  4616 I mm-camera: <MCT   >< INFO> 612: mct_stream_start_link: Starting Analysis stream linking
05-31 12:12:47.190   712  4616 I mm-camera: <ISP   >< INFO> 851: isp_port_check_caps_reserve: port 0xef2d8790 ide 60004 type 11 dim 640 480
05-31 12:12:47.191   712  4616 I mm-camera: <PPROC >< INFO> 449: pproc_port_add_modules_to_stream: in identity 60004 stream 11 int_link = 0xef2dbeb0
05-31 12:12:47.208   712  4616 I mm-camera: <SENSOR>< INFO> 4269: sensor_get_resolution_info: sensor info: name: s5k3l6, res: 0, max_fps: 30.000000, w: 4208, h: 3120 op pix clk: 480000000, FLL: 3260, LLPCK: 4896, mode: 1, PDAF support: 1
05-31 12:12:47.209   712  4651 I mm-camera: <STATS_AEC >< INFO> 2730: aec_set_param: SHDR LIMITS: 0 0 (0 0) (0 0)
05-31 12:12:47.209   712  4616 I mm-camera: <CPP   >< INFO> 2395: cpp_module_handle_stream_cfg_event: frame_offset=3, input_fps=30.00, identity=0x6000f
05-31 12:12:47.209   712  4616 I mm-camera: <CPP   >< INFO> 2395: cpp_module_handle_stream_cfg_event: frame_offset=3, input_fps=30.00, identity=0x60002
05-31 12:12:47.209   712  4616 I mm-camera: <CPP   >< INFO> 2395: cpp_module_handle_stream_cfg_event: frame_offset=3, input_fps=30.00, identity=0x60003
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: img_algo_preload:126 : E
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: PresetConfig:498 : E
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: PresetConfig:502 : custom_cal_data  0
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: PresetConfig:503 : full_height  c30
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: PresetConfig:504 : full_width  1070
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: PresetConfig:505 : filter_arrangement  1
05-31 12:12:47.209   712  4616 E mm-camera: <SENSOR><ERROR> 7894: module_sensor_set_decode_format_based_on_pack_mode: Pack mode is 0
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: PresetConfig:506 : pedestal  40
05-31 12:12:47.209   712  1226 E quadracfa_dummy: inside dummy remosaic_init 1
05-31 12:12:47.209   712  1226 E quadracfa_dummy: inside dummy remosaic_gainmap_gen 1
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: PresetConfig:520 : X
05-31 12:12:47.209   712  1226 D QCameraQuadraCfa: img_algo_preload:128 : X
05-31 12:12:47.210   712  4616 E mm-camera: s5k3l6_p24c64e_eeprom_get_calibration_items:22,Enter
05-31 12:12:47.210   712  4616 E mm-camera: s5k3l6_p24c64e_eeprom_get_calibration_items:36,is_wbc:1,is_afc:1,is_lsc:1,is_dpc:0,is_insensor:0,  is_ois:0
05-31 12:12:47.210   712  4616 E mm-camera: s5k3l6_p24c64e_eeprom_get_calibration_items:37,Exit
05-31 12:12:47.212   712  4616 I mm-camera: <STATS_AF >< INFO> 227: parse_AF_chromatix: Zebra Focus Cust - Sensor ID 256, range = 11, factor = 36, saved_lens = 299, init_pos = 8
05-31 12:12:47.213   712  4616 E mm-camera: <IFACE ><ERROR> 2269: iface_util_set_chromatix: iface_util_set_chromatix:2269 failed: iface_hvx_open rc 0
05-31 12:12:47.213   712  4616 I mm-camera: <IFACE >< INFO> 429: iface_util_dump_sensor_cfg: iface_util_dump_sensor_cfg: sensor dim: width = 4208, heght = 3120, fmt = 28, is_bayer = 1, init_skip = 2
05-31 12:12:47.214   712  4651 E mm-camera: <STATS_AEC ><ERROR> 579: aec_led_cal_apply_calibration: Calibrate data size 0 not expected with tuning size: 0
05-31 12:12:47.219   712  4616 I mm-camera: <CPP   >< INFO> 3712: cpp_module_util_update_dim: offset_x 0, offset_y 0, offset 0, meta_len 0,meta_scanline 0, meta_stride 0, plane_len 786432
05-31 12:12:47.219   712  4616 I mm-camera: <CPP   >< INFO> 3712: cpp_module_util_update_dim: offset_x 0, offset_y 0, offset 0, meta_len 0,meta_scanline 0, meta_stride 0, plane_len 393216
05-31 12:12:47.219   712  4616 I mm-camera: <CPP   >< INFO> 1110: cpp_module_handle_isp_out_dim_event: [STREAM_PARAMS]  stream type 1, width 1024, height 768,stride 1024, scanline 768, planes 2
05-31 12:12:47.219   712  4616 I mm-camera: <CPP   >< INFO> 3712: cpp_module_util_update_dim: offset_x 0, offset_y 0, offset 0, meta_len 0,meta_scanline 0, meta_stride 0, plane_len 942080
05-31 12:12:47.219   712  4616 I mm-camera: <CPP   >< INFO> 3712: cpp_module_util_update_dim: offset_x 0, offset_y 0, offset 0, meta_len 0,meta_scanline 0, meta_stride 0, plane_len 471040
05-31 12:12:47.219   712  4616 I mm-camera: <CPP   >< INFO> 1110: cpp_module_handle_isp_out_dim_event: [STREAM_PARAMS]  stream type 5, width 1280, height 720,stride 1280, scanline 768, planes 2
05-31 12:12:47.220   712  4616 I mm-camera: <IFACE >< INFO> 4082: iface_create_axi: iface_create_axi:4082: Create axi hw for session 6 on VFE 1
05-31 12:12:47.222   712  4616 I mm-camera: <IFACE >< INFO> 10121: iface_util_io_cfg: dual_isp_sync enable = 0
05-31 12:12:47.225   712  4616 I mm-camera: <IFACE >< INFO> 1781: iface_streamon_to_thread: iface_streamon_to_thread: E, session id = 6, user stream id = 2
05-31 12:12:47.225   712  4634 I mm-camera: <IFACE >< INFO> 2128: iface_streamon: E, session_id 6 mct_stream_id = 2
05-31 12:12:47.225   712  4634 I mm-camera: <IFACE >< INFO> 12277: iface_util_get_user_streams_by_bundle: got No.1 bundled streamon, mct stream id 2total bundled stream num = 3
05-31 12:12:47.230   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.231   712  4616 I mm-camera: <CPP   >< INFO> 4746: cpp_module_handle_streamon_event: identity=0x60002, stream-on done
05-31 12:12:47.232   712  4616 I mm-camera: <IFACE >< INFO> 1810: iface_streamon_to_thread: iface_streamon_to_thread: X, session id = 6, user stream id = 2
05-31 12:12:47.232   712  4649 I mm-camera: <CPP   >< INFO> 374: cpp_hardware_set_clock: Set clock 540000000 BW avg 79626240 BW inst 79626240
05-31 12:12:47.233   712  4616 I mm-camera: <MCT   >< INFO> 156: start_sof_check_thread: Starting SOF timeout thread session id =6
05-31 12:12:47.234   712  4616 I mm-camera: <IFACE >< INFO> 1781: iface_streamon_to_thread: iface_streamon_to_thread: E, session id = 6, user stream id = 3
05-31 12:12:47.234   712  4634 I mm-camera: <IFACE >< INFO> 2128: iface_streamon: E, session_id 6 mct_stream_id = 3
05-31 12:12:47.234   712  4634 I mm-camera: <IFACE >< INFO> 12277: iface_util_get_user_streams_by_bundle: got No.2 bundled streamon, mct stream id 3total bundled stream num = 3
05-31 12:12:47.234   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.235   712  4616 I mm-camera: <CPP   >< INFO> 4746: cpp_module_handle_streamon_event: identity=0x60003, stream-on done
05-31 12:12:47.236   712  4616 I mm-camera: <IFACE >< INFO> 1810: iface_streamon_to_thread: iface_streamon_to_thread: X, session id = 6, user stream id = 3
05-31 12:12:47.236   712  4649 I mm-camera: <CPP   >< INFO> 374: cpp_hardware_set_clock: Set clock 540000000 BW avg 172938240 BW inst 172938240
05-31 12:12:47.237   712  4616 I mm-camera: <IFACE >< INFO> 1781: iface_streamon_to_thread: iface_streamon_to_thread: E, session id = 6, user stream id = 4
05-31 12:12:47.237   712  4634 I mm-camera: <IFACE >< INFO> 2128: iface_streamon: E, session_id 6 mct_stream_id = 4
05-31 12:12:47.237   712  4634 I mm-camera: <IFACE >< INFO> 12271: iface_util_get_user_streams_by_bundle: streamon, got all bundled streamon!
05-31 12:12:47.239   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.239   712  4656 I chatty  : uid=1047(cameraserver) CAM_GYRO identical 1 line
05-31 12:12:47.246   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.249   712  4634 I mm-camera: <IFACE >< INFO> 2421: iface_streamon: X
05-31 12:12:47.249   712  4616 I mm-camera: <IFACE >< INFO> 1810: iface_streamon_to_thread: iface_streamon_to_thread: X, session id = 6, user stream id = 4
05-31 12:12:47.252   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.252   712  4656 I chatty  : uid=1047(cameraserver) CAM_GYRO identical 1 line
05-31 12:12:47.253   712  4656 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.253 27691 27777 D qdgralloc: Imported handle: 0xb4000076d84b1a00 id: 2004
05-31 12:12:47.253 27691 27777 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.253  3048  4665 D qdgralloc: Imported handle: 0xe8785090 id: 2004
05-31 12:12:47.253  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.255   780  2205 D qdgralloc: Imported handle: 0xb40000771ef7be50 id: 2005
05-31 12:12:47.255   780  2205 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.255  3048  4665 D qdgralloc: Imported handle: 0xe8784110 id: 2005
05-31 12:12:47.255  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.256   712  1471 D qdgralloc: Imported handle: 0xef581310 id: 2004
05-31 12:12:47.256   712  1471 D qdgralloc: Imported handle: 0xef581790 id: 2005
05-31 12:12:47.258   712  4689 I mm-camera: <ISP   >< INFO> 1403: isp_handler_module_handle_reg_update:  Warning! Invalid reg_update state 0
05-31 12:12:47.260 27691 27777 D qdgralloc: Imported handle: 0xb4000076d8599d50 id: 2006
05-31 12:12:47.260 27691 27777 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.260  3048  4665 D qdgralloc: Imported handle: 0xe8784810 id: 2006
05-31 12:12:47.260  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.262   780  2205 D qdgralloc: Imported handle: 0xb40000771ef7bd30 id: 2007
05-31 12:12:47.262   780  2205 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.262   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.263  3048  4665 D qdgralloc: Imported handle: 0xe8781c90 id: 2007
05-31 12:12:47.263  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.264   712  1471 D qdgralloc: Imported handle: 0xef580d10 id: 2006
05-31 12:12:47.264   712  1471 D qdgralloc: Imported handle: 0xef581b10 id: 2007
05-31 12:12:47.269 27691 27777 D qdgralloc: Imported handle: 0xb4000076d85a6110 id: 2008
05-31 12:12:47.269 27691 27777 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.270  3048  4665 D qdgralloc: Imported handle: 0xe8783910 id: 2008
05-31 12:12:47.270  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.272   780  2205 D qdgralloc: Imported handle: 0xb40000771ef78100 id: 2009
05-31 12:12:47.272   780  2205 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.273  3048  4665 D qdgralloc: Imported handle: 0xe8784310 id: 2009
05-31 12:12:47.273  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.273   712  1471 D qdgralloc: Imported handle: 0xef580210 id: 2008
05-31 12:12:47.273   712  1471 D qdgralloc: Imported handle: 0xef583790 id: 2009
05-31 12:12:47.277 27691 27777 D qdgralloc: Imported handle: 0xb4000076d859f480 id: 2010
05-31 12:12:47.277 27691 27777 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.278  3048  4665 D qdgralloc: Imported handle: 0xe8784690 id: 2010
05-31 12:12:47.278  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.279   780  2205 D qdgralloc: Imported handle: 0xb40000771ef78610 id: 2011
05-31 12:12:47.279   780  2205 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.279  3048  4665 D qdgralloc: Imported handle: 0xe8784b10 id: 2011
05-31 12:12:47.279  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.280   712  1471 D qdgralloc: Imported handle: 0xef582890 id: 2010
05-31 12:12:47.280   712  1471 D qdgralloc: Imported handle: 0xef582f90 id: 2011
05-31 12:12:47.284 27691 27777 D qdgralloc: Imported handle: 0xb4000076d859dfb0 id: 2012
05-31 12:12:47.284 27691 27777 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.284  3048  4665 D qdgralloc: Imported handle: 0xe8784910 id: 2012
05-31 12:12:47.284  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.285   780  2205 D qdgralloc: Imported handle: 0xb40000771ef7bdc0 id: 2013
05-31 12:12:47.285   780  2205 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.286  3048  4665 D qdgralloc: Imported handle: 0xe8784510 id: 2013
05-31 12:12:47.286  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.287   712  1471 D qdgralloc: Imported handle: 0xef582490 id: 2012
05-31 12:12:47.287   712  1471 D qdgralloc: Imported handle: 0xef580c10 id: 2013
05-31 12:12:47.293   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.326   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.345   712  4646 E mm-camera: <STATS_AF ><ERROR> 4452: af_port_handle_pdaf_stats: Fail to init buf divert ack ctrl
05-31 12:12:47.361   712  4643 I mm-camera: <ISP   >< INFO> 245: ihist_stats46_stats_config_validate: warning: Invalid IHIST ROI from 3A 0 0 0 0
05-31 12:12:47.364   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.373  3444  3477 D WindowManager: updateSystemUiVisibilityLw called
05-31 12:12:47.385  5535  9653 E NfcService: setReaderMode() called while NFC is not enabled.
05-31 12:12:47.385   718 24951 D qdgralloc: Imported handle: 0xb400007bd90330c0 id: 2003
05-31 12:12:47.396   712  4649 I mm-camera: <CPP   >< INFO> 374: cpp_hardware_set_clock: Set clock 256000000 BW avg 172938240 BW inst 172938240
05-31 12:12:47.397 27691 27777 D qdgralloc: Imported handle: 0xb4000076d85a3b60 id: 2014
05-31 12:12:47.397 27691 27777 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.398  3048  4665 D qdgralloc: Imported handle: 0xe8782f90 id: 2014
05-31 12:12:47.398  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.400   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.405   780  2205 D qdgralloc: Imported handle: 0xb40000771ef7c090 id: 2015
05-31 12:12:47.405   780  2205 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.407  3048  4665 D qdgralloc: Imported handle: 0xe8784d90 id: 2015
05-31 12:12:47.407 27691 27791 D StreamStateObserver: Update Preview stream state to STREAMING
05-31 12:12:47.407  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.408 27691 27691 I CameraView: invokeOnStarted()
05-31 12:12:47.409   712  3103 D qdgralloc: Imported handle: 0xef580a10 id: 2014
05-31 12:12:47.409   712  3103 D qdgralloc: Imported handle: 0xef582c10 id: 2015
05-31 12:12:47.409   718  4703 D qdgralloc: Imported handle: 0xb400007bd9031bf0 id: 2016
05-31 12:12:47.419   718  4704 D qdgralloc: Imported handle: 0xb400007bd90336f0 id: 2017
05-31 12:12:47.429 27691 31980 D qdgralloc: Imported handle: 0xb4000076d85a75e0 id: 2018
05-31 12:12:47.429 27691 31980 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.430  3048  4665 D qdgralloc: Imported handle: 0xe8784f90 id: 2018
05-31 12:12:47.430  3048  4665 D qdgralloc: GetTransportSize: num fds: 2 num ints: 23 err:0
05-31 12:12:47.434   718 24951 D qdgralloc: Imported handle: 0xb400007bd9034d70 id: 2005
05-31 12:12:47.435   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.437   712  1471 D qdgralloc: Imported handle: 0xef580110 id: 2018
05-31 12:12:47.450   718 24951 D qdgralloc: Imported handle: 0xb400007bd90327c0 id: 2007
05-31 12:12:47.468   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.483   718 24951 D qdgralloc: Imported handle: 0xb400007bd90343e0 id: 2009
05-31 12:12:47.535   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.550   718 24951 D qdgralloc: Imported handle: 0xb400007bd9033ed0 id: 2011
05-31 12:12:47.595   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.617   718 24951 D qdgralloc: Imported handle: 0xb400007bd9033d20 id: 2013
05-31 12:12:47.666   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.683   718 24951 D qdgralloc: Imported handle: 0xb400007bd9034350 id: 2015
05-31 12:12:47.734   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:47.998   712  4617 I chatty  : uid=1047(cameraserver) CAM_MctBus_6 identical 4 lines
05-31 12:12:48.064   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:48.119 27691  4668 I CameraView: invokeOnAverageFpsChanged(0.0)
05-31 12:12:48.130   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:48.663   712  4617 I chatty  : uid=1047(cameraserver) CAM_MctBus_6 identical 8 lines
05-31 12:12:48.730   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:48.745   712  4652 I mm-camera: <STATS_AF >< INFO> 439: af_util_done: MainCamera=1 final lens pos 261
05-31 12:12:48.795   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:48.993   712  4617 I chatty  : uid=1047(cameraserver) CAM_MctBus_6 identical 3 lines
05-31 12:12:49.061   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:49.120 27691  4668 I CameraView: invokeOnAverageFpsChanged(0.0)
05-31 12:12:49.127   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:49.194   712  4617 I chatty  : uid=1047(cameraserver) CAM_MctBus_6 identical 2 lines
05-31 12:12:49.263   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-31 12:12:49.299  3444  3928 I WifiClientModeImpl: fetchRssiLinkSpeedAndFrequencyNative rssi=-62 TxLinkspeed=72 freq=2437 RxLinkSpeed=72
05-31 12:12:49.329   712  4617 E QMI_FW  : qmi_cci_get_ref: ref count increased 2

Camera Device

{
  "formats": [],
  "sensorOrientation": "landscape-left",
  "hardwareLevel": "limited",
  "maxZoom": 10,
  "minZoom": 1,
  "maxExposure": 4,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera",
    "wide-angle-camera",
    "ultra-wide-angle-camera",
    "telephoto-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "isMultiCam": true,
  "minFocusDistance": 10,
  "minExposure": -4,
  "name": "0 (BACK) androidx.camera.camera2",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device

Huawei P30 Pro

VisionCamera Version

4.0.5

Can you reproduce this issue in the VisionCamera Example app?

I didn't try (โš ๏ธ your issue might get ignored & closed if you don't try this)

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions