Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo crash OPPO Reno4 #1

Closed
WaiterXY opened this issue Apr 22, 2021 · 2 comments
Closed

demo crash OPPO Reno4 #1

WaiterXY opened this issue Apr 22, 2021 · 2 comments

Comments

@WaiterXY
Copy link

2021-04-22 18:50:17.327 24564-24649/com.ocs.cameraunit I/.ocs.camerauni: Waiting for a blocking GC ProfileSaver
2021-04-22 18:50:17.336 24564-24649/com.ocs.cameraunit I/.ocs.camerauni: WaitForGcToComplete blocked ProfileSaver on ClassLinker for 8.293ms
2021-04-22 18:50:17.339 24564-24649/com.ocs.cameraunit I/.ocs.camerauni: ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=5000
2021-04-22 18:50:17.339 24564-24564/com.ocs.cameraunit W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5aa83cb
2021-04-22 18:50:17.365 24564-24564/com.ocs.cameraunit I/.ocs.camerauni: Waiting for a blocking GC ClassLinker
2021-04-22 18:50:17.375 24564-24564/com.ocs.cameraunit I/.ocs.camerauni: WaitForGcToComplete blocked ClassLinker on ClassLinker for 10.635ms
2021-04-22 18:50:17.588 24564-24564/com.ocs.cameraunit W/.ocs.camerauni: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2021-04-22 18:50:17.588 24564-24564/com.ocs.cameraunit W/.ocs.camerauni: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2021-04-22 18:50:17.592 24564-24564/com.ocs.cameraunit W/SoundPool: Use of stream types is deprecated for operations other than volume control
2021-04-22 18:50:17.592 24564-24564/com.ocs.cameraunit W/SoundPool: See the documentation of SoundPool() for what to use instead with android.media.AudioAttributes to qualify your playback use case
2021-04-22 18:50:17.595 24564-24896/com.ocs.cameraunit I/NuMediaExtractor: setDataSource fd=58 (/data/app/com.ocs.cameraunit-olXxqVVQ9lUsdQoAfZTcBQ==/base.apk), offset=72872, length=12458
2021-04-22 18:50:17.602 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.602 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.603 24564-24564/com.ocs.cameraunit I/chatty: uid=10226(com.ocs.cameraunit) identical 5 lines
2021-04-22 18:50:17.603 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.603 24564-24896/com.ocs.cameraunit I/MediaCodec: CreateByType(), mime = audio/vorbis, encoder = 0
2021-04-22 18:50:17.603 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.603 24564-24564/com.ocs.cameraunit I/chatty: uid=10226(com.ocs.cameraunit) identical 4 lines
2021-04-22 18:50:17.603 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.604 24564-24896/com.ocs.cameraunit I/MediaCodec: ----------------------------------------
2021-04-22 18:50:17.604 24564-24896/com.ocs.cameraunit I/MediaCodec: matched component [OMX.google.vorbis.decoder]
2021-04-22 18:50:17.604 24564-24896/com.ocs.cameraunit I/MediaCodec: matched component [c2.android.vorbis.decoder]
2021-04-22 18:50:17.604 24564-24896/com.ocs.cameraunit I/MediaCodec: ----------------------------------------
2021-04-22 18:50:17.604 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.604 24564-24896/com.ocs.cameraunit I/MediaCodec: new MediaCodec()
2021-04-22 18:50:17.604 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.604 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.604 24564-24896/com.ocs.cameraunit I/ACodec: new ACodec()
2021-04-22 18:50:17.604 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.604 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.604 24564-24898/com.ocs.cameraunit I/ACodec: onAllocateComponent()
2021-04-22 18:50:17.604 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.605 24564-24564/com.ocs.cameraunit I/chatty: uid=10226(com.ocs.cameraunit) identical 6 lines
2021-04-22 18:50:17.605 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.605 24564-24898/com.ocs.cameraunit I/OMXClient: IOmx service obtained
2021-04-22 18:50:17.605 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.605 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.606 24564-24564/com.ocs.cameraunit V/SensorManager: RegisterListener bmi160 Accelerometer Non-wakeup type:1 delay:200000us by android.view.OrientationEventListener$SensorEventListenerImpl
2021-04-22 18:50:17.606 24564-24898/com.ocs.cameraunit I/ACodec: Successfully allocate component [OMX.google.vorbis.decoder]
2021-04-22 18:50:17.606 24564-24564/com.ocs.cameraunit E/Parcel: Reading a NULL string not supported here.
2021-04-22 18:50:17.606 24564-24896/com.ocs.cameraunit I/MediaCodec: [OMX.google.vorbis.decoder] configure, format : AMessage(what = 0x00000000) = {
string mime = "audio/vorbis"
int64_t durationUs = 514988
Buffer csd-0 = {
00000000: 01 76 6f 72 62 69 73 00 00 00 00 01 44 ac 00 00 .vorbis.....D...
00000010: 00 00 00 00 30 a9 03 00 00 00 00 00 b8 01 ....0.........
}
Buffer *csd-1 = 0x7b5c42e600
int32_t bitrate = 239920
int32_t track-id = 1
int32_t channel-count = 1
int32_t sample-rate = 44100
int32_t channel-mask = 1
}
2021-04-22 18:50:17.606 24564-24898/com.ocs.cameraunit I/ACodec: configureCodec() mime = audio/vorbis
2021-04-22 18:50:17.615 24564-24564/com.ocs.cameraunit D/MainActivity: onResume: start
2021-04-22 18:50:17.616 24564-24898/com.ocs.cameraunit W/ExtendedACodec: Failed to get extension for extradata parameter
2021-04-22 18:50:17.616 24564-24896/com.ocs.cameraunit I/MediaCodec: Audio start()
2021-04-22 18:50:17.617 24564-24564/com.ocs.cameraunit D/MainActivity: init: start
2021-04-22 18:50:17.622 24564-24564/com.ocs.cameraunit D/Rom: getProp: name: ro.miui.ui.version.name, result:
2021-04-22 18:50:17.631 24564-24564/com.ocs.cameraunit D/Rom: getProp: name: ro.build.version.emui, result:
2021-04-22 18:50:17.639 24564-24564/com.ocs.cameraunit D/Rom: getProp: name: ro.build.version.opporom, result: V7.2
2021-04-22 18:50:17.645 24564-24564/com.ocs.cameraunit E/CapabilityBase.ServiceCheck: Unable to fetch metadata from teh manifest com.oplus.ocs
2021-04-22 18:50:17.645 24564-24564/com.ocs.cameraunit D/CameraUnitAdapter: init: isSupportAsyncAuthenticate: false
2021-04-22 18:50:17.647 24564-24564/com.ocs.cameraunit E/CapabilityBase.ServiceCheck: Unable to fetch metadata from teh manifest com.oplus.ocs
2021-04-22 18:50:17.647 24564-24564/com.ocs.cameraunit D/CameraUnitAdapter: authenticateAsync, start
2021-04-22 18:50:17.647 24564-24564/com.ocs.cameraunit E/CameraUnit, CameraUnitImpl: checkAuthenticationPermission, api versionName: 1.0.6, api versionCode: 100006, sdk versionName: 2.0.1, sdk versionCode: 200001
2021-04-22 18:50:17.648 24564-24912/com.ocs.cameraunit I/CameraUnit, CameraUnitImpl: setDeathRecipient
2021-04-22 18:50:17.649 24564-24564/com.ocs.cameraunit E/CapabilityBase.ServiceCheck: Unable to fetch metadata from teh manifest com.oplus.ocs
2021-04-22 18:50:17.649 24564-24912/com.ocs.cameraunit I/CameraManagerWrapper: setDeathRecipient.
2021-04-22 18:50:17.650 24564-24912/com.ocs.cameraunit I/CameraManagerGlobal: Connecting to camera service
2021-04-22 18:50:17.650 24564-24564/com.ocs.cameraunit D/CameraClientBuilder: buildClient
2021-04-22 18:50:17.652 24564-24564/com.ocs.cameraunit E/CapabilityBase.ServiceCheck: com.oplus.ocs not found
2021-04-22 18:50:17.654 24564-24913/com.ocs.cameraunit D/CapabilityBase.l: handle message 0
2021-04-22 18:50:17.654 24564-24564/com.ocs.cameraunit I/CameraUnitClient: handleAuthenticate, isAuthed: false, supportAsyncAuth: false
2021-04-22 18:50:17.654 24564-24564/com.ocs.cameraunit D/CameraController: resume: camera host resumed!
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit I/chatty: uid=10226(com.ocs.cameraunit) Thread-3 identical 1 line
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit W/CameraManagerGlobal: [soar.cts] ignore the status update of camera: 2
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit W/CameraManagerGlobal: [soar.cts] ignore the status update of camera: 3
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit W/CameraManagerGlobal: [soar.cts] ignore the status update of camera: 4
2021-04-22 18:50:17.656 24564-24912/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.657 24564-24912/com.ocs.cameraunit W/CameraManagerGlobal: [soar.cts] ignore the status update of camera: 5
2021-04-22 18:50:17.657 24564-24912/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.657 24564-24912/com.ocs.cameraunit W/CameraManagerGlobal: [soar.cts] ignore the status update of camera: 6
2021-04-22 18:50:17.657 24564-24912/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.657 24564-24912/com.ocs.cameraunit W/CameraManagerGlobal: [soar.cts] ignore the status update of camera: 7
2021-04-22 18:50:17.657 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: initialize config
2021-04-22 18:50:17.657 24564-24888/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.657 24564-24913/com.ocs.cameraunit E/CapabilityBase.ServiceCheck: Unable to fetch metadata from teh manifest com.oplus.ocs
2021-04-22 18:50:17.657 24564-24912/com.ocs.cameraunit E/CheckPermission: camera-code= 3
2021-04-22 18:50:17.657 24564-24888/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.657 24564-24888/com.ocs.cameraunit W/CameraManagerGlobal: ignore the torch status update of camera: 2
2021-04-22 18:50:17.657 24564-24896/com.ocs.cameraunit I/MediaCodec: stop()
2021-04-22 18:50:17.658 24564-24888/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.658 24564-24888/com.ocs.cameraunit W/CameraManagerGlobal: ignore the torch status update of camera: 5
2021-04-22 18:50:17.658 24564-24888/com.ocs.cameraunit E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-04-22 18:50:17.658 24564-24888/com.ocs.cameraunit W/CameraManagerGlobal: ignore the torch status update of camera: 6
2021-04-22 18:50:17.661 24564-24564/com.ocs.cameraunit D/ColorViewRootUtil: initSwipState, isDisplayCompatApp false
2021-04-22 18:50:17.662 24564-24564/com.ocs.cameraunit D/ColorViewRootUtil: updateScreenSize, mScreenHeight 2400,mScreenWidth:1080,height:2400,width:1080
2021-04-22 18:50:17.662 24564-24896/com.ocs.cameraunit I/MediaCodec: Audio release()
2021-04-22 18:50:17.664 24564-24564/com.ocs.cameraunit D/WindowManager: Add to mViews: DecorView@7e52d5b[MainActivity], this = android.view.WindowManagerGlobal@fc839f8,pkg= com.ocs.cameraunit
2021-04-22 18:50:17.664 24564-24896/com.ocs.cameraunit I/MediaCodec: ~MediaCodec()
2021-04-22 18:50:17.665 24564-24896/com.ocs.cameraunit I/ACodec: ~ACodec()
2021-04-22 18:50:17.666 24564-24896/com.ocs.cameraunit I/NuMediaExtractor: setDataSource fd=59 (/data/app/com.ocs.cameraunit-olXxqVVQ9lUsdQoAfZTcBQ==/base.apk), offset=881336, length=8509
2021-04-22 18:50:17.668 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: sat_photo_case, streamInfo: [{"preview":"rear_sat"},{"capture":"rear_main"},{"capture":"rear_wide"},{"capture":"rear_tele"}]
2021-04-22 18:50:17.669 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: sat_night_case, streamInfo: [{"reprocess_input":"rear_sat"},{"reprocess_output":"rear_sat"},{"preview":"rear_sat"},{"capture":"rear_main"},{"capture":"rear_wide"},{"capture":"rear_tele"}]
2021-04-22 18:50:17.669 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: portrait_bokeh_case, streamInfo: [{"preview":"rear_portrait"},{"capture":"rear_main"},{"capture":"rear_wide"}]
2021-04-22 18:50:17.669 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: single_photo_case, streamInfo: [{"preview":"var_camera"},{"capture":"var_camera"}]
2021-04-22 18:50:17.670 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: recorder_video_case, streamInfo: [{"preview":"var_camera"},{"video_recorder":"var_camera"}]
2021-04-22 18:50:17.670 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: eis_pro_case, streamInfo: [{"preview":"var_camera"},{"video":"var_camera"}]
2021-04-22 18:50:17.670 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: codec_video_case, streamInfo: [{"preview":"var_camera"},{"capture":"var_camera"}]
2021-04-22 18:50:17.670 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: preview_frame_case, streamInfo: [{"preview":"var_camera"},{"preview_frame":"var_camera"},{"capture":"var_camera"}]
2021-04-22 18:50:17.670 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: multi_case_main_wide, streamInfo: [{"preview":"rear_main"},{"preview":"rear_wide"},{"capture":"rear_main"},{"capture":"rear_wide"}]
2021-04-22 18:50:17.671 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: multi_case_main_tele, streamInfo: [{"preview":"rear_main"},{"preview":"rear_tele"},{"capture":"rear_main"},{"capture":"rear_tele"}]
2021-04-22 18:50:17.671 24564-24915/com.ocs.cameraunit D/CameraUnit, CameraConfigHelper: parserUsecaseInfo, usecaseName: multi_case_wide_tele, streamInfo: [{"preview":"rear_wide"},{"preview":"rear_tele"},{"capture":"rear_wide"},{"capture":"rear_tele"}]
2021-04-22 18:50:17.672 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserConfigureParameters, parameterKey: com.oppo.configure.video.stabilization, configValues: ["stabilization","String","3"]
2021-04-22 18:50:17.672 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserConfigureParameters, parameterKey: com.oppo.configure.video.fps, configValues: ["fps","String","3"]
2021-04-22 18:50:17.672 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserConfigureParameters, parameterKey: com.oppo.preview.video.beauty.exfoliating, configValues: ["exfoliating","String","1"]
2021-04-22 18:50:17.672 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserConfigureParameters, parameterKey: com.oppo.preview.video.beauty.thin_face, configValues: ["thin_face","String","1"]
2021-04-22 18:50:17.673 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserConfigureParameters, parameterKey: com.oppo.preview.flash.mode, configValues: ["flash","String","1"]
2021-04-22 18:50:17.673 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserConfigureParameters, parameterKey: com.oppo.configure.video.3hdr, configValues: ["3hdr","String","3"]
2021-04-22 18:50:17.673 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserConfigureParameters, parameterKey: com.oppo.preview.focus.mode, configValues: ["focus","Integer","1"]
2021-04-22 18:50:17.675 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserModeFeatureSupportValues, key: mode_cameraType_feature_values, storeValues: {video_mode={front_main={fps=[video_30fps]}, rear_main={stabilization=[video_stabilization, super_stabilization], fps=[video_30fps, video_60fps], focus=[2, 3, 4], 3hdr=[on, off], flash=[off, torch]}, rear_wide={stabilization=[super_stabilization], fps=[video_30fps, video_60fps], focus=[2, 3, 4], 3hdr=[on, off]}, rear_sat={stabilization=[video_stabilization, super_stabilization], fps=[video_30fps, video_60fps]}}, photo_mode={front_main={}, rear_main={focus=[1, 3, 4], flash=[on, off, auto, torch]}, rear_wide={focus=[1, 3, 4], flash=[on, off, auto, torch]}}}
2021-04-22 18:50:17.676 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserDefaultSupportVideoSizes, values: ["4000X3000","3840X2160","2496X1872","1920X1080","1280X720","720X480","176X144"]
2021-04-22 18:50:17.676 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserMaxConfigSize, parseKey: mode_type_max_preview_size, cameraMode: video_mode, cameraType: rear_sat, value: 1920X1080
2021-04-22 18:50:17.676 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserMaxConfigSize, parseKey: mode_type_max_preview_size, cameraMode: video_mode, cameraType: rear_main, value: 1920X1080
2021-04-22 18:50:17.676 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserMaxConfigSize, parseKey: mode_type_max_preview_size, cameraMode: video_mode, cameraType: rear_wide, value: 1920X1080
2021-04-22 18:50:17.677 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserMaxConfigSize, parseKey: mode_type_max_preview_size, cameraMode: video_mode, cameraType: front_main, value: 1920X1080
2021-04-22 18:50:17.678 24564-24913/com.ocs.cameraunit I/CapabilityBase.a: connect state true
2021-04-22 18:50:17.678 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: parserModeFeatureSupportMaxVideoSize, key: mode_type_feature_max_video_size, storeValues: {video_mode={front_main={default=[1920X1080, 1920X1080], video_stabilization=[1920X1080, 1920X1080]}, rear_main={default=[1920X1080, 1920X1080], video_stabilization=[1920X1080, 1920X1080], super_stabilization=[2496X1872, 1920X1080], 3hdr=[1920X1080, 1920X1080]}, rear_wide={default=[1920X1080, 1920X1080], video_stabilization=[1920X1080, 1920X1080], super_stabilization=[3264X1840, 1920X1080]}, rear_sat={default=[1920X1080, 1920X1080]}}}
2021-04-22 18:50:17.682 24564-24564/com.ocs.cameraunit D/SurfaceView: 248188214 updateRequestedVisibility, mViewVisibility:true, mWindowVisibility:false, mWindowStopped:false by android.view.SurfaceView.onAttachedToWindow:276 android.opengl.GLSurfaceView.onAttachedToWindow:621 android.view.View.dispatchAttachedToWindow:20339 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449
2021-04-22 18:50:17.683 24564-24564/com.ocs.cameraunit I/PswFrameworkFactoryImpl: get feature:IPswScreenModeFeature
2021-04-22 18:50:17.683 24564-24564/com.ocs.cameraunit D/SurfaceView: 248188214 updateRequestedVisibility, mViewVisibility:true, mWindowVisibility:true, mWindowStopped:false by android.view.SurfaceView.onWindowVisibilityChanged:299 android.view.View.dispatchAttachedToWindow:20356 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449 android.view.ViewGroup.dispatchAttachedToWindow:3449
2021-04-22 18:50:17.683 24564-24564/com.ocs.cameraunit D/SurfaceView: 248188214 updateSurface: has no frame
2021-04-22 18:50:17.685 24564-24896/com.ocs.cameraunit I/MediaCodec: CreateByType(), mime = audio/vorbis, encoder = 0
2021-04-22 18:50:17.686 24564-24896/com.ocs.cameraunit I/MediaCodec: ----------------------------------------
2021-04-22 18:50:17.686 24564-24896/com.ocs.cameraunit I/MediaCodec: matched component [OMX.google.vorbis.decoder]
2021-04-22 18:50:17.686 24564-24896/com.ocs.cameraunit I/MediaCodec: matched component [c2.android.vorbis.decoder]
2021-04-22 18:50:17.686 24564-24896/com.ocs.cameraunit I/MediaCodec: ----------------------------------------
2021-04-22 18:50:17.686 24564-24896/com.ocs.cameraunit I/MediaCodec: new MediaCodec()
2021-04-22 18:50:17.686 24564-24896/com.ocs.cameraunit I/ACodec: new ACodec()
2021-04-22 18:50:17.687 24564-24917/com.ocs.cameraunit I/ACodec: onAllocateComponent()
2021-04-22 18:50:17.688 24564-24917/com.ocs.cameraunit I/OMXClient: IOmx service obtained
2021-04-22 18:50:17.689 24564-24917/com.ocs.cameraunit I/ACodec: Successfully allocate component [OMX.google.vorbis.decoder]
2021-04-22 18:50:17.689 24564-24896/com.ocs.cameraunit I/MediaCodec: [OMX.google.vorbis.decoder] configure, format : AMessage(what = 0x00000000) = {
string mime = "audio/vorbis"
int64_t durationUs = 142018
Buffer csd-0 = {
00000000: 01 76 6f 72 62 69 73 00 00 00 00 01 44 ac 00 00 .vorbis.....D...
00000010: 00 00 00 00 30 a9 03 00 00 00 00 00 b8 01 ....0.........
}
Buffer *csd-1 = 0x7b5c42e480
int32_t bitrate = 239920
int32_t track-id = 1
int32_t channel-count = 1
int32_t sample-rate = 44100
int32_t channel-mask = 1
}
2021-04-22 18:50:17.689 24564-24917/com.ocs.cameraunit I/ACodec: configureCodec() mime = audio/vorbis
2021-04-22 18:50:17.690 24564-24917/com.ocs.cameraunit W/ExtendedACodec: Failed to get extension for extradata parameter
2021-04-22 18:50:17.690 24564-24896/com.ocs.cameraunit I/MediaCodec: Audio start()
2021-04-22 18:50:17.692 24564-24915/com.ocs.cameraunit V/CameraUnit, CameraCharacteristicsHelper: initialize, cameraId: 0, cameraIdType: 0, cameraType: rear_main
2021-04-22 18:50:17.700 24564-24915/com.ocs.cameraunit V/CameraUnit, CameraCharacteristicsHelper: initialize, cameraId: 1, cameraIdType: 1, cameraType: front_main
2021-04-22 18:50:17.709 24564-24915/com.ocs.cameraunit V/CameraUnit, CameraCharacteristicsHelper: initialize, cameraId: 2, cameraIdType: 2, cameraType: rear_wide
2021-04-22 18:50:17.712 24564-24890/com.ocs.cameraunit I/AdrenoGLES-0: QUALCOMM build : 6510784, I9f54e7aca9
Build Date : 03/31/20
OpenGL ES Shader Compiler Version: EV031.29.00.08
Local Branch :
Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.8.13.R1.08.00.00.571.066
Remote Branch : NONE
Reconstruct Branch : NOTHING
2021-04-22 18:50:17.712 24564-24890/com.ocs.cameraunit I/AdrenoGLES-0: Build Config : S P 8.0.12 AArch64
2021-04-22 18:50:17.712 24564-24890/com.ocs.cameraunit I/AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
2021-04-22 18:50:17.714 24564-24915/com.ocs.cameraunit V/CameraUnit, CameraCharacteristicsHelper: initialize, cameraId: 3, cameraIdType: 6, cameraType: rear_tele
2021-04-22 18:50:17.715 24564-24564/com.ocs.cameraunit D/SurfaceView: 248188214 updateSurface: has no frame
2021-04-22 18:50:17.716 24564-24890/com.ocs.cameraunit I/AdrenoGLES-0: PFP: 0x016dd087, ME: 0x00000000
2021-04-22 18:50:17.720 24564-24915/com.ocs.cameraunit V/CameraUnit, CameraCharacteristicsHelper: initialize, cameraId: 6, cameraIdType: 15, cameraType: null
2021-04-22 18:50:17.729 24564-24564/com.ocs.cameraunit I/SurfaceView: 248188214 Changes: creating=true format=true size=true visible=true alpha=false mUseAlpha=false visible=true left=true top=true
2021-04-22 18:50:17.731 24564-24564/com.ocs.cameraunit E/VpsExtension: Failed to get binder for service "vendor.vpsservice"
2021-04-22 18:50:17.732 24564-24564/com.ocs.cameraunit E/VpsExtension: Failed to get binder for service "vendor.vpsservice"
2021-04-22 18:50:17.733 24564-24564/com.ocs.cameraunit I/SurfaceView: 248188214 mSurfaceControl 12194088 mBackgroundControl 224636481 creating: SurfaceView - com.ocs.cameraunit/com.oplus.ocs.cameraunit.component.MainActivity
2021-04-22 18:50:17.733 24564-24564/com.ocs.cameraunit I/SurfaceView: 248188214 Cur surface: Surface(name=null)/@0x9cf2fe6, visible=true
2021-04-22 18:50:17.733 24564-24564/com.ocs.cameraunit I/SurfaceView: 248188214 visibleChanged:true -> SurfaceHolder.Callback.surfaceCreated
2021-04-22 18:50:17.734 24564-24564/com.ocs.cameraunit I/SurfaceView: 248188214 surfaceChanged -- format=4 w=1080 h=2400 visibleChanged:true -> SurfaceHolder.Callback.surfaceChanged
2021-04-22 18:50:17.734 24564-24564/com.ocs.cameraunit I/PswFrameworkFactoryImpl: get feature:IPswScreenModeFeature
2021-04-22 18:50:17.734 24564-24564/com.ocs.cameraunit I/SurfaceView: 248188214 surfaceRedrawNeeded
2021-04-22 18:50:17.736 24564-24564/com.ocs.cameraunit V/SurfaceView: Layout: x=0 y=0 w=1080 h=2400, frame=Rect(0, 0 - 1080, 2400)
2021-04-22 18:50:17.737 24564-24564/com.ocs.cameraunit I/PswFrameworkFactoryImpl: get feature:IPswScreenModeFeature
2021-04-22 18:50:17.738 24564-24894/com.ocs.cameraunit D/BaseGlSurfaceView: onSurfaceCreated
2021-04-22 18:50:17.751 24564-24894/com.ocs.cameraunit D/BaseGlSurfaceView: setSurfaceCreated, notifyAll
2021-04-22 18:50:17.751 24564-24894/com.ocs.cameraunit I/SurfaceView: 248188214 finishedDrawing
2021-04-22 18:50:17.757 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parseConfigData, sApsVersion: 3, sApsMode: 1, adapterVersion: 1.0.15
2021-04-22 18:50:17.763 24564-24896/com.ocs.cameraunit I/MediaCodec: stop()
2021-04-22 18:50:17.764 24564-24896/com.ocs.cameraunit I/MediaCodec: Audio release()
2021-04-22 18:50:17.765 24564-24896/com.ocs.cameraunit I/MediaCodec: ~MediaCodec()
2021-04-22 18:50:17.765 24564-24896/com.ocs.cameraunit I/ACodec: ~ACodec()
2021-04-22 18:50:17.768 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parseCaptureConfig, sCaptureConfigMap: {common@1=mCameraMode: common, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_lowlight_hdr, aps_algo_face_rectify, aps_algo_filter, aps_algo_rotate_mirror, aps_algo_scportrait, aps_algo_watermark, aps_algo_blurless, aps_algo_face_beauty, aps_algo_hdr, aps_algo_upscale], ultraHD@1=mCameraMode: ultraHD, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_none], superText@1=mCameraMode: superText, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_none], ultraHD@0=mCameraMode: ultraHD, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_filter, aps_algo_rotate_mirror, aps_algo_watermark, aps_algo_rectify, aps_algo_superphoto, aps_algo_upscale], fastVideo@0=mCameraMode: fastVideo, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_video_blur, aps_algo_filter, aps_algo_rotate_mirror, aps_algo_watermark, aps_algo_upscale], superText@0=mCameraMode: superText, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_rotate_mirror, aps_algo_rectify, aps_algo_blurless, aps_algo_super_text, aps_algo_superphoto], common@0=mCameraMode: common, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_lowlight_hdr, aps_algo_rotate_mirror, aps_algo_rectify, aps_algo_blurless, aps_algo_face_beauty, aps_algo_superphoto, aps_algo_upscale, aps_algo_face_rectify, aps_algo_filter, aps_algo_scportrait, aps_algo_watermark, aps_algo_hdr, aps_algo_pf], panorama@1=mCameraMode: panorama, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_none], panorama@0=mCameraMode: panorama, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_none], sticker@1=mCameraMode: sticker, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_lowlight_hdr, aps_algo_filter, aps_algo_ai_night, aps_algo_rotate_mirror, aps_algo_rectify, aps_algo_supernight, aps_algo_blurless, aps_algo_face_beauty, aps_algo_hdr, aps_algo_pf, aps_algo_superphoto, aps_algo_upscale], sticker@0=mCameraMode: sticker, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_lowlight_hdr, aps_algo_filter, aps_algo_ai_night, aps_algo_rotate_mirror, aps_algo_rectify, aps_algo_supernight, aps_algo_blurless, aps_algo_face_beauty, aps_algo_hdr, aps_algo_pf, aps_algo_superphoto, aps_algo_upscale], fastVideo@1=mCameraMode: fastVideo, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_video_blur, aps_algo_filter, aps_algo_rotate_mirror, aps_algo_watermark, aps_algo_upscale], professional@1=mCameraMode: professional, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_none], professional@0=mCameraMode: professional, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_rotate_mirror, aps_algo_watermark, aps_algo_rectify, aps_algo_upscale], slowVideo@1=mCameraMode: slowVideo, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_none], slowVideo@0=mCameraMode: slowVideo, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_video_blur, aps_algo_filter, aps_algo_rotate_mirror, aps_algo_upscale], basicCapture@1=mCameraMode: basicCapture, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_rotate_mirror], basicCapture@0=mCameraMode: basicCapture, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_rotate_mirror], basicPreview@1=mCameraMode: basicPreview, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_none], basicPreview@0=mCameraMode: basicPreview, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_none], commonVideo@0=mCameraMode: commonVideo, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_video_blur, aps_algo_filter, aps_algo_rotate_mirror, aps_algo_watermark, aps_algo_face_beauty, aps_algo_upscale], portrait@1=mCameraMode: portrait, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_lowlight_hdr, aps_algo_single_blur, aps_algo_filter, aps_algo_rotate_mirror, aps_algo_watermark, aps_algo_blurless, aps_algo_face_beauty, aps_algo_hdr, aps_algo_bokeh, aps_algo_upscale], commonVideo@1=mCameraMode: commonVideo, mCameraId: 1, mbEnable: true, mAlgos: [aps_algo_video_blur, aps_algo_filter, aps_algo_rotate_mirror, aps_algo_watermark, aps_algo_face_beauty, aps_algo_upscale], portrait@0=mCameraMode: portrait, mCameraId: 0, mbEnable: true, mAlgos: [aps_algo_filter, aps_algo_rotate_mirror, aps_algo_watermark, aps_a
2021-04-22 18:50:17.768 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: common@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.768 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: common@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.768 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonDummy@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.768 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonDummy@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: minimalDummy@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: minimalDummy@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: minimalDummy@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: minimalDummy@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: night@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: night@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: night@1, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: night@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.769 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: night@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: portrait@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: portrait@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: panorama@0, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: panorama@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: panorama@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: panorama@1, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: panorama@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: panorama@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: professional@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: professional@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: ultraHD@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: ultraHD@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: sticker@0, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.770 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: sticker@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: sticker@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: sticker@1, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: sticker@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: sticker@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonVideo@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonVideo@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: 4kVideo@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: 4kVideo@1, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: 4kVideo@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: 4kVideo@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: superEISVideo@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.771 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: superEISVideo@1, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: superEISVideo@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: superEISVideo@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: superEISProVideo@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: superEISProVideo@1, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: superEISProVideo@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: superEISProVideo@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: hyperlapseVideo@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: hyperlapseProVideo@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: fastVideo@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.772 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: fastVideo@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: slowVideo@0, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: slowVideo@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: slowVideo@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonSatHal@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonSatHal@1, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonSatHal@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonSatHal@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonVideoSatHal@0, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonVideoSatHal@0, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonVideoSatHal@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonVideoSatHal@1, pipeline: preview, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonVideoSatHal@1, pipeline: video, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: commonVideoSatHal@1, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.773 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: liveHDR@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.774 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, config: ultraNight@0, pipeline: asd, e1: No value for master_input_width
2021-04-22 18:50:17.786 24564-24564/com.ocs.cameraunit D/CapabilityBase.a: onServiceConnected
2021-04-22 18:50:17.786 24564-24915/com.ocs.cameraunit D/ApsAdapter, AlgoSwitchConfig: parsePreviewConfig, sPreviewConfigMap: {common@1=mCameraMode: common, mCameraId: 1, mCameraNum: 1, mIsSeparateStreamForPrevAndVideo: 0, mComponentMap: {preview={mbEnable: true, mMasterInputWidth: 1440, mMasterInputHeight: 1080, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 1440, mOutputHeight: 1080, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: [preview_default]}, asd={mbEnable: true, mMasterInputWidth: 1440, mMasterInputHeight: 1080, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 1440, mOutputHeight: 1080, mFrameSkipCnt: 0, mPipelineCopyFrom: pipeline_default, mAlgoNodeCopyFrom: preview_default, mAlgoList: [preview_asd]}, video={mbEnable: false, mMasterInputWidth: 0, mMasterInputHeight: 0, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 0, mOutputHeight: 0, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: null}}, ultraHD@0=mCameraMode: ultraHD, mCameraId: 0, mCameraNum: 1, mIsSeparateStreamForPrevAndVideo: 0, mComponentMap: {preview={mbEnable: true, mMasterInputWidth: 1440, mMasterInputHeight: 1080, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 1440, mOutputHeight: 1080, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: [preview_rectify]}, asd={mbEnable: false, mMasterInputWidth: 0, mMasterInputHeight: 0, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 0, mOutputHeight: 0, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: null}, video={mbEnable: false, mMasterInputWidth: 0, mMasterInputHeight: 0, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 0, mOutputHeight: 0, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: null}}, fastVideo@0=mCameraMode: fastVideo, mCameraId: 0, mCameraNum: 1, mIsSeparateStreamForPrevAndVideo: 1, mComponentMap: {preview={mbEnable: true, mMasterInputWidth: 1920, mMasterInputHeight: 1080, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 1920, mOutputHeight: 1080, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: [preview_default]}, asd={mbEnable: false, mMasterInputWidth: 0, mMasterInputHeight: 0, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 0, mOutputHeight: 0, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: null}, video={mbEnable: true, mMasterInputWidth: 1920, mMasterInputHeight: 1080, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 1920, mOutputHeight: 1080, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: [video_watermark_process_on_output]}}, superEISVideo@0=mCameraMode: superEISVideo, mCameraId: 0, mCameraNum: 1, mIsSeparateStreamForPrevAndVideo: 1, mComponentMap: {preview={mbEnable: true, mMasterInputWidth: 1920, mMasterInputHeight: 1080, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 1920, mOutputHeight: 1080, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: [preview_supereis]}, asd={mbEnable: false, mMasterInputWidth: 0, mMasterInputHeight: 0, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 0, mOutputHeight: 0, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: null}, video={mbEnable: true, mMasterInputWidth: 2496, mMasterInputHeight: 1872, mSlaveInputWidth: 0, mSlaveInputHeight: 0, mThirdInputWidth: 0, mThirdInputHeight: 0, mOutputWidth: 1920, mOutputHeight: 1080, mFrameSkipCnt: 0, mPipelineCopyFrom: null, mAlgoNodeCopyFrom: null, mAlgoList: [preview_video_supereis, v
2021-04-22 18:50:17.786 24564-24915/com.ocs.cameraunit I/CameraUnit, ConsumerImpl: onApsConfigInitDone, isNeedApsProcessor: true
2021-04-22 18:50:17.786 24564-24915/com.ocs.cameraunit I/CameraUnit, ApsProcessor: ApsProcessor
2021-04-22 18:50:17.786 24564-24564/com.ocs.cameraunit I/Choreographer: Skipped 5 frames! The application may be doing too much work on its main thread.
2021-04-22 18:50:17.787 24564-24914/com.ocs.cameraunit D/CapabilityBase.c: base client handler what 3
2021-04-22 18:50:17.788 24564-24915/com.ocs.cameraunit V/ApsAdapter, ApsAdapterImpl: createProcessThread, thread id: 24924
2021-04-22 18:50:17.788 24564-24915/com.ocs.cameraunit V/ApsAdapter, ApsAdapterImpl: connectAps, version: 1.0.15
2021-04-22 18:50:17.789 24564-24924/com.ocs.cameraunit V/ApsAdapter, ApsAdapterImpl: ImageProcessHandler, handleMessage, what: 1
2021-04-22 18:50:17.791 24564-24915/com.ocs.cameraunit D/CameraUnit, StatisticsManager: report, mEventId: start, params: {pack_name=com.ocs.cameraunit, enter_time=1619088617788}
2021-04-22 18:50:17.795 24564-24564/com.ocs.cameraunit D/ColorViewRootUtil: initSwipState, isDisplayCompatApp false
2021-04-22 18:50:17.796 24564-24564/com.ocs.cameraunit D/ColorViewRootUtil: updateScreenSize, mScreenHeight 2400,mScreenWidth:1080,height:2400,width:1080
2021-04-22 18:50:17.801 24564-24564/com.ocs.cameraunit D/ColorViewRootUtil: initSwipState, isDisplayCompatApp false
2021-04-22 18:50:17.801 24564-24564/com.ocs.cameraunit D/ColorViewRootUtil: updateScreenSize, mScreenHeight 2400,mScreenWidth:1080,height:2400,width:1080
2021-04-22 18:50:17.803 24564-24915/com.ocs.cameraunit I/CameraUnit, CameraConfigHelper: initialize config X, spend time: 146
2021-04-22 18:50:17.807 24564-24914/com.ocs.cameraunit D/CapabilityBase.c: base client handler what 1
2021-04-22 18:50:17.807 24564-24914/com.ocs.cameraunit I/CapabilityBase.BaseClient: onAuthenticateSucceed
2021-04-22 18:50:17.807 24564-24914/com.ocs.cameraunit D/CapabilityBase.BaseClient: handleAuthenticateSuccess
2021-04-22 18:50:17.807 24564-24905/com.ocs.cameraunit D/CapabilityBase.d: business handler what 100
2021-04-22 18:50:17.808 24564-24905/com.ocs.cameraunit D/CameraUnitAdapter: authenticateAsync, onAuthSucceed
2021-04-22 18:50:17.808 24564-24905/com.ocs.cameraunit D/CameraUnitAdapter: init: allSupportMode: {front_main=[video_mode, photo_mode], rear_main_rear_tele=[multi_camera_mode], rear_main=[video_mode, photo_mode], rear_wide=[photo_mode, video_mode], rear_main_rear_wide=[multi_camera_mode], rear_wide_rear_tele=[multi_camera_mode]}
2021-04-22 18:50:17.808 24564-24905/com.ocs.cameraunit D/CameraUnitAdapter: init: mCameraCharacteristicMap: {multi_camera_mode=[rear_main_rear_tele, rear_main_rear_wide, rear_wide_rear_tele], video_mode=[front_main, rear_main, rear_wide], photo_mode=[front_main, rear_main, rear_wide]}
2021-04-22 18:50:17.808 24564-24905/com.ocs.cameraunit D/MainActivity: onCameraReady: start
2021-04-22 18:50:17.813 24564-24564/com.ocs.cameraunit I/PswFrameworkFactoryImpl: get feature:IPswScreenModeFeature
2021-04-22 18:50:17.817 24564-24924/com.ocs.cameraunit E/xnn: [ERROR ] set max par thr cnt: 1 /Users/hooverhu/Documents/oppo_document_rectification/SDK_last/products/XDocProcess/SDK/Include/../xnn_base.h 65
2021-04-22 18:50:17.817 24564-24924/com.ocs.cameraunit E/xnn: [ERROR ]

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

2021-04-22 18:50:17.818 24564-24905/com.ocs.cameraunit E/AndroidRuntime: FATAL EXCEPTION: Auth Handler
Process: com.ocs.cameraunit, PID: 24564
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:8981)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:1620)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.widget.HorizontalScrollView.requestLayout(HorizontalScrollView.java:1604)
at com.google.android.material.tabs.TabLayout.removeTabViewAt(TabLayout.java:1735)
at com.google.android.material.tabs.TabLayout.removeAllTabs(TabLayout.java:949)
at com.oplus.ocs.cameraunit.component.MainActivity.updateModeTab(MainActivity.java:489)
at com.oplus.ocs.cameraunit.component.MainActivity.access$800(MainActivity.java:97)
at com.oplus.ocs.cameraunit.component.MainActivity$CameraStatusActionImpl.onCameraReady(MainActivity.java:752)
at com.oplus.ocs.camerax.-$$Lambda$RDzv72chxiBAr7yVI15HI7QsPtg.accept(Unknown Source:2)
at java.util.Optional.ifPresent(Optional.java:155)
at com.oplus.ocs.camerax.CameraController.lambda$init$0$CameraController(CameraController.java:229)
at com.oplus.ocs.camerax.-$$Lambda$CameraController$MwhT0fASi_oDJrCUuhRpo-GXY8o.onAuthSucceed(Unknown Source:2)
at com.oplus.ocs.camerax.adapter.cameraunit.CameraUnitAdapter.lambda$authenticateAsync$0$CameraUnitAdapter(CameraUnitAdapter.java:142)
at com.oplus.ocs.camerax.adapter.cameraunit.-$$Lambda$CameraUnitAdapter$nzUMtkLvH_QoxlOae7zsByRrn0Q.onConnectionSucceed(Unknown Source:4)
at com.oplus.ocs.base.common.api.d.handleMessage(Unknown Source:46)
at android.os.Handler.dispatchMessage(Handler.java:107)
at com.oplus.ocs.base.common.a.dispatchMessage(Unknown Source:22)
at android.os.Looper.loop(Looper.java:238)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-04-22 18:50:17.843 24564-24924/com.ocs.cameraunit V/ApsAdapter, ApsPreviewAdapterImpl: createProcessThread, thread id: 24935
2021-04-22 18:50:17.846 24564-24924/com.ocs.cameraunit V/ApsAdapter, ApsPreviewAdapterImpl: createDecisionThread, thread id: 24936
2021-04-22 18:50:17.847 24564-24924/com.ocs.cameraunit V/ApsAdapter, ApsVideoAdapterImpl: createProcessThread, thread id: 24937
2021-04-22 18:50:17.848 24564-24924/com.ocs.cameraunit V/ApsAdapter, FullApsImpl: connect, mbConnected: false
2021-04-22 18:50:17.848 24564-24924/com.ocs.cameraunit I/APSClient-JNI: create 2020/04/27 10:38
2021-04-22 18:50:17.849 24564-24926/com.ocs.cameraunit D/DCS-: test refreshAppSessionIdIfNeed
2021-04-22 18:50:17.850 24564-24924/com.ocs.cameraunit I/APSClient-JNI: userId : 0
2021-04-22 18:50:17.851 24564-24924/com.ocs.cameraunit E/APS: [ERROR][ JSON_PARSER ] APSJsonParser.cpp: 87 checkAndUpdateFilePath() access path '/data/user/0/com.oppo.camera/files/oppo_version/etc/camera/oppo_camera_aps_config' failed!!!
2021-04-22 18:50:17.851 24564-24926/com.ocs.cameraunit D/DCS-: test isAppSessionIdFresh timeGap=1619088617851
2021-04-22 18:50:17.859 24564-24924/com.ocs.cameraunit E/libc: Access denied finding property "vendor.aps.framerate.print"
2021-04-22 18:50:17.859 24564-24924/com.ocs.cameraunit E/libc: Access denied finding property "vendor.aps.framerate.showlog"
2021-04-22 18:50:17.859 24564-24924/com.ocs.cameraunit E/libc: Access denied finding property "vendor.aps.framerate.frecontrol"
2021-04-22 18:50:17.859 24564-24924/com.ocs.cameraunit E/libc: Access denied finding property "vendor.aps.framerate.counttimecost"
2021-04-22 18:50:17.859 24564-24924/com.ocs.cameraunit E/libc: Access denied finding property "vendor.aps.logic.preview.metadata.debug"
2021-04-22 18:50:17.859 24564-24924/com.ocs.cameraunit V/ApsAdapter, ApsAdapterImpl: ImageProcessHandler, handleMessage, MSG_APS_CONNECT, result: true
2021-04-22 18:50:17.859 24564-24924/com.ocs.cameraunit V/ApsAdapter, ApsAdapterImpl: ImageProcessHandler, handleMessage, what: 1 X
2021-04-22 18:50:17.878 24564-24564/com.ocs.cameraunit D/MainActivity: onPause: start
2021-04-22 18:50:17.878 24564-24564/com.ocs.cameraunit D/CameraController: pause: camera host paused!
2021-04-22 18:50:17.906 24564-24905/com.ocs.cameraunit I/Process: Sending signal. PID: 24564 SIG: 9

@lgyjg
Copy link
Contributor

lgyjg commented Apr 22, 2021

Only the original thread that created a view hierarchy can touch its views:

2021-04-22 18:50:17.818 24564-24905/com.ocs.cameraunit E/AndroidRuntime: FATAL EXCEPTION: Auth Handler
Process: com.ocs.cameraunit, PID: 24564
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:8981)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:1620)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.view.View.requestLayout(View.java:25287)
at android.widget.HorizontalScrollView.requestLayout(HorizontalScrollView.java:1604)
at com.google.android.material.tabs.TabLayout.removeTabViewAt(TabLayout.java:1735)
at com.google.android.material.tabs.TabLayout.removeAllTabs(TabLayout.java:949)
at com.oplus.ocs.cameraunit.component.MainActivity.updateModeTab(MainActivity.java:489)
at com.oplus.ocs.cameraunit.component.MainActivity.access$800(MainActivity.java:97)
at com.oplus.ocs.cameraunit.component.MainActivity$CameraStatusActionImpl.onCameraReady(MainActivity.java:752)
at com.oplus.ocs.camerax.-$$Lambda$RDzv72chxiBAr7yVI15HI7QsPtg.accept(Unknown Source:2)
at java.util.Optional.ifPresent(Optional.java:155)
at com.oplus.ocs.camerax.CameraController.lambda$init$0$CameraController(CameraController.java:229)
at com.oplus.ocs.camerax.-$$Lambda$CameraController$MwhT0fASi_oDJrCUuhRpo-GXY8o.onAuthSucceed(Unknown Source:2)
at com.oplus.ocs.camerax.adapter.cameraunit.CameraUnitAdapter.lambda$authenticateAsync$0$CameraUnitAdapter(CameraUnitAdapter.java:142)
at com.oplus.ocs.camerax.adapter.cameraunit.-$$Lambda$CameraUnitAdapter$nzUMtkLvH_QoxlOae7zsByRrn0Q.onConnectionSucceed(Unknown Source:4)
at com.oplus.ocs.base.common.api.d.handleMessage(Unknown Source:46)
at android.os.Handler.dispatchMessage(Handler.java:107)
at com.oplus.ocs.base.common.a.dispatchMessage(Unknown Source:22)
at android.os.Looper.loop(Looper.java:238)
at android.os.HandlerThread.run(HandlerThread.java:67)

@lgyjg lgyjg closed this as completed Apr 23, 2021
@lgyjg
Copy link
Contributor

lgyjg commented Apr 23, 2021

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants