shiyinghan / UVCAndroid

Apache License 2.0
216 stars 58 forks source link

MULTI CAMERA 运行报错 #4

Open zwp85 opened 2 years ago

zwp85 commented 2 years ago

两路摄像头,只能打开一路摄像头,打开另外一路摄像头奔溃; 用demo-release.apk,可以打开两路,以下是奔溃信息.

2022-07-22 11:15:58.188 5380-5380/com.herohan.uvcdemo E/AndroidRuntime: FATAL EXCEPTION: main Process: com.herohan.uvcdemo, PID: 5380 java.lang.NullPointerException: Attempt to invoke interface method 'void com.herohan.uvcapp.ICameraHelper.startPreview()' on a null object reference at com.herohan.uvcdemo.MultiCameraActivity$3.onCameraOpen(MultiCameraActivity.java:208) at com.herohan.uvcapp.CameraHelper$StateCallbackWrapper.lambda$onCameraOpen$2$com-herohan-uvcapp-CameraHelper$StateCallbackWrapper(CameraHelper.java:577) at com.herohan.uvcapp.CameraHelper$StateCallbackWrapper$$ExternalSyntheticLambda2.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7870) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

shiyinghan commented 2 years ago

把完整的logcat日志发过来吧,我分析一下原因,单纯看崩溃信息也不好找问题的根源

------------------ 原始邮件 ------------------ 发件人: "shiyinghan/UVCAndroid" @.>; 发送时间: 2022年7月22日(星期五) 中午11:27 @.>; @.***>; 主题: [shiyinghan/UVCAndroid] MULTI CAMERA 运行报错 (Issue #4)

两路摄像头,只能打开一路摄像头,打开另外一路摄像头奔溃; 用demo-release.apk,可以打开两路,以下是奔溃信息.

2022-07-22 11:15:58.188 5380-5380/com.herohan.uvcdemo E/AndroidRuntime: FATAL EXCEPTION: main Process: com.herohan.uvcdemo, PID: 5380 java.lang.NullPointerException: Attempt to invoke interface method 'void com.herohan.uvcapp.ICameraHelper.startPreview()' on a null object reference at com.herohan.uvcdemo.MultiCameraActivity$3.onCameraOpen(MultiCameraActivity.java:208) at com.herohan.uvcapp.CameraHelper$StateCallbackWrapper.lambda$onCameraOpen$2$com-herohan-uvcapp-CameraHelper$StateCallbackWrapper(CameraHelper.java:577) at com.herohan.uvcapp.CameraHelper$StateCallbackWrapper$$ExternalSyntheticLambda2.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7870) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

zwp85 commented 2 years ago

2022-07-22 13:14:37.088 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:14:38.459 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:14:40.093 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:14:41.472 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:14:43.098 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:14:44.484 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:14:46.103 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:14:47.493 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:14:49.109 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:14:50.504 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:14:52.117 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:14:53.516 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:14:55.121 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:14:56.530 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:14:58.127 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:14:59.541 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:01.131 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:02.553 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:04.137 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:05.567 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:07.141 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:08.580 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:10.148 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:11.593 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:12.850 762-1681/com.android.bluetooth E/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:1035 bta_dm_pm_btm_status: Received unknown power mode status event:5 2022-07-22 13:15:13.153 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:13.310 423-1357/? E/rtk_parse: rtk_cmd_complete_cback, transmit_command Opcode:fc51 2022-07-22 13:15:13.651 13843-14003/com.herohan.uvcdemo E/libUVCCamera: [14003UVCPreview.cpp:546:prepare_preview]:could not negotiate with camera:err=-51 2022-07-22 13:15:14.605 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:15.886 606-1378/system_process E/TaskPersister: File error accessing recents directory (directory doesn't exist?). 2022-07-22 13:15:16.156 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:16.324 762-1681/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: bta_av_str_stopped: peer e8:07:bf:1c:44:c9 bta_handle:0x41 audio_open_cnt:1, p_data 0xb40000752a4e9d18 start:1 2022-07-22 13:15:16.369 762-7787/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: btif_a2dp_command_ack: warning : no command pending, ignore ack 2022-07-22 13:15:17.616 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:19.157 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:19.196 423-1357/? E/rtk_parse: rtk_cmd_complete_cback, transmit_command Opcode:fc51 2022-07-22 13:15:20.627 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:20.982 13843-14041/com.herohan.uvcdemo E/libUVCCamera: [14041UVCPreview.cpp:546:prepare_preview]:could not negotiate with camera:err=-51 2022-07-22 13:15:22.161 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:23.636 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:23.690 762-1681/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: bta_av_str_stopped: peer e8:07:bf:1c:44:c9 bta_handle:0x41 audio_open_cnt:1, p_data 0xb40000752a4ea8b8 start:1 2022-07-22 13:15:23.744 762-7787/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: btif_a2dp_command_ack: warning : no command pending, ignore ack 2022-07-22 13:15:25.164 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:25.746 13843-13843/com.herohan.uvcdemo E/Surface: freeAllBuffers: 1 buffers were freed while being dequeued! 2022-07-22 13:15:25.747 13843-13966/com.herohan.uvcdemo E/Surface: getSlotFromBufferLocked: unknown buffer: 0xb4000075ba4bfdf0 2022-07-22 13:15:25.747 13843-13966/com.herohan.uvcdemo E/Surface: freeAllBuffers: 1 buffers were freed while being dequeued! 2022-07-22 13:15:25.747 13843-13966/com.herohan.uvcdemo E/BufferQueueProducer: SurfaceView[com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity]#3(BLAST Consumer)3 disconnect: not connected (req=1) 2022-07-22 13:15:25.839 1106-1106/com.android.launcher3 E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted 2022-07-22 13:15:25.925 13843-13843/com.herohan.uvcdemo E/AndroidRuntime: FATAL EXCEPTION: main Process: com.herohan.uvcdemo, PID: 13843 java.lang.NullPointerException: Attempt to invoke interface method 'void com.herohan.uvcapp.ICameraHelper.startPreview()' on a null object reference at com.herohan.uvcdemo.MultiCameraActivity$3.onCameraOpen(MultiCameraActivity.java:208) at com.herohan.uvcapp.CameraHelper$StateCallbackWrapper.lambda$onCameraOpen$2$com-herohan-uvcapp-CameraHelper$StateCallbackWrapper(CameraHelper.java:577) at com.herohan.uvcapp.CameraHelper$StateCallbackWrapper$$ExternalSyntheticLambda2.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7870) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) 2022-07-22 13:15:26.046 505-1110/? E/mediaserver: unlinkToDeath: removed reference to death recipient but unlink failed. 2022-07-22 13:15:26.046 505-1110/? E/IPCThreadState: attemptIncStrongHandle(2): Not supported 2022-07-22 13:15:26.051 321-321/? E/BpTransactionCompletedListener: Failed to transact (-32) 2022-07-22 13:15:26.052 321-321/? E/BpTransactionCompletedListener: Failed to transact (-32) 2022-07-22 13:15:26.067 321-321/? E/ClientCache: failed to get buffer, invalid process token 2022-07-22 13:15:26.151 321-321/? E/BpTransactionCompletedListener: Failed to transact (-32) 2022-07-22 13:15:26.571 321-956/? E/HWComposer: getSupportedContentTypes: getSupportedContentTypes failed for display 0: Unsupported (8) 2022-07-22 13:15:26.645 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:28.168 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:15:28.659 762-1681/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: bta_av_str_stopped: peer e8:07:bf:1c:44:c9 bta_handle:0x41 audio_open_cnt:1, p_data 0xb40000752a4eac48 start:1 2022-07-22 13:15:28.711 762-7787/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: btif_a2dp_command_ack: warning : no command pending, ignore ack 2022-07-22 13:15:29.164 606-1378/system_process E/TaskPersister: File error accessing recents directory (directory doesn't exist?). 2022-07-22 13:15:29.657 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:15:31.178 514-527/? E/RIL RILU: cannot find ttyname for AT Port

zwp85 commented 2 years ago

2022-07-22 13:16:31.879 292-292/? I/logd: logdr: UID=2000 GID=2000 PID=14187 b tail=0 logMask=99 pid=0 start=0ns deadline=0ns 2022-07-22 13:16:29.276 284-14190/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:29.759 606-616/system_process I/system_server: Background concurrent copying GC freed 283658(11MB) AllocSpace objects, 45(2528KB) LOS objects, 49% free, 13MB/26MB, paused 105us,191us total 121.117ms 2022-07-22 13:16:29.760 606-617/system_process W/JavaBinder: BinderProxy is being destroyed but the application did not call unlinkToDeath to unlink all of its death recipients beforehand. Releasing leaked death recipient: com.android.server.wm.ActivityRecord$$ExternalSyntheticLambda0 2022-07-22 13:16:29.760 606-617/system_process I/BpBinder: onLastStrongRef automatically unlinking death recipients: 2022-07-22 13:16:29.764 606-617/system_process W/JavaBinder: BinderProxy is being destroyed but the application did not call unlinkToDeath to unlink all of its death recipients beforehand. Releasing leaked death recipient: com.android.server.wm.ActivityRecord$$ExternalSyntheticLambda0 2022-07-22 13:16:29.764 606-617/system_process I/BpBinder: onLastStrongRef automatically unlinking death recipients: 2022-07-22 13:16:29.771 1358-1358/? W/adbd: timeout expired while flushing socket, closing 2022-07-22 13:16:29.956 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:16:30.277 284-14191/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:30.447 606-691/system_process D/InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP 2022-07-22 13:16:30.587 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:833 start_audio_datapath: start_audio_datapath: state 5 2022-07-22 13:16:30.588 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_START 2022-07-22 13:16:30.588 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3131 btif_av_stream_ready: btif_av_stream_ready: Peer e8:07:bf:1c:44:c9 : state=2, flags=0x0(None) 2022-07-22 13:16:30.588 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3058 btif_av_stream_start: btif_av_stream_start 2022-07-22 13:16:30.588 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3285 btif_av_get_peer_sep: Peer e8:07:bf:1c:44:c9 SEP is Sink (1) 2022-07-22 13:16:30.588 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_START DONE 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:1877 ProcessEvent: virtual bool BtifAvStateMachine::StateOpened::ProcessEvent(uint32_t, void *): Peer e8:07:bf:1c:44:c9 : event=BTIF_AV_START_STREAM_REQ_EVT(0x1c) flags=0x0(None) 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_api.cc:218 BTA_AvStart: Starting audio/video stream data transfer bta_handle:65 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:1803 bta_av_do_start: A2dp stream start peer:xx:xx:xx:xx:44:c9 sco_occupied:false av_role:0x0 started:false wait:0x0 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:sniff[2] max_latency:0x04b0 min_remote_timeout:0xfffe min_local_timeout:0xfffe 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:281 BTM_SetPowerMode: Setting power mode for peer:xx:xx:xx:xx:44:c9 current_mode:immediate:sniff[2] new_mode:forced:active[0] 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:578 btm_pm_snd_md_req: Switching from immediate:sniff[0x02] to immediate:active[0x00] 2022-07-22 13:16:30.589 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:1864 bta_av_do_start: bta_av_do_start: peer e8:07:bf:1c:44:c9 start requested: sco_occupied:false role:0x10 started:false wait:0x0 2022-07-22 13:16:30.593 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:692 btm_pm_proc_cmd_status: Clearing pending power mode link state:immediate:pending 2022-07-22 13:16:30.593 762-1681/com.android.bluetooth E/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:1035 bta_dm_pm_btm_status: Received unknown power mode status event:5 2022-07-22 13:16:30.597 14087-14087/com.herohan.uvcdemo W/herohan.uvcdem: Accessing hidden method Landroid/content/res/AssetManager;->addAssetPath(Ljava/lang/String;)I (unsupported, reflection, allowed)

--------- beginning of system

