HMS-Core / hms-scan-demo

Sample code for demonstrating Huawei HMS ScanKit capabilities. It illustrates how to help developers quickly build code scanning capabilities.
https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/scan-introduction-4?ha_source=hms1
Apache License 2.0
305 stars 56 forks source link

一加手机 没有开启WiFi 进入扫码界面崩溃 #48

Open MoringSun opened 2 years ago

MoringSun commented 2 years ago

集成的一样,其他手机没问题,进入扫码界面就崩溃 开启WiFi进入就没事了

Mike-mei commented 2 years ago

请提供一下集成SDK版本和日志

MoringSun commented 2 years ago

sdk版本:com.huawei.hms:scan:1.1.3.301

能抓到的数据 021-11-30 20:29:21.652 1068-1807/? E/SurfaceFlinger: notifyInputMotion motionType=2 2021-11-30 20:29:21.779 985-1016/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 164: AdaptLaunch Invalid Async 2021-11-30 20:29:21.781 1587-2796/? E/OpScreenModeService: getAppToken ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259} 2021-11-30 20:29:21.781 1587-2796/? E/OpScreenModeService: setRefreshRate token ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259} request refresh rate=-1 tmpRate -1 2021-11-30 20:29:21.781 1587-2796/? E/OpScreenModeService: setRefreshRate token ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259} app request rateid=1 fps=90.0 2021-11-30 20:29:21.782 1587-2796/? E/HypnusDaemonUtil: hypnusd cannot connect to HypnusService 2021-11-30 20:29:21.783 7397-20020/com.runjing.wineworld.pos E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK 2021-11-30 20:29:21.796 7397-20020/com.runjing.wineworld.pos E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK 2021-11-30 20:29:21.840 1274-3159/? E/MM_OSAL: FileSource::FileSource 2021-11-30 20:29:21.840 1274-3159/? E/MM_OSAL: FileSource::FileSource m_bEveryThingOK 1 2021-11-30 20:29:21.851 7397-7397/com.runjing.wineworld.pos E/ActivityThread: Failed to find provider info for com.huawei.hms 2021-11-30 20:29:21.855 7397-7397/com.runjing.wineworld.pos E/SecurityResourcesReader: KEY is null return def directly 2021-11-30 20:29:21.873 7397-7397/com.runjing.wineworld.pos E/HaLog: initValue RuntimeException 2021-11-30 20:29:21.883 7397-20020/com.runjing.wineworld.pos E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK 2021-11-30 20:29:21.886 7397-7397/com.runjing.wineworld.pos E/HaLog: initValue RuntimeException 2021-11-30 20:29:21.888 7397-7397/com.runjing.wineworld.pos E/SensorManager: registerListenerImpl sensorName:OnePlus Fusion Light Sensor,isWakeUpSensor:false,callingApp: com.runjing.wineworld.pos,callingPid:7397,callingUid:10502 2021-11-30 20:29:21.890 7397-20020/com.runjing.wineworld.pos E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK 2021-11-30 20:29:21.890 1587-3642/? E/SensorService: >>>ERROR: activate called without batch 2021-11-30 20:29:21.890 1587-3642/? E/SensorService: >>>ERROR: activate called without batch 2021-11-30 20:29:21.894 942-942/? E/sensors-hal: activate:86, dihw line:86! 2021-11-30 20:29:21.894 942-942/? E/sensors-hal: activate:91, dihw OP_FEATURE_PWM_UNDER_SCREEN_LIGHT line:91! 2021-11-30 20:29:21.932 7397-7397/com.runjing.wineworld.pos E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.933 7397-7397/com.runjing.wineworld.pos E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.936 7397-7397/com.runjing.wineworld.pos E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.936 7397-7397/com.runjing.wineworld.pos E/libc: Access denied finding property "vendor.camera.hal1.packagelist" 2021-11-30 20:29:21.941 7397-19997/com.runjing.wineworld.pos E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.941 7365-14984/? E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.941 7371-8519/? E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.941 7397-19997/com.runjing.wineworld.pos E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.941 879-3810/? E/audio_ext_hw_plugin: [ext_hw_plugin_set_parameters] received null pointer 2021-11-30 20:29:21.941 879-3810/? E/ultrasound_extn: ultrasound_apply_param_to_usecase: uc_index is invaild 2021-11-30 20:29:21.941 7365-14984/? E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.941 7371-8519/? E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:21.943 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 1: No such file or directory (-2) 2021-11-30 20:29:21.943 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 2: No such file or directory (-2) 2021-11-30 20:29:21.943 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 2: No such file or directory (-2) 2021-11-30 20:29:21.943 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 3: No such file or directory (-2) 2021-11-30 20:29:21.943 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 3: No such file or directory (-2) 2021-11-30 20:29:21.943 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 4: No such file or directory (-2) 2021-11-30 20:29:21.943 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 4: No such file or directory (-2) 2021-11-30 20:29:21.943 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 5: No such file or directory (-2) 2021-11-30 20:29:21.944 1478-11706/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 5: No such file or directory (-2) 2021-11-30 20:29:21.946 894-1989/? E/libc: Access denied finding property "ro.camera.req.fmq.size" 2021-11-30 20:29:21.946 894-1989/? E/FMQ: grantorIdx must be less than 3 2021-11-30 20:29:21.946 894-1989/? E/FMQ: grantorIdx must be less than 3 2021-11-30 20:29:21.947 1478-11706/? E/FMQ: grantorIdx must be less than 3 2021-11-30 20:29:21.947 1478-11706/? E/FMQ: grantorIdx must be less than 3 2021-11-30 20:29:21.948 1478-11706/? E/Camera2-Parameters: Error finding static metadata entry 'android.distortionCorrection.availableModes' (1b0001) 2021-11-30 20:29:21.964 1478-20494/? E/Camera3-Device: configureStreamsLocked: Unknown tag com.oplus.packageName, ignoring 2021-11-30 20:29:21.966 894-1989/? E/CHIUSECASE: [ERROR ] chxextensionmodule.cpp:4206 OP_InitOperationMode() unknown vendor opertation mode 2021-11-30 20:29:21.971 894-1989/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:4365 GetEISMargin() No margin for stabilization type 8 2021-11-30 20:29:21.971 894-1989/? E/CHIUSECASE: [ERROR ] chxsensorselectmode.cpp:888 OP_SelectSensorMode() [OP_EXT] force sensor mode 9 for 3rd-party apps to support front/back simultaneoulsy 2021-11-30 20:29:21.985 894-20510/? E/CamX: [ERROR][PPROC ] camxbpsnode.cpp:2716 OverrideDefaultIQModuleEnablement() IQ module exists without an appropriate settings override. Must add override 2021-11-30 20:29:21.999 894-20501/? E/CamX: [ERROR][STATS_AEC] ctuningdataadapter.cpp:110: SetChromatix m_numSelectors 7 default 0 sensor 9 usecase 0 feature1 0 feature2 0 scene 0 effect 0 2021-11-30 20:29:21.999 894-20503/? E/Sensors: openInput 2021-11-30 20:29:21.999 894-20501/? E/CamX: [ERROR][STATS_AEC] caeccoredatamanager.cpp:993: InitStatsConfig hist color channel not mapped: 8, forcing to Y 6 2021-11-30 20:29:21.999 894-20503/? E/Sensors: devname: /dev/input/event14 2021-11-30 20:29:21.999 894-20501/? E/CamX: [ERROR][NONE: ] camxstatsroiprocessor.cpp:499: SetCropWindow AECROI: invalid crop window (0.000000, 0.000000, 0.000000, 0.000000) 2021-11-30 20:29:21.999 894-20503/? E/Sensors: devname: /dev/input/event13 2021-11-30 20:29:21.999 894-20501/? E/CamX: [ERROR][STATS_AEC] caeccore.cpp:449: queryMetaData Query under init mode is not allowed. 2021-11-30 20:29:21.999 894-20503/? E/Sensors: devname: /dev/input/event12 2021-11-30 20:29:21.999 894-20503/? E/Sensors: devname: /dev/input/event11 2021-11-30 20:29:21.999 894-20503/? E/Sensors: devname: /dev/input/event3 2021-11-30 20:29:21.999 894-20503/? E/Sensors: devname: /dev/input/event6 2021-11-30 20:29:21.999 894-20503/? E/Sensors: devname: /dev/input/event10 2021-11-30 20:29:21.999 894-20503/? E/Sensors: inputName: STM VL53L1 proximity sensor found 2021-11-30 20:29:22.000 894-20503/? E/Sensors: ProximitySensor::ProximitySensor gets called! 2021-11-30 20:29:22.000 894-20503/? E/Sensors: ProximitySensor: input_name:event10, input_sysfs_path:/sys/class/input/input5 2021-11-30 20:29:22.000 894-20503/? E/Sensors: open_sensors gets called! 2021-11-30 20:29:22.000 894-20503/? E/Sensors: Is_tof_sensor_available() called 2021-11-30 20:29:22.000 894-20503/? E/Sensors: devname: /dev/input/event14 2021-11-30 20:29:22.000 894-20503/? E/Sensors: devname: /dev/input/event13 2021-11-30 20:29:22.000 894-20503/? E/Sensors: devname: /dev/input/event12 2021-11-30 20:29:22.000 894-20503/? E/Sensors: devname: /dev/input/event11 2021-11-30 20:29:22.000 894-20503/? E/Sensors: devname: /dev/input/event3 2021-11-30 20:29:22.000 894-20503/? E/Sensors: devname: /dev/input/event6 2021-11-30 20:29:22.001 894-20503/? E/Sensors: devname: /dev/input/event10 2021-11-30 20:29:22.001 894-20503/? E/Sensors: Tof Sensor: STM VL53L1 proximity sensor found 2021-11-30 20:29:22.001 894-20503/? E/Sensors: sensors_poll_context_t::setDelay gets called! 2021-11-30 20:29:22.001 894-20503/? E/Sensors: set ranging mode ret: 0 2021-11-30 20:29:22.001 894-20503/? E/Sensors: read calibration file:/mnt/vendor/persist/camera/stlaser.cal,rc=0. 2021-11-30 20:29:22.001 894-20503/? E/Sensors: set calib data done,rc=0. 2021-11-30 20:29:22.001 894-20503/? E/Sensors: sensors_poll_context_t::activate gets called! 2021-11-30 20:29:22.006 894-20503/? E/CamX: [ERROR][STATS_AF] camxcafstatsprocessor.cpp:1512 UpdateAFSettings() enableAFAlgo: 0, GetVendorStreamConfigMode: 0 2021-11-30 20:29:22.007 894-20503/? E/CamX: [ERROR][STATS_AF ] af_haf.cpp:1392: af_haf_util_update_force_scan_end_params force scan timeout enabled,max th: 40 2021-11-30 20:29:22.018 894-1989/? E/CamX: [ERROR][SENSOR ] camxsensornode.cpp:978 PrepareStreamOn() Prepare for Stream On 2021-11-30 20:29:22.154 2602-2602/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:22.168 2602-2724/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:22.172 2602-2724/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:22.172 2602-2602/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:22.176 894-1645/? E/CamX: [ERROR][SENSOR ] camxsensornode.cpp:5331 SensorThreadJobCallback() ConfigureSensor: start 2021-11-30 20:29:22.185 2602-3358/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:22.214 894-1645/? E/CamX: [ERROR][SENSOR ] camxsensornode.cpp:5363 SensorThreadJobCallback() ConfigureSensor: done 2021-11-30 20:29:22.221 1587-5086/? E/OpScreenModeService: getAppToken ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259} 2021-11-30 20:29:22.221 1587-5086/? E/OpScreenModeService: setRefreshRate token ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259} request refresh rate=1 tmpRate 2 2021-11-30 20:29:22.222 1587-5086/? E/OpScreenModeService: setRefreshRate token ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259} app request rateid=2 fps=60.0 2021-11-30 20:29:22.298 894-1642/? E/CamX: [ERROR][STATS_AEC] ctuningdataadapter.cpp:110: SetChromatix m_numSelectors 7 default 0 sensor 9 usecase 0 feature1 11 feature2 0 scene 18 effect 0 2021-11-30 20:29:22.302 894-1642/? E/CamX: [ERROR][STATS_AEC] caeccoredatamanager.cpp:993: InitStatsConfig hist color channel not mapped: 8, forcing to Y 6 2021-11-30 20:29:22.383 4373-8364/? E/NfcService: setReaderMode() called while NFC is not enabled. 2021-11-30 20:29:22.419 7397-20480/com.runjing.wineworld.pos E/g: getVendorCountry=UNKNOWN 2021-11-30 20:29:22.419 7397-20480/com.runjing.wineworld.pos E/g: getSimCountryCode by not enableNetwork, countryCode=cn 2021-11-30 20:29:22.423 7397-20480/com.runjing.wineworld.pos E/HaLogProvider: initlizeHaSdk APK mode,BUILD_MODE=AAR 2021-11-30 20:29:22.455 7397-20480/com.runjing.wineworld.pos E/HaLogProvider: GrsApi.synGetGrsUrl=https://metrics1.data.hicloud.com:6447,BuildConfig.HIA_MODE=com.huawei.cloud.mlkithianalytics 2021-11-30 20:29:22.485 7397-20480/com.runjing.wineworld.pos E/AndroidRuntime: FATAL EXCEPTION: Thread-29 Process: com.runjing.wineworld.pos, PID: 7397 java.lang.SecurityException: getDataNetworkTypeForSubscriber at android.os.Parcel.createExceptionOrNull(Parcel.java:2373) at android.os.Parcel.createException(Parcel.java:2357) at android.os.Parcel.readException(Parcel.java:2340) at android.os.Parcel.readException(Parcel.java:2282) at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:8803) at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3070) at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3034) at com.huawei.hms.mlkit.common.ha.d.b(HianalyticsLogUtils.java:63) at com.huawei.hms.mlkit.common.ha.HianalyticsLogProvider.logEnd(HianalyticsLogProvider.java:8250) at com.huawei.hms.ml.camera.h$a.a(HiAnalyticsThread.java:109) at com.huawei.hms.ml.camera.h$a.handleMessage(HiAnalyticsThread.java:78) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:233) at com.huawei.hms.ml.camera.h.run(HiAnalyticsThread.java:51) 2021-11-30 20:29:22.485 7397-20480/com.runjing.wineworld.pos E/CrashReport: Java Crash Happen cause by Thread-29(614) 2021-11-30 20:29:22.498 7397-20480/com.runjing.wineworld.pos E/CrashReport: stack frame :14, has cause false 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: #++++++++++Record By Bugly++++++++++# 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # You can use Bugly(http:\bugly.qq.com) to get more Crash Detail! 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # PKG NAME: com.runjing.wineworld.pos 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # APP VER: 2.00.00 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # SDK VER: 3.2.42-3.7.471 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # LAUNCH TIME: 2021-11-30 20:28:24 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # CRASH TYPE: JAVA_CRASH 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # CRASH TIME: 2021-11-30 20:29:22 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # CRASH PROCESS: com.runjing.wineworld.pos 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # CRASH THREAD: Thread-29 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # REPORT ID: 577e870c-da7a-4d86-9d26-74fff47c5630 2021-11-30 20:29:22.503 7397-20480/com.runjing.wineworld.pos E/CrashReport: # CRASH DEVICE: GM1910 UNROOT 2021-11-30 20:29:22.504 7397-20480/com.runjing.wineworld.pos E/CrashReport: # RUNTIME AVAIL RAM:2760335360 ROM:24338763776 SD:24338763776 2021-11-30 20:29:22.504 7397-20480/com.runjing.wineworld.pos E/CrashReport: # RUNTIME TOTAL RAM:7836729344 ROM:239605207040 SD:239605207040 2021-11-30 20:29:22.504 7397-20480/com.runjing.wineworld.pos E/CrashReport: # CRASH STACK: 2021-11-30 20:29:22.504 7397-20480/com.runjing.wineworld.pos E/CrashReport: java.lang.SecurityException: getDataNetworkTypeForSubscriber at android.os.Parcel.createExceptionOrNull(Parcel.java:2373) at android.os.Parcel.createException(Parcel.java:2357) at android.os.Parcel.readException(Parcel.java:2340) at android.os.Parcel.readException(Parcel.java:2282) at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:8803) at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3070) at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3034) at com.huawei.hms.mlkit.common.ha.d.b(HianalyticsLogUtils.java:63) at com.huawei.hms.mlkit.common.ha.HianalyticsLogProvider.logEnd(HianalyticsLogProvider.java:8250) at com.huawei.hms.ml.camera.h$a.a(HiAnalyticsThread.java:109) at com.huawei.hms.ml.camera.h$a.handleMessage(HiAnalyticsThread.java:78) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:233) at com.huawei.hms.ml.camera.h.run(HiAnalyticsThread.java:51) 2021-11-30 20:29:22.504 7397-20480/com.runjing.wineworld.pos E/CrashReport: #++++++++++++++++++++++++++++++++++++++++++# 2021-11-30 20:29:22.530 953-966/? E/OPCameraMDMHIDL: setJankMsg: OP_EXT msg SlowFPS 2021-11-30 20:29:22.640 1587-1727/? E/OpScreenModeService: updateGlobalModeId new mode={id=1, width=1440, height=3120, fps=60.0} new ModeId=1 old ModeId=2 2021-11-30 20:29:22.663 930-930/? E/SDM: HWCDisplay::SubmitDisplayConfig: activeConfig = 1, desireConfig = 0 2021-11-30 20:29:22.713 3067-3083/? E/IHansComunication: HANS printMessageBody: RCVed message body: type = 0, port = 86870, caller_pid = 1587, target_uid = 10036, pkg_cmd = -1 2021-11-30 20:29:22.732 7397-20480/com.runjing.wineworld.pos E/CrashReport: sys default last handle start! 2021-11-30 20:29:22.737 7397-20480/com.runjing.wineworld.pos E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK 2021-11-30 20:29:22.749 7397-20480/com.runjing.wineworld.pos E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK 2021-11-30 20:29:22.765 7397-20480/com.runjing.wineworld.pos E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK 2021-11-30 20:29:22.788 1587-6513/? E/OpScreenModeService: updateGlobalModeId new mode={id=2, width=1440, height=3120, fps=90.0} new ModeId=2 old ModeId=1 2021-11-30 20:29:22.798 1587-1723/? E/system_server: Invalid ID 0x00000000. 2021-11-30 20:29:22.806 930-930/? E/SDM: HWCDisplay::SubmitDisplayConfig: activeConfig = 0, desireConfig = 1 2021-11-30 20:29:22.809 1587-1723/? E/system_server: Invalid ID 0x00000000. 2021-11-30 20:29:22.811 1587-1723/? E/system_server: Invalid ID 0x00000000. 2021-11-30 20:29:22.812 1587-1723/? E/system_server: Invalid ID 0x00000000. 2021-11-30 20:29:22.812 1587-1723/? E/system_server: Invalid ID 0x00000000. 2021-11-30 20:29:22.847 3067-3083/? E/IHansComunication: HANS printMessageBody: RCVed message body: type = 0, port = 86870, caller_pid = 1587, target_uid = 10036, pkg_cmd = -1 2021-11-30 20:29:22.867 894-1989/? E/CHIUSECASE: [ERROR ] chxextensionmodule.cpp:2814 OverrideFlush() [OP_EXT] CAM Perflock: Release Perflock 0 and acquire CLOSE_CAMERA 2021-11-30 20:29:22.869 894-1645/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 8 req 20 enableDump 0 2021-11-30 20:29:22.869 894-1645/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 9 req 20 enableDump 0 2021-11-30 20:29:22.870 894-1642/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 19 error_code 00000003 error_stream 0x0 2021-11-30 20:29:22.870 894-1645/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 8 req 18 enableDump 0 2021-11-30 20:29:22.871 894-1645/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 9 req 18 enableDump 0 2021-11-30 20:29:22.871 894-1642/? E/CamX: [ERROR][HAL ] camxsession.cpp:2394 ProcessResultMetadata() Metadata error for sequenceId: 17 2021-11-30 20:29:22.871 894-1642/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 17 error_code 00000003 error_stream 0x0 2021-11-30 20:29:22.880 894-1642/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 8 req 19 enableDump 0 2021-11-30 20:29:22.881 894-1642/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 9 req 19 enableDump 0 2021-11-30 20:29:22.881 894-1643/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 18 error_code 00000003 error_stream 0x0 2021-11-30 20:29:22.886 894-1643/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 8 req 16 enableDump 0 2021-11-30 20:29:22.886 894-1645/? E/CamX: [ERROR][HAL ] camxsession.cpp:2394 ProcessResultMetadata() Metadata error for sequenceId: 15 2021-11-30 20:29:22.886 894-1645/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 15 error_code 00000003 error_stream 0x0 2021-11-30 20:29:22.886 894-1643/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 9 req 16 enableDump 0 2021-11-30 20:29:22.886 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 15 error_code 00000004 error_stream 0xb40000740d7aec58 2021-11-30 20:29:22.886 894-1643/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 8 req 17 enableDump 0 2021-11-30 20:29:22.886 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 15 error_code 00000004 error_stream 0xb40000740d7c1b88 2021-11-30 20:29:22.887 894-1643/? E/CamX: [ERROR][PPROC ] camxipenode.cpp:8995 NotifyRequestProcessingError() Fence failure for output port 9 req 17 enableDump 0 2021-11-30 20:29:22.887 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 16 error_code 00000004 error_stream 0xb40000740d7aec58 2021-11-30 20:29:22.887 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 17 error_code 00000004 error_stream 0xb40000740d7aec58 2021-11-30 20:29:22.887 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 18 error_code 00000004 error_stream 0xb40000740d7aec58 2021-11-30 20:29:22.887 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 19 error_code 00000004 error_stream 0xb40000740d7aec58 2021-11-30 20:29:22.887 894-1647/? E/CamX: [ERROR][HAL ] camxsession.cpp:2394 ProcessResultMetadata() Metadata error for sequenceId: 16 2021-11-30 20:29:22.887 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 16 error_code 00000003 error_stream 0x0 2021-11-30 20:29:22.887 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 16 error_code 00000004 error_stream 0xb40000740d7c1b88 2021-11-30 20:29:22.887 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 17 error_code 00000004 error_stream 0xb40000740d7c1b88 2021-11-30 20:29:22.888 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 18 error_code 00000004 error_stream 0xb40000740d7c1b88 2021-11-30 20:29:22.888 894-1647/? E/CamX: [ERROR][HAL ] camxhal3.cpp:1440 notify() frame_number 19 error_code 00000004 error_stream 0xb40000740d7c1b88 2021-11-30 20:29:22.890 894-1643/? E/CamX: [ERROR][CORE ] camxsession.cpp:3446 InjectResult() Result holder NULL for seqId: 18, this request may be flushed out already. 2021-11-30 20:29:22.893 894-1989/? E/CHIUSECASE: [ERROR ] chxextensionmodule.cpp:2814 OverrideFlush() [OP_EXT] CAM Perflock: Release Perflock 1 and acquire CLOSE_CAMERA 2021-11-30 20:29:22.897 4373-8364/? E/NfcService: setReaderMode() called while NFC is not enabled. 2021-11-30 20:29:22.922 1587-1727/? E/OpScreenModeService: updateGlobalModeId new mode={id=1, width=1440, height=3120, fps=60.0} new ModeId=1 old ModeId=2 2021-11-30 20:29:22.930 930-930/? E/SDM: HWCDisplay::SubmitDisplayConfig: activeConfig = 1, desireConfig = 0 2021-11-30 20:29:22.939 3067-3083/? E/IHansComunication: HANS printMessageBody: RCVed message body: type = 0, port = 86870, caller_pid = 1587, target_uid = 10036, pkg_cmd = -1 2021-11-30 20:29:22.957 894-1989/? E/CamX: [ERROR][STATS ] camxcawbstatsprocessor.cpp:994 ~CAWBStatsProcessor() cameraId = 0, gain r/g/b = (1.848825 1.000000 2.011017), cct = 4801.000000, curDecisionTC(0.555837,0.475358) 2021-11-30 20:29:22.958 894-1989/? E/Sensors: sensors_poll_context_t::activate gets called! 2021-11-30 20:29:23.000 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 1: No such file or directory (-2) 2021-11-30 20:29:23.000 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 2: No such file or directory (-2) 2021-11-30 20:29:23.000 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 2: No such file or directory (-2) 2021-11-30 20:29:23.001 7397-19997/com.runjing.wineworld.pos E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:23.001 7371-8519/? E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:23.001 7365-14984/? E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:23.001 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 3: No such file or directory (-2) 2021-11-30 20:29:23.001 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 3: No such file or directory (-2) 2021-11-30 20:29:23.001 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 4: No such file or directory (-2) 2021-11-30 20:29:23.001 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 4: No such file or directory (-2) 2021-11-30 20:29:23.001 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 5: No such file or directory (-2) 2021-11-30 20:29:23.001 1478-20494/? E/CameraService: onTorchStatusChangedLocked: cannot get torch status of camera 5: No such file or directory (-2) 2021-11-30 20:29:23.003 7397-19997/com.runjing.wineworld.pos E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:23.003 7371-8519/? E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:23.003 7365-14984/? E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2021-11-30 20:29:23.005 7397-7397/com.runjing.wineworld.pos E/SensorManager: unregisterListenerImpl callingApp: com.runjing.wineworld.pos,callingPid:7397,callingUid:10502 2021-11-30 20:29:23.015 1587-2512/? E/OpScreenModeService: getAppToken ActivityRecord{d9fcdfc u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.store.StorePurchaseIntoListActivity t40259} 2021-11-30 20:29:23.015 1587-2512/? E/OpScreenModeService: setRefreshRate token ActivityRecord{d9fcdfc u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.store.StorePurchaseIntoListActivity t40259} request refresh rate=-1 tmpRate -1 2021-11-30 20:29:23.015 1587-2512/? E/OpScreenModeService: setRefreshRate token ActivityRecord{d9fcdfc u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.store.StorePurchaseIntoListActivity t40259} app request rateid=1 fps=90.0 2021-11-30 20:29:23.016 1587-2512/? E/HypnusDaemonUtil: hypnusd cannot connect to HypnusService 2021-11-30 20:29:23.030 2602-3358/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:23.042 3067-3083/? E/IHansComunication: HANS printMessageBody: RCVed message body: type = 0, port = 86870, caller_pid = 1587, target_uid = 10036, pkg_cmd = -1 2021-11-30 20:29:23.055 7397-7397/com.runjing.wineworld.pos E/easyhttp:BaseSubscriber.onStart(L:48): -->http is onStart 2021-11-30 20:29:23.082 1587-1727/? E/OpScreenModeService: updateGlobalModeId new mode={id=2, width=1440, height=3120, fps=90.0} new ModeId=2 old ModeId=1 2021-11-30 20:29:23.098 1587-3385/? E/OpScreenModeService: getAppToken ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259 f}} 2021-11-30 20:29:23.098 1587-3385/? E/OpScreenModeService: setRefreshRate token ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259 f}} request refresh rate=0 tmpRate 0 2021-11-30 20:29:23.098 1587-3385/? E/OpScreenModeService: setRefreshRate token ActivityRecord{d2306a2 u0 com.runjing.wineworld.pos/com.drz.main.home.purchase.ScanQuickActivity t40259 f}} app request rateid=1 fps=90.0 2021-11-30 20:29:23.108 930-930/? E/SDM: HWCDisplay::SubmitDisplayConfig: activeConfig = 0, desireConfig = 1 2021-11-30 20:29:23.127 7397-20087/com.runjing.wineworld.pos E/easyhttp:CacheInterceptor.intercept(L:65): 60s load cache:no-cache, no-store, max-age=0, must-revalidate 2021-11-30 20:29:23.132 7397-7397/com.runjing.wineworld.pos E/easyhttp:BaseSubscriber.onNext(L:64): -->http is onNext 2021-11-30 20:29:23.133 7397-7397/com.runjing.wineworld.pos E/easyhttp:BaseSubscriber.onComplete(L:81): -->http is onComplete 2021-11-30 20:29:23.150 3067-3083/? E/IHansComunication: HANS printMessageBody: RCVed message body: type = 0, port = 86870, caller_pid = 1587, target_uid = 10036, pkg_cmd = -1 2021-11-30 20:29:23.658 17461-17525/? E/PlayCommon: [1050] ajhz.h(172): Failed to connect to server for log upload. 2021-11-30 20:29:24.364 2602-2602/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:24.365 2602-2602/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:25.731 2898-2969/? E/QcRilRequest: [1044] < OEM_HOOK_RAW error: org.codeaurora.telephony.utils.CommandException: GENERIC_FAILURE 2021-11-30 20:29:25.920 1587-2375/? E/OpConnectivityService: handleLinkPropertiesChanged enter 2021-11-30 20:29:25.928 2602-2602/? E/OpReflectionUtils: getValue NoSuchField class com.android.keyguard.CarrierTextController field mIsEmergencyCallCapable 2021-11-30 20:29:25.931 2602-2602/? E/OpReflectionUtils: getValue NoSuchField class com.android.keyguard.CarrierTextController field mIsEmergencyCallCapable 2021-11-30 20:29:26.378 2602-2602/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:26.395 2602-2602/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:26.396 2602-2602/? E/ndroid.systemu: Invalid ID 0x00000000. 2021-11-30 20:29:27.793 2602-2602/? E/ndroid.systemu: Invalid ID 0x00000000.

Mike-mei commented 2 years ago

1.请提供一下手机的Android 版本号 2.尝试更新SDK为 com.huawei.hms:scan:2.2.0.300后重试