2022-07-22 13:16:30.604 606-7750/system_process I/ActivityTaskManager: START u0 {cmp=com.herohan.uvcdemo/.MultiCameraActivity} from uid 10095 2022-07-22 13:16:30.621 606-7750/system_process W/ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8541726) 2022-07-22 13:16:30.669 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:733 btm_pm_proc_mode_change: Power mode switched from immediate:pending[5] to immediate:active[0] 2022-07-22 13:16:30.669 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:30.669 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:30.718 14087-14087/com.herohan.uvcdemo D/MultiCameraActivity: initCameraHelper: 2022-07-22 13:16:30.720 14087-14087/com.herohan.uvcdemo D/CameraHelper: Constructor: 2022-07-22 13:16:30.720 14087-14087/com.herohan.uvcdemo W/herohan.uvcdem: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (unsupported, reflection, allowed) 2022-07-22 13:16:30.720 14087-14087/com.herohan.uvcdemo W/herohan.uvcdem: Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (unsupported, reflection, allowed) 2022-07-22 13:16:30.723 14087-14087/com.herohan.uvcdemo V/USBMonitor: USBMonitor:Constructor 2022-07-22 13:16:30.724 14087-14087/com.herohan.uvcdemo V/USBMonitor: USBMonitor:mUsbManager=android.hardware.usb.UsbManager@ea5bc0e 2022-07-22 13:16:30.724 14087-14087/com.herohan.uvcdemo D/CameraHelper: registerCallback: 2022-07-22 13:16:30.724 14087-14087/com.herohan.uvcdemo D/CameraConnectionService: mUSBMonitor#register: 2022-07-22 13:16:30.725 14087-14087/com.herohan.uvcdemo I/USBMonitor: register: 2022-07-22 13:16:30.725 14087-14087/com.herohan.uvcdemo D/CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10095; state: ENABLED 2022-07-22 13:16:30.726 14087-14087/com.herohan.uvcdemo D/CameraHelper: Constructor: 2022-07-22 13:16:30.727 14087-14087/com.herohan.uvcdemo V/USBMonitor: USBMonitor:Constructor 2022-07-22 13:16:30.728 14087-14087/com.herohan.uvcdemo V/USBMonitor: USBMonitor:mUsbManager=android.hardware.usb.UsbManager@ea5bc0e 2022-07-22 13:16:30.728 14087-14087/com.herohan.uvcdemo D/CameraHelper: registerCallback: 2022-07-22 13:16:30.728 14087-14087/com.herohan.uvcdemo D/CameraConnectionService: mUSBMonitor#register: 2022-07-22 13:16:30.728 14087-14087/com.herohan.uvcdemo I/USBMonitor: register: 2022-07-22 13:16:30.756 14087-14087/com.herohan.uvcdemo D/CameraHelper: addSurface:surface=Surface(name=null)/@0x8c14a35,isRecordable=false 2022-07-22 13:16:30.757 14087-14087/com.herohan.uvcdemo D/CameraHelper: addSurface:surface=Surface(name=null)/@0x8e6eeca,isRecordable=false 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:2196 bta_av_start_ok: bta_av_start_ok: peer e8:07:bf:1c:44:c9 bta_handle:0x41 wait:0x0 role:0x10 local_tsep:0 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0xfffe min_local_timeout:0xfffe 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:1889 ProcessEvent: virtual bool BtifAvStateMachine::StateOpened::ProcessEvent(uint32_t, void *): Peer e8:07:bf:1c:44:c9 : event=BTA_AV_START_EVT(0x4) status=0 suspending=0 initiator=1 flags=0x4(PENDING_START) 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bt_stack: [INFO:btif_a2dp.cc(50)] btif_a2dp_on_started: ## ON A2DP STARTED ## peer e8:07:bf:1c:44:c9 p_av_start:0xb40000753a4dced8 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bt_stack: [INFO:btif_a2dp.cc(72)] btif_a2dp_on_started: peer e8:07:bf:1c:44:c9 status:0 suspending:false initiator:true 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_START, status 0 ## 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/bt_btif_a2dp_sink: system/bt/btif/src/btif_a2dp_sink.cc:575 btif_a2dp_sink_set_rx_flush: btif_a2dp_sink_set_rx_flush: enable=false 2022-07-22 13:16:30.781 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2406 btif_report_audio_state: btif_report_audio_state: peer_address=e8:07:bf:1c:44:c9 state=2 2022-07-22 13:16:30.781 762-1006/com.android.bluetooth I/BluetoothA2dpServiceJni: bta2dp_audio_state_callback 2022-07-22 13:16:30.781 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:244 skt_connect: skt_connect: connect to /data/misc/bluedroid/.a2dp_data (sz 7168) 2022-07-22 13:16:30.781 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_data_cb: BTIF MEDIA (A2DP-DATA) EVENT UIPC_OPEN_EVT 2022-07-22 13:16:30.781 762-1006/com.android.bluetooth D/A2dpNativeInterface: onAudioStateChanged: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STARTED} 2022-07-22 13:16:30.781 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3285 btif_av_get_peer_sep: Peer e8:07:bf:1c:44:c9 SEP is Sink (1) 2022-07-22 13:16:30.781 762-7787/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:605 btif_a2dp_source_start_audio_req: btif_a2dp_source_start_audio_req: state=STATE_RUNNING 2022-07-22 13:16:30.781 762-1715/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:777 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event: media_alarm is stopped, streaming false state=STATE_RUNNING 2022-07-22 13:16:30.781 762-1715/com.android.bluetooth I/a2dp_sbc_encoder: system/bt/stack/a2dp/a2dp_sbc_encoder.cc:387 a2dp_sbc_feeding_reset: a2dp_sbc_feeding_reset: PCM bytes per tick 3528 2022-07-22 13:16:30.781 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:278 skt_connect: skt_connect: connected to stack fd = 11 2022-07-22 13:16:30.781 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: E msg.what=101 2022-07-22 13:16:30.781 762-1714/com.android.bluetooth D/A2dpStateMachine: processMsg: Connected 2022-07-22 13:16:30.781 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected process message(E8:07:BF:1C:44:C9): STACK_EVENT 2022-07-22 13:16:30.781 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected: stack event: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STARTED} 2022-07-22 13:16:30.782 762-1714/com.android.bluetooth I/A2dpStateMachine: Connected: started playing: E8:07:BF:1C:44:C9 2022-07-22 13:16:30.782 762-1714/com.android.bluetooth D/A2dpStateMachine: A2DP Playing state : device: E8:07:BF:1C:44:C9 State:NOT_PLAYING->PLAYING 2022-07-22 13:16:30.782 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: X 2022-07-22 13:16:30.783 606-625/system_process I/ActivityTaskManager: Displayed com.herohan.uvcdemo/.MultiCameraActivity: +178ms 2022-07-22 13:16:30.803 423-1357/? E/rtk_parse: rtk_cmd_complete_cback, transmit_command Opcode:fc51 2022-07-22 13:16:30.831 606-1149/system_process V/WindowManager: getPackagePerformanceMode -- ComponentInfo{com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity} -- com.herohan.uvcdemo -- mode=0 2022-07-22 13:16:30.833 606-629/system_process W/Choreographer: Frame time is 0.004527 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. 2022-07-22 13:16:30.887 14087-14194/com.herohan.uvcdemo D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/004 2022-07-22 13:16:30.887 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-07-22 13:16:30.887 14087-14194/com.herohan.uvcdemo D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/002/005 2022-07-22 13:16:30.887 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-07-22 13:16:30.888 14087-14197/com.herohan.uvcdemo D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/004 2022-07-22 13:16:30.889 14087-14197/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-07-22 13:16:30.889 14087-14197/com.herohan.uvcdemo D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/002/005 2022-07-22 13:16:30.889 14087-14197/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-07-22 13:16:30.892 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onAttach: 2022-07-22 13:16:30.892 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: selectDeviceLeft:device=/dev/bus/usb/001/004 2022-07-22 13:16:30.892 14087-14087/com.herohan.uvcdemo D/CameraHelper: selectDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:30.892 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onAttach: 2022-07-22 13:16:30.892 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerRight#onAttach: 2022-07-22 13:16:30.892 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerRight#onAttach: 2022-07-22 13:16:30.893 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: selectDeviceRight:device=/dev/bus/usb/002/005 2022-07-22 13:16:30.893 14087-14087/com.herohan.uvcdemo D/CameraHelper: selectDevice:device=/dev/bus/usb/002/005 2022-07-22 13:16:30.893 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#selectDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:30.893 14087-14196/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#selectDevice:device=/dev/bus/usb/002/005 2022-07-22 13:16:30.893 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: request permission 2022-07-22 13:16:30.893 14087-14196/com.herohan.uvcdemo I/CameraConnectionService: request permission 2022-07-22 13:16:30.893 14087-14193/com.herohan.uvcdemo V/USBMonitor: requestPermission:device=/dev/bus/usb/001/004 2022-07-22 13:16:30.893 14087-14196/com.herohan.uvcdemo V/USBMonitor: requestPermission:device=/dev/bus/usb/002/005 2022-07-22 13:16:30.895 14087-14193/com.herohan.uvcdemo V/USBMonitor: processOpenDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:30.896 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock:constructor 2022-07-22 13:16:30.896 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#open: 2022-07-22 13:16:34.195 7750-7750/? I/usb 1-1.4: reset high-speed USB device number 4 using ehci-platform 2022-07-22 13:16:31.169 606-629/system_process V/WindowManager: getPackagePerformanceMode -- ComponentInfo{com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity} -- com.herohan.uvcdemo -- mode=0 2022-07-22 13:16:31.170 606-629/system_process V/WindowManager: getPackagePerformanceMode -- ComponentInfo{com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity} -- com.herohan.uvcdemo -- mode=0 2022-07-22 13:16:31.170 606-629/system_process V/WindowManager: getPackagePerformanceMode -- ComponentInfo{com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity} -- com.herohan.uvcdemo -- mode=0 2022-07-22 13:16:31.177 606-628/system_process V/WindowManager: getPackagePerformanceMode -- ComponentInfo{com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity} -- com.herohan.uvcdemo -- mode=0 2022-07-22 13:16:31.179 606-628/system_process V/WindowManager: getPackagePerformanceMode -- ComponentInfo{com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity} -- com.herohan.uvcdemo -- mode=0 2022-07-22 13:16:31.204 14087-14108/com.herohan.uvcdemo D/OpenGLRenderer: endAllActiveAnimators on 0xb40000761a4db7c0 (RippleDrawable) with handle 0xb40000752a4e2d50 2022-07-22 13:16:31.273 14087-14087/com.herohan.uvcdemo W/ViewRootImpl[EntryActivity]: Cancelling event (window is stopped):MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=808.66046, y[0]=577.27606, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=8606870, downTime=8606045, deviceId=7, source=0x1002, displayId=0, eventId=1739501917 } 2022-07-22 13:16:31.274 514-527/? D/RIL RILU: find_pci_device is 0 2022-07-22 13:16:31.274 14087-14087/com.herohan.uvcdemo W/ViewRootImpl[EntryActivity]: Cancelling event (window is stopped):MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=808.66046, y[0]=577.27606, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=8606870, downTime=8606045, deviceId=7, source=0x1002, displayId=0, eventId=1739501917 } 2022-07-22 13:16:31.274 14087-14087/com.herohan.uvcdemo W/ViewRootImpl[EntryActivity]: Cancelling event (window is stopped):MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=808.66046, y[0]=577.27606, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=8606870, downTime=8606045, deviceId=7, source=0x1002, displayId=0, eventId=1739501917 } 2022-07-22 13:16:31.275 14087-14087/com.herohan.uvcdemo W/ViewRootImpl[EntryActivity]: Cancelling event (window is stopped):MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=808.66046, y[0]=577.27606, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=8606870, downTime=8606045, deviceId=7, source=0x1002, displayId=0, eventId=1739501917 } 2022-07-22 13:16:31.279 284-14201/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:31.280 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:16:31.280 514-527/? D/RIL RILC: USB can't find at device 2022-07-22 13:16:31.412 606-1149/system_process W/system_server: Long monitor contention with owner Binder:606_17 (7750) at android.os.ParcelFileDescriptor com.android.server.usb.UsbHostManager.openDevice(java.lang.String, com.android.server.usb.UsbUserPermissionManager, java.lang.String, int, int)(UsbHostManager.java:505) waiters=0 in void com.android.server.usb.UsbHostManager.getDeviceList(android.os.Bundle) for 373ms 2022-07-22 13:16:31.413 606-5086/system_process W/system_server: Long monitor contention with owner Binder:606_17 (7750) at android.os.ParcelFileDescriptor com.android.server.usb.UsbHostManager.openDevice(java.lang.String, com.android.server.usb.UsbUserPermissionManager, java.lang.String, int, int)(UsbHostManager.java:505) waiters=1 in void com.android.server.usb.UsbHostManager.getDeviceList(android.os.Bundle) for 373ms 2022-07-22 13:16:31.429 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:31.450 14087-14193/com.herohan.uvcdemo I/USBMonitor: name=/dev/bus/usb/001/004,desc=70,busnum=1,devnum=4,rawDesc=[B@88aff91 2022-07-22 13:16:31.451 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: wait for getting permission 2022-07-22 13:16:31.451 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onDeviceOpen: 2022-07-22 13:16:31.451 14087-14196/com.herohan.uvcdemo W/herohan.uvcdem: Long monitor contention with owner CameraHelper (14193) at void com.serenegiant.usb.USBMonitor.requestPermission(android.hardware.usb.UsbDevice)(USBMonitor.java:525) waiters=0 in void com.serenegiant.usb.USBMonitor.requestPermission(android.hardware.usb.UsbDevice) for 558ms 2022-07-22 13:16:31.451 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: addCamera:device=/dev/bus/usb/001/004 2022-07-22 13:16:31.456 14087-14196/com.herohan.uvcdemo V/USBMonitor: processOpenDevice:device=/dev/bus/usb/002/005 2022-07-22 13:16:31.456 14087-14194/com.herohan.uvcdemo D/CameraInternal: Constructor: 2022-07-22 13:16:31.456 14087-14196/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock:constructor 2022-07-22 13:16:31.456 14087-14196/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#open: 2022-07-22 13:16:31.487 14087-14194/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:31.490 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: number of existed camera=1 2022-07-22 13:16:31.491 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: check CameraInternal again 2022-07-22 13:16:31.491 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: success to get service:serviceId=/dev/bus/usb/001/004#1133#2085#239#2#1#null#1#0.12# 2022-07-22 13:16:31.491 14087-14194/com.herohan.uvcdemo D/CameraInternal: registerCallback: 2022-07-22 13:16:31.492 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onDeviceOpen: 2022-07-22 13:16:31.492 14087-14087/com.herohan.uvcdemo D/CameraHelper: openCamera: 2022-07-22 13:16:31.493 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#openCamera: 2022-07-22 13:16:31.493 14087-14193/com.herohan.uvcdemo D/CameraInternal: openCamera: 2022-07-22 13:16:31.493 14087-14193/com.herohan.uvcdemo D/CameraInternal: resetUVCCamera: 2022-07-22 13:16:31.493 14087-14193/com.herohan.uvcdemo V/RendererHolder: removeSlaveSurfaceAll 2022-07-22 13:16:31.501 14087-14202/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurfaceAll: 2022-07-22 13:16:31.501 14087-14193/com.herohan.uvcdemo D/CameraInternal: openUVCCamera: 2022-07-22 13:16:31.513 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock:constructor 2022-07-22 13:16:31.513 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#open: 2022-07-22 13:16:31.519 14087-14202/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:31.598 14087-14196/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:31.600 14087-14196/com.herohan.uvcdemo I/USBMonitor: name=/dev/bus/usb/002/005,desc=138,busnum=2,devnum=5,rawDesc=[B@1c7f793 2022-07-22 13:16:31.600 14087-14196/com.herohan.uvcdemo I/CameraConnectionService: wait for getting permission 2022-07-22 13:16:31.600 14087-14197/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onDeviceOpen: 2022-07-22 13:16:31.600 14087-14197/com.herohan.uvcdemo D/CameraConnectionService: addCamera:device=/dev/bus/usb/002/005 2022-07-22 13:16:31.600 14087-14197/com.herohan.uvcdemo D/CameraInternal: Constructor: 2022-07-22 13:16:31.605 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:31.609 14087-14193/com.herohan.uvcdemo I/USBMonitor: name=/dev/bus/usb/001/004,desc=139,busnum=1,devnum=4,rawDesc=[B@e4563d0 2022-07-22 13:16:31.607 14087-14087/com.herohan.uvcdemo I/CameraHelper: type=1400 audit(0.0:2865): avc: denied { read } for name="usb" dev="tmpfs" ino=345 scontext=u:r:untrusted_app:s0:c95,c256,c512,c768 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=1 app=com.herohan.uvcdemo 2022-07-22 13:16:31.607 14087-14087/com.herohan.uvcdemo I/CameraHelper: type=1400 audit(0.0:2866): avc: denied { open } for path="/dev/bus/usb" dev="tmpfs" ino=345 scontext=u:r:untrusted_app:s0:c95,c256,c512,c768 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=1 app=com.herohan.uvcdemo 2022-07-22 13:16:31.619 606-691/system_process I/EventHub: Removing device '/dev/input/event6' due to inotify event 2022-07-22 13:16:31.619 606-691/system_process I/EventHub: Removed device: path=/dev/input/event6 name=UVC Camera (046d:0825) id=35 fd=426 classes=KEYBOARD | LIGHT | EXTERNAL 2022-07-22 13:16:31.636 606-691/system_process I/InputReader: Device removed: id=36, eventHubId=35, name='UVC Camera (046d:0825)', descriptor='a022df5abbbabd1630f870f92384d9367f7e1067', sources=0x00000101 2022-07-22 13:16:31.636 14087-14197/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:31.639 14087-14197/com.herohan.uvcdemo D/CameraConnectionService: number of existed camera=1 2022-07-22 13:16:31.639 14087-14197/com.herohan.uvcdemo D/CameraInternal: registerCallback: 2022-07-22 13:16:31.639 14087-14196/com.herohan.uvcdemo I/CameraConnectionService: check CameraInternal again 2022-07-22 13:16:31.639 14087-14196/com.herohan.uvcdemo I/CameraConnectionService: success to get service:serviceId=/dev/bus/usb/002/005#3141#25446#239#2#1#Sonix Technology Co., Ltd.#1#1.00# 2022-07-22 13:16:31.640 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerRight#onDeviceOpen: 2022-07-22 13:16:31.640 14087-14087/com.herohan.uvcdemo D/CameraHelper: openCamera: 2022-07-22 13:16:31.640 14087-14196/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#openCamera: 2022-07-22 13:16:31.640 14087-14196/com.herohan.uvcdemo D/CameraInternal: openCamera: 2022-07-22 13:16:31.640 14087-14196/com.herohan.uvcdemo D/CameraInternal: resetUVCCamera: 2022-07-22 13:16:31.640 14087-14196/com.herohan.uvcdemo V/RendererHolder: removeSlaveSurfaceAll 2022-07-22 13:16:31.659 14087-14203/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:31.663 14087-14203/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurfaceAll: 2022-07-22 13:16:31.663 14087-14196/com.herohan.uvcdemo D/CameraInternal: openUVCCamera: 2022-07-22 13:16:31.663 14087-14196/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock:constructor 2022-07-22 13:16:31.664 14087-14196/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#open: 2022-07-22 13:16:31.675 14087-14196/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:31.676 14087-14196/com.herohan.uvcdemo I/USBMonitor: name=/dev/bus/usb/002/005,desc=151,busnum=2,devnum=5,rawDesc=[B@c64ecfc 2022-07-22 13:16:31.725 14087-14196/com.herohan.uvcdemo D/UVCCamera: setPreviewSize:0:Size(1920x1080@30,type:7) 2022-07-22 13:16:31.739 14087-14193/com.herohan.uvcdemo D/UVCCamera: setPreviewSize:-51:Size(1280x960@30,type:7) 2022-07-22 13:16:31.765 14087-14196/com.herohan.uvcdemo I/CameraInternal: supportedSize:{"formats":[{"index":1,"subType":6,"defaultFrameIndex":3,"frameDescriptors":[{"width":1920,"height":1080,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":1280,"height":1024,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":1280,"height":720,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":640,"height":480,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":352,"height":288,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":320,"height":240,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":176,"height":144,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":160,"height":120,"subType":7,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]}]},{"index":2,"subType":4,"defaultFrameIndex":3,"frameDescriptors":[{"width":1920,"height":1080,"subType":5,"defaultFrameInterval":1000000,"frameIntervalType":2,"defaultFps":10,"intervals":[{"index":0,"value":1000000,"fps":10},{"index":1,"value":2000000,"fps":5}]},{"width":1280,"height":1024,"subType":5,"defaultFrameInterval":1000000,"frameIntervalType":2,"defaultFps":10,"intervals":[{"index":0,"value":1000000,"fps":10},{"index":1,"value":2000000,"fps":5}]},{"width":1280,"height":720,"subType":5,"defaultFrameInterval":666666,"frameIntervalType":3,"defaultFps":15,"intervals":[{"index":0,"value":666666,"fps":15},{"index":1,"value":1000000,"fps":10},{"index":2,"value":2000000,"fps":5}]},{"width":640,"height":480,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":352,"height":288,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps 2022-07-22 13:16:31.765 14087-14196/com.herohan.uvcdemo D/CameraInternal: setCameraPreviewConfig: 2022-07-22 13:16:31.765 14087-14196/com.herohan.uvcdemo D/CameraInternal: rotateTo:0 2022-07-22 13:16:31.766 14087-14196/com.herohan.uvcdemo D/CameraInternal: setMirrorMode:0 2022-07-22 13:16:31.781 14087-14196/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.783 14087-14196/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.784 14087-14196/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.786 14087-14209/com.herohan.uvcdemo D/CCodec: allocate(c2.rk.avc.encoder) 2022-07-22 13:16:31.789 14087-14209/com.herohan.uvcdemo I/Codec2Client: Available Codec2 services: "default" "software" 2022-07-22 13:16:31.791 14087-14209/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:31.794 436-3631/? I/C2RKComponentFactory: CreateRKCodec2Factory(29): in version:commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:31.794 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:31.795 436-3631/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:31.795 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:31.795 436-3631/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:31.795 436-3631/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:31.795 436-3631/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:31.796 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:31.796 436-3631/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:31.797 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:31.797 436-3631/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:31.797 436-3631/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:31.797 436-3631/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:31.798 436-3631/? I/C2RKMpiEnc: version: commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:31.798 436-3631/? I/C2RKMpiEnc: venc_debug: 0x0 2022-07-22 13:16:31.799 14087-14209/com.herohan.uvcdemo I/CCodec: Created component [c2.rk.avc.encoder] 2022-07-22 13:16:31.799 14087-14209/com.herohan.uvcdemo D/CCodecConfig: read media type: video/avc 2022-07-22 13:16:31.803 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:31.803 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:31.803 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:31.803 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:31.804 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:31.804 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:31.804 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:31.806 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.gop.values 2022-07-22 13:16:31.807 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.qp.values 2022-07-22 13:16:31.808 14087-14209/com.herohan.uvcdemo D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2022-07-22 13:16:31.809 14087-14209/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 14 values (BAD_INDEX) 2022-07-22 13:16:31.809 14087-14209/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 1 c2::u32 coded.pl.level = 20489 c2::u32 coded.pl.profile = 20480 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 input.delay.value = 0 string input.media-type.value = "video/raw" string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 0 c2::u32 raw.size.height = 144 c2::u32 raw.size.width = 176 } 2022-07-22 13:16:31.809 14087-14209/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:31.813 14087-14196/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.813 14087-14196/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.814 14087-14215/com.herohan.uvcdemo D/CCodec: allocate(c2.android.aac.encoder) 2022-07-22 13:16:31.816 14087-14215/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:31.818 518-1190/? V/C2Store: in init 2022-07-22 13:16:31.818 518-1190/? V/C2Store: loading dll 2022-07-22 13:16:31.820 14087-14193/com.herohan.uvcdemo I/CameraInternal: supportedSize:{"formats":[{"index":1,"subType":4,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":160,"height":120,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":176,"height":144,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":320,"height":176,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":320,"height":240,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":352,"height":288,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":432,"height":240,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":544,"height":288,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":640,"height":360,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":752,"height":416,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":5,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25},{"index":1,"value":500000,"fps":20},{"index":2,"value":666666,"fps":15},{"index":3,"value":1000000,"fps":10},{"index":4,"value":2000000,"fps":5}]},{"width":800,"height":448,"subType":5,"defaultFrameInterval":500000,"frameIntervalType":4,"defaultFps":20,"intervals":[{"index":0,"value":500000,"fps":20},{"index":1,"value":666666,"fps":15},{"index":2,"value":1000000,"fps":10},{"index":3,"value":2000000,"fps":5}]},{"width":800,"height":600,"subType":5,"defaultFrameInterval":500000,"frameIntervalType":4,"defaultFps":20,"intervals":[{"index":0,"value":500000,"fps":20},{"index":1,"value":666666,"fps":15},{"index":2,"value":1000000,"fps":10},{"index":3,"value":2000000,"fps":5}]},{"width":864,"height":480,"subType":5,"defaultFrameInterval":500000,"frameIntervalTy 2022-07-22 13:16:31.820 14087-14193/com.herohan.uvcdemo D/CameraInternal: setCameraPreviewConfig: 2022-07-22 13:16:31.820 14087-14193/com.herohan.uvcdemo D/CameraInternal: rotateTo:0 2022-07-22 13:16:31.820 14087-14193/com.herohan.uvcdemo D/CameraInternal: setMirrorMode:0 2022-07-22 13:16:31.823 14087-14215/com.herohan.uvcdemo I/CCodec: Created component [c2.android.aac.encoder] 2022-07-22 13:16:31.823 14087-14215/com.herohan.uvcdemo D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-22 13:16:31.823 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.824 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.824 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.825 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:31.826 14087-14220/com.herohan.uvcdemo D/CCodec: allocate(c2.rk.avc.encoder) 2022-07-22 13:16:31.826 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:31.826 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:31.826 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:31.826 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:31.826 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:31.827 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:31.828 14087-14220/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:31.829 14087-14215/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:31.829 14087-14215/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2022-07-22 13:16:31.829 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:31.829 436-3631/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:31.829 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:31.829 436-3631/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:31.829 436-3631/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:31.830 436-3631/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:31.830 436-1133/? I/C2RKComponent: release in 2022-07-22 13:16:31.830 436-3631/? I/C2RKMpiEnc: version: commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:31.830 436-3631/? I/C2RKMpiEnc: venc_debug: 0x0 2022-07-22 13:16:31.831 436-14214/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:31.831 14087-14209/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:31.831 436-3631/? I/C2RKMpiEnc: ~C2RKMpiEnc(736): in 2022-07-22 13:16:31.831 436-3631/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:31.832 14087-14220/com.herohan.uvcdemo I/CCodec: Created component [c2.rk.avc.encoder] 2022-07-22 13:16:31.832 14087-14220/com.herohan.uvcdemo D/CCodecConfig: read media type: video/avc 2022-07-22 13:16:31.833 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:31.834 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:31.834 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:31.834 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:31.834 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:31.834 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:31.835 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:31.835 14087-14209/com.herohan.uvcdemo D/CCodec: allocate(c2.rk.avc.encoder) 2022-07-22 13:16:31.836 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.gop.values 2022-07-22 13:16:31.836 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.qp.values 2022-07-22 13:16:31.837 14087-14209/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:31.838 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:31.838 436-3631/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:31.838 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:31.838 436-3631/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:31.838 14087-14220/com.herohan.uvcdemo D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2022-07-22 13:16:31.838 436-3631/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:31.839 436-3631/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:31.839 14087-14220/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 14 values (BAD_INDEX) 2022-07-22 13:16:31.839 14087-14220/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 1 c2::u32 coded.pl.level = 20489 c2::u32 coded.pl.profile = 20480 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 input.delay.value = 0 string input.media-type.value = "video/raw" string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 0 c2::u32 raw.size.height = 144 c2::u32 raw.size.width = 176 } 2022-07-22 13:16:31.839 436-3631/? I/C2RKMpiEnc: version: commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:31.839 436-3631/? I/C2RKMpiEnc: venc_debug: 0x0 2022-07-22 13:16:31.839 14087-14220/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:31.840 14087-14209/com.herohan.uvcdemo I/CCodec: Created component [c2.rk.avc.encoder] 2022-07-22 13:16:31.841 14087-14209/com.herohan.uvcdemo D/CCodecConfig: read media type: video/avc 2022-07-22 13:16:31.842 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.842 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:31.843 14087-14224/com.herohan.uvcdemo D/CCodec: allocate(c2.android.aac.encoder) 2022-07-22 13:16:31.843 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:31.844 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:31.844 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:31.844 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:31.844 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:31.844 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:31.844 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:31.845 14087-14224/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:31.845 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.gop.values 2022-07-22 13:16:31.845 14087-14209/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.qp.values 2022-07-22 13:16:31.846 14087-14209/com.herohan.uvcdemo D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2022-07-22 13:16:31.847 14087-14209/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 14 values (BAD_INDEX) 2022-07-22 13:16:31.847 14087-14209/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 1 c2::u32 coded.pl.level = 20489 c2::u32 coded.pl.profile = 20480 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 input.delay.value = 0 string input.media-type.value = "video/raw" string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 0 c2::u32 raw.size.height = 144 c2::u32 raw.size.width = 176 } 2022-07-22 13:16:31.847 14087-14209/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:31.847 14087-14224/com.herohan.uvcdemo I/CCodec: Created component [c2.android.aac.encoder] 2022-07-22 13:16:31.848 14087-14224/com.herohan.uvcdemo D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-22 13:16:31.849 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:31.849 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:31.849 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:31.849 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:31.849 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:31.850 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:31.850 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:31.851 14087-14224/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:31.851 14087-14224/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2022-07-22 13:16:31.852 436-436/? I/C2RKComponent: release in 2022-07-22 13:16:31.852 436-14222/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:31.852 14087-14220/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:31.852 436-436/? I/C2RKMpiEnc: ~C2RKMpiEnc(736): in 2022-07-22 13:16:31.852 436-436/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:31.853 14087-14220/com.herohan.uvcdemo D/CCodec: allocate(c2.rk.avc.encoder) 2022-07-22 13:16:31.855 14087-14220/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:31.855 436-436/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:31.856 436-436/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:31.856 436-436/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:31.856 436-436/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:31.856 436-436/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:31.856 436-436/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecSeeding: Seed: codec c2.rk.avc.encoder, mediatype video/avc, overrideable 1 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-bpp,0) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-bpp-1080p,1.90) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-bpp-720p,2.25) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-bpp-540p,2.65) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-bpp-480p,3.00) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-bpp-320x240,0) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-qpmax,-1) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-qpmax-1080p,45) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-qpmax-720p,43) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-qpmax-540p,42) 2022-07-22 13:16:31.857 436-436/? I/C2RKMpiEnc: version: commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-target-qpmax-480p,38) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-bitrate-phaseout,1.75) 2022-07-22 13:16:31.857 436-436/? I/C2RKMpiEnc: venc_debug: 0x0 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setTuningValue(vq-boost-missing-qp,0.20) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setFeatureValue(can-swap-width-height,0) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setFeatureValue(_vq_eligible.device,1) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecProperties: setFeatureValue(_quality.target,1) 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/CodecSeeding: Seed: codec c2.rk.avc.encoder, mediatype video/avc, overrideable 0 2022-07-22 13:16:31.857 14087-14196/com.herohan.uvcdemo D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2022-07-22 13:16:31.857 14087-14209/com.herohan.uvcdemo D/CCodec: [c2.rk.avc.encoder] buffers are bound to CCodec for this session 2022-07-22 13:16:31.857 14087-14209/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for color-format 2022-07-22 13:16:31.858 14087-14220/com.herohan.uvcdemo I/CCodec: Created component [c2.rk.avc.encoder] 2022-07-22 13:16:31.858 14087-14209/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for flags 2022-07-22 13:16:31.858 14087-14209/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for encoder 2022-07-22 13:16:31.858 14087-14220/com.herohan.uvcdemo D/CCodecConfig: read media type: video/avc 2022-07-22 13:16:31.858 436-3631/? I/C2RKMpiEnc: Given level 5009 does not cover current configuration: adjusting to 500b 2022-07-22 13:16:31.859 14087-14209/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 16588800 c2::float coded.frame-rate.value = 30 c2::u32 raw.size.height = 1080 c2::u32 raw.size.width = 1920 2022-07-22 13:16:31.859 14087-14209/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:31.860 14087-14209/com.herohan.uvcdemo D/CCodec: setup formats input: AMessage(what = 0x00000000) = { Rect crop(0, 0, 1919, 1079) int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 1080 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t width = 1920 int32_t android._dataspace = 0 int32_t using-sw-read-often = 1 int64_t android._C2MemoryUsage = 1 int32_t color-format = 2130708361 int32_t android._color-format = 2130708361 } 2022-07-22 13:16:31.860 14087-14209/com.herohan.uvcdemo D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 16588800 int32_t bitrate-mode = 1 Rect crop(0, 0, 1919, 1079) int32_t width = 1920 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 1080 int32_t intra-refresh-period = 0 int32_t level = 512 int32_t max-bitrate = 16588800 string mime = "video/avc" int32_t profile = 1 } 2022-07-22 13:16:31.860 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:31.860 14087-14209/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 15 values (BAD_INDEX) 2022-07-22 13:16:31.860 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:31.860 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:31.860 14087-14209/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 coded.pl.level = 20491 2022-07-22 13:16:31.860 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:31.860 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:31.860 14087-14209/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:31.860 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:31.861 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:31.862 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.gop.values 2022-07-22 13:16:31.862 14087-14220/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.qp.values 2022-07-22 13:16:31.863 14087-14209/com.herohan.uvcdemo D/CCodec: input format changed to AMessage(what = 0x00000000) = { Rect crop(0, 0, 1919, 1079) int32_t color-standard = 1 int32_t color-range = 2 int32_t color-transfer = 3 int32_t frame-rate = 30 int32_t height = 1080 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t width = 1920 int32_t android._dataspace = 260 int32_t using-sw-read-often = 1 int64_t android._C2MemoryUsage = 1 int32_t color-format = 2130708361 int32_t android._color-format = 2130708361 } 2022-07-22 13:16:31.863 14087-14220/com.herohan.uvcdemo D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2022-07-22 13:16:31.864 512-572/? D/GraphicBufferSource: setting dataspace: 0x104, acquired=0 2022-07-22 13:16:31.864 14087-14209/com.herohan.uvcdemo D/CCodec: ISConfig not changed 2022-07-22 13:16:31.864 14087-14220/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 14 values (BAD_INDEX) 2022-07-22 13:16:31.864 14087-14220/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 1 c2::u32 coded.pl.level = 20489 c2::u32 coded.pl.profile = 20480 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 input.delay.value = 0 string input.media-type.value = "video/raw" string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 0 c2::u32 raw.size.height = 144 c2::u32 raw.size.width = 176 } 2022-07-22 13:16:31.865 14087-14220/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:31.865 14087-14215/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:31.867 14087-14193/com.herohan.uvcdemo D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2022-07-22 13:16:31.867 14087-14220/com.herohan.uvcdemo D/CCodec: [c2.rk.avc.encoder] buffers are bound to CCodec for this session 2022-07-22 13:16:31.867 14087-14220/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for color-format 2022-07-22 13:16:31.867 14087-14215/com.herohan.uvcdemo D/CCodec: allocate(c2.android.aac.encoder) 2022-07-22 13:16:31.867 14087-14220/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for flags 2022-07-22 13:16:31.867 14087-14220/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for encoder 2022-07-22 13:16:31.868 436-3631/? I/C2RKMpiEnc: Given level 5009 does not cover current configuration: adjusting to 500a 2022-07-22 13:16:31.869 14087-14215/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:31.869 14087-14220/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 9830400 c2::float coded.frame-rate.value = 30 c2::u32 raw.size.height = 960 c2::u32 raw.size.width = 1280 2022-07-22 13:16:31.869 14087-14220/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:31.870 14087-14220/com.herohan.uvcdemo D/CCodec: setup formats input: AMessage(what = 0x00000000) = { Rect crop(0, 0, 1279, 959) int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t width = 1280 int32_t android._dataspace = 0 int32_t using-sw-read-often = 1 int64_t android._C2MemoryUsage = 1 int32_t color-format = 2130708361 int32_t android._color-format = 2130708361 } 2022-07-22 13:16:31.870 14087-14220/com.herohan.uvcdemo D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 9830400 int32_t bitrate-mode = 1 Rect crop(0, 0, 1279, 959) int32_t width = 1280 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 int32_t level = 512 int32_t max-bitrate = 9830400 string mime = "video/avc" int32_t profile = 1 } 2022-07-22 13:16:31.870 14087-14220/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 15 values (BAD_INDEX) 2022-07-22 13:16:31.870 14087-14220/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 coded.pl.level = 20490 2022-07-22 13:16:31.871 14087-14220/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:31.871 14087-14215/com.herohan.uvcdemo I/CCodec: Created component [c2.android.aac.encoder] 2022-07-22 13:16:31.871 14087-14215/com.herohan.uvcdemo D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-22 13:16:31.873 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:31.873 14087-14220/com.herohan.uvcdemo D/CCodec: input format changed to AMessage(what = 0x00000000) = { Rect crop(0, 0, 1279, 959) int32_t color-standard = 1 int32_t color-range = 2 int32_t color-transfer = 3 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t width = 1280 int32_t android._dataspace = 260 int32_t using-sw-read-often = 1 int64_t android._C2MemoryUsage = 1 int32_t color-format = 2130708361 int32_t android._color-format = 2130708361 } 2022-07-22 13:16:31.873 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:31.873 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:31.873 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:31.873 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:31.873 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:31.874 14087-14215/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:31.874 512-572/? D/GraphicBufferSource: setting dataspace: 0x104, acquired=0 2022-07-22 13:16:31.874 14087-14220/com.herohan.uvcdemo D/CCodec: ISConfig not changed 2022-07-22 13:16:31.875 14087-14215/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:31.875 14087-14224/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:31.875 14087-14215/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2022-07-22 13:16:31.876 14087-14196/com.herohan.uvcdemo D/CodecSeeding: Seed: codec c2.android.aac.encoder, mediatype audio/mp4a-latm, overrideable 1 2022-07-22 13:16:31.877 14087-14196/com.herohan.uvcdemo D/CodecProperties: setFeatureValue(_vq_eligible.device,1) 2022-07-22 13:16:31.877 14087-14196/com.herohan.uvcdemo D/CodecProperties: setFeatureValue(_quality.target,1) 2022-07-22 13:16:31.877 14087-14196/com.herohan.uvcdemo D/CodecSeeding: Seed: codec c2.android.aac.encoder, mediatype audio/mp4a-latm, overrideable 0 2022-07-22 13:16:31.877 14087-14196/com.herohan.uvcdemo D/MediaCodec: shapeMediaFormat: deltas(0): AMessage(what = 0x00000000) = { } 2022-07-22 13:16:31.877 14087-14224/com.herohan.uvcdemo D/CCodec: allocate(c2.android.aac.encoder) 2022-07-22 13:16:31.877 14087-14215/com.herohan.uvcdemo D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session 2022-07-22 13:16:31.877 14087-14215/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for flags 2022-07-22 13:16:31.877 14087-14215/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for encoder 2022-07-22 13:16:31.877 14087-14215/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 raw.sample-rate.value = 8000 2022-07-22 13:16:31.878 14087-14224/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:31.878 14087-14215/com.herohan.uvcdemo W/Codec2Client: query -- param skipped: index = 1107298332. 2022-07-22 13:16:31.878 14087-14215/com.herohan.uvcdemo D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t channel-count = 1 int32_t max-input-size = 2048 string mime = "audio/raw" } 2022-07-22 13:16:31.878 14087-14215/com.herohan.uvcdemo D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t bitrate = 64000 int32_t channel-count = 1 int32_t level = 0 int32_t max-bitrate = 64000 string mime = "audio/mp4a-latm" int32_t profile = 2 } 2022-07-22 13:16:31.878 14087-14215/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:31.879 449-575/? D/AudioFlinger: ro.audio.silent is ignored since no output device is set 2022-07-22 13:16:31.879 449-7793/? D/AudioFlinger: ro.audio.silent is ignored since no output device is set 2022-07-22 13:16:31.881 14087-14224/com.herohan.uvcdemo I/CCodec: Created component [c2.android.aac.encoder] 2022-07-22 13:16:31.881 14087-14224/com.herohan.uvcdemo D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-22 13:16:31.882 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:31.882 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:31.882 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:31.883 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:31.883 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:31.883 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:31.883 14087-14224/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:31.884 14087-14224/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:31.885 14087-14224/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2022-07-22 13:16:31.886 14087-14193/com.herohan.uvcdemo D/MediaCodec: shapeMediaFormat: deltas(0): AMessage(what = 0x00000000) = { } 2022-07-22 13:16:31.886 14087-14224/com.herohan.uvcdemo D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session 2022-07-22 13:16:31.886 14087-14224/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for flags 2022-07-22 13:16:31.886 14087-14224/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for encoder 2022-07-22 13:16:31.887 14087-14224/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 raw.sample-rate.value = 8000 2022-07-22 13:16:31.887 14087-14224/com.herohan.uvcdemo W/Codec2Client: query -- param skipped: index = 1107298332. 2022-07-22 13:16:31.887 14087-14224/com.herohan.uvcdemo D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t channel-count = 1 int32_t max-input-size = 2048 string mime = "audio/raw" } 2022-07-22 13:16:31.888 14087-14224/com.herohan.uvcdemo D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t bitrate = 64000 int32_t channel-count = 1 int32_t level = 0 int32_t max-bitrate = 64000 string mime = "audio/mp4a-latm" int32_t profile = 2 } 2022-07-22 13:16:31.888 14087-14224/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:31.892 449-14237/? I/AudioFlinger: AudioFlinger's thread 0xb400007b0bd05c60 tid=14237 ready to run 2022-07-22 13:16:31.896 14087-14196/com.herohan.uvcdemo I/VideoCapture: source: 5 audioSampleRate: 8000 channelConfig: 16 audioFormat: 2 bufferSize: 320 2022-07-22 13:16:31.896 14087-14196/com.herohan.uvcdemo D/CameraInternal: processOnCameraOpen: 2022-07-22 13:16:31.897 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerRight#onCameraOpen: 2022-07-22 13:16:31.897 14087-14087/com.herohan.uvcdemo D/CameraHelper: startPreview: 2022-07-22 13:16:31.897 14087-14087/com.herohan.uvcdemo D/CameraHelper: getPreviewSize: 2022-07-22 13:16:31.897 14087-14196/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#startPreview: 2022-07-22 13:16:31.897 14087-14196/com.herohan.uvcdemo D/CameraInternal: startPreview: 2022-07-22 13:16:31.897 14087-14087/com.herohan.uvcdemo D/CameraHelper: addSurface:surface=Surface(name=null)/@0x8e6eeca,isRecordable=false 2022-07-22 13:16:31.897 14087-14196/com.herohan.uvcdemo D/CameraInternal: updateRendererSize: 2022-07-22 13:16:31.899 14087-14196/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#addSurface:surface=Surface(name=null)/@0x8e6eeca 2022-07-22 13:16:31.899 14087-14196/com.herohan.uvcdemo D/CameraInternal: addSurface:surface=Surface(name=null)/@0x8e6eeca 2022-07-22 13:16:31.899 14087-14196/com.herohan.uvcdemo V/RendererHolder: addSlaveSurface:id=149352138,surface=Surface(name=null)/@0x8e6eeca 2022-07-22 13:16:31.906 449-14241/? I/AudioFlinger: AudioFlinger's thread 0xb400007b0bd05c60 tid=14241 ready to run 2022-07-22 13:16:31.908 14087-14239/com.herohan.uvcdemo I/libUVCCamera: [14239UVCPreview.cpp:531:prepare_preview]:frameSize=(1920,1080)@MJPEG 2022-07-22 13:16:31.911 14087-14193/com.herohan.uvcdemo I/VideoCapture: source: 5 audioSampleRate: 8000 channelConfig: 16 audioFormat: 2 bufferSize: 320 2022-07-22 13:16:31.911 14087-14193/com.herohan.uvcdemo D/CameraInternal: processOnCameraOpen: 2022-07-22 13:16:31.919 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onCameraOpen: 2022-07-22 13:16:31.919 14087-14087/com.herohan.uvcdemo D/CameraHelper: startPreview: 2022-07-22 13:16:31.919 14087-14087/com.herohan.uvcdemo D/CameraHelper: getPreviewSize: 2022-07-22 13:16:31.919 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#startPreview: 2022-07-22 13:16:31.920 14087-14193/com.herohan.uvcdemo D/CameraInternal: startPreview: 2022-07-22 13:16:31.920 14087-14087/com.herohan.uvcdemo D/CameraHelper: addSurface:surface=Surface(name=null)/@0x8c14a35,isRecordable=false 2022-07-22 13:16:31.920 14087-14193/com.herohan.uvcdemo D/CameraInternal: updateRendererSize: 2022-07-22 13:16:31.924 14087-14203/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:31.924 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#addSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:31.924 14087-14193/com.herohan.uvcdemo D/CameraInternal: addSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:31.924 14087-14193/com.herohan.uvcdemo V/RendererHolder: addSlaveSurface:id=146885173,surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:31.938 14087-14203/com.herohan.uvcdemo V/RendererHolder: handleAddSurface:id=149352138 2022-07-22 13:16:31.938 14087-14203/com.herohan.uvcdemo V/RendererHolder: checkSurface 2022-07-22 13:16:31.938 14087-14242/com.herohan.uvcdemo E/libUVCCamera: [14242UVCPreview.cpp:546:prepare_preview]:could not negotiate with camera:err=-51 2022-07-22 13:16:31.945 14087-14202/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:31.951 14087-14202/com.herohan.uvcdemo V/RendererHolder: handleAddSurface:id=146885173 2022-07-22 13:16:31.951 14087-14202/com.herohan.uvcdemo V/RendererHolder: checkSurface 2022-07-22 13:16:32.280 284-14243/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:32.809 14087-14244/com.herohan.uvcdemo I/libUVCCamera: [14244UVCPreview.cpp:115:get_frame]:allocate new frame 2022-07-22 13:16:32.809 14087-14239/com.herohan.uvcdemo I/libUVCCamera: [14239UVCPreview.cpp:115:get_frame]:allocate new frame 2022-07-22 13:16:32.842 14087-14244/com.herohan.uvcdemo I/libUVCCamera: [14244UVCPreview.cpp:115:get_frame]:allocate new frame 2022-07-22 13:16:32.876 14087-14244/com.herohan.uvcdemo I/libUVCCamera: [14244UVCPreview.cpp:115:get_frame]:allocate new frame 2022-07-22 13:16:32.969 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:16:33.011 14087-14244/com.herohan.uvcdemo I/libUVCCamera: [14244UVCPreview.cpp:115:get_frame]:allocate new frame 2022-07-22 13:16:33.248 14087-14244/com.herohan.uvcdemo I/libUVCCamera: [14244UVCPreview.cpp:115:get_frame]:allocate new frame 2022-07-22 13:16:33.281 284-14246/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:33.612 606-1378/system_process E/TaskPersister: File error accessing recents directory (directory doesn't exist?). 2022-07-22 13:16:33.819 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:893 suspend_audio_datapath: suspend_audio_datapath: state 1 2022-07-22 13:16:33.819 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_SUSPEND 2022-07-22 13:16:33.819 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3160 btif_av_stream_started_ready: btif_av_stream_started_ready: Peer e8:07:bf:1c:44:c9 : state=3 flags=0x0(None) ready=1 2022-07-22 13:16:33.819 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3098 btif_av_stream_suspend: btif_av_stream_suspend 2022-07-22 13:16:33.819 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_SUSPEND DONE 2022-07-22 13:16:33.819 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2093 ProcessEvent: virtual bool BtifAvStateMachine::StateStarted::ProcessEvent(uint32_t, void ): Peer e8:07:bf:1c:44:c9 : event=BTIF_AV_SUSPEND_STREAM_REQ_EVT(0x1e) flags=0x0(None) 2022-07-22 13:16:33.819 762-1681/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:768 btif_a2dp_source_set_tx_flush: btif_a2dp_source_set_tx_flush: enable=true state=STATE_RUNNING 2022-07-22 13:16:33.819 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_api.cc:281 BTA_AvStop: BTA_AvStop: bta_handle=0x41 suspend=true 2022-07-22 13:16:33.819 762-1681/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: bta_av_str_stopped: peer e8:07:bf:1c:44:c9 bta_handle:0x41 audio_open_cnt:1, p_data 0xb40000752a4ead08 start:1 2022-07-22 13:16:33.819 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:33.819 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:33.820 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0x0002 min_local_timeout:0x0002 2022-07-22 13:16:33.858 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:33.858 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:33.858 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0x0002 min_local_timeout:0x0002 2022-07-22 13:16:33.858 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2141 ProcessEvent: virtual bool BtifAvStateMachine::StateStarted::ProcessEvent(uint32_t, void ): Peer e8:07:bf:1c:44:c9 : event=BTA_AV_SUSPEND_EVT(0xf) status=0 initiator=1 flags=0x1(LOCAL_SUSPEND_PENDING) 2022-07-22 13:16:33.858 762-1681/com.android.bluetooth I/bt_btif_a2dp: system/bt/btif/src/btif_a2dp.cc:131 btif_a2dp_on_suspended: btif_a2dp_on_suspended: ## ON A2DP SUSPENDED ## p_av_suspend=0xb40000753a4b8118 2022-07-22 13:16:33.858 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3285 btif_av_get_peer_sep: Peer e8:07:bf:1c:44:c9 SEP is Sink (1) 2022-07-22 13:16:33.859 762-1681/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:733 btif_a2dp_source_on_suspended: btif_a2dp_source_on_suspended: state=STATE_RUNNING 2022-07-22 13:16:33.859 762-1681/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:612 btif_a2dp_source_stop_audio_req: btif_a2dp_source_stop_audio_req: state=STATE_RUNNING 2022-07-22 13:16:33.859 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2406 btif_report_audio_state: btif_report_audio_state: peer_address=e8:07:bf:1c:44:c9 state=1 2022-07-22 13:16:33.859 762-1006/com.android.bluetooth I/BluetoothA2dpServiceJni: bta2dp_audio_state_callback 2022-07-22 13:16:33.859 762-1715/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:820 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event: media_alarm is running, streaming true state=STATE_RUNNING 2022-07-22 13:16:33.859 762-1006/com.android.bluetooth D/A2dpNativeInterface: onAudioStateChanged: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STOPPED} 2022-07-22 13:16:33.859 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: E msg.what=101 2022-07-22 13:16:33.860 762-1714/com.android.bluetooth D/A2dpStateMachine: processMsg: Connected 2022-07-22 13:16:33.860 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected process message(E8:07:BF:1C:44:C9): STACK_EVENT 2022-07-22 13:16:33.860 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected: stack event: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STOPPED} 2022-07-22 13:16:33.860 762-1714/com.android.bluetooth I/A2dpStateMachine: Connected: stopped playing: E8:07:BF:1C:44:C9 2022-07-22 13:16:33.860 762-1714/com.android.bluetooth D/A2dpStateMachine: A2DP Playing state : device: E8:07:BF:1C:44:C9 State:PLAYING->NOT_PLAYING 2022-07-22 13:16:33.863 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: X 2022-07-22 13:16:33.869 762-1715/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: poll timeout (10 ms) 2022-07-22 13:16:33.869 762-1715/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_SUSPEND, status 0 ## 2022-07-22 13:16:33.870 762-1715/com.android.bluetooth I/a2dp_sbc_encoder: system/bt/stack/a2dp/a2dp_sbc_encoder.cc:387 a2dp_sbc_feeding_reset: a2dp_sbc_feeding_reset: PCM bytes per tick 3528 2022-07-22 13:16:33.870 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:335 skt_disconnect: skt_disconnect: fd 11 2022-07-22 13:16:33.870 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_data_cb: BTIF MEDIA (A2DP-DATA) EVENT UIPC_CLOSE_EVT 2022-07-22 13:16:33.870 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_NONE, status 0 ## 2022-07-22 13:16:33.870 762-7787/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: btif_a2dp_command_ack: warning : no command pending, ignore ack 2022-07-22 13:16:33.950 606-691/system_process D/InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP 2022-07-22 13:16:34.088 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:833 start_audio_datapath: start_audio_datapath: state 5 2022-07-22 13:16:34.088 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_START 2022-07-22 13:16:34.088 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3131 btif_av_stream_ready: btif_av_stream_ready: Peer e8:07:bf:1c:44:c9 : state=2, flags=0x0(None) 2022-07-22 13:16:34.088 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3058 btif_av_stream_start: btif_av_stream_start 2022-07-22 13:16:34.088 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3285 btif_av_get_peer_sep: Peer e8:07:bf:1c:44:c9 SEP is Sink (1) 2022-07-22 13:16:34.088 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:1877 ProcessEvent: virtual bool BtifAvStateMachine::StateOpened::ProcessEvent(uint32_t, void ): Peer e8:07:bf:1c:44:c9 : event=BTIF_AV_START_STREAM_REQ_EVT(0x1c) flags=0x0(None) 2022-07-22 13:16:34.088 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_START DONE 2022-07-22 13:16:34.088 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_api.cc:218 BTA_AvStart: Starting audio/video stream data transfer bta_handle:65 2022-07-22 13:16:34.088 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:1803 bta_av_do_start: A2dp stream start peer:xx:xx:xx:xx:44:c9 sco_occupied:false av_role:0x0 started:false wait:0x0 2022-07-22 13:16:34.089 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:34.089 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:34.089 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0xfffe min_local_timeout:0xfffe 2022-07-22 13:16:34.089 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:34.089 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:34.089 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:1864 bta_av_do_start: bta_av_do_start: peer e8:07:bf:1c:44:c9 start requested: sco_occupied:false role:0x10 started:false wait:0x0 2022-07-22 13:16:34.108 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:2196 bta_av_start_ok: bta_av_start_ok: peer e8:07:bf:1c:44:c9 bta_handle:0x41 wait:0x0 role:0x10 local_tsep:0 2022-07-22 13:16:34.108 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:34.108 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:34.108 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:34.108 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:34.108 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0xfffe min_local_timeout:0xfffe 2022-07-22 13:16:34.109 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:34.109 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:34.109 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:1889 ProcessEvent: virtual bool BtifAvStateMachine::StateOpened::ProcessEvent(uint32_t, void ): Peer e8:07:bf:1c:44:c9 : event=BTA_AV_START_EVT(0x4) status=0 suspending=0 initiator=1 flags=0x4(PENDING_START) 2022-07-22 13:16:34.109 762-1681/com.android.bluetooth I/bt_stack: [INFO:btif_a2dp.cc(50)] btif_a2dp_on_started: ## ON A2DP STARTED ## peer e8:07:bf:1c:44:c9 p_av_start:0xb40000753a4b7e18 2022-07-22 13:16:34.109 762-1681/com.android.bluetooth I/bt_stack: [INFO:btif_a2dp.cc(72)] btif_a2dp_on_started: peer e8:07:bf:1c:44:c9 status:0 suspending:false initiator:true 2022-07-22 13:16:34.109 762-1681/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_START, status 0 ## 2022-07-22 13:16:34.109 762-1681/com.android.bluetooth I/bt_btif_a2dp_sink: system/bt/btif/src/btif_a2dp_sink.cc:575 btif_a2dp_sink_set_rx_flush: btif_a2dp_sink_set_rx_flush: enable=false 2022-07-22 13:16:34.109 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2406 btif_report_audio_state: btif_report_audio_state: peer_address=e8:07:bf:1c:44:c9 state=2 2022-07-22 13:16:34.109 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:244 skt_connect: skt_connect: connect to /data/misc/bluedroid/.a2dp_data (sz 7168) 2022-07-22 13:16:34.109 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:278 skt_connect: skt_connect: connected to stack fd = 11 2022-07-22 13:16:34.109 762-1006/com.android.bluetooth I/BluetoothA2dpServiceJni: bta2dp_audio_state_callback 2022-07-22 13:16:34.109 762-1006/com.android.bluetooth D/A2dpNativeInterface: onAudioStateChanged: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STARTED} 2022-07-22 13:16:34.109 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_data_cb: BTIF MEDIA (A2DP-DATA) EVENT UIPC_OPEN_EVT 2022-07-22 13:16:34.110 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3285 btif_av_get_peer_sep: Peer e8:07:bf:1c:44:c9 SEP is Sink (1) 2022-07-22 13:16:34.110 762-7787/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:605 btif_a2dp_source_start_audio_req: btif_a2dp_source_start_audio_req: state=STATE_RUNNING 2022-07-22 13:16:34.110 762-1715/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:777 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event: media_alarm is stopped, streaming false state=STATE_RUNNING 2022-07-22 13:16:34.110 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: E msg.what=101 2022-07-22 13:16:34.110 762-1715/com.android.bluetooth I/a2dp_sbc_encoder: system/bt/stack/a2dp/a2dp_sbc_encoder.cc:387 a2dp_sbc_feeding_reset: a2dp_sbc_feeding_reset: PCM bytes per tick 3528 2022-07-22 13:16:34.110 762-1714/com.android.bluetooth D/A2dpStateMachine: processMsg: Connected 2022-07-22 13:16:34.110 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected process message(E8:07:BF:1C:44:C9): STACK_EVENT 2022-07-22 13:16:34.110 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected: stack event: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STARTED} 2022-07-22 13:16:34.110 762-1714/com.android.bluetooth I/A2dpStateMachine: Connected: started playing: E8:07:BF:1C:44:C9 2022-07-22 13:16:34.110 762-1714/com.android.bluetooth D/A2dpStateMachine: A2DP Playing state : device: E8:07:BF:1C:44:C9 State:NOT_PLAYING->PLAYING 2022-07-22 13:16:34.112 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: X 2022-07-22 13:16:34.154 14087-14087/com.herohan.uvcdemo D/CameraHelper: getDeviceList: 2022-07-22 13:16:34.191 14087-14087/com.herohan.uvcdemo D/CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10095; state: ENABLED 2022-07-22 13:16:34.280 284-14248/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:34.281 514-527/? D/RIL RILU: find_pci_device is 0 2022-07-22 13:16:34.285 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:16:34.285 514-527/? D/RIL RILC: USB can't find at device 2022-07-22 13:16:34.811 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:34.818 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:34.834 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:34.851 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:34.867 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:35.281 284-14250/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:35.310 606-691/system_process D/InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP 2022-07-22 13:16:35.424 14087-14087/com.herohan.uvcdemo D/CameraHelper: closeCamera:com.herohan.uvcapp.CameraHelper@ef58cb6 2022-07-22 13:16:35.424 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: selectDeviceLeft:device=/dev/bus/usb/001/004 2022-07-22 13:16:35.424 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#closeCamera: 2022-07-22 13:16:35.424 14087-14087/com.herohan.uvcdemo D/CameraHelper: selectDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:35.424 14087-14193/com.herohan.uvcdemo D/CameraInternal: closeCamera: 2022-07-22 13:16:35.424 14087-14193/com.herohan.uvcdemo I/VideoCapture: stopRecording 2022-07-22 13:16:35.429 14087-14193/com.herohan.uvcdemo V/UVCCamera: close 2022-07-22 13:16:35.430 606-1149/system_process W/InputManager-JNI: Input channel object 'f5ffb48 com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity (client)' was disposed without first being removed with the input manager! 2022-07-22 13:16:38.565 14193-14193/? I/uvcvideo: Found UVC 1.00 device (046d:0825) 2022-07-22 13:16:35.444 606-628/system_process V/WindowManager: Unknown focus tokens, dropping reportFocusChanged 2022-07-22 13:16:35.458 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#close: 2022-07-22 13:16:35.458 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:38.588 14193-14193/? I/uvcvideo: No streaming interface found for terminal 5. 2022-07-22 13:16:38.589 14193-14193/? I/input: UVC Camera (046d:0825) as /devices/platform/fc800000.usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input35 2022-07-22 13:16:38.590 14204-14204/? W/usb 1-1.4: usbfs: process 14204 (CameraHelper) did not claim interface 0 before use 2022-07-22 13:16:35.460 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onDeviceClose: 2022-07-22 13:16:35.460 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: removeCamera:device=/dev/bus/usb/001/004 2022-07-22 13:16:35.460 14087-14194/com.herohan.uvcdemo D/CameraInternal: release: 2022-07-22 13:16:35.460 14087-14194/com.herohan.uvcdemo D/CameraInternal: releaseResource 2022-07-22 13:16:35.460 14087-14193/com.herohan.uvcdemo D/CameraInternal: processOnCameraClose: 2022-07-22 13:16:35.461 14087-14194/com.herohan.uvcdemo D/CameraInternal: clearCallbacks: 2022-07-22 13:16:35.461 14087-14194/com.herohan.uvcdemo V/RendererHolder: release: 2022-07-22 13:16:35.462 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: number of existed camera=0 2022-07-22 13:16:35.462 14087-14193/com.herohan.uvcdemo I/VideoCapture: stopRecording 2022-07-22 13:16:35.463 14087-14202/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurfaceAll: 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: No input device configuration file found for device 'UVC Camera (046d:0825)'. 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: configureLightsLocked rawLightId 1 name uevent 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: configureLightsLocked rawLightId 2 name of_node 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: configureLightsLocked rawLightId 3 name power 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: configureLightsLocked rawLightId 4 name leds 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: configureLightsLocked rawLightId 5 name driver 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: configureLightsLocked rawLightId 6 name driver_override 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: configureLightsLocked rawLightId 7 name subsystem 2022-07-22 13:16:35.464 606-691/system_process D/EventHub: configureLightsLocked rawLightId 8 name modalias 2022-07-22 13:16:35.464 14087-14224/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:35.465 606-691/system_process W/EventHub: Unable to disable kernel key repeat for /dev/input/event6: Function not implemented 2022-07-22 13:16:35.465 606-691/system_process I/EventHub: usingClockIoctl=true 2022-07-22 13:16:35.465 606-691/system_process I/EventHub: New device: id=36, fd=425, path='/dev/input/event6', name='UVC Camera (046d:0825)', classes=KEYBOARD | LIGHT | EXTERNAL, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, 2022-07-22 13:16:35.465 606-691/system_process I/InputReader: Device added: id=37, eventHubId=36, name='UVC Camera (046d:0825)', descriptor='a022df5abbbabd1630f870f92384d9367f7e1067',sources=0x00000101 2022-07-22 13:16:35.466 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onDeviceClose: 2022-07-22 13:16:35.466 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onCameraClose: 2022-07-22 13:16:35.466 436-436/? I/C2RKComponent: release in 2022-07-22 13:16:35.466 14087-14087/com.herohan.uvcdemo D/CameraHelper: removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:35.466 436-14227/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:35.467 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#selectDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:35.467 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: request permission 2022-07-22 13:16:35.467 14087-14193/com.herohan.uvcdemo V/USBMonitor: requestPermission:device=/dev/bus/usb/001/004 2022-07-22 13:16:35.467 436-436/? I/C2RKMpiEnc: ~C2RKMpiEnc(736): in 2022-07-22 13:16:35.467 436-436/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:35.467 14087-14220/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:35.469 14087-14193/com.herohan.uvcdemo V/USBMonitor: processOpenDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:35.469 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock:constructor 2022-07-22 13:16:35.470 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#open: 2022-07-22 13:16:35.485 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:35.489 14087-14193/com.herohan.uvcdemo I/USBMonitor: name=/dev/bus/usb/001/004,desc=74,busnum=1,devnum=4,rawDesc=[B@3757c8e 2022-07-22 13:16:35.489 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: wait for getting permission 2022-07-22 13:16:35.489 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onDeviceOpen: 2022-07-22 13:16:35.489 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: addCamera:device=/dev/bus/usb/001/004 2022-07-22 13:16:35.490 14087-14194/com.herohan.uvcdemo D/CameraInternal: Constructor: 2022-07-22 13:16:35.497 14087-14194/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:35.499 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: number of existed camera=1 2022-07-22 13:16:35.499 14087-14194/com.herohan.uvcdemo D/CameraInternal: registerCallback: 2022-07-22 13:16:35.499 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: check CameraInternal again 2022-07-22 13:16:35.499 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: success to get service:serviceId=/dev/bus/usb/001/004#1133#2085#239#2#1#null#1#0.12# 2022-07-22 13:16:35.499 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:35.500 14087-14193/com.herohan.uvcdemo D/CameraInternal: removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:35.500 14087-14193/com.herohan.uvcdemo V/RendererHolder: removeSlaveSurface:id=146885173 2022-07-22 13:16:35.506 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onDeviceOpen: 2022-07-22 13:16:35.506 14087-14087/com.herohan.uvcdemo D/CameraHelper: openCamera: 2022-07-22 13:16:35.507 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#openCamera: 2022-07-22 13:16:35.507 14087-14193/com.herohan.uvcdemo D/CameraInternal: openCamera: 2022-07-22 13:16:35.507 14087-14193/com.herohan.uvcdemo D/CameraInternal: resetUVCCamera: 2022-07-22 13:16:35.507 14087-14193/com.herohan.uvcdemo V/RendererHolder: removeSlaveSurfaceAll 2022-07-22 13:16:35.515 14087-14254/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:35.517 14087-14254/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurfaceAll: 2022-07-22 13:16:35.518 14087-14193/com.herohan.uvcdemo D/CameraInternal: openUVCCamera: 2022-07-22 13:16:35.518 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock:constructor 2022-07-22 13:16:35.518 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#open: 2022-07-22 13:16:35.530 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:35.534 14087-14193/com.herohan.uvcdemo I/USBMonitor: name=/dev/bus/usb/001/004,desc=87,busnum=1,devnum=4,rawDesc=[B@f588f66 2022-07-22 13:16:35.540 606-691/system_process I/EventHub: Removing device '/dev/input/event6' due to inotify event 2022-07-22 13:16:35.540 606-691/system_process I/EventHub: Removed device: path=/dev/input/event6 name=UVC Camera (046d:0825) id=36 fd=425 classes=KEYBOARD | LIGHT | EXTERNAL 2022-07-22 13:16:35.556 606-691/system_process I/InputReader: Device removed: id=37, eventHubId=36, name='UVC Camera (046d:0825)', descriptor='a022df5abbbabd1630f870f92384d9367f7e1067', sources=0x00000101 2022-07-22 13:16:35.556 606-691/system_process D/InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP 2022-07-22 13:16:35.640 14087-14193/com.herohan.uvcdemo D/UVCCamera: setPreviewSize:-51:Size(1280x960@30,type:7) 2022-07-22 13:16:35.720 14087-14193/com.herohan.uvcdemo I/CameraInternal: supportedSize:{"formats":[{"index":1,"subType":4,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":160,"height":120,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":176,"height":144,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":320,"height":176,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":320,"height":240,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":352,"height":288,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":432,"height":240,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":544,"height":288,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":640,"height":360,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":752,"height":416,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":5,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25},{"index":1,"value":500000,"fps":20},{"index":2,"value":666666,"fps":15},{"index":3,"value":1000000,"fps":10},{"index":4,"value":2000000,"fps":5}]},{"width":800,"height":448,"subType":5,"defaultFrameInterval":500000,"frameIntervalType":4,"defaultFps":20,"intervals":[{"index":0,"value":500000,"fps":20},{"index":1,"value":666666,"fps":15},{"index":2,"value":1000000,"fps":10},{"index":3,"value":2000000,"fps":5}]},{"width":800,"height":600,"subType":5,"defaultFrameInterval":500000,"frameIntervalType":4,"defaultFps":20,"intervals":[{"index":0,"value":500000,"fps":20},{"index":1,"value":666666,"fps":15},{"index":2,"value":1000000,"fps":10},{"index":3,"value":2000000,"fps":5}]},{"width":864,"height":480,"subType":5,"defaultFrameInterval":500000,"frameIntervalTy 2022-07-22 13:16:35.720 14087-14193/com.herohan.uvcdemo D/CameraInternal: setCameraPreviewConfig: 2022-07-22 13:16:35.720 14087-14193/com.herohan.uvcdemo D/CameraInternal: rotateTo:0 2022-07-22 13:16:35.720 14087-14193/com.herohan.uvcdemo D/CameraInternal: setMirrorMode:0 2022-07-22 13:16:35.724 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:35.728 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:35.729 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:35.732 14087-14259/com.herohan.uvcdemo D/CCodec: allocate(c2.rk.avc.encoder) 2022-07-22 13:16:35.734 14087-14259/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:35.735 436-436/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:35.735 436-436/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:35.735 436-436/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:35.735 436-436/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:35.735 436-436/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:35.736 436-436/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:35.736 436-436/? I/C2RKMpiEnc: version: commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:35.736 436-436/? I/C2RKMpiEnc: venc_debug: 0x0 2022-07-22 13:16:35.737 14087-14259/com.herohan.uvcdemo I/CCodec: Created component [c2.rk.avc.encoder] 2022-07-22 13:16:35.738 14087-14259/com.herohan.uvcdemo D/CCodecConfig: read media type: video/avc 2022-07-22 13:16:35.740 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:35.740 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:35.740 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:35.740 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:35.740 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:35.741 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:35.741 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:35.742 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.gop.values 2022-07-22 13:16:35.742 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.qp.values 2022-07-22 13:16:35.743 14087-14259/com.herohan.uvcdemo D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2022-07-22 13:16:35.744 14087-14259/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 14 values (BAD_INDEX) 2022-07-22 13:16:35.744 14087-14259/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 1 c2::u32 coded.pl.level = 20489 c2::u32 coded.pl.profile = 20480 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 input.delay.value = 0 string input.media-type.value = "video/raw" string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 0 c2::u32 raw.size.height = 144 c2::u32 raw.size.width = 176 } 2022-07-22 13:16:35.744 14087-14259/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:35.746 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:35.746 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:35.746 14087-14261/com.herohan.uvcdemo D/CCodec: allocate(c2.android.aac.encoder) 2022-07-22 13:16:35.747 14087-14261/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:35.749 14087-14261/com.herohan.uvcdemo I/CCodec: Created component [c2.android.aac.encoder] 2022-07-22 13:16:35.749 14087-14261/com.herohan.uvcdemo D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-22 13:16:35.751 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:35.751 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:35.752 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:35.752 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:35.752 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:35.752 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:35.752 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:35.754 14087-14261/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:35.754 14087-14261/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2022-07-22 13:16:35.755 436-1133/? I/C2RKComponent: release in 2022-07-22 13:16:35.755 436-14260/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:35.755 14087-14259/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:35.755 436-1133/? I/C2RKMpiEnc: ~C2RKMpiEnc(736): in 2022-07-22 13:16:35.755 436-1133/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:35.756 14087-14259/com.herohan.uvcdemo D/CCodec: allocate(c2.rk.avc.encoder) 2022-07-22 13:16:35.757 14087-14259/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:35.757 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:35.757 436-3631/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:35.757 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:35.757 436-3631/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:35.757 436-3631/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:35.758 436-3631/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:35.758 436-3631/? I/C2RKMpiEnc: version: commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:35.758 436-3631/? I/C2RKMpiEnc: venc_debug: 0x0 2022-07-22 13:16:35.759 14087-14259/com.herohan.uvcdemo I/CCodec: Created component [c2.rk.avc.encoder] 2022-07-22 13:16:35.759 14087-14259/com.herohan.uvcdemo D/CCodecConfig: read media type: video/avc 2022-07-22 13:16:35.760 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:35.761 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:35.761 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:35.761 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:35.761 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:35.761 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:35.761 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:35.762 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.gop.values 2022-07-22 13:16:35.762 14087-14259/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.qp.values 2022-07-22 13:16:35.763 14087-14259/com.herohan.uvcdemo D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2022-07-22 13:16:35.763 14087-14259/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 14 values (BAD_INDEX) 2022-07-22 13:16:35.763 14087-14259/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 1 c2::u32 coded.pl.level = 20489 c2::u32 coded.pl.profile = 20480 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 input.delay.value = 0 string input.media-type.value = "video/raw" string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 0 c2::u32 raw.size.height = 144 c2::u32 raw.size.width = 176 } 2022-07-22 13:16:35.763 14087-14259/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:35.764 14087-14193/com.herohan.uvcdemo D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2022-07-22 13:16:35.765 14087-14259/com.herohan.uvcdemo D/CCodec: [c2.rk.avc.encoder] buffers are bound to CCodec for this session 2022-07-22 13:16:35.765 14087-14259/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for color-format 2022-07-22 13:16:35.766 14087-14259/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for flags 2022-07-22 13:16:35.766 14087-14259/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for encoder 2022-07-22 13:16:35.766 436-3631/? I/C2RKMpiEnc: Given level 5009 does not cover current configuration: adjusting to 500a 2022-07-22 13:16:35.766 14087-14259/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 9830400 c2::float coded.frame-rate.value = 30 c2::u32 raw.size.height = 960 c2::u32 raw.size.width = 1280 2022-07-22 13:16:35.767 14087-14259/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:35.767 14087-14259/com.herohan.uvcdemo D/CCodec: setup formats input: AMessage(what = 0x00000000) = { Rect crop(0, 0, 1279, 959) int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t width = 1280 int32_t android._dataspace = 0 int32_t using-sw-read-often = 1 int64_t android._C2MemoryUsage = 1 int32_t color-format = 2130708361 int32_t android._color-format = 2130708361 } 2022-07-22 13:16:35.767 14087-14259/com.herohan.uvcdemo D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 9830400 int32_t bitrate-mode = 1 Rect crop(0, 0, 1279, 959) int32_t width = 1280 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 int32_t level = 512 int32_t max-bitrate = 9830400 string mime = "video/avc" int32_t profile = 1 } 2022-07-22 13:16:35.768 14087-14259/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 15 values (BAD_INDEX) 2022-07-22 13:16:35.768 14087-14259/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 coded.pl.level = 20490 2022-07-22 13:16:35.769 14087-14259/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:35.772 14087-14259/com.herohan.uvcdemo D/CCodec: input format changed to AMessage(what = 0x00000000) = { Rect crop(0, 0, 1279, 959) int32_t color-standard = 1 int32_t color-range = 2 int32_t color-transfer = 3 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t width = 1280 int32_t android._dataspace = 260 int32_t using-sw-read-often = 1 int64_t android._C2MemoryUsage = 1 int32_t color-format = 2130708361 int32_t android._color-format = 2130708361 } 2022-07-22 13:16:35.772 512-572/? D/GraphicBufferSource: setting dataspace: 0x104, acquired=0 2022-07-22 13:16:35.772 14087-14259/com.herohan.uvcdemo D/CCodec: ISConfig not changed 2022-07-22 13:16:35.774 14087-14261/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:35.775 14087-14261/com.herohan.uvcdemo D/CCodec: allocate(c2.android.aac.encoder) 2022-07-22 13:16:35.775 14087-14261/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:35.776 14087-14261/com.herohan.uvcdemo I/CCodec: Created component [c2.android.aac.encoder] 2022-07-22 13:16:35.776 14087-14261/com.herohan.uvcdemo D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-22 13:16:35.778 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:35.778 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:35.778 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:35.778 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:35.778 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:35.778 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:35.778 14087-14261/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:35.779 14087-14261/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:35.779 14087-14261/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2022-07-22 13:16:35.780 14087-14193/com.herohan.uvcdemo D/MediaCodec: shapeMediaFormat: deltas(0): AMessage(what = 0x00000000) = { } 2022-07-22 13:16:35.780 14087-14261/com.herohan.uvcdemo D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session 2022-07-22 13:16:35.780 14087-14261/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for flags 2022-07-22 13:16:35.780 14087-14261/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for encoder 2022-07-22 13:16:35.780 14087-14261/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 raw.sample-rate.value = 8000 2022-07-22 13:16:35.780 14087-14261/com.herohan.uvcdemo W/Codec2Client: query -- param skipped: index = 1107298332. 2022-07-22 13:16:35.780 14087-14261/com.herohan.uvcdemo D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t channel-count = 1 int32_t max-input-size = 2048 string mime = "audio/raw" } 2022-07-22 13:16:35.780 14087-14261/com.herohan.uvcdemo D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t bitrate = 64000 int32_t channel-count = 1 int32_t level = 0 int32_t max-bitrate = 64000 string mime = "audio/mp4a-latm" int32_t profile = 2 } 2022-07-22 13:16:35.780 14087-14261/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:35.788 449-14270/? I/AudioFlinger: AudioFlinger's thread 0xb400007b0bd05c60 tid=14270 ready to run 2022-07-22 13:16:35.791 14087-14193/com.herohan.uvcdemo I/VideoCapture: source: 5 audioSampleRate: 8000 channelConfig: 16 audioFormat: 2 bufferSize: 320 2022-07-22 13:16:35.791 14087-14193/com.herohan.uvcdemo D/CameraInternal: processOnCameraOpen: 2022-07-22 13:16:35.791 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onCameraOpen: 2022-07-22 13:16:35.791 14087-14087/com.herohan.uvcdemo D/CameraHelper: startPreview: 2022-07-22 13:16:35.791 14087-14087/com.herohan.uvcdemo D/CameraHelper: getPreviewSize: 2022-07-22 13:16:35.791 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#startPreview: 2022-07-22 13:16:35.791 14087-14193/com.herohan.uvcdemo D/CameraInternal: startPreview: 2022-07-22 13:16:35.791 14087-14087/com.herohan.uvcdemo D/CameraHelper: addSurface:surface=Surface(name=null)/@0x8c14a35,isRecordable=false 2022-07-22 13:16:35.791 14087-14193/com.herohan.uvcdemo D/CameraInternal: updateRendererSize: 2022-07-22 13:16:35.793 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#addSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:35.793 14087-14193/com.herohan.uvcdemo D/CameraInternal: addSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:35.793 14087-14193/com.herohan.uvcdemo V/RendererHolder: addSlaveSurface:id=146885173,surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:35.806 14087-14254/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:35.807 14087-14254/com.herohan.uvcdemo V/RendererHolder: handleAddSurface:id=146885173 2022-07-22 13:16:35.807 14087-14254/com.herohan.uvcdemo V/RendererHolder: checkSurface 2022-07-22 13:16:35.982 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:16:36.282 284-14272/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:37.106 14087-14271/com.herohan.uvcdemo E/libUVCCamera: [14271UVCPreview.cpp:546:prepare_preview]:could not negotiate with camera:err=-51 2022-07-22 13:16:37.284 284-14274/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:37.285 514-527/? D/RIL RILU: find_pci_device is 0 2022-07-22 13:16:37.289 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:16:37.289 514-527/? D/RIL RILC: USB can't find at device 2022-07-22 13:16:38.284 284-14275/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:38.531 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:893 suspend_audio_datapath: suspend_audio_datapath: state 1 2022-07-22 13:16:38.531 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_SUSPEND 2022-07-22 13:16:38.531 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3160 btif_av_stream_started_ready: btif_av_stream_started_ready: Peer e8:07:bf:1c:44:c9 : state=3 flags=0x0(None) ready=1 2022-07-22 13:16:38.531 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3098 btif_av_stream_suspend: btif_av_stream_suspend 2022-07-22 13:16:38.531 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_SUSPEND DONE 2022-07-22 13:16:38.531 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2093 ProcessEvent: virtual bool BtifAvStateMachine::StateStarted::ProcessEvent(uint32_t, void ): Peer e8:07:bf:1c:44:c9 : event=BTIF_AV_SUSPEND_STREAM_REQ_EVT(0x1e) flags=0x0(None) 2022-07-22 13:16:38.531 762-1681/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:768 btif_a2dp_source_set_tx_flush: btif_a2dp_source_set_tx_flush: enable=true state=STATE_RUNNING 2022-07-22 13:16:38.531 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_api.cc:281 BTA_AvStop: BTA_AvStop: bta_handle=0x41 suspend=true 2022-07-22 13:16:38.531 762-1681/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: bta_av_str_stopped: peer e8:07:bf:1c:44:c9 bta_handle:0x41 audio_open_cnt:1, p_data 0xb40000752a4eb1e8 start:1 2022-07-22 13:16:38.532 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:38.532 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:38.532 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0x0002 min_local_timeout:0x0002 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0x0002 min_local_timeout:0x0002 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2141 ProcessEvent: virtual bool BtifAvStateMachine::StateStarted::ProcessEvent(uint32_t, void ): Peer e8:07:bf:1c:44:c9 : event=BTA_AV_SUSPEND_EVT(0xf) status=0 initiator=1 flags=0x1(LOCAL_SUSPEND_PENDING) 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/bt_btif_a2dp: system/bt/btif/src/btif_a2dp.cc:131 btif_a2dp_on_suspended: btif_a2dp_on_suspended: ## ON A2DP SUSPENDED ## p_av_suspend=0xb40000753a4b81d8 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3285 btif_av_get_peer_sep: Peer e8:07:bf:1c:44:c9 SEP is Sink (1) 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:733 btif_a2dp_source_on_suspended: btif_a2dp_source_on_suspended: state=STATE_RUNNING 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:612 btif_a2dp_source_stop_audio_req: btif_a2dp_source_stop_audio_req: state=STATE_RUNNING 2022-07-22 13:16:38.560 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2406 btif_report_audio_state: btif_report_audio_state: peer_address=e8:07:bf:1c:44:c9 state=1 2022-07-22 13:16:38.560 762-1006/com.android.bluetooth I/BluetoothA2dpServiceJni: bta2dp_audio_state_callback 2022-07-22 13:16:38.560 762-1715/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:820 btif_a2dp_source_audio_tx_stop_event: btif_a2dp_source_audio_tx_stop_event: media_alarm is running, streaming true state=STATE_RUNNING 2022-07-22 13:16:38.561 762-1006/com.android.bluetooth D/A2dpNativeInterface: onAudioStateChanged: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STOPPED} 2022-07-22 13:16:38.561 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: E msg.what=101 2022-07-22 13:16:38.561 762-1714/com.android.bluetooth D/A2dpStateMachine: processMsg: Connected 2022-07-22 13:16:38.561 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected process message(E8:07:BF:1C:44:C9): STACK_EVENT 2022-07-22 13:16:38.562 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected: stack event: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STOPPED} 2022-07-22 13:16:38.562 762-1714/com.android.bluetooth I/A2dpStateMachine: Connected: stopped playing: E8:07:BF:1C:44:C9 2022-07-22 13:16:38.562 762-1714/com.android.bluetooth D/A2dpStateMachine: A2DP Playing state : device: E8:07:BF:1C:44:C9 State:PLAYING->NOT_PLAYING 2022-07-22 13:16:38.563 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: X 2022-07-22 13:16:38.571 762-1715/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: poll timeout (10 ms) 2022-07-22 13:16:38.571 762-1715/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_SUSPEND, status 0 ## 2022-07-22 13:16:38.571 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:335 skt_disconnect: skt_disconnect: fd 11 2022-07-22 13:16:38.571 762-1715/com.android.bluetooth I/a2dp_sbc_encoder: system/bt/stack/a2dp/a2dp_sbc_encoder.cc:387 a2dp_sbc_feeding_reset: a2dp_sbc_feeding_reset: PCM bytes per tick 3528 2022-07-22 13:16:38.572 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_data_cb: BTIF MEDIA (A2DP-DATA) EVENT UIPC_CLOSE_EVT 2022-07-22 13:16:38.572 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_NONE, status 0 ## 2022-07-22 13:16:38.572 762-7787/com.android.bluetooth E/bt_btif: system/bt/main/bte_logmsg.cc:191 LogMsg: btif_a2dp_command_ack: warning : no command pending, ignore ack 2022-07-22 13:16:38.991 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:16:39.126 606-691/system_process D/InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP 2022-07-22 13:16:39.257 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:833 start_audio_datapath: start_audio_datapath: state 5 2022-07-22 13:16:39.258 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_START 2022-07-22 13:16:39.258 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3131 btif_av_stream_ready: btif_av_stream_ready: Peer e8:07:bf:1c:44:c9 : state=2, flags=0x0(None) 2022-07-22 13:16:39.258 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3058 btif_av_stream_start: btif_av_stream_start 2022-07-22 13:16:39.258 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3285 btif_av_get_peer_sep: Peer e8:07:bf:1c:44:c9 SEP is Sink (1) 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:1877 ProcessEvent: virtual bool BtifAvStateMachine::StateOpened::ProcessEvent(uint32_t, void ): Peer e8:07:bf:1c:44:c9 : event=BTIF_AV_START_STREAM_REQ_EVT(0x1c) flags=0x0(None) 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_api.cc:218 BTA_AvStart: Starting audio/video stream data transfer bta_handle:65 2022-07-22 13:16:39.258 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_START DONE 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:1803 bta_av_do_start: A2dp stream start peer:xx:xx:xx:xx:44:c9 sco_occupied:false av_role:0x0 started:false wait:0x0 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0xfffe min_local_timeout:0xfffe 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:39.258 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:1864 bta_av_do_start: bta_av_do_start: peer e8:07:bf:1c:44:c9 start requested: sco_occupied:false role:0x10 started:false wait:0x0 2022-07-22 13:16:39.287 284-14276/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:39.292 14087-14087/com.herohan.uvcdemo D/CameraHelper: getDeviceList: 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bt_bta_av: system/bt/bta/av/bta_av_aact.cc:2196 bta_av_start_ok: bta_av_start_ok: peer e8:07:bf:1c:44:c9 bta_handle:0x41 wait:0x0 role:0x10 local_tsep:0 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:0 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:805 bta_dm_pm_ssr: Found connected service:Advanced audio/video app_id:1 peer:xx:xx:xx:xx:44:c9 spec_name:sniff_capable 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:352 BTM_SetSsrParams: Set sniff subrating state:immediate:active[0] max_latency:0x04b0 min_remote_timeout:0xfffe min_local_timeout:0xfffe 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bt_btm_pm: system/bt/stack/acl/btm_pm.cc:243 BTM_SetPowerMode: Device is already in requested mode 0, interval: 0, max: 0, min: 0 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bluetooth: system/bt/bta/dm/bta_dm_pm.cc:884 bta_dm_pm_active: Active power mode already set for device:xx:xx:xx:xx:44:c9 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:1889 ProcessEvent: virtual bool BtifAvStateMachine::StateOpened::ProcessEvent(uint32_t, void *): Peer e8:07:bf:1c:44:c9 : event=BTA_AV_START_EVT(0x4) status=0 suspending=0 initiator=1 flags=0x4(PENDING_START) 2022-07-22 13:16:39.412 762-1681/com.android.bluetooth I/bt_stack: [INFO:btif_a2dp.cc(50)] btif_a2dp_on_started: ## ON A2DP STARTED ## peer e8:07:bf:1c:44:c9 p_av_start:0xb40000753a4b81d8 2022-07-22 13:16:39.413 762-1681/com.android.bluetooth I/bt_stack: [INFO:btif_a2dp.cc(72)] btif_a2dp_on_started: peer e8:07:bf:1c:44:c9 status:0 suspending:false initiator:true 2022-07-22 13:16:39.413 762-1681/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_START, status 0 ## 2022-07-22 13:16:39.413 762-1681/com.android.bluetooth I/bt_btif_a2dp_sink: system/bt/btif/src/btif_a2dp_sink.cc:575 btif_a2dp_sink_set_rx_flush: btif_a2dp_sink_set_rx_flush: enable=false 2022-07-22 13:16:39.413 762-1681/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:2406 btif_report_audio_state: btif_report_audio_state: peer_address=e8:07:bf:1c:44:c9 state=2 2022-07-22 13:16:39.413 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:244 skt_connect: skt_connect: connect to /data/misc/bluedroid/.a2dp_data (sz 7168) 2022-07-22 13:16:39.413 449-7792/? I/bt_a2dp_hw: system/bt/audio_a2dp_hw/src/audio_a2dp_hw.cc:278 skt_connect: skt_connect: connected to stack fd = 11 2022-07-22 13:16:39.413 762-7787/com.android.bluetooth W/bt_btif: system/bt/main/bte_logmsg.cc:194 LogMsg: btif_a2dp_data_cb: BTIF MEDIA (A2DP-DATA) EVENT UIPC_OPEN_EVT 2022-07-22 13:16:39.413 762-7787/com.android.bluetooth I/btif_av: system/bt/btif/src/btif_av.cc:3285 btif_av_get_peer_sep: Peer e8:07:bf:1c:44:c9 SEP is Sink (1) 2022-07-22 13:16:39.413 762-7787/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:605 btif_a2dp_source_start_audio_req: btif_a2dp_source_start_audio_req: state=STATE_RUNNING 2022-07-22 13:16:39.413 762-1715/com.android.bluetooth I/bt_btif_a2dp_source: system/bt/btif/src/btif_a2dp_source.cc:777 btif_a2dp_source_audio_tx_start_event: btif_a2dp_source_audio_tx_start_event: media_alarm is stopped, streaming false state=STATE_RUNNING 2022-07-22 13:16:39.413 762-1715/com.android.bluetooth I/a2dp_sbc_encoder: system/bt/stack/a2dp/a2dp_sbc_encoder.cc:387 a2dp_sbc_feeding_reset: a2dp_sbc_feeding_reset: PCM bytes per tick 3528 2022-07-22 13:16:39.415 762-1006/com.android.bluetooth I/BluetoothA2dpServiceJni: bta2dp_audio_state_callback 2022-07-22 13:16:39.415 762-1006/com.android.bluetooth D/A2dpNativeInterface: onAudioStateChanged: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STARTED} 2022-07-22 13:16:39.416 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: E msg.what=101 2022-07-22 13:16:39.416 762-1714/com.android.bluetooth D/A2dpStateMachine: processMsg: Connected 2022-07-22 13:16:39.416 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected process message(E8:07:BF:1C:44:C9): STACK_EVENT 2022-07-22 13:16:39.416 762-1714/com.android.bluetooth D/A2dpStateMachine: Connected: stack event: A2dpStackEvent {type:EVENT_TYPE_AUDIO_STATE_CHANGED, device:E8:07:BF:1C:44:C9, value1:STARTED} 2022-07-22 13:16:39.416 762-1714/com.android.bluetooth I/A2dpStateMachine: Connected: started playing: E8:07:BF:1C:44:C9 2022-07-22 13:16:39.416 762-1714/com.android.bluetooth D/A2dpStateMachine: A2DP Playing state : device: E8:07:BF:1C:44:C9 State:NOT_PLAYING->PLAYING 2022-07-22 13:16:39.417 762-1714/com.android.bluetooth D/A2dpStateMachine: handleMessage: X 2022-07-22 13:16:39.459 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.467 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.484 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.501 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.518 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.535 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.551 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.567 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.584 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.600 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.618 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.635 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.651 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.668 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.684 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:39.701 14087-14087/com.herohan.uvcdemo D/ViewRootImpl[MultiCameraActivity]: updatePointerIcon called with position out of bounds 2022-07-22 13:16:40.278 606-691/system_process D/InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP 2022-07-22 13:16:40.286 284-14278/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:40.289 514-527/? D/RIL RILU: find_pci_device is 0 2022-07-22 13:16:40.298 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:16:40.298 514-527/? D/RIL RILC: USB can't find at device 2022-07-22 13:16:40.393 14087-14087/com.herohan.uvcdemo D/CameraHelper: closeCamera:com.herohan.uvcapp.CameraHelper@ef58cb6 2022-07-22 13:16:40.393 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: selectDeviceLeft:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.393 14087-14087/com.herohan.uvcdemo D/CameraHelper: selectDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.394 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#closeCamera: 2022-07-22 13:16:40.394 14087-14193/com.herohan.uvcdemo D/CameraInternal: closeCamera: 2022-07-22 13:16:40.394 14087-14193/com.herohan.uvcdemo I/VideoCapture: stopRecording 2022-07-22 13:16:40.395 14087-14193/com.herohan.uvcdemo V/UVCCamera: close 2022-07-22 13:16:43.530 14193-14193/? I/uvcvideo: Found UVC 1.00 device (046d:0825) 2022-07-22 13:16:40.406 606-5086/system_process W/InputManager-JNI: Input channel object '92da63e com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity (client)' was disposed without first being removed with the input manager! 2022-07-22 13:16:43.553 14193-14193/? I/uvcvideo: No streaming interface found for terminal 5. 2022-07-22 13:16:43.553 14193-14193/? I/input: UVC Camera (046d:0825) as /devices/platform/fc800000.usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input36 2022-07-22 13:16:40.427 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#close: 2022-07-22 13:16:40.427 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:40.427 14087-14193/com.herohan.uvcdemo D/CameraInternal: processOnCameraClose: 2022-07-22 13:16:40.427 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onDeviceClose: 2022-07-22 13:16:40.427 14087-14193/com.herohan.uvcdemo I/VideoCapture: stopRecording 2022-07-22 13:16:40.428 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: removeCamera:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.428 14087-14194/com.herohan.uvcdemo D/CameraInternal: release: 2022-07-22 13:16:40.428 14087-14194/com.herohan.uvcdemo D/CameraInternal: releaseResource 2022-07-22 13:16:40.428 14087-14194/com.herohan.uvcdemo D/CameraInternal: clearCallbacks: 2022-07-22 13:16:40.428 14087-14194/com.herohan.uvcdemo V/RendererHolder: release: 2022-07-22 13:16:40.428 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: number of existed camera=0 2022-07-22 13:16:40.430 606-628/system_process V/WindowManager: Unknown focus tokens, dropping reportFocusChanged 2022-07-22 13:16:40.431 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onCameraClose: 2022-07-22 13:16:40.432 14087-14087/com.herohan.uvcdemo D/CameraHelper: removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:40.432 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onDeviceClose: 2022-07-22 13:16:40.433 14087-14261/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:40.435 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#selectDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.435 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: request permission 2022-07-22 13:16:40.436 14087-14193/com.herohan.uvcdemo V/USBMonitor: requestPermission:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.436 606-691/system_process D/EventHub: No input device configuration file found for device 'UVC Camera (046d:0825)'. 2022-07-22 13:16:40.437 14087-14193/com.herohan.uvcdemo V/USBMonitor: processOpenDevice:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.437 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock:constructor 2022-07-22 13:16:40.437 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#open: 2022-07-22 13:16:40.437 436-3631/? I/C2RKComponent: release in 2022-07-22 13:16:40.438 606-691/system_process D/EventHub: configureLightsLocked rawLightId 1 name uevent 2022-07-22 13:16:40.438 606-691/system_process D/EventHub: configureLightsLocked rawLightId 2 name of_node 2022-07-22 13:16:40.438 606-691/system_process D/EventHub: configureLightsLocked rawLightId 3 name power 2022-07-22 13:16:40.438 436-14264/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:40.438 606-691/system_process D/EventHub: configureLightsLocked rawLightId 4 name leds 2022-07-22 13:16:40.438 606-691/system_process D/EventHub: configureLightsLocked rawLightId 5 name driver 2022-07-22 13:16:40.438 606-691/system_process D/EventHub: configureLightsLocked rawLightId 6 name driver_override 2022-07-22 13:16:40.438 606-691/system_process D/EventHub: configureLightsLocked rawLightId 7 name subsystem 2022-07-22 13:16:40.438 14087-14254/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurfaceAll: 2022-07-22 13:16:40.438 606-691/system_process D/EventHub: configureLightsLocked rawLightId 8 name modalias 2022-07-22 13:16:40.438 14087-14281/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:40.439 436-3631/? I/C2RKMpiEnc: ~C2RKMpiEnc(736): in 2022-07-22 13:16:40.439 436-3631/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:40.442 606-691/system_process W/EventHub: Unable to disable kernel key repeat for /dev/input/event6: Function not implemented 2022-07-22 13:16:40.442 606-691/system_process I/EventHub: usingClockIoctl=true 2022-07-22 13:16:40.442 606-691/system_process I/EventHub: New device: id=37, fd=425, path='/dev/input/event6', name='UVC Camera (046d:0825)', classes=KEYBOARD | LIGHT | EXTERNAL, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, 2022-07-22 13:16:40.443 606-691/system_process I/InputReader: Device added: id=38, eventHubId=37, name='UVC Camera (046d:0825)', descriptor='a022df5abbbabd1630f870f92384d9367f7e1067',sources=0x00000101 2022-07-22 13:16:40.446 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:40.447 14087-14193/com.herohan.uvcdemo I/USBMonitor: name=/dev/bus/usb/001/004,desc=79,busnum=1,devnum=4,rawDesc=[B@e1ffa44 2022-07-22 13:16:40.447 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: wait for getting permission 2022-07-22 13:16:40.448 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onDeviceOpen: 2022-07-22 13:16:40.448 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: addCamera:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.448 14087-14194/com.herohan.uvcdemo D/CameraInternal: Constructor: 2022-07-22 13:16:40.469 14087-14194/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:40.478 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: number of existed camera=1 2022-07-22 13:16:40.478 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: check CameraInternal again 2022-07-22 13:16:40.478 14087-14193/com.herohan.uvcdemo I/CameraConnectionService: success to get service:serviceId=/dev/bus/usb/001/004#1133#2085#239#2#1#null#1#0.12# 2022-07-22 13:16:40.478 14087-14194/com.herohan.uvcdemo D/CameraInternal: registerCallback: 2022-07-22 13:16:40.478 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:40.478 14087-14193/com.herohan.uvcdemo D/CameraInternal: removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:40.478 14087-14193/com.herohan.uvcdemo V/RendererHolder: removeSlaveSurface:id=146885173 2022-07-22 13:16:40.485 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onDeviceOpen: 2022-07-22 13:16:40.485 14087-14087/com.herohan.uvcdemo D/CameraHelper: openCamera: 2022-07-22 13:16:40.486 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#openCamera: 2022-07-22 13:16:40.486 14087-14193/com.herohan.uvcdemo D/CameraInternal: openCamera: 2022-07-22 13:16:40.486 14087-14193/com.herohan.uvcdemo D/CameraInternal: resetUVCCamera: 2022-07-22 13:16:40.486 14087-14193/com.herohan.uvcdemo V/RendererHolder: removeSlaveSurfaceAll 2022-07-22 13:16:40.488 14087-14282/com.herohan.uvcdemo D/EGLBase14: EGLContext created, client version 3 2022-07-22 13:16:40.489 14087-14282/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurfaceAll: 2022-07-22 13:16:40.490 14087-14193/com.herohan.uvcdemo D/CameraInternal: openUVCCamera: 2022-07-22 13:16:40.490 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock:constructor 2022-07-22 13:16:40.490 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#open: 2022-07-22 13:16:40.502 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:40.502 606-691/system_process D/InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP 2022-07-22 13:16:40.504 14087-14193/com.herohan.uvcdemo I/USBMonitor: name=/dev/bus/usb/001/004,desc=107,busnum=1,devnum=4,rawDesc=[B@2f24ddc 2022-07-22 13:16:40.510 606-691/system_process I/EventHub: Removing device UVC Camera (046d:0825) due to epoll hang-up event. 2022-07-22 13:16:40.510 606-691/system_process I/EventHub: Removed device: path=/dev/input/event6 name=UVC Camera (046d:0825) id=37 fd=425 classes=KEYBOARD | LIGHT | EXTERNAL 2022-07-22 13:16:40.532 606-691/system_process I/InputReader: Device removed: id=38, eventHubId=37, name='UVC Camera (046d:0825)', descriptor='a022df5abbbabd1630f870f92384d9367f7e1067', sources=0x00000101 2022-07-22 13:16:40.533 606-691/system_process I/EventHub: Removing device '/dev/input/event6' due to inotify event 2022-07-22 13:16:40.533 606-690/system_process I/ActivityTaskManager: Config changes=8 {1.0 ?mcc?mnc [zhCN#Hans,en_US] ldltr sw617dp w1097dp h545dp 280dpi lrg long land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 996) mMaxBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.515 fontWeightAdjustment=0} 2022-07-22 13:16:40.543 606-690/system_process W/ActivityTaskManager: Current config: {1.0 ?mcc?mnc [zhCN#Hans,en_US] ldltr sw617dp w1097dp h545dp 280dpi lrg long land -touch -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 996) mMaxBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.515 fontWeightAdjustment=0} unchanged for IME proc com.android.inputmethod.latin 2022-07-22 13:16:40.544 606-690/system_process I/WindowManager: Override config changes=8 {1.0 ?mcc?mnc [zhCN#Hans,en_US] ldltr sw617dp w1097dp h545dp 280dpi lrg long land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 996) mMaxBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.515 fontWeightAdjustment=0} for displayId=0 2022-07-22 13:16:40.545 606-690/system_process V/ActivityTaskManager: Sending to IME proc com.android.inputmethod.latin new config {1.0 ?mcc?mnc [zhCN#Hans,en_US] ldltr sw617dp w1097dp h545dp 280dpi lrg long land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 996) mMaxBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.515 fontWeightAdjustment=0} 2022-07-22 13:16:40.572 14087-14087/com.herohan.uvcdemo D/CameraHelper: removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:40.572 606-5086/system_process W/InputManager-JNI: Input channel object '661fbd3 com.android.launcher3/com.android.launcher3.uioverrides.QuickstepLauncher (client)' was disposed without first being removed with the input manager! 2022-07-22 13:16:40.573 14087-14087/com.herohan.uvcdemo D/CameraHelper: removeSurface:surface=Surface(name=null)/@0x8e6eeca 2022-07-22 13:16:40.573 14087-14087/com.herohan.uvcdemo E/Surface: freeAllBuffers: 1 buffers were freed while being dequeued! 2022-07-22 13:16:40.573 14087-14196/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#removeSurface:surface=Surface(name=null)/@0x8e6eeca 2022-07-22 13:16:40.573 14087-14087/com.herohan.uvcdemo D/MultiCameraActivity: clearCameraHelper: 2022-07-22 13:16:40.573 14087-14087/com.herohan.uvcdemo D/CameraHelper: release:com.herohan.uvcapp.CameraHelper@ef58cb6 2022-07-22 13:16:40.573 14087-14087/com.herohan.uvcdemo D/CameraHelper: release:com.herohan.uvcapp.CameraHelper@f5d55e3 2022-07-22 13:16:40.574 14087-14196/com.herohan.uvcdemo D/CameraInternal: removeSurface:surface=Surface(name=null)/@0x8e6eeca 2022-07-22 13:16:40.574 14087-14196/com.herohan.uvcdemo V/RendererHolder: removeSlaveSurface:id=149352138 2022-07-22 13:16:40.575 14087-14203/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurface:id=149352138 2022-07-22 13:16:40.576 14087-14203/com.herohan.uvcdemo E/Surface: getSlotFromBufferLocked: unknown buffer: 0xb4000075ba4bc370 2022-07-22 13:16:40.577 14087-14203/com.herohan.uvcdemo E/Surface: freeAllBuffers: 1 buffers were freed while being dequeued! 2022-07-22 13:16:40.577 14087-14203/com.herohan.uvcdemo V/RendererHolder: checkSurface 2022-07-22 13:16:40.577 14087-14196/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#release: 2022-07-22 13:16:40.577 14087-14196/com.herohan.uvcdemo D/CameraInternal: release: 2022-07-22 13:16:40.577 14087-14196/com.herohan.uvcdemo D/CameraInternal: closeCamera: 2022-07-22 13:16:40.577 14087-14196/com.herohan.uvcdemo I/VideoCapture: stopRecording 2022-07-22 13:16:40.581 606-5086/system_process W/InputManager-JNI: Input channel object '78d5c1b com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity (client)' was disposed without first being removed with the input manager! 2022-07-22 13:16:40.588 606-628/system_process V/WindowManager: Unknown focus tokens, dropping reportFocusChanged 2022-07-22 13:16:40.597 14087-14193/com.herohan.uvcdemo D/UVCCamera: setPreviewSize:-51:Size(1280x960@30,type:7) 2022-07-22 13:16:40.646 606-690/system_process I/InputDispatcher: Dropping event because there is no touched foreground window in display 0 or gesture monitor to receive it. 2022-07-22 13:16:40.647 606-690/system_process I/InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (648, 465) in display 0. 2022-07-22 13:16:40.647 14087-14087/com.herohan.uvcdemo D/MultiCameraActivity: initCameraHelper: 2022-07-22 13:16:40.647 14087-14087/com.herohan.uvcdemo D/CameraHelper: Constructor: 2022-07-22 13:16:40.648 14087-14087/com.herohan.uvcdemo V/USBMonitor: USBMonitor:Constructor 2022-07-22 13:16:40.648 14087-14087/com.herohan.uvcdemo V/USBMonitor: USBMonitor:mUsbManager=android.hardware.usb.UsbManager@ea5bc0e 2022-07-22 13:16:40.648 14087-14087/com.herohan.uvcdemo D/CameraHelper: registerCallback: 2022-07-22 13:16:40.648 14087-14087/com.herohan.uvcdemo D/CameraConnectionService: mUSBMonitor#register: 2022-07-22 13:16:40.649 14087-14087/com.herohan.uvcdemo I/USBMonitor: register: 2022-07-22 13:16:40.650 14087-14087/com.herohan.uvcdemo D/CameraHelper: Constructor: 2022-07-22 13:16:40.651 14087-14087/com.herohan.uvcdemo V/USBMonitor: USBMonitor:Constructor 2022-07-22 13:16:40.652 14087-14087/com.herohan.uvcdemo V/USBMonitor: USBMonitor:mUsbManager=android.hardware.usb.UsbManager@ea5bc0e 2022-07-22 13:16:40.652 14087-14087/com.herohan.uvcdemo D/CameraHelper: registerCallback: 2022-07-22 13:16:40.652 14087-14087/com.herohan.uvcdemo D/CameraConnectionService: mUSBMonitor#register: 2022-07-22 13:16:40.652 14087-14087/com.herohan.uvcdemo I/USBMonitor: register: 2022-07-22 13:16:40.667 1106-1106/com.android.launcher3 D/TISBindHelper: TIS service connected 2022-07-22 13:16:40.668 14087-14193/com.herohan.uvcdemo I/CameraInternal: supportedSize:{"formats":[{"index":1,"subType":4,"defaultFrameIndex":1,"frameDescriptors":[{"width":640,"height":480,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":160,"height":120,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":176,"height":144,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":320,"height":176,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":320,"height":240,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":352,"height":288,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":432,"height":240,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":544,"height":288,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":640,"height":360,"subType":5,"defaultFrameInterval":333333,"frameIntervalType":6,"defaultFps":30,"intervals":[{"index":0,"value":333333,"fps":30},{"index":1,"value":400000,"fps":25},{"index":2,"value":500000,"fps":20},{"index":3,"value":666666,"fps":15},{"index":4,"value":1000000,"fps":10},{"index":5,"value":2000000,"fps":5}]},{"width":752,"height":416,"subType":5,"defaultFrameInterval":400000,"frameIntervalType":5,"defaultFps":25,"intervals":[{"index":0,"value":400000,"fps":25},{"index":1,"value":500000,"fps":20},{"index":2,"value":666666,"fps":15},{"index":3,"value":1000000,"fps":10},{"index":4,"value":2000000,"fps":5}]},{"width":800,"height":448,"subType":5,"defaultFrameInterval":500000,"frameIntervalType":4,"defaultFps":20,"intervals":[{"index":0,"value":500000,"fps":20},{"index":1,"value":666666,"fps":15},{"index":2,"value":1000000,"fps":10},{"index":3,"value":2000000,"fps":5}]},{"width":800,"height":600,"subType":5,"defaultFrameInterval":500000,"frameIntervalType":4,"defaultFps":20,"intervals":[{"index":0,"value":500000,"fps":20},{"index":1,"value":666666,"fps":15},{"index":2,"value":1000000,"fps":10},{"index":3,"value":2000000,"fps":5}]},{"width":864,"height":480,"subType":5,"defaultFrameInterval":500000,"frameIntervalTy 2022-07-22 13:16:40.668 14087-14193/com.herohan.uvcdemo D/CameraInternal: setCameraPreviewConfig: 2022-07-22 13:16:40.668 14087-14193/com.herohan.uvcdemo D/CameraInternal: rotateTo:0 2022-07-22 13:16:40.668 14087-14193/com.herohan.uvcdemo D/CameraInternal: setMirrorMode:0 2022-07-22 13:16:40.670 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:40.670 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:40.670 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:40.671 14087-14297/com.herohan.uvcdemo D/CCodec: allocate(c2.rk.avc.encoder) 2022-07-22 13:16:40.672 14087-14297/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:40.672 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:40.672 436-3631/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:40.672 436-3631/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:40.672 436-3631/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:40.672 436-3631/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:40.672 436-3631/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:40.672 436-3631/? I/C2RKMpiEnc: version: commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:40.672 436-3631/? I/C2RKMpiEnc: venc_debug: 0x0 2022-07-22 13:16:40.673 14087-14297/com.herohan.uvcdemo I/CCodec: Created component [c2.rk.avc.encoder] 2022-07-22 13:16:40.673 14087-14297/com.herohan.uvcdemo D/CCodecConfig: read media type: video/avc 2022-07-22 13:16:40.675 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:40.675 14087-14098/com.herohan.uvcdemo W/System: A resource failed to call close. 2022-07-22 13:16:40.675 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:40.675 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:40.675 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:40.675 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:40.676 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:40.676 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:40.677 14087-14098/com.herohan.uvcdemo W/System: A resource failed to call close. 2022-07-22 13:16:40.677 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.gop.values 2022-07-22 13:16:40.677 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.qp.values 2022-07-22 13:16:40.678 14087-14297/com.herohan.uvcdemo D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2022-07-22 13:16:40.679 14087-14297/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 14 values (BAD_INDEX) 2022-07-22 13:16:40.679 14087-14297/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 1 c2::u32 coded.pl.level = 20489 c2::u32 coded.pl.profile = 20480 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 input.delay.value = 0 string input.media-type.value = "video/raw" string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 0 c2::u32 raw.size.height = 144 c2::u32 raw.size.width = 176 } 2022-07-22 13:16:40.679 14087-14297/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:40.681 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:40.681 14087-14193/com.herohan.uvcdemo D/MediaCodecList: codecHandlesFormat: no format, so no extra checks 2022-07-22 13:16:40.682 14087-14299/com.herohan.uvcdemo D/CCodec: allocate(c2.android.aac.encoder) 2022-07-22 13:16:40.683 14087-14299/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:40.683 14087-14087/com.herohan.uvcdemo D/CameraHelper: addSurface:surface=Surface(name=null)/@0xeccae9a,isRecordable=false 2022-07-22 13:16:40.684 14087-14299/com.herohan.uvcdemo I/CCodec: Created component [c2.android.aac.encoder] 2022-07-22 13:16:40.685 14087-14299/com.herohan.uvcdemo D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-22 13:16:40.685 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:40.686 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:40.686 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:40.686 14087-14087/com.herohan.uvcdemo D/CameraHelper: addSurface:surface=Surface(name=null)/@0xf7573cb,isRecordable=false 2022-07-22 13:16:40.686 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:40.686 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:40.686 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:40.686 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:40.687 14087-14299/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:40.687 14087-14299/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2022-07-22 13:16:40.688 436-3631/? I/C2RKComponent: release in 2022-07-22 13:16:40.688 436-14298/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:40.689 14087-14297/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:40.689 436-3631/? I/C2RKMpiEnc: ~C2RKMpiEnc(736): in 2022-07-22 13:16:40.689 436-3631/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:40.689 14087-14297/com.herohan.uvcdemo D/CCodec: allocate(c2.rk.avc.encoder) 2022-07-22 13:16:40.689 606-1149/system_process V/WindowManager: getPackagePerformanceMode -- ComponentInfo{com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity} -- com.herohan.uvcdemo -- mode=0 2022-07-22 13:16:40.690 14087-14297/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:40.691 436-436/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2022-07-22 13:16:40.691 436-436/? I/C2RKMpiEnc: GopSetter(372): in 2022-07-22 13:16:40.691 436-436/? I/android.hardware.media.c2@1.1-service: missing struct descriptor #Param::CoreIndex(--1812) for field values of struct #Param::CoreIndex(F-11812) 2022-07-22 13:16:40.691 436-436/? I/C2RKMpiEnc: PictureQuantizationSetter(380): in 2022-07-22 13:16:40.691 436-436/? I/C2RKMpiEnc: InputDelaySetter 328 in 2022-07-22 13:16:40.691 436-436/? I/C2RKMpiEnc: LayeringSetter(634): in 2022-07-22 13:16:40.691 436-436/? I/C2RKMpiEnc: version: commit 60f4d1ff9e702c0b6cc4045e1d69eea22b155643 build: 2022-06-21 12:09:27 running on roc_rk3588s_pc 2022-07-22 13:16:40.691 436-436/? I/C2RKMpiEnc: venc_debug: 0x0 2022-07-22 13:16:40.691 14087-14297/com.herohan.uvcdemo I/CCodec: Created component [c2.rk.avc.encoder] 2022-07-22 13:16:40.692 14087-14297/com.herohan.uvcdemo D/CCodecConfig: read media type: video/avc 2022-07-22 13:16:40.693 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:40.693 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:40.693 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:40.693 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:40.693 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:40.693 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:40.693 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:40.694 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.gop.values 2022-07-22 13:16:40.694 14087-14297/com.herohan.uvcdemo D/ReflectedParamUpdater: ignored struct field coding.qp.values 2022-07-22 13:16:40.695 14087-14297/com.herohan.uvcdemo D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported 2022-07-22 13:16:40.695 14087-14297/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 14 values (BAD_INDEX) 2022-07-22 13:16:40.695 14087-14297/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 algo.bitrate-mode.value = 3 c2::u32 coded.bitrate.value = 64000 c2::float coded.frame-rate.value = 1 c2::u32 coded.pl.level = 20489 c2::u32 coded.pl.profile = 20480 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 0 c2::u32 coding.intra-refresh.mode = 0 c2::float coding.intra-refresh.period = 0 c2::u32 coding.request-sync-frame.value = 0 c2::i64 coding.sync-frame-interval.value = 1000000 Buffer coding.temporal-layering = { 00000000: 10 00 00 00 07 20 01 52 00 00 00 00 00 00 00 00 ..... .R........ } c2::u32 input.delay.value = 0 string input.media-type.value = "video/raw" string output.media-type.value = "video/avc" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 0 c2::u32 raw.size.height = 144 c2::u32 raw.size.width = 176 } 2022-07-22 13:16:40.695 14087-14297/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:40.696 14087-14193/com.herohan.uvcdemo D/MediaCodec: shapeMediaFormat: deltas(1): AMessage(what = 0x00000000) = { int32_t android._encoding-quality-level = 0 } 2022-07-22 13:16:40.696 14087-14297/com.herohan.uvcdemo D/CCodec: [c2.rk.avc.encoder] buffers are bound to CCodec for this session 2022-07-22 13:16:40.696 14087-14297/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for color-format 2022-07-22 13:16:40.696 14087-14196/com.herohan.uvcdemo V/UVCCamera: close 2022-07-22 13:16:40.696 14087-14297/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for flags 2022-07-22 13:16:40.697 14087-14297/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for encoder 2022-07-22 13:16:40.697 436-3631/? I/C2RKMpiEnc: Given level 5009 does not cover current configuration: adjusting to 500a 2022-07-22 13:16:40.697 14087-14297/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 9830400 c2::float coded.frame-rate.value = 30 c2::u32 raw.size.height = 960 c2::u32 raw.size.width = 1280 2022-07-22 13:16:40.697 14087-14297/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:40.697 14087-14297/com.herohan.uvcdemo D/CCodec: setup formats input: AMessage(what = 0x00000000) = { Rect crop(0, 0, 1279, 959) int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t width = 1280 int32_t android._dataspace = 0 int32_t using-sw-read-often = 1 int64_t android._C2MemoryUsage = 1 int32_t color-format = 2130708361 int32_t android._color-format = 2130708361 } 2022-07-22 13:16:40.697 14087-14297/com.herohan.uvcdemo D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t bitrate = 9830400 int32_t bitrate-mode = 1 Rect crop(0, 0, 1279, 959) int32_t width = 1280 int32_t color-standard = 0 int32_t color-range = 0 int32_t color-transfer = 0 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 int32_t level = 512 int32_t max-bitrate = 9830400 string mime = "video/avc" int32_t profile = 1 } 2022-07-22 13:16:40.698 14087-14297/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 15 values (BAD_INDEX) 2022-07-22 13:16:40.698 14087-14297/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 coded.pl.level = 20490 2022-07-22 13:16:40.698 14087-14297/com.herohan.uvcdemo W/ColorUtils: expected specified color aspects (0:0:0:0) 2022-07-22 13:16:40.698 606-1149/system_process I/WindowManager: finishDrawing of relaunch: Window{9090a7c u0 com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity} 140ms 2022-07-22 13:16:40.699 14087-14297/com.herohan.uvcdemo D/CCodec: input format changed to AMessage(what = 0x00000000) = { Rect crop(0, 0, 1279, 959) int32_t color-standard = 1 int32_t color-range = 2 int32_t color-transfer = 3 int32_t frame-rate = 30 int32_t height = 960 int32_t intra-refresh-period = 0 string mime = "video/raw" int32_t width = 1280 int32_t android._dataspace = 260 int32_t using-sw-read-often = 1 int64_t android._C2MemoryUsage = 1 int32_t color-format = 2130708361 int32_t android._color-format = 2130708361 } 2022-07-22 13:16:40.703 512-572/? D/GraphicBufferSource: setting dataspace: 0x104, acquired=0 2022-07-22 13:16:40.703 14087-14297/com.herohan.uvcdemo D/CCodec: ISConfig not changed 2022-07-22 13:16:40.709 14087-14299/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:40.710 14087-14299/com.herohan.uvcdemo D/CCodec: allocate(c2.android.aac.encoder) 2022-07-22 13:16:40.711 14087-14196/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#close: 2022-07-22 13:16:40.711 14087-14196/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:40.711 14087-14299/com.herohan.uvcdemo I/CCodec: setting up 'default' as default (vendor) store 2022-07-22 13:16:40.712 14087-14299/com.herohan.uvcdemo I/CCodec: Created component [c2.android.aac.encoder] 2022-07-22 13:16:40.712 14087-14299/com.herohan.uvcdemo D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-22 13:16:43.842 14205-14205/? W/usb 2-1.2: usbfs: process 14205 (CameraHelper) did not claim interface 0 before use 2022-07-22 13:16:40.713 14087-14197/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onDeviceClose: 2022-07-22 13:16:40.713 14087-14196/com.herohan.uvcdemo D/CameraInternal: processOnCameraClose: 2022-07-22 13:16:40.713 14087-14197/com.herohan.uvcdemo D/CameraConnectionService: removeCamera:device=/dev/bus/usb/002/005 2022-07-22 13:16:40.713 14087-14196/com.herohan.uvcdemo I/VideoCapture: stopRecording 2022-07-22 13:16:40.713 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-22 13:16:40.713 14087-14306/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:40.714 449-724/? W/APM_AudioPolicyManager: releaseInput no input for client 131 2022-07-22 13:16:40.714 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-22 13:16:40.714 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-22 13:16:40.714 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-22 13:16:40.714 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-22 13:16:40.714 436-3631/? I/C2RKComponent: release in 2022-07-22 13:16:40.714 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-22 13:16:40.714 436-14223/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:40.714 14087-14196/com.herohan.uvcdemo D/CameraInternal: releaseResource 2022-07-22 13:16:40.714 14087-14196/com.herohan.uvcdemo D/CameraInternal: clearCallbacks: 2022-07-22 13:16:40.714 14087-14196/com.herohan.uvcdemo V/RendererHolder: release: 2022-07-22 13:16:40.714 14087-14299/com.herohan.uvcdemo D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-22 13:16:40.714 14087-14196/com.herohan.uvcdemo I/USBMonitor: destroy: 2022-07-22 13:16:40.714 14087-14197/com.herohan.uvcdemo D/CameraConnectionService: number of existed camera=0 2022-07-22 13:16:40.714 436-3631/? I/C2RKMpiEnc: ~C2RKMpiEnc(736): in 2022-07-22 13:16:40.714 436-3631/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:40.715 14087-14307/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:40.715 14087-14203/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurfaceAll: 2022-07-22 13:16:40.716 14087-14299/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:40.716 14087-14299/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2022-07-22 13:16:40.718 14087-14193/com.herohan.uvcdemo D/MediaCodec: shapeMediaFormat: deltas(0): AMessage(what = 0x00000000) = { } 2022-07-22 13:16:40.718 14087-14299/com.herohan.uvcdemo D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session 2022-07-22 13:16:40.718 14087-14299/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for flags 2022-07-22 13:16:40.718 14087-14299/com.herohan.uvcdemo D/CCodecConfig: no c2 equivalents for encoder 2022-07-22 13:16:40.718 14087-14299/com.herohan.uvcdemo D/CCodecConfig: c2 config diff is c2::u32 raw.sample-rate.value = 8000 2022-07-22 13:16:40.718 14087-14299/com.herohan.uvcdemo W/Codec2Client: query -- param skipped: index = 1107298332. 2022-07-22 13:16:40.718 14087-14299/com.herohan.uvcdemo D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t channel-count = 1 int32_t max-input-size = 2048 string mime = "audio/raw" } 2022-07-22 13:16:40.719 14087-14299/com.herohan.uvcdemo D/CCodec: setup formats output: AMessage(what = 0x00000000) = { int32_t sample-rate = 8000 int32_t bitrate = 64000 int32_t channel-count = 1 int32_t level = 0 int32_t max-bitrate = 64000 string mime = "audio/mp4a-latm" int32_t profile = 2 } 2022-07-22 13:16:40.719 14087-14299/com.herohan.uvcdemo I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2022-07-22 13:16:40.719 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerRight#onDeviceClose: 2022-07-22 13:16:40.719 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerRight#onCameraClose: 2022-07-22 13:16:40.727 449-14310/? I/AudioFlinger: AudioFlinger's thread 0xb400007b0bd05c60 tid=14310 ready to run 2022-07-22 13:16:40.729 14087-14193/com.herohan.uvcdemo I/VideoCapture: source: 5 audioSampleRate: 8000 channelConfig: 16 audioFormat: 2 bufferSize: 320 2022-07-22 13:16:40.729 14087-14193/com.herohan.uvcdemo D/CameraInternal: processOnCameraOpen: 2022-07-22 13:16:40.729 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:40.729 14087-14193/com.herohan.uvcdemo D/CameraInternal: removeSurface:surface=Surface(name=null)/@0x8c14a35 2022-07-22 13:16:40.729 14087-14193/com.herohan.uvcdemo V/RendererHolder: removeSlaveSurface:id=146885173 2022-07-22 13:16:40.729 14087-14193/com.herohan.uvcdemo D/CameraConnectionService: CameraConnection#release: 2022-07-22 13:16:40.729 14087-14193/com.herohan.uvcdemo D/CameraInternal: release: 2022-07-22 13:16:40.729 14087-14193/com.herohan.uvcdemo D/CameraInternal: closeCamera: 2022-07-22 13:16:40.730 14087-14193/com.herohan.uvcdemo I/VideoCapture: stopRecording 2022-07-22 13:16:40.730 14087-14193/com.herohan.uvcdemo V/UVCCamera: close 2022-07-22 13:16:40.734 14087-14087/com.herohan.uvcdemo V/MultiCameraActivity: ListenerLeft#onCameraOpen: 2022-07-22 13:16:40.734 14087-14087/com.herohan.uvcdemo D/AndroidRuntime: Shutting down VM

--------- beginning of crash

2022-07-22 13:16:40.735 14087-14087/com.herohan.uvcdemo E/AndroidRuntime: FATAL EXCEPTION: main Process: com.herohan.uvcdemo, PID: 14087 java.lang.NullPointerException: Attempt to invoke interface method 'void com.herohan.uvcapp.ICameraHelper.startPreview()' on a null object reference at com.herohan.uvcdemo.MultiCameraActivity$3.onCameraOpen(MultiCameraActivity.java:208) at com.herohan.uvcapp.CameraHelper$StateCallbackWrapper.lambda$onCameraOpen$2$com-herohan-uvcapp-CameraHelper$StateCallbackWrapper(CameraHelper.java:577) at com.herohan.uvcapp.CameraHelper$StateCallbackWrapper$$ExternalSyntheticLambda2.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7870) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) 2022-07-22 13:16:43.865 14193-14193/? I/uvcvideo: Found UVC 1.00 device (046d:0825) 2022-07-22 13:16:40.736 606-5086/system_process W/ActivityTaskManager: Force finishing activity com.herohan.uvcdemo/.MultiCameraActivity 2022-07-22 13:16:40.737 606-14311/system_process I/DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2 2022-07-22 13:16:40.756 14087-14193/com.herohan.uvcdemo I/USBMonitor: UsbControlBlock#close: 2022-07-22 13:16:40.756 14087-14193/com.herohan.uvcdemo D/UsbDeviceConnectionJNI: close 2022-07-22 13:16:40.757 14087-14193/com.herohan.uvcdemo D/CameraInternal: processOnCameraClose: 2022-07-22 13:16:40.757 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onDeviceClose: 2022-07-22 13:16:40.757 14087-14193/com.herohan.uvcdemo I/VideoCapture: stopRecording 2022-07-22 13:16:40.757 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: removeCamera:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.757 14087-14299/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:40.758 518-1139/? V/C2Store: in ~ComponentModule 2022-07-22 13:16:40.758 518-1139/? V/C2Store: unloading dll 2022-07-22 13:16:40.758 606-691/system_process D/EventHub: No input device configuration file found for device 'UVC Camera (046d:0825)'. 2022-07-22 13:16:40.758 606-691/system_process D/EventHub: configureLightsLocked rawLightId 1 name uevent 2022-07-22 13:16:40.758 606-691/system_process D/EventHub: configureLightsLocked rawLightId 2 name of_node 2022-07-22 13:16:40.759 606-691/system_process D/EventHub: configureLightsLocked rawLightId 3 name power 2022-07-22 13:16:40.759 606-691/system_process D/EventHub: configureLightsLocked rawLightId 4 name leds 2022-07-22 13:16:40.759 606-691/system_process D/EventHub: configureLightsLocked rawLightId 5 name driver 2022-07-22 13:16:40.759 606-691/system_process D/EventHub: configureLightsLocked rawLightId 6 name driver_override 2022-07-22 13:16:40.759 606-691/system_process D/EventHub: configureLightsLocked rawLightId 7 name subsystem 2022-07-22 13:16:40.759 606-691/system_process D/EventHub: configureLightsLocked rawLightId 8 name modalias 2022-07-22 13:16:40.759 14087-14193/com.herohan.uvcdemo D/CameraInternal: releaseResource 2022-07-22 13:16:40.759 14087-14193/com.herohan.uvcdemo D/CameraInternal: clearCallbacks: 2022-07-22 13:16:40.759 14087-14193/com.herohan.uvcdemo V/RendererHolder: release: 2022-07-22 13:16:40.759 14087-14193/com.herohan.uvcdemo I/USBMonitor: destroy: 2022-07-22 13:16:40.759 14087-14194/com.herohan.uvcdemo D/CameraConnectionService: number of existed camera=0 2022-07-22 13:16:40.759 14087-14282/com.herohan.uvcdemo V/RendererHolder: handleRemoveSurfaceAll: 2022-07-22 13:16:40.760 606-691/system_process W/EventHub: Unable to disable kernel key repeat for /dev/input/event6: Function not implemented 2022-07-22 13:16:40.760 606-691/system_process I/EventHub: usingClockIoctl=true 2022-07-22 13:16:40.760 606-691/system_process I/EventHub: New device: id=38, fd=425, path='/dev/input/event6', name='UVC Camera (046d:0825)', classes=KEYBOARD | LIGHT | EXTERNAL, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, 2022-07-22 13:16:40.760 606-691/system_process I/InputReader: Device added: id=39, eventHubId=38, name='UVC Camera (046d:0825)', descriptor='a022df5abbbabd1630f870f92384d9367f7e1067',sources=0x00000101 2022-07-22 13:16:43.888 14193-14193/? I/uvcvideo: No streaming interface found for terminal 5. 2022-07-22 13:16:43.888 14193-14193/? I/input: UVC Camera (046d:0825) as /devices/platform/fc800000.usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input37 2022-07-22 13:16:43.888 14283-14283/? W/usb 1-1.4: usbfs: process 14283 (CameraHelper) did not claim interface 0 before use 2022-07-22 13:16:40.760 606-690/system_process I/ActivityTaskManager: Config changes=8 {1.0 ?mcc?mnc [zhCN#Hans,en_US] ldltr sw617dp w1097dp h545dp 280dpi lrg long land -touch -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 996) mMaxBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.538 fontWeightAdjustment=0} 2022-07-22 13:16:40.762 606-690/system_process W/ActivityTaskManager: Current config: {1.0 ?mcc?mnc [zhCN#Hans,en_US] ldltr sw617dp w1097dp h545dp 280dpi lrg long land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 996) mMaxBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.538 fontWeightAdjustment=0} unchanged for IME proc com.android.inputmethod.latin 2022-07-22 13:16:40.763 606-690/system_process I/WindowManager: Override config changes=8 {1.0 ?mcc?mnc [zhCN#Hans,en_US] ldltr sw617dp w1097dp h545dp 280dpi lrg long land -touch -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 996) mMaxBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.538 fontWeightAdjustment=0} for displayId=0 2022-07-22 13:16:40.763 436-3631/? I/C2RKComponent: release in 2022-07-22 13:16:40.763 606-690/system_process V/ActivityTaskManager: Sending to IME proc com.android.inputmethod.latin new config {1.0 ?mcc?mnc [zhCN#Hans,en_US] ldltr sw617dp w1097dp h545dp 280dpi lrg long land -touch -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 996) mMaxBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.538 fontWeightAdjustment=0} 2022-07-22 13:16:40.763 436-14302/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:40.763 14087-14297/com.herohan.uvcdemo I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-22 13:16:40.763 436-3631/? I/C2RKMpiEnc: ~C2RKMpiEnc(736): in 2022-07-22 13:16:40.763 436-3631/? I/C2RKMpiEnc: onRelease(756): in 2022-07-22 13:16:40.767 14087-14296/com.herohan.uvcdemo I/BpBinder: onLastStrongRef automatically unlinking death recipients: android.media.IResourceManagerService 2022-07-22 13:16:40.768 436-3631/? I/C2RKComponentFactory: DestroyRKCodec2Factory(57): in 2022-07-22 13:16:40.775 606-2690/system_process W/InputManager-JNI: Input channel object '50a7326 com.android.launcher3/com.android.launcher3.uioverrides.QuickstepLauncher (client)' was disposed without first being removed with the input manager! 2022-07-22 13:16:40.792 782-791/com.android.systemui W/ndroid.systemu: Reducing the number of considered missed Gc histogram windows from 154 to 100 2022-07-22 13:16:40.805 14087-14289/com.herohan.uvcdemo D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.805 14087-14289/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-07-22 13:16:40.805 14087-14289/com.herohan.uvcdemo D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/002/005 2022-07-22 13:16:40.805 14087-14289/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-07-22 13:16:40.807 14087-14292/com.herohan.uvcdemo D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/001/004 2022-07-22 13:16:40.807 14087-14292/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-07-22 13:16:40.807 14087-14292/com.herohan.uvcdemo D/USBMonitor: DeviceCheckRunnable onAttach:device=/dev/bus/usb/002/005 2022-07-22 13:16:40.807 14087-14292/com.herohan.uvcdemo D/CameraConnectionService: OnDeviceConnectListener#onAttach: 2022-07-22 13:16:40.847 1106-1106/com.android.launcher3 D/TISBindHelper: TIS service connected 2022-07-22 13:16:41.241 606-628/system_process W/ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{562ed2 u0 com.herohan.uvcdemo/.MultiCameraActivity t62 f}} 2022-07-22 13:16:41.241 606-628/system_process W/ActivityTaskManager: Activity pause timeout for ActivityRecord{562ed2 u0 com.herohan.uvcdemo/.MultiCameraActivity t62 f}} 2022-07-22 13:16:41.288 284-14319/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:41.982 606-691/system_process D/InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP 2022-07-22 13:16:41.998 606-702/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_5_Internal(l.1191) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2022-07-22 13:16:42.116 606-5086/system_process W/WindowManager: Force finishing activity com.herohan.uvcdemo/.MultiCameraActivity 2022-07-22 13:16:42.118 606-5086/system_process W/WindowManager: Force finishing activity com.herohan.uvcdemo/.EntryActivity 2022-07-22 13:16:42.125 606-5086/system_process I/ActivityManager: Killing 14087:com.herohan.uvcdemo/u0a95 (adj 0): crash 2022-07-22 13:16:42.131 606-2347/system_process D/OpenGLRenderer: endAllActiveAnimators on 0xb40000761a4dd180 (RippleDrawable) with handle 0xb40000752a4dbbb0 2022-07-22 13:16:42.132 606-636/system_process I/libprocessgroup: Successfully killed process cgroup uid 10095 pid 14087 in 5ms 2022-07-22 13:16:42.133 606-626/system_process W/InputManager-JNI: Input channel object '7c22610 Application Error: com.herohan.uvcdemo (client)' was disposed without first being removed with the input manager! 2022-07-22 13:16:42.149 606-628/system_process V/WindowManager: Unknown focus tokens, dropping reportFocusChanged 2022-07-22 13:16:42.174 606-690/system_process I/InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (646, 606) in display 0. 2022-07-22 13:16:42.187 1106-1106/com.android.launcher3 E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted 2022-07-22 13:16:42.198 606-690/system_process I/InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (645, 606) in display 0. 2022-07-22 13:16:42.201 606-629/system_process W/InputManager-JNI: Input channel object '9090a7c com.herohan.uvcdemo/com.herohan.uvcdemo.MultiCameraActivity (client)' was disposed without first being removed with the input manager! 2022-07-22 13:16:42.204 606-629/system_process W/InputManager-JNI: Input channel object '7b01aca com.herohan.uvcdemo/com.herohan.uvcdemo.EntryActivity (client)' was disposed without first being removed with the input manager! 2022-07-22 13:16:42.210 606-629/system_process W/ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=62 attached=false 2022-07-22 13:16:42.210 606-629/system_process W/ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=62 attached=false 2022-07-22 13:16:42.210 606-620/system_process V/WindowManager: getPackagePerformanceMode -- ComponentInfo{com.android.launcher3/com.android.launcher3.uioverrides.QuickstepLauncher} -- com.android.launcher3 -- mode=0 2022-07-22 13:16:42.257 606-628/system_process W/ActivityManager: setHasOverlayUi called on unknown pid: 14087 2022-07-22 13:16:42.257 606-7750/system_process V/ActivityManager: Got obituary of 14087:com.herohan.uvcdemo 2022-07-22 13:16:45.388 13021-13021/? I/binder: undelivered TRANSACTION_COMPLETE 2022-07-22 13:16:45.388 13021-13021/? I/binder: undelivered transaction 2873951, process died. 2022-07-22 13:16:45.388 13021-13021/? I/binder: undelivered transaction 2874242, process died. 2022-07-22 13:16:42.259 410-410/? I/Zygote: Process 14087 exited due to signal 9 (Killed) 2022-07-22 13:16:45.388 13021-13021/? I/binder: undelivered transaction 2874077, process died. 2022-07-22 13:16:45.388 13021-13021/? I/binder: undelivered transaction 2874140, process died. 2022-07-22 13:16:45.389 13021-13021/? I/binder: undelivered transaction 2873994, process died. 2022-07-22 13:16:45.389 13021-13021/? I/binder: undelivered transaction 2874241, process died. 2022-07-22 13:16:45.389 13021-13021/? I/binder: undelivered transaction 2874267, process died. 2022-07-22 13:16:42.267 321-321/? E/BpTransactionCompletedListener: Failed to transact (-32) 2022-07-22 13:16:42.290 284-14322/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:42.560 606-628/system_process W/WindowManager: App freeze timeout expired. 2022-07-22 13:16:43.290 284-14323/? W/libc: Unable to set property "ctl.interface_start" to "android.hardware.radio@1.4::IRadio/slot1": error code: 0x20 2022-07-22 13:16:43.299 514-527/? D/RIL RILU: find_pci_device is 0 2022-07-22 13:16:43.311 514-527/? E/RIL RILU: cannot find ttyname for AT Port 2022-07-22 13:16:43.311 514-527/? D/RIL RILC: USB can't find at device

shiyinghan commented 2 years ago

确认一下,两路摄像头不同时接入的情况下,只连接一个摄像头,都可以打开吗