commit ccb1acf259d035b9e74cc8e8c2c1f2c691ab3c2b Author: luffitys Date: Mon Jul 8 20:42:06 2024 +0200 cmi: Initial vendor Based on CMIGlobal_OS1.0.2.0.TJAMIXM Change-Id: I4180d45518f22a46544fa3380e7544288f0f4b51 diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..5b84590 --- /dev/null +++ b/Android.bp @@ -0,0 +1,41 @@ +// Automatically generated file. DO NOT MODIFY +// +// This file is generated by device/xiaomi/cmi/setup-makefiles.sh + +soong_namespace { + imports: [ + "vendor/xiaomi/sm8250-common", + ], +} + +android_app_import { + name: "HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND", + owner: "xiaomi", + apk: "proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk", + certificate: "platform", + dex_preopt: { + enabled: false, + }, + privileged: true, + product_specific: true, +} + +android_app_import { + name: "HotwordEnrollmentXGoogleHEXAGON_WIDEBAND", + owner: "xiaomi", + apk: "proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk", + certificate: "platform", + dex_preopt: { + enabled: false, + }, + privileged: true, + product_specific: true, +} + +dex_import { + name: "com.android.hotwordenrollment.common.util", + owner: "xiaomi", + jars: ["proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar"], + system_ext_specific: true, +} + diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..6ce9565 --- /dev/null +++ b/Android.mk @@ -0,0 +1,9 @@ +# Automatically generated file. DO NOT MODIFY +# +# This file is generated by device/xiaomi/cmi/setup-makefiles.sh + +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_DEVICE),cmi) + +endif diff --git a/BoardConfigVendor.mk b/BoardConfigVendor.mk new file mode 100644 index 0000000..45a1a54 --- /dev/null +++ b/BoardConfigVendor.mk @@ -0,0 +1,4 @@ +# Automatically generated file. DO NOT MODIFY +# +# This file is generated by device/xiaomi/cmi/setup-makefiles.sh + diff --git a/cmi-vendor.mk b/cmi-vendor.mk new file mode 100644 index 0000000..21f6719 --- /dev/null +++ b/cmi-vendor.mk @@ -0,0 +1,566 @@ +# Automatically generated file. DO NOT MODIFY +# +# This file is generated by device/xiaomi/cmi/setup-makefiles.sh + +PRODUCT_SOONG_NAMESPACES += \ + vendor/xiaomi/cmi + +PRODUCT_COPY_FILES += \ + vendor/xiaomi/cmi/proprietary/system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.android.hotwordenrollment.common.util.xml \ + vendor/xiaomi/cmi/proprietary/vendor/bin/batterysecret:$(TARGET_COPY_OUT_VENDOR)/bin/batterysecret \ + vendor/xiaomi/cmi/proprietary/vendor/bin/hvdcp_opti:$(TARGET_COPY_OUT_VENDOR)/bin/hvdcp_opti \ + vendor/xiaomi/cmi/proprietary/vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service \ + vendor/xiaomi/cmi/proprietary/vendor/bin/init.qcom.sensors.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.sensors.sh \ + vendor/xiaomi/cmi/proprietary/vendor/bin/init.qti.chg_policy.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qti.chg_policy.sh \ + vendor/xiaomi/cmi/proprietary/vendor/bin/sensors.qti:$(TARGET_COPY_OUT_VENDOR)/bin/sensors.qti \ + vendor/xiaomi/cmi/proprietary/vendor/bin/sscrpcd:$(TARGET_COPY_OUT_VENDOR)/bin/sscrpcd \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Tutu/Tutu_Bluetooth_cal.acdb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/Tutu/Tutu_General_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Tutu/Tutu_General_cal.acdb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Global_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Tutu/Tutu_Global_cal.acdb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Handset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Tutu/Tutu_Handset_cal.acdb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Hdmi_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Tutu/Tutu_Hdmi_cal.acdb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Headset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Tutu/Tutu_Headset_cal.acdb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Speaker_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Tutu/Tutu_Speaker_cal.acdb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/Tutu/Tutu_workspaceFile.qwsp:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Tutu/Tutu_workspaceFile.qwsp \ + vendor/xiaomi/cmi/proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/adsp_avs_config.acdb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/102_SummerDay.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/102_SummerDay.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/103_Fantasy.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/103_Fantasy.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/104_Meet.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/104_Meet.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/105_WindSing.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/105_WindSing.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/106_Lost.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/106_Lost.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/107_Central.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/107_Central.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/108_NorthernEurope.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/108_NorthernEurope.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/109_Rome.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/109_Rome.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/110_BlackGold.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/110_BlackGold.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/111_GreenOrange.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/111_GreenOrange.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/112_CyberPunk.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/112_CyberPunk.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/113_BlackIce.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/113_BlackIce.png \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/CFR_para_HD_V03.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/CFR_para_HD_V03.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/CFR_para_T_2x_V03.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/CFR_para_T_2x_V03.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/CFR_para_W_V03.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/CFR_para_W_V03.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/GpuKernelRepo.pb:$(TARGET_COPY_OUT_VENDOR)/etc/camera/GpuKernelRepo.pb \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/LDC_FPC_TUNING_DATA.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/LDC_FPC_TUNING_DATA.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/LDC_FPC_TUNING_DATA_AI.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/LDC_FPC_TUNING_DATA_AI.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x01.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/LDC_PACKDATA_VENDORID_0x01.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x03.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/LDC_PACKDATA_VENDORID_0x03.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x07.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/LDC_PACKDATA_VENDORID_0x07.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/ai_enhance.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/ai_enhance.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x_iso100.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom20x.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x_iso100_zoom20x.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom30x.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x_iso100_zoom30x.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom40x.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x_iso100_zoom40x.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_moon.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x_moon.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom20x.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x_zoom20x.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom30x.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x_zoom30x.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom40x.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele4x_zoom40x.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_tele_iso100.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_tele_iso100.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_wide.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_wide.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/almalence_sr_params_wide_64M.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/almalence_sr_params_wide_64M.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/beauty_ui9_intelligent_params.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/beauty_ui9_intelligent_params.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/bokehParams.json:$(TARGET_COPY_OUT_VENDOR)/etc/camera/bokehParams.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/com.xiaomi.dcal.wt.fake:$(TARGET_COPY_OUT_VENDOR)/etc/camera/com.xiaomi.dcal.wt.fake \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/com.xiaomi.dcal.wt4x.fake:$(TARGET_COPY_OUT_VENDOR)/etc/camera/com.xiaomi.dcal.wt4x.fake \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/com.xiaomi.dcal.wu.fake:$(TARGET_COPY_OUT_VENDOR)/etc/camera/com.xiaomi.dcal.wu.fake \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/com.xiaomi.dcal.wu.golden:$(TARGET_COPY_OUT_VENDOR)/etc/camera/com.xiaomi.dcal.wu.golden \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/det_quantize.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/det_quantize.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/eisoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/eisoverridesettings.txt \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/eyelineblush.cng:$(TARGET_COPY_OUT_VENDOR)/etc/camera/eyelineblush.cng \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/goturn_search_dsp.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/goturn_search_dsp.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/goturn_target_dsp.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/goturn_target_dsp.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/hdrd_ui9_params.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/hdrd_ui9_params.config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/mibokeh_855_opencl.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mibokeh_855_opencl.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/mibokeh_855_parameter.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mibokeh_855_parameter.bin \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/misupermoon/MobNetv2TF_0.35_iter200000_zoom2.5x_h1500w2000.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/misupermoon/MobNetv2TF_0.35_iter200000_zoom2.5x_h1500w2000.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/model.dat:$(TARGET_COPY_OUT_VENDOR)/etc/camera/model.dat \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/model_back.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/model_back.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/model_front.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/model_front.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/model_front_mibokeh_video.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/model_front_mibokeh_video.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/reid_float.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/reid_float.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/sceneDetection.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/sceneDetection.xml \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/seg_quantized.dlc:$(TARGET_COPY_OUT_VENDOR)/etc/camera/seg_quantized.dlc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/camera/vidhance_calibration:$(TARGET_COPY_OUT_VENDOR)/etc/camera/vidhance_calibration \ + vendor/xiaomi/cmi/proprietary/vendor/etc/charger_fstab.qti:$(TARGET_COPY_OUT_VENDOR)/etc/charger_fstab.qti \ + vendor/xiaomi/cmi/proprietary/vendor/etc/elliptic_sensor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/elliptic_sensor.xml \ + vendor/xiaomi/cmi/proprietary/vendor/etc/init/init.batterysecret.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.batterysecret.rc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/init/init.vendor.sensors.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.vendor.sensors.rc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/init/ipa_fws.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/ipa_fws.rc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/init/vendor.sensors.qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.sensors.qti.rc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.sensors.sscrpcd.rc \ + vendor/xiaomi/cmi/proprietary/vendor/etc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \ + vendor/xiaomi/cmi/proprietary/vendor/libnfc-nxp_RF.conf:$(TARGET_COPY_OUT_VENDOR)/libnfc-nxp_RF.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/calibratedCheck.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/calibratedCheck.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/ak991x_dri_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/ak991x_dri_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/bmp285_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/bmp285_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/lsm6dso_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/lsm6dso_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sm8250_ak991x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sm8250_ak991x_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sm8250_bmp285_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sm8250_bmp285_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sm8250_lsm6dso_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sm8250_lsm6dso_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sm8250_power_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sm8250_power_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sm8250_sx933x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sm8250_sx933x_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sm8250_tcs3408.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sm8250_tcs3408.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sm8250_tcs3701.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sm8250_tcs3701.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sm8250_vl53l1_tof_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sm8250_vl53l1_tof_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_amd.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_amd.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_amd_sw_disabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_amd_sw_disabled.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_amd_sw_enabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_amd_sw_enabled.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_aod.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_aod.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_aont.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_aont.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_ccd.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_ccd.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_ccd_v2_walk.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_ccd_v2_walk.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_ccd_v3_walk.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_ccd_v3_walk.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_cm.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_cm.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_dae.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_dae.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_dbtap.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_dbtap.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_device_orient.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_device_orient.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_diag_filter.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_diag_filter.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_dpc.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_dpc.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_fmv.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_fmv.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_geomag_rv.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_geomag_rv.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_gyro_cal.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_gyro_cal.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_mag_cal.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_mag_cal.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_mag_cal_legacy.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_mag_cal_legacy.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_nonui.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_nonui.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_oem13.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_oem13.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_pedometer.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_pedometer.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_rmd.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_rmd.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_rotv.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_rotv.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_sar_algo.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_sar_algo.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_screen_down.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_screen_down.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_smd.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_smd.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_tilt.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt_sw_disabled.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt_sw_enabled.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_tilt_to_wake.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_tilt_to_wake.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sns_wrist_pedo.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sns_wrist_pedo.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/sx933x_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/sx933x_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/tcs3408.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/tcs3408.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/tcs3701.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/tcs3701.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/config/vl53l1_tof_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/vl53l1_tof_0.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/judge_calibrated.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/judge_calibrated.json \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/descriptor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/descriptor.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/nanopb.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/nanopb.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_accel.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_accel.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_accel_cal.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_accel_cal.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_activity_recognition.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_activity_recognition.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_ambient_light.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ambient_light.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_ambient_temperature.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ambient_temperature.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_amd.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_amd.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_aont.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_aont.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_basic_gestures.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_basic_gestures.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_bring_to_ear.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_bring_to_ear.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_cal.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_cal.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_cct.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_cct.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_client.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_client.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_cmc.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_cmc.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_da_test.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_da_test.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_device_mode.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_device_mode.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_device_orient.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_device_orient.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_diag.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_diag.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_diag_sensor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_diag_sensor.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_direct_channel.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_direct_channel.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_dpc.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_dpc.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_eqm.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_eqm.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_ext_svc.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ext_svc.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_facing.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_facing.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_flicker.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_flicker.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_fmv.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_fmv.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_formatter.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_formatter.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_free_fall.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_free_fall.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_fw.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_fw.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_game_rv.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_game_rv.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_geomag_rv.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_geomag_rv.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_gravity.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_gravity.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_gyro.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_gyro.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_gyro_cal.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_gyro_cal.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_gyro_rot_matrix.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_hall.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_hall.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_har.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_har.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_heart_beat.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_heart_beat.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_heart_rate.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_heart_rate.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_hinge_angle.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_hinge_angle.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_humidity.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_humidity.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_mag.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_mag.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_mag_cal.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_mag_cal.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_oem1.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_oem1.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_oem15.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_oem15.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_oem2.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_oem2.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_oem3.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_oem3.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_offbody_detect.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_offbody_detect.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_ois_manager.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ois_manager.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_pedometer.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pedometer.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_pedometer_wrist.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pedometer_wrist.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_oem_config.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_physical_sensor_oem_config.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_test.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_physical_sensor_test.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_pose_6dof.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pose_6dof.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_ppg.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ppg.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_pressure.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_pressure.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_proximity.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_proximity.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_psmd.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_psmd.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_registry.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_registry.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_resampler.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_resampler.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_rgb.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_rgb.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_rmd.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_rmd.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_rotv.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_rotv.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_sar.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_sar.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_sensor_temperature.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_sensor_temperature.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_sig_motion.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_sig_motion.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_std.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_std.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_std_event_gated_sensor.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_std_sensor.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_std_sensor.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_std_type.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_std_type.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_step_detect.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_step_detect.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_suid.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_suid.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_thermopile.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_thermopile.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_threshold.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_threshold.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_tilt.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_tilt.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_tilt_to_wake.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_tilt_to_wake.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_ultra_violet.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_ultra_violet.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_wrist_tilt_gesture.proto \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_diag.cfg \ + vendor/xiaomi/cmi/proprietary/vendor/etc/sensors/sns_reg_config:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sns_reg_config \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-4k.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-4k.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-8k.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-8k.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-camera.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-chg-only.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-chg-only.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-class0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-class0.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-map.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-map.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-navigation.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-navigation.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-nolimits.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-nolimits.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-normal.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-per-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-camera.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-per-class0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-class0.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-per-navigation.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-navigation.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-per-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-normal.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-phone.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-phone.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermal-tgame.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-tgame.conf \ + vendor/xiaomi/cmi/proprietary/vendor/etc/thermald-devices.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermald-devices.conf \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/CAMERA_ICP.elf:$(TARGET_COPY_OUT_VENDOR)/firmware/CAMERA_ICP.elf \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/aw8697_haptic.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8697_haptic.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/aw8697_rtp_1.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8697_rtp_1.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cmi_tele4x_ois.coeff:$(TARGET_COPY_OUT_VENDOR)/firmware/cmi_tele4x_ois.coeff \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cmi_tele4x_ois.mem:$(TARGET_COPY_OUT_VENDOR)/firmware/cmi_tele4x_ois.mem \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cmi_tele4x_ois.prog:$(TARGET_COPY_OUT_VENDOR)/firmware/cmi_tele4x_ois.prog \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cmi_wide_ois.coeff:$(TARGET_COPY_OUT_VENDOR)/firmware/cmi_wide_ois.coeff \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cmi_wide_ois.prog:$(TARGET_COPY_OUT_VENDOR)/firmware/cmi_wide_ois.prog \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-diag-revb2.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-diag-revb2.wmfw \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-RCV-revb2.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-diag-z-RCV-revb2.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-revb2.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-diag-z-revb2.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-revb2.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-diag-z-revb2.wmfw \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-diag-z.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-diag-z.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-diag-z.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-diag-z.wmfw \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-diag.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-diag.wmfw \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-RCV-revb2.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-spk-prot-RCV-revb2.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-RCV.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-spk-prot-RCV.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-revb2.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-spk-prot-revb2.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-revb2.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-spk-prot-revb2.wmfw \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-spk-prot.bin \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-dsp1-spk-prot.wmfw \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_fws.b00:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.b00 \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_fws.b01:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.b01 \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_fws.b02:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.b02 \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_fws.b03:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.b03 \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_fws.b04:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.b04 \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_fws.elf:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.elf \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_fws.mdt:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.mdt \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_uc.b00:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_uc.b00 \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_uc.b01:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_uc.b01 \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_uc.b02:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_uc.b02 \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_uc.elf:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_uc.elf \ + vendor/xiaomi/cmi/proprietary/vendor/firmware/ipa_uc.mdt:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_uc.mdt \ + vendor/xiaomi/cmi/proprietary/vendor/lib/hw/audio.primary.kona.so:$(TARGET_COPY_OUT_VENDOR)/lib/hw/audio.primary.kona.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/liba2dpoffload.so:$(TARGET_COPY_OUT_VENDOR)/lib/liba2dpoffload.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libaudio_log_utils.so:$(TARGET_COPY_OUT_VENDOR)/lib/libaudio_log_utils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libaudiocloudctrl.so:$(TARGET_COPY_OUT_VENDOR)/lib/libaudiocloudctrl.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libaudioconfigstore.so:$(TARGET_COPY_OUT_VENDOR)/lib/libaudioconfigstore.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libaudioparsers.so:$(TARGET_COPY_OUT_VENDOR)/lib/libaudioparsers.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libaudioroute_ext.so:$(TARGET_COPY_OUT_VENDOR)/lib/libaudioroute_ext.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxexternalformatutils.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxexternalformatutils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxfacialfeatures.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxfacialfeatures.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxfdalgo.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxfdalgo.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxfdengine.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxfdengine.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxifestriping.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxifestriping.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamximageformatutils.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamximageformatutils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxncs.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxncs.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxstatscore.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxstatscore.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxswprocessalgo.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxswprocessalgo.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libcamxtintlessalgo.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcamxtintlessalgo.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libhdmipassthru.so:$(TARGET_COPY_OUT_VENDOR)/lib/libhdmipassthru.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/libresampler.so:$(TARGET_COPY_OUT_VENDOR)/lib/libresampler.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsn100u_fw.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsn100u_fw.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/capi_v2_cirrus_sp.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/capi_v2_cirrus_sp.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/hrtf5c.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/hrtf5c.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libMIAIHDR_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libMIAIHDR_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libQ6MSFR_manager_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libQ6MSFR_manager_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libSuperSensor_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libSuperSensor_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libapps_mem_heap.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libapps_mem_heap.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libarcsoft_hdrplus_hvx_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libarcsoft_hdrplus_hvx_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libbitml_nsp_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libbitml_nsp_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libcalculator_domains_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libcalculator_domains_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libcalculator_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libcalculator_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libcamera_nn_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libcamera_nn_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libcvpdsp_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libcvpdsp_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libdspCV_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libdspCV_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libdsp_streamer_binning.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libdsp_streamer_binning.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libfastcvadsp.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libfastcvadsp.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libfastcvdsp_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libfastcvdsp_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libfrc_mobilenet.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libfrc_mobilenet.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libhexagon_nn_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libhexagon_nn_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libmialgo_rfs_cdsp_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libmialgo_rfs_cdsp_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libmobilenet_dsp.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libmobilenet_dsp.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libremosaichvx_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libremosaichvx_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libscveObjectSegmentation_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libscveObjectSegmentation_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libscveT2T_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libscveT2T_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_domains_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libsnpe_dsp_domains_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libsnpe_dsp_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_v65_domains_v2_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libsnpe_dsp_v65_domains_v2_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_v66_domains_v2_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libsnpe_dsp_v66_domains_v2_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libsns_device_mode_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libsns_device_mode_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/libsns_low_lat_stream_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/libsns_low_lat_stream_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/misound_karaoke_res.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/misound_karaoke_res.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/misound_karaokemix_res.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/misound_karaokemix_res.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib/rfsa/adsp/misound_res.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/misound_res.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib/vendor.qti.hardware.audiohalext@1.0.so:$(TARGET_COPY_OUT_VENDOR)/lib/vendor.qti.hardware.audiohalext@1.0.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib/vndk/libxlog.so:$(TARGET_COPY_OUT_VENDOR)/lib/vndk/libxlog.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.actuator.cmi_sunny_ultra_dw9800.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.actuator.cmi_sunny_ultra_dw9800.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_ofilm_s5k3t2_gt24p64.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_ofilm_s5k3t2_gt24p64.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64x.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64x.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5k2l7_m24c64x.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_semco_s5k2l7_m24c64x.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128x.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128x.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c64.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c64.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_sunny_imx350_gt24p64b.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_sunny_imx350_gt24p64b.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_sunny_s5k5e8yx_gt24p64.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.cmi_sunny_s5k5e8yx_gt24p64.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.hawkeye_semco_ov48c_m24c64x.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.hawkeye_semco_ov48c_m24c64x.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.truly_cmb433.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.eeprom.umi_sunny_s5k5e8yx_depth.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.eeprom.umi_sunny_s5k5e8yx_depth.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.cmi_s5k5e8yx_macro.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.cmi_s5k5e8yx_macro.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.imx350_cmi.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.imx350_cmi.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.imx563.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.imx563.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.ov08a10_cmi.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.ov08a10_cmi.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.ov48c_hawkeye.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.ov48c_hawkeye.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.s5k2l7_cmi.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.s5k2l7_cmi.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.s5k3t2_cmi.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.s5k3t2_cmi.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.s5khmx_cmi.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.s5khmx_cmi.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensor.s5khmx_wide_cmi.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensor.s5khmx_wide_cmi.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_ofilm_s5k3t2.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.cmi_ofilm_s5k3t2.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_ov08a10_tele4x_v1.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.cmi_semco_ov08a10_tele4x_v1.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5k2l7_tele2x.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.cmi_semco_s5k2l7_tele2x.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide_v1.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide_v1.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_sunny_imx350_ultra_wide.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.cmi_sunny_imx350_ultra_wide.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.sensormodule.hawkeye_semco_ov48c_wide.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.hawkeye_semco_ov48c_wide.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_ofilm_s5k3t2.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.cmi_ofilm_s5k3t2.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_ov08a10_tele4x.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.cmi_semco_ov08a10_tele4x.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_s5k2l7_tele2x.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.cmi_semco_s5k2l7_tele2x.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_s5khmx_wide.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.cmi_semco_s5khmx_wide.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_sunny_imx350_ultra_wide.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.cmi_sunny_imx350_ultra_wide.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/com.qti.tuned.default.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.tuned.default.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.arcsoft.node.deflicker.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.arcsoft.node.deflicker.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.arcsoft.node.smoothtransition.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.arcsoft.node.smoothtransition.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.arcsoft.node.superportrait.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.arcsoft.node.superportrait.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.facepp.node.siq.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.facepp.node.siq.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.AIIE.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.AIIE.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.aiasd.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.aiasd.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.bodyslim.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.bodyslim.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.distortioncorrection.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.distortioncorrection.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.hdr.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.hdr.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.mimovie.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.mimovie.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.realtimebokeh.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.realtimebokeh.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.rearvideo.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.rearvideo.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.skinbeautifier.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.skinbeautifier.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.superlowlightraw.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.superlowlightraw.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.videobokeh.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.videobokeh.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.mi.node.watermark.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.mi.node.watermark.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.camx.chiiqutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.camx.chiiqutils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.eisv2.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.eisv2.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.eisv3.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.eisv3.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.hvx.addconstant.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.hvx.addconstant.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.hvx.binning.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.hvx.binning.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.customhwnode.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.customhwnode.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.depth.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.depth.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.dummyrtb.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.dummyrtb.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.dummysat.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.dummysat.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.eisv2.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.eisv2.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.eisv3.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.eisv3.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.fcv.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.fcv.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.gpu.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.gpu.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.ldc.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.ldc.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.memcpy.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.memcpy.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.remosaic.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.remosaic.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.softisppost.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.softisppost.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.stich.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.stich.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.node.swregistration.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.node.swregistration.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.aec.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.aec.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.aecwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.aecwrapper.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.af.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.af.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.afd.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.afd.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.afwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.afwrapper.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.asd.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.asd.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.awb.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.awb.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.awbwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.awbwrapper.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.haf.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.haf.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.hafoverride.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.hafoverride.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlib.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.pdlib.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibsony.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.pdlibsony.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.pdlibwrapper.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qti.stats.tracker.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qti.stats.tracker.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.aec.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qtistatic.stats.aec.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.af.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qtistatic.stats.af.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.awb.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qtistatic.stats.awb.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.qtistatic.stats.pdlib.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.vidhance.node.eis.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.vidhance.node.eis.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.vidhance.stats.aec_dmbr.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.vidhance.stats.aec_dmbr.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.xiaomi.node.mibokeh.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.xiaomi.node.mibokeh.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.xiaomi.node.mifilter.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.xiaomi.node.mifilter.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.xiaomi.node.misegment.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.xiaomi.node.misegment.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/com.xiaomi.node.tracker.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/com.xiaomi.node.tracker.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/libdepthmapwrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/libdepthmapwrapper.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/components/libubifocus.so:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/components/libubifocus.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/fdconfigpreview.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/fdconfigpreview.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/fdconfigpreviewlite.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/fdconfigpreviewlite.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/fdconfigvideo.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/fdconfigvideo.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/camera/fdconfigvideolite.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/fdconfigvideolite.bin \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.anchorsync.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.anchorsync.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.demux.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.demux.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.frameselect.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.frameselect.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.fusion.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.fusion.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.generic.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.generic.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.gs.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.gs.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.hdr.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.hdr.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.memcpy.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.memcpy.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.mfsr.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.mfsr.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.qcfa.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.qcfa.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.rawhdr.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.rawhdr.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.rawsupernight.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.rawsupernight.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.rt.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.rt.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.serializer.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.serializer.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.softispprocess.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.softispprocess.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.softispsupernight.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.softispsupernight.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.sr.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.sr.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.stub.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.stub.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/com.qti.feature2.swmf.so:$(TARGET_COPY_OUT_VENDOR)/lib64/com.qti.feature2.swmf.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/hw/camera.qcom.so:$(TARGET_COPY_OUT_VENDOR)/lib64/hw/camera.qcom.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/hw/com.qti.chi.override.so:$(TARGET_COPY_OUT_VENDOR)/lib64/hw/com.qti.chi.override.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/hw/fingerprint.goodix_fod.default.so:$(TARGET_COPY_OUT_VENDOR)/lib64/hw/fingerprint.goodix_fod.default.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so:$(TARGET_COPY_OUT_VENDOR)/lib64/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libMIAIHDRhvx_interface.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libMIAIHDRhvx_interface.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libSNPE.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libSNPE.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libalAILDC.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libalAILDC.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libalLDC.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libalLDC.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libalhLDC.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libalhLDC.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcdualcamsat.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcdualcamsat.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcmulticamsat.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcmulticamsat.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsat.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsat.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_beautyshot.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_beautyshot.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_bodyslim.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_bodyslim.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_distortion_correction.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_distortion_correction.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_dualcam_refocus.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_dualcam_refocus.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_front.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_dualcam_refocus_front.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_rear_t.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_dualcam_refocus_rear_t.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_rear_w.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_dualcam_refocus_rear_w.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_hdr_detection.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_hdr_detection.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_hdrplus_hvx_stub.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_hdrplus_hvx_stub.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_high_dynamic_range.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_high_dynamic_range.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_portrait_lighting.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_portrait_lighting.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_portrait_lighting_c.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_portrait_lighting_c.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_preview_deflicker.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_preview_deflicker.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_super_night_raw.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_super_night_raw.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libarcsoft_superportrait.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libarcsoft_superportrait.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libc++_shared.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libc++_shared.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamera_dirty.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamera_dirty.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamera_nn_stub.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamera_nn_stub.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamera_scene.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamera_scene.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamerapostproc.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamerapostproc.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxexternalformatutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxexternalformatutils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxfacialfeatures.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxfacialfeatures.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxfdalgo.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxfdalgo.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxfdengine.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxfdengine.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxifestriping.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxifestriping.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamximageformatutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamximageformatutils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxncs.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxncs.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxstatscore.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxstatscore.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxswprocessalgo.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxswprocessalgo.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcamxtintlessalgo.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcamxtintlessalgo.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcdsprpc_system.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcdsprpc_system.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libchilog.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libchilog.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcom.qti.chinodeutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcom.qti.chinodeutils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcvp2.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcvp2.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcvp2_hfi.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcvp2_hfi.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcvp_common.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcvp_common.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libcvpcpuRev_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcvpcpuRev_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libdng_sdk2vendor.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libdng_sdk2vendor.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libdualcam_optical_zoom_control.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libdualcam_optical_zoom_control.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libdualcam_video_optical_zoom.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libdualcam_video_optical_zoom.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libfocus.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libfocus.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libft2vendor.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libft2vendor.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libgf_hal.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libgf_hal.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libhta.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libhta.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libipebpsstriping.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libipebpsstriping.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmialgo_ie_preview.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmialgo_ie_preview.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmialgo_image_colourkeeping.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmialgo_image_colourkeeping.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmialgo_rfs.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmialgo_rfs.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmialgo_sd.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmialgo_sd.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmialgo_utils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmialgo_utils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmialgo_video_colourkeeping.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmialgo_video_colourkeeping.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmialgo_video_enhance.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmialgo_video_enhance.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmialgo_video_seg.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmialgo_video_seg.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmibokeh_845_video.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmibokeh_845_video.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmibokeh_855.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmibokeh_855.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmpbase.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmpbase.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmulticam_image_optical_zoom.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmulticam_image_optical_zoom.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmulticam_optical_zoom_control.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmulticam_optical_zoom_control.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libmulticam_video_optical_zoom.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libmulticam_video_optical_zoom.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libnotifyaudiohal.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libnotifyaudiohal.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libnpu.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libnpu.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libofflinelog.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libofflinelog.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libos.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libos.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libremosaic_wrapper.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libremosaic_wrapper.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libremosaichvx_stub.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libremosaichvx_stub.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libremosaiclib.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libremosaiclib.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsensorcal.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsensorcal.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsensorslog.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsensorslog.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsnpe_adsp.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsnpe_adsp.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsnpe_dsp_domains.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsnpe_dsp_domains.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsnpe_dsp_domains_system.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsnpe_dsp_domains_system.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsnpe_dsp_domains_v2.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsnpe_dsp_domains_v2.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsnpe_dsp_domains_v2_system.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsnpe_dsp_domains_v2_system.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsns_fastRPC_util.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsns_fastRPC_util.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsns_low_lat_stream_stub.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsns_low_lat_stream_stub.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsns_registry_skel.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsns_registry_skel.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsnsapi.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsnsapi.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsnsdiaglog.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsnsdiaglog.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libssc.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libssc.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libssc_default_listener.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libssc_default_listener.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libst_soft_isp_calc_exposure_shared.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libst_soft_isp_calc_exposure_shared.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libst_soft_isp_shared.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libst_soft_isp_shared.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsymphony-cpu.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsymphony-cpu.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libsynx.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libsynx.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libthreadutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libthreadutils.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libtriplecam_optical_zoom_control.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libtriplecam_optical_zoom_control.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libtriplecam_video_optical_zoom.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libtriplecam_video_optical_zoom.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libultrasound.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libultrasound.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libvideoBokeh.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libvideoBokeh.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libvideofilter_only.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libvideofilter_only.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libvidhance.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libvidhance.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/libxmi_high_dynamic_range.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libxmi_high_dynamic_range.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/sensors.elliptic.so:$(TARGET_COPY_OUT_VENDOR)/lib64/sensors.elliptic.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/sensors.mius.proximity.so:$(TARGET_COPY_OUT_VENDOR)/lib64/sensors.mius.proximity.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/sensors.ssc.so:$(TARGET_COPY_OUT_VENDOR)/lib64/sensors.ssc.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/sensors.touch.so:$(TARGET_COPY_OUT_VENDOR)/lib64/sensors.touch.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so \ + vendor/xiaomi/cmi/proprietary/vendor/lib64/vendor.qti.hardware.sensorscalibrate@1.0.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.qti.hardware.sensorscalibrate@1.0.so + +PRODUCT_PACKAGES += \ + HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND \ + HotwordEnrollmentXGoogleHEXAGON_WIDEBAND \ + com.android.hotwordenrollment.common.util diff --git a/proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk b/proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk new file mode 100644 index 0000000..85e0fc5 Binary files /dev/null and b/proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk differ diff --git a/proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk b/proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk new file mode 100644 index 0000000..6ae6c50 Binary files /dev/null and b/proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk differ diff --git a/proprietary/system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml b/proprietary/system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml new file mode 100644 index 0000000..6f7d728 --- /dev/null +++ b/proprietary/system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar b/proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar new file mode 100644 index 0000000..f10d6ba Binary files /dev/null and b/proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar differ diff --git a/proprietary/vendor/bin/batterysecret b/proprietary/vendor/bin/batterysecret new file mode 100755 index 0000000..c114367 Binary files /dev/null and b/proprietary/vendor/bin/batterysecret differ diff --git a/proprietary/vendor/bin/hvdcp_opti b/proprietary/vendor/bin/hvdcp_opti new file mode 100755 index 0000000..692fea8 Binary files /dev/null and b/proprietary/vendor/bin/hvdcp_opti differ diff --git a/proprietary/vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service b/proprietary/vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service new file mode 100644 index 0000000..ef13847 Binary files /dev/null and b/proprietary/vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service differ diff --git a/proprietary/vendor/bin/init.qcom.sensors.sh b/proprietary/vendor/bin/init.qcom.sensors.sh new file mode 100755 index 0000000..e2bcd76 --- /dev/null +++ b/proprietary/vendor/bin/init.qcom.sensors.sh @@ -0,0 +1,35 @@ +#!/vendor/bin/sh +# Copyright (c) 2020 The Linux Foundation. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of The Linux Foundation nor +# the names of its contributors may be used to endorse or promote +# products derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +# +# Function to start sensors for SSC enabled platforms +# +cp /vendor/etc/sensors/scripts/* /data/vendor/sensors/scripts/ +chmod a+rw /data/vendor/sensors/scripts/* +rm /data/vendor/sensors/diag_log_slpi* +rm /data/vendor/sensor_log/sensor* diff --git a/proprietary/vendor/bin/init.qti.chg_policy.sh b/proprietary/vendor/bin/init.qti.chg_policy.sh new file mode 100755 index 0000000..fe679b3 --- /dev/null +++ b/proprietary/vendor/bin/init.qti.chg_policy.sh @@ -0,0 +1,48 @@ +#! /vendor/bin/sh + +# +# Copyright (c) 2019-2021 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. +# +# Copyright (c) 2019 The Linux Foundation. All rights reserved. +# + +export PATH=/vendor/bin + +soc_id=`getprop ro.vendor.qti.soc_id` +if [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 450 ] || [ "$soc_id" -eq 475 ] || [ "$soc_id" -eq 497 ] || [ "$soc_id" -eq 498 ] || [ "$soc_id" -eq 499 ] || [ "$soc_id" -eq 515 ]; then + setprop persist.vendor.hvdcp_opti.start 2 + exit 0 +fi + +if [ "$soc_id" -eq 441 ] || [ "$soc_id" -eq 471 ]; then + #Scuba does not support usb-pd or charge pumps + find /sys/class/power_supply/battery/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/bms/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/main/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/usb/ -type f -maxdepth 1 | xargs chown system.system +else + find /sys/class/power_supply/battery/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/bms/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/main/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/usb/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/charge_pump_master/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/pc_port/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/dc/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/power_supply/parallel/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/usbpd/usbpd0/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/qc-vdm/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/charge_pump/ -type f -maxdepth 1 | xargs chown system.system + find /sys/class/qcom-battery/ -type f -maxdepth 1 | xargs chown system.system + + for i in 0 1 2 3 4 5 6 7 8 9 + do + devname=`cat /sys/bus/iio/devices/iio:device$i/name` + if [[ "$devname" == *smb* ]] || [[ "$devname" == *qg* ]] || [[ "$devname" == *div2_cp* ]] || [[ "$devname" == *div2-cp* ]]; then + find /sys/bus/iio/devices/iio:device$i/ -type f -maxdepth 1 | xargs chown system.system + fi + done +fi + +setprop persist.vendor.hvdcp_opti.start 1 diff --git a/proprietary/vendor/bin/sensors.qti b/proprietary/vendor/bin/sensors.qti new file mode 100755 index 0000000..ec78fc8 Binary files /dev/null and b/proprietary/vendor/bin/sensors.qti differ diff --git a/proprietary/vendor/bin/sscrpcd b/proprietary/vendor/bin/sscrpcd new file mode 100755 index 0000000..71f5632 Binary files /dev/null and b/proprietary/vendor/bin/sscrpcd differ diff --git a/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Bluetooth_cal.acdb b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Bluetooth_cal.acdb new file mode 100644 index 0000000..b0318aa Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Bluetooth_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/Tutu/Tutu_General_cal.acdb b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_General_cal.acdb new file mode 100644 index 0000000..4f67543 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_General_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Global_cal.acdb b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Global_cal.acdb new file mode 100644 index 0000000..f6ab411 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Global_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Handset_cal.acdb b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Handset_cal.acdb new file mode 100644 index 0000000..f1f639e Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Handset_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Hdmi_cal.acdb b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Hdmi_cal.acdb new file mode 100644 index 0000000..759a56f Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Hdmi_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Headset_cal.acdb b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Headset_cal.acdb new file mode 100644 index 0000000..6ee8f25 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Headset_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Speaker_cal.acdb b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Speaker_cal.acdb new file mode 100644 index 0000000..4c18f49 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_Speaker_cal.acdb differ diff --git a/proprietary/vendor/etc/acdbdata/Tutu/Tutu_workspaceFile.qwsp b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_workspaceFile.qwsp new file mode 100644 index 0000000..45bc903 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/Tutu/Tutu_workspaceFile.qwsp differ diff --git a/proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb b/proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb new file mode 100644 index 0000000..b27a949 Binary files /dev/null and b/proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb differ diff --git a/proprietary/vendor/etc/camera/102_SummerDay.png b/proprietary/vendor/etc/camera/102_SummerDay.png new file mode 100644 index 0000000..2d198c1 Binary files /dev/null and b/proprietary/vendor/etc/camera/102_SummerDay.png differ diff --git a/proprietary/vendor/etc/camera/103_Fantasy.png b/proprietary/vendor/etc/camera/103_Fantasy.png new file mode 100644 index 0000000..59dc721 Binary files /dev/null and b/proprietary/vendor/etc/camera/103_Fantasy.png differ diff --git a/proprietary/vendor/etc/camera/104_Meet.png b/proprietary/vendor/etc/camera/104_Meet.png new file mode 100644 index 0000000..be512c7 Binary files /dev/null and b/proprietary/vendor/etc/camera/104_Meet.png differ diff --git a/proprietary/vendor/etc/camera/105_WindSing.png b/proprietary/vendor/etc/camera/105_WindSing.png new file mode 100644 index 0000000..e9af971 Binary files /dev/null and b/proprietary/vendor/etc/camera/105_WindSing.png differ diff --git a/proprietary/vendor/etc/camera/106_Lost.png b/proprietary/vendor/etc/camera/106_Lost.png new file mode 100644 index 0000000..3f462e4 Binary files /dev/null and b/proprietary/vendor/etc/camera/106_Lost.png differ diff --git a/proprietary/vendor/etc/camera/107_Central.png b/proprietary/vendor/etc/camera/107_Central.png new file mode 100644 index 0000000..6288e36 Binary files /dev/null and b/proprietary/vendor/etc/camera/107_Central.png differ diff --git a/proprietary/vendor/etc/camera/108_NorthernEurope.png b/proprietary/vendor/etc/camera/108_NorthernEurope.png new file mode 100644 index 0000000..90cc8b8 Binary files /dev/null and b/proprietary/vendor/etc/camera/108_NorthernEurope.png differ diff --git a/proprietary/vendor/etc/camera/109_Rome.png b/proprietary/vendor/etc/camera/109_Rome.png new file mode 100644 index 0000000..9e24bc1 Binary files /dev/null and b/proprietary/vendor/etc/camera/109_Rome.png differ diff --git a/proprietary/vendor/etc/camera/110_BlackGold.png b/proprietary/vendor/etc/camera/110_BlackGold.png new file mode 100644 index 0000000..07fed5a Binary files /dev/null and b/proprietary/vendor/etc/camera/110_BlackGold.png differ diff --git a/proprietary/vendor/etc/camera/111_GreenOrange.png b/proprietary/vendor/etc/camera/111_GreenOrange.png new file mode 100644 index 0000000..222571d Binary files /dev/null and b/proprietary/vendor/etc/camera/111_GreenOrange.png differ diff --git a/proprietary/vendor/etc/camera/112_CyberPunk.png b/proprietary/vendor/etc/camera/112_CyberPunk.png new file mode 100644 index 0000000..43657f0 Binary files /dev/null and b/proprietary/vendor/etc/camera/112_CyberPunk.png differ diff --git a/proprietary/vendor/etc/camera/113_BlackIce.png b/proprietary/vendor/etc/camera/113_BlackIce.png new file mode 100644 index 0000000..af8d990 Binary files /dev/null and b/proprietary/vendor/etc/camera/113_BlackIce.png differ diff --git a/proprietary/vendor/etc/camera/CFR_para_HD_V03.bin b/proprietary/vendor/etc/camera/CFR_para_HD_V03.bin new file mode 100644 index 0000000..2659a44 Binary files /dev/null and b/proprietary/vendor/etc/camera/CFR_para_HD_V03.bin differ diff --git a/proprietary/vendor/etc/camera/CFR_para_T_2x_V03.bin b/proprietary/vendor/etc/camera/CFR_para_T_2x_V03.bin new file mode 100644 index 0000000..7ab5bff Binary files /dev/null and b/proprietary/vendor/etc/camera/CFR_para_T_2x_V03.bin differ diff --git a/proprietary/vendor/etc/camera/CFR_para_W_V03.bin b/proprietary/vendor/etc/camera/CFR_para_W_V03.bin new file mode 100644 index 0000000..be2ef66 Binary files /dev/null and b/proprietary/vendor/etc/camera/CFR_para_W_V03.bin differ diff --git a/proprietary/vendor/etc/camera/GpuKernelRepo.pb b/proprietary/vendor/etc/camera/GpuKernelRepo.pb new file mode 100644 index 0000000..69c0acd Binary files /dev/null and b/proprietary/vendor/etc/camera/GpuKernelRepo.pb differ diff --git a/proprietary/vendor/etc/camera/LDC_FPC_TUNING_DATA.bin b/proprietary/vendor/etc/camera/LDC_FPC_TUNING_DATA.bin new file mode 100644 index 0000000..1b3320c Binary files /dev/null and b/proprietary/vendor/etc/camera/LDC_FPC_TUNING_DATA.bin differ diff --git a/proprietary/vendor/etc/camera/LDC_FPC_TUNING_DATA_AI.bin b/proprietary/vendor/etc/camera/LDC_FPC_TUNING_DATA_AI.bin new file mode 100644 index 0000000..ca44846 Binary files /dev/null and b/proprietary/vendor/etc/camera/LDC_FPC_TUNING_DATA_AI.bin differ diff --git a/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x01.bin b/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x01.bin new file mode 100644 index 0000000..d101cba Binary files /dev/null and b/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x01.bin differ diff --git a/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x03.bin b/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x03.bin new file mode 100644 index 0000000..1edab50 Binary files /dev/null and b/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x03.bin differ diff --git a/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x07.bin b/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x07.bin new file mode 100644 index 0000000..1edab50 Binary files /dev/null and b/proprietary/vendor/etc/camera/LDC_PACKDATA_VENDORID_0x07.bin differ diff --git a/proprietary/vendor/etc/camera/ai_enhance.dlc b/proprietary/vendor/etc/camera/ai_enhance.dlc new file mode 100644 index 0000000..4ccb82a Binary files /dev/null and b/proprietary/vendor/etc/camera/ai_enhance.dlc differ diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele.config new file mode 100644 index 0000000..3a4f084 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele.config @@ -0,0 +1,34 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.1, 0.9, 1.8, 1.8, 1.8, 1.8; +sharpenIsoScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=0.6; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.9; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.5, 1.2, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=0.7, 0.6, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; +sharpenGradScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainYScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainUScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainVScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +srMul=0.6; +grainStrength=0.0; +deghostPreMul=0.01; +deghostMul=1.0; +deghostPow=0.35; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x.config new file mode 100644 index 0000000..1f85722 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x.config @@ -0,0 +1,34 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5; +sharpenIsoScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sharpenZoomScale=1.0, 1.0, 1.5, 1.0, 1.75, 1.75, 2, 2.5, 0.0; +filterMul=0.6; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.9; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.3, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=0.7, 0.6, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; +sharpenGradScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainYScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainUScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainVScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +srMul=0.65; +grainStrength=0.0; +deghostPreMul=0.01; +deghostMul=1.0; +deghostPow=0.35; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100.config new file mode 100644 index 0000000..e7778f5 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100.config @@ -0,0 +1,34 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.3, 1.3, 1.3, 1.0, 1.0, 1.0, 1.0; +sharpenIsoScale=1.0, 1.0, 1.0, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=1.0; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.9; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.0, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=1.0, 1.0, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; +sharpenGradScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainYScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainUScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainVScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +srMul=1.0; +grainStrength=0.0; +deghostPreMul=0.01; +deghostMul=1.0; +deghostPow=0.35; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom20x.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom20x.config new file mode 100644 index 0000000..a173499 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom20x.config @@ -0,0 +1,25 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.3, 1.3, 1.3, 1.0, 1.0, 1.0, 1.0; +sharpenIsoScale=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=1.0; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.0, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=0.0, 0.0, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom30x.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom30x.config new file mode 100644 index 0000000..a173499 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom30x.config @@ -0,0 +1,25 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.3, 1.3, 1.3, 1.0, 1.0, 1.0, 1.0; +sharpenIsoScale=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=1.0; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.0, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=0.0, 0.0, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom40x.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom40x.config new file mode 100644 index 0000000..a173499 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_iso100_zoom40x.config @@ -0,0 +1,25 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.3, 1.3, 1.3, 1.0, 1.0, 1.0, 1.0; +sharpenIsoScale=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=1.0; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.0, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=0.0, 0.0, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_moon.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_moon.config new file mode 100644 index 0000000..1d779d6 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_moon.config @@ -0,0 +1,36 @@ +#phone: J1 +#version:2020-04-13 +#Comment: Modify the algorithm parameters corresponding to the moon mode; srMul=0.4; +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=0.4, 0.4, 0.4, 0.5, 0.6, 0.7, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8; +sharpenIsoScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=1.0; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=1.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=0; +deepFilterYMul=0.8, 0.5, 0.1, 0.1; +deepFilterUVMul=1.5, 1.2, 1.0, 1.0; +deepSharpen=0.8, 0.8, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; +sharpenGradScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainYScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainUScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainVScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +srMul=0.4; +grainStrength=0.0; +deghostPreMul=0.01; +deghostMul=1.0; +deghostPow=0.35; \ No newline at end of file diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom20x.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom20x.config new file mode 100644 index 0000000..a173499 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom20x.config @@ -0,0 +1,25 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.3, 1.3, 1.3, 1.0, 1.0, 1.0, 1.0; +sharpenIsoScale=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=1.0; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.0, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=0.0, 0.0, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom30x.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom30x.config new file mode 100644 index 0000000..a173499 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom30x.config @@ -0,0 +1,25 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.3, 1.3, 1.3, 1.0, 1.0, 1.0, 1.0; +sharpenIsoScale=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=1.0; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.0, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=0.0, 0.0, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom40x.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom40x.config new file mode 100644 index 0000000..a173499 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele4x_zoom40x.config @@ -0,0 +1,25 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.3, 1.3, 1.3, 1.0, 1.0, 1.0, 1.0; +sharpenIsoScale=0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=1.0; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.0, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=0.0, 0.0, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_tele_iso100.config b/proprietary/vendor/etc/camera/almalence_sr_params_tele_iso100.config new file mode 100644 index 0000000..a5fb1b6 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_tele_iso100.config @@ -0,0 +1,34 @@ +#J1_2020-03-11_154600 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.1, 1.2, 1.2, 1.2, 1.2, 1.2; +sharpenIsoScale=0.9, 0.9, 0.9, 0.9, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=0.9; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=0.9; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=1; +deepFilterYMul=1.0, 1.0, 1.0, 1.0; +deepFilterUVMul=1.0, 1.0, 1.0, 1.0; +deepSharpen=1.0, 1.0, 0.0, 0.0; +deepFilterLeak=1; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; +sharpenGradScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainYScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainUScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainVScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +srMul=0.9; +grainStrength=0.0; +deghostPreMul=0.01; +deghostMul=1.0; +deghostPow=0.35; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_wide.config b/proprietary/vendor/etc/camera/almalence_sr_params_wide.config new file mode 100644 index 0000000..8614e79 --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_wide.config @@ -0,0 +1,35 @@ +#时间:2020-01-10 +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=1.5, 1.5, 1.6, 1.6, 1.6, 1.8, 1.9, 4.5, 4.5, 4.5, 4.6, 4.6; +sharpenIsoScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sharpenZoomScale=1.0, 1.0, 0.0; +filterMul=0.2; + #filterLowMul; f; 1.0 +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=1.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=0; +deepFilterYMul=3.6, 1.8, 1.7, 1.4; +deepFilterUVMul=4.0, 3.2, 3.0, 2.5; +deepSharpen=1.0, 1.0, 0.0, 0.0; +deepFilterLeak=0; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; +sharpenGradScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainYScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainUScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainVScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +srMul=0.7; +grainStrength=0.2; +deghostPreMul=0.01; +deghostMul=0.7; +deghostPow=0.45; diff --git a/proprietary/vendor/etc/camera/almalence_sr_params_wide_64M.config b/proprietary/vendor/etc/camera/almalence_sr_params_wide_64M.config new file mode 100644 index 0000000..1dae75d --- /dev/null +++ b/proprietary/vendor/etc/camera/almalence_sr_params_wide_64M.config @@ -0,0 +1,35 @@ +#date:2020-08-06 +#J3S +deghostScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +sensitivityScale=0.6, 0.6, 0.6, 0.8, 0.8, 0.8, 0.8, 0.9, 1.0, 1.1, 1.2, 1.2; +sharpenIsoScale=1.2, 1.2, 1.1, 1.1, 1.0, 1.0, 0.9, 0.9, 0.9, 0.8, 0.8, 0.8; +sharpenZoomScale=1.0, 1.0, 0; +filterMul=0.3; +refFilterYMul=1.0; +filterUVMul=1.0; +refFilterUVMul=1.0; +refFilterLowUVMul=1.0; +sharpen=1.0; +refFilterSharpen=0.0; +srMinImages=1.0; +movFiltAdd=0; +deepFilterYMul=3.3, 2.6, 1.7, 1.5; +deepFilterUVMul=3.0, 2.4, 1.8, 1.6; +deepSharpen=1.1, 1.1, 0.6, 0.4; +deepFilterLeak=0; +deepFilterCorner=1.333; +superRes=1; +droLocal=0; +deepFilter=1; +bil11uv=0; +maxSharpImages=10; +preciseAlignment=1; +sharpenGradScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainYScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainUScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +grainVScale=1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0; +srMul=1.0; +grainStrength=0.0; +deghostPreMul=0.01; +deghostMul=1.0; +deghostPow=0.2; diff --git a/proprietary/vendor/etc/camera/beauty_ui9_intelligent_params.config b/proprietary/vendor/etc/camera/beauty_ui9_intelligent_params.config new file mode 100644 index 0000000..a09d293 --- /dev/null +++ b/proprietary/vendor/etc/camera/beauty_ui9_intelligent_params.config @@ -0,0 +1,21 @@ +/*G +1 2 3 4 5 6 7 8 9 +soften eye-large slender-face eye-bright deblemish depouch lip iris auto-bright +10 11 12 13 14 15 16 17 18 +auto-color clarity auto-style slender-nose skin-sharp nose-highlgt 3d-nose 3d-app 3d-lip +19 20 21 22 23 24 25 26 27 +3d-chin 3d-neck M-eyebrow M-pupil-line M-gloss M-blush eyesharp forhead teethwhite +*/ +// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 +//male(photo/front-bokeh/rear-bokeh) +{ 25, 100, 100, 0, 1, 70, 0, 35, 0, 0, 10, 50, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 90, 0, -100, 0}, +{ 25, 0, 0, 0, 1, 70, 0, 35, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0}, +{ 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0}, +//female(photo/front-bokeh/rear-bokeh) +{ 40, 100, 100, 0, 1, 60, 50, 35, 0, 0, 10, 50, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 90, 0, -100, 0}, +{ 40, 0, 40, 0, 1, 60, 50, 35, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0}, +{ 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0}, +//bady +{ 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, +//preview(photo-video/front-bokeh/rear-bokeh) +{ 60, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 70, 60, 100, 60, 80, 60, 60, 0, -100, 0}, diff --git a/proprietary/vendor/etc/camera/bokehParams.json b/proprietary/vendor/etc/camera/bokehParams.json new file mode 100644 index 0000000..ba5ca4b --- /dev/null +++ b/proprietary/vendor/etc/camera/bokehParams.json @@ -0,0 +1,20 @@ +{ + "Bokeh_Params": { + "Param0": 5, + "Param1": 3, + "Param2": 5, + "Param3": 3, + "Param4": 5, + "Param5": 2, + "Param6": 2, + "Param7": 2, + "Param8": 0, + "Param9": 1, + "Param10": { + "Param10_0": 0, + "Param10_1": "../data/vendor/camera/", + "Param10_2": 100 + } + } +} + diff --git a/proprietary/vendor/etc/camera/camxoverridesettings.txt b/proprietary/vendor/etc/camera/camxoverridesettings.txt new file mode 100644 index 0000000..a25527c --- /dev/null +++ b/proprietary/vendor/etc/camera/camxoverridesettings.txt @@ -0,0 +1,65 @@ +multiCameraEnable=TRUE +pdafHWEnable=TRUE +isTeleOisSupported=TRUE +enableTOFInterface=TRUE +logInfoMask=0x0 +overrideLogLevels=0x1 +logConfigMask=0x0 +logWarningMask=0x0 +logVerboseMask=0x0 +logDRQEnable=0x0 +logMetaEnable=0x0 +logRequestMapping=0x0 +systemLogEnable=TRUE +logCoreCfgMask=0 +enableAsciiLogging=FALSE +enableTxtLogging=0 +traceGroupsEnable=0 +enable3ADebugData=FALSE +enableTuningMetadata=FALSE +MPMSizeThresToDisableDelayedUnmap=0 +MPMForceDisableDelayedUnmap=TRUE +is3rdLightWeightSupported=TRUE +enableICAInGrid=1 +enableNCSService=1 +overrideFlashlightCurrent=75 +minReprocessInputWidth=8000 +minReprocessInputHeight=6000 +enableResourceManager=TRUE +raiserecoverysigabrt=FALSE +overrideFlashTorchCurrent=300 +overrideFlashlightCurrent=100 +disableFocusIndication=1 +gyroSensitivityLLS=0.03 +gyroSensitivityLLSEnable=FALSE +isSuperPortraitSupported=FALSE +isVideoMimovieSupported=TRUE +isVideoLogformatSupported=TRUE +AIEnhancementVersion=2 +isBeautyMakeupSupported=TRUE +isVideoBeautifierSupported=TRUE +isSatNearRangeMode=TRUE +isVideoBokehSupported=TRUE +iseispreviewSupported=TRUE +ismfnrbokehsupported=TRUE +enableRawHDR=0 +fovcEnable=1 +isFrontVideoBokehSupported=TRUE +isColorRetentionSupported=TRUE +multiCameraFrameSync=TRUE +#isParallelCameraDeviceSupported=TRUE +enableSensorHWSync=TRUE +enableSensorFpsMatch=TRUE +isVideoFilterSupported=TRUE +FDFilterEngine=FD_Standard_ARM +FDPreprocessing=GTM +isVideoColorRetentionBackSupported=TRUE +miIfeCamnocBandwidthMBytes=0xFFFF +miIfeExternalBandwidthMBytes=0xFFFF +miIfeBandwidthBoostCount=1 +AiSupportedMoonAutoFocus=TRUE +enableCHIPartialData=1 +isHdrBokehSupported=TRUE +enableGPURotation=TRUE +quickviewsupport=TRUE +sessionMaxFlushWaitTime=2000 diff --git a/proprietary/vendor/etc/camera/com.xiaomi.dcal.wt.fake b/proprietary/vendor/etc/camera/com.xiaomi.dcal.wt.fake new file mode 100644 index 0000000..a3dd207 Binary files /dev/null and b/proprietary/vendor/etc/camera/com.xiaomi.dcal.wt.fake differ diff --git a/proprietary/vendor/etc/camera/com.xiaomi.dcal.wt4x.fake b/proprietary/vendor/etc/camera/com.xiaomi.dcal.wt4x.fake new file mode 100644 index 0000000..a29d9a7 Binary files /dev/null and b/proprietary/vendor/etc/camera/com.xiaomi.dcal.wt4x.fake differ diff --git a/proprietary/vendor/etc/camera/com.xiaomi.dcal.wu.fake b/proprietary/vendor/etc/camera/com.xiaomi.dcal.wu.fake new file mode 100644 index 0000000..db2e463 Binary files /dev/null and b/proprietary/vendor/etc/camera/com.xiaomi.dcal.wu.fake differ diff --git a/proprietary/vendor/etc/camera/com.xiaomi.dcal.wu.golden b/proprietary/vendor/etc/camera/com.xiaomi.dcal.wu.golden new file mode 100644 index 0000000..db2e463 Binary files /dev/null and b/proprietary/vendor/etc/camera/com.xiaomi.dcal.wu.golden differ diff --git a/proprietary/vendor/etc/camera/det_quantize.dlc b/proprietary/vendor/etc/camera/det_quantize.dlc new file mode 100644 index 0000000..75326d3 Binary files /dev/null and b/proprietary/vendor/etc/camera/det_quantize.dlc differ diff --git a/proprietary/vendor/etc/camera/eisoverridesettings.txt b/proprietary/vendor/etc/camera/eisoverridesettings.txt new file mode 100644 index 0000000..4b4f4b0 --- /dev/null +++ b/proprietary/vendor/etc/camera/eisoverridesettings.txt @@ -0,0 +1,14 @@ +EISWidthMargin=0.2 +EISHeightMargin=0.4 +SUPEREISHeightMargin=0.513513 +SUPEREISWidthMargin=0.351351 +SUPEREISUWHeightMargin=0.517 +SUPEREISUWWidthMargin=0.355 +EISLDCGridEnabled=1 +EISv3GyroDumpEnabled=0 +EISv3OperationMode=0 +EISv2GyroDumpEnabled=0 +EISv2OperationMode=0 +EISFrameDelay=30 +EISv2iFOVCEnable=1 +EISv3iFOVCEnable=1 diff --git a/proprietary/vendor/etc/camera/eyelineblush.cng b/proprietary/vendor/etc/camera/eyelineblush.cng new file mode 100644 index 0000000..f72cb18 Binary files /dev/null and b/proprietary/vendor/etc/camera/eyelineblush.cng differ diff --git a/proprietary/vendor/etc/camera/goturn_search_dsp.dlc b/proprietary/vendor/etc/camera/goturn_search_dsp.dlc new file mode 100644 index 0000000..833002a Binary files /dev/null and b/proprietary/vendor/etc/camera/goturn_search_dsp.dlc differ diff --git a/proprietary/vendor/etc/camera/goturn_target_dsp.dlc b/proprietary/vendor/etc/camera/goturn_target_dsp.dlc new file mode 100644 index 0000000..6202453 Binary files /dev/null and b/proprietary/vendor/etc/camera/goturn_target_dsp.dlc differ diff --git a/proprietary/vendor/etc/camera/hdrd_ui9_params.config b/proprietary/vendor/etc/camera/hdrd_ui9_params.config new file mode 100644 index 0000000..1661247 --- /dev/null +++ b/proprietary/vendor/etc/camera/hdrd_ui9_params.config @@ -0,0 +1,22 @@ +static ArcHDRDAEParam ArcHDRDAEParams[] = { +///(lux_min, lux_max, c_min, c_max, drc_min, drc_max, llhdr autoev evnum, ev[5] evMaxMinStep) +//CommonAEParam +//wide +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6}, +//front +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -8, -12, 0, 0, -12, 12, 6}, +//tele 2x +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6}, +//tele 5x +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6}, +//ultra +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6}, +//macro +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6}, +//bokeh 2x +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6}, +//bokeh 5x +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6}, +//default camera +{250, 300, 0.5, 0.7, 2.0, 4.0 ,0, 1, 3, 0, -12, 6, 0, 0, -12, 12, 6}, +}; diff --git a/proprietary/vendor/etc/camera/mibokeh_855_opencl.bin b/proprietary/vendor/etc/camera/mibokeh_855_opencl.bin new file mode 100644 index 0000000..42d50bf Binary files /dev/null and b/proprietary/vendor/etc/camera/mibokeh_855_opencl.bin differ diff --git a/proprietary/vendor/etc/camera/mibokeh_855_parameter.bin b/proprietary/vendor/etc/camera/mibokeh_855_parameter.bin new file mode 100644 index 0000000..60c697e Binary files /dev/null and b/proprietary/vendor/etc/camera/mibokeh_855_parameter.bin differ diff --git a/proprietary/vendor/etc/camera/misupermoon/MobNetv2TF_0.35_iter200000_zoom2.5x_h1500w2000.dlc b/proprietary/vendor/etc/camera/misupermoon/MobNetv2TF_0.35_iter200000_zoom2.5x_h1500w2000.dlc new file mode 100644 index 0000000..f72973e Binary files /dev/null and b/proprietary/vendor/etc/camera/misupermoon/MobNetv2TF_0.35_iter200000_zoom2.5x_h1500w2000.dlc differ diff --git a/proprietary/vendor/etc/camera/model.dat b/proprietary/vendor/etc/camera/model.dat new file mode 100644 index 0000000..b0905af Binary files /dev/null and b/proprietary/vendor/etc/camera/model.dat differ diff --git a/proprietary/vendor/etc/camera/model_back.dlc b/proprietary/vendor/etc/camera/model_back.dlc new file mode 100644 index 0000000..25fca35 Binary files /dev/null and b/proprietary/vendor/etc/camera/model_back.dlc differ diff --git a/proprietary/vendor/etc/camera/model_front.dlc b/proprietary/vendor/etc/camera/model_front.dlc new file mode 100644 index 0000000..6d17253 Binary files /dev/null and b/proprietary/vendor/etc/camera/model_front.dlc differ diff --git a/proprietary/vendor/etc/camera/model_front_mibokeh_video.dlc b/proprietary/vendor/etc/camera/model_front_mibokeh_video.dlc new file mode 100644 index 0000000..5801432 Binary files /dev/null and b/proprietary/vendor/etc/camera/model_front_mibokeh_video.dlc differ diff --git a/proprietary/vendor/etc/camera/reid_float.dlc b/proprietary/vendor/etc/camera/reid_float.dlc new file mode 100644 index 0000000..f94aa56 Binary files /dev/null and b/proprietary/vendor/etc/camera/reid_float.dlc differ diff --git a/proprietary/vendor/etc/camera/sceneDetection.xml b/proprietary/vendor/etc/camera/sceneDetection.xml new file mode 100644 index 0000000..c603cc4 --- /dev/null +++ b/proprietary/vendor/etc/camera/sceneDetection.xml @@ -0,0 +1,153 @@ + + + + 32 + 32 + 3 + 4 + + + + 800 + 60 + 10 + 8 + 5 + 5 + 0.03 + 0.03 + 5 + 8 + 5 + 5 + 0.05 + 0.05 + + 200 + 20 + 418.939 + 10 + 8 + 5 + 5 + 0.03 + 0.03 + 5 + 8 + 5 + 5 + 0.05 + 0.05 + + 100 + 10 + 3 + 10 + 8 + 5 + 5 + 0.03 + 0.03 + 5 + 8 + 5 + 5 + 0.05 + 0.05 + + 10 + 8 + 5 + 5 + 0.03 + 0.03 + + 10 + 8 + 5 + 5 + 0.03 + 0.03 + + + + + 17.85 + 32 + 32 + 0.015 + 1 + 1 + 1 + 1 + 4 + 7 + 40 + + 50.0 + 220.0 + 30.0 + 0.2 + 20.0 + + 40 + 40 + 20 + 20 + 30 + 40 + + + + + 180 + 10 + 270 + 10 + 3 + 2.0 + 0.5 + 0.1 + + + + + 50 + 150 + 0.8 + 0.3 + + + + 10.0 + 80.0 + 1000.0 + 20.0 + 240 + 0.008 + 50 + 0.3 + 380 + 80 + 200 + 0.4 + + 400.0 + 10.0 + 0.18 + 0.5 + 0.008 + + 400.0 + + + + + 240 + 0.008 + 200 + 10 + + + + diff --git a/proprietary/vendor/etc/camera/seg_quantized.dlc b/proprietary/vendor/etc/camera/seg_quantized.dlc new file mode 100644 index 0000000..4d14551 Binary files /dev/null and b/proprietary/vendor/etc/camera/seg_quantized.dlc differ diff --git a/proprietary/vendor/etc/camera/vidhance_calibration b/proprietary/vendor/etc/camera/vidhance_calibration new file mode 100644 index 0000000..1a4d8ec Binary files /dev/null and b/proprietary/vendor/etc/camera/vidhance_calibration differ diff --git a/proprietary/vendor/etc/charger_fstab.qti b/proprietary/vendor/etc/charger_fstab.qti new file mode 100644 index 0000000..ae50aac --- /dev/null +++ b/proprietary/vendor/etc/charger_fstab.qti @@ -0,0 +1,14 @@ +# +# Copyright (c) 2019 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. +# +# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. +# + +# Android fstab file. +# The filesystem that contains the filesystem checker binary (typically /system) cannot +# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK + +# +/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait diff --git a/proprietary/vendor/etc/elliptic_sensor.xml b/proprietary/vendor/etc/elliptic_sensor.xml new file mode 100644 index 0000000..1e7432f --- /dev/null +++ b/proprietary/vendor/etc/elliptic_sensor.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + diff --git a/proprietary/vendor/etc/init/init.batterysecret.rc b/proprietary/vendor/etc/init/init.batterysecret.rc new file mode 100644 index 0000000..e07d589 --- /dev/null +++ b/proprietary/vendor/etc/init/init.batterysecret.rc @@ -0,0 +1,28 @@ +on property:sys.boot_completed=1 + chmod 0664 /sys/class/usbpd/usbpd0/usbpd_verifed + chmod 0664 /sys/class/usbpd/usbpd0/request_vdm_cmd + chmod 0664 /sys/class/usbpd/usbpd0/verify_process + chmod 0664 /sys/class/power_supply/usb/pd_authentication + chmod 0664 /sys/class/power_supply/bms/authentic + chmod 0664 /sys/class/power_supply/bms_master/authentic + chmod 0664 /sys/class/power_supply/bms_slave/authentic + +service batterysecret /vendor/bin/batterysecret + class last_start + user root + group system system wakelock + disabled + +on property:sys.boot_completed=1 + start batterysecret + +#run batterysecret in off-charge mode +on charger + start batterysecret + chmod 0664 /sys/class/usbpd/usbpd0/usbpd_verifed + chmod 0664 /sys/class/usbpd/usbpd0/request_vdm_cmd + chmod 0664 /sys/class/usbpd/usbpd0/verify_process + chmod 0664 /sys/class/power_supply/usb/pd_authentication + chmod 0664 /sys/class/power_supply/bms/authentic + chmod 0664 /sys/class/power_supply/bms_master/authentic + chmod 0664 /sys/class/power_supply/bms_slave/authentic diff --git a/proprietary/vendor/etc/init/init.vendor.sensors.rc b/proprietary/vendor/etc/init/init.vendor.sensors.rc new file mode 100644 index 0000000..24d4863 --- /dev/null +++ b/proprietary/vendor/etc/init/init.vendor.sensors.rc @@ -0,0 +1,52 @@ +# Copyright (c) 2019 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. +# +# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# # Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# # Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# # Neither the name of The Linux Foundation nor +# the names of its contributors may be used to endorse or promote +# products derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +on early-boot + + write /sys/kernel/boot_slpi/boot 1 + + chown system system /mnt/vendor/persist/sensors + chown system system /mnt/vendor/persist/sensors/sns.reg + chown system system /mnt/vendor/persist/sensors/sensors_list.txt + chown system system /mnt/vendor/persist/sensors/registry + chown system system /mnt/vendor/persist/sensors/registry/registry + chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry + chown system system /mnt/vendor/persist/sensors/sensors_settings + chown system system /mnt/vendor/persist/sensors/registry/sns_reg_config + chown system system /mnt/vendor/persist/sensors/registry/sns_reg_version + chown system system /mnt/vendor/persist/sensors/registry/config + chmod 0664 /mnt/vendor/persist/sensors/sensors_settings + chown system system /sys/kernel/boot_adsp/ssr + +on post-fs-data && property:ro.build.type=userdebug + #sensors log dir + mkdir /data/vendor/sensors 0777 system system + mkdir /data/vendor/sensors/scripts 0777 system system diff --git a/proprietary/vendor/etc/init/ipa_fws.rc b/proprietary/vendor/etc/init/ipa_fws.rc new file mode 100644 index 0000000..0f8ba8a --- /dev/null +++ b/proprietary/vendor/etc/init/ipa_fws.rc @@ -0,0 +1,8 @@ +# Copyright (c) 2019-2020 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. +# + +on early-boot +write /dev/ipa 1 + diff --git a/proprietary/vendor/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc b/proprietary/vendor/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc new file mode 100644 index 0000000..ea53277 --- /dev/null +++ b/proprietary/vendor/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc @@ -0,0 +1,43 @@ +# Copyright (c) 2019-2020, Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. +# +# Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. +# + +service vendor.hvdcp_opti /vendor/bin/hvdcp_opti + class main + user system + group system wakelock + capabilities BLOCK_SUSPEND WAKE_ALARM + disabled + +service vendor.qti-chg-policy-sh /vendor/bin/init.qti.chg_policy.sh + class core + user root + oneshot + disabled + +on boot + enable vendor.qti-chg-policy-sh + start vendor.qti-chg-policy-sh + +on charger + chown radio wakelock /sys/power/wake_lock + chmod 0660 /sys/power/wake_lock + chown radio wakelock /sys/power/wake_unlock + chmod 0660 /sys/power/wake_unlock + mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system + mount_all /vendor/etc/charger_fstab.qti --early + enable vendor.qti-chg-policy-sh + start vendor.qti-chg-policy-sh + +on property:persist.vendor.hvdcp_opti.start=2 + rmdir /mnt/vendor/persist/hvdcp_opti + setprop persist.vendor.hvdcp_opti.start 0 + +on property:persist.vendor.hvdcp_opti.start=1 + mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system + enable vendor.hvdcp_opti + start vendor.hvdcp_opti + setprop persist.vendor.hvdcp_opti.start 0 diff --git a/proprietary/vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc b/proprietary/vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc new file mode 100644 index 0000000..00e2e61 --- /dev/null +++ b/proprietary/vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc @@ -0,0 +1,8 @@ +# Copyright (c) 2017 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. +# +service sensorscal-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service + class hal + user system + group system diff --git a/proprietary/vendor/etc/init/vendor.sensors.qti.rc b/proprietary/vendor/etc/init/vendor.sensors.qti.rc new file mode 100644 index 0000000..5895499 --- /dev/null +++ b/proprietary/vendor/etc/init/vendor.sensors.qti.rc @@ -0,0 +1,49 @@ +# Copyright (c) 2019 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. +# +# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# # Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# # Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# # Neither the name of The Linux Foundation nor +# the names of its contributors may be used to endorse or promote +# products derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +service vendor.sensors.qti /vendor/bin/sensors.qti + class main + user system + group system + disabled + oneshot + +on property:debug.sensors.diag_buffer_log=true + start vendor.sensors.qti + +on property:debug.sensors.diag_buffer_log=false + stop vendor.sensors.qti + +service vendor-sensor-sh /vendor/bin/init.qcom.sensors.sh + class late_start + user system + group system + oneshot diff --git a/proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc b/proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc new file mode 100644 index 0000000..741875a --- /dev/null +++ b/proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc @@ -0,0 +1,37 @@ +# Copyright (c) 2019 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. +# +# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# # Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# # Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# # Neither the name of The Linux Foundation nor +# the names of its contributors may be used to endorse or promote +# products derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +service vendor.sensors /vendor/bin/sscrpcd sensorspd + class early_hal + user system + group system wakelock + capabilities BLOCK_SUSPEND + shutdown critical diff --git a/proprietary/vendor/etc/libnfc-nci.conf b/proprietary/vendor/etc/libnfc-nci.conf new file mode 100644 index 0000000..30a1d30 --- /dev/null +++ b/proprietary/vendor/etc/libnfc-nci.conf @@ -0,0 +1,117 @@ +########################## Start of libnfc-nci.conf ########################### +# Sep.19, 2019 Reviewed by Jian +############################################################################### +# Application options +NFC_DEBUG_ENABLED=1 +############################################################################### +# performance measurement +# Change this setting to control how often USERIAL log the performance (throughput) +# data on read/write/poll +# defailt is to log performance dara for every 100 read or write +#REPORT_PERFORMANCE_MEASURE=100 +############################################################################### +# File used for NFA storage +NFA_STORAGE="/data/nfc" +############################################################################### +# Configure the default NfcA/IsoDep techology and protocol route. Can be +# either a secure element (e.g. 0xF4) or the host (0x00) +#DEFAULT_ISODEP_ROUTE=0x00 + +############################################################################### +## Default poll duration (in ms) +## The defualt is 500ms if not set +NFA_DM_DISC_DURATION_POLL=500 + +############################################################################### +# Force UICC to only listen to the following technology(s). +# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h. +# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | NFA_TECHNOLOGY_MASK_F +UICC_LISTEN_TECH_MASK=0x07 + +############################################################################### +# Force HOST listen feature enable or disable. +# 0: Disable +# 1: Enable +HOST_LISTEN_ENABLE=0x01 +############################################################################### +# When screen is turned off, specify the desired power state of the controller. +# 0: power-off-sleep state; DEFAULT +# 1: full-power state +# 2: screen-off card-emulation (CE4/CE3/CE1 modes are used) +SCREEN_OFF_POWER_STATE=1 +############################################################################### +# Force tag polling for the following technology(s). +# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h. +# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | +# NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 | +# NFA_TECHNOLOGY_MASK_B_PRIME | +# NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE. +# +# Notable bits: +# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */ +# NFA_TECHNOLOGY_MASK_B 0x02 /* NFC Technology B */ +# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */ +# NFA_TECHNOLOGY_MASK_ISO15693 0x08 /* Proprietary Technology */ +# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */ +# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */ +POLLING_TECH_MASK=0x4F +############################################################################### +# Force P2P to only listen for the following technology(s). +# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h. +# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F | +# NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE +# +# Notable bits: +# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */ +# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */ +# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */ +# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */ +P2P_LISTEN_TECH_MASK=0x45 +############################################################################### +PRESERVE_STORAGE=0x01 +############################################################################### +# Override the stack default for NFA_EE_MAX_EE_SUPPORTED set in nfc_target.h. +# The value is set to 3 by default as it assumes we will discover 0xF2, +# 0xF3, and 0xF4. If a platform will exclude and SE, this value can be reduced +# so that the stack will not wait any longer than necessary. + +# Maximum EE supported number +# NXP PN547C2 0x02 +# NXP PN65T 0x03 +# NXP PN548C2 0x02 +# NXP PN66T 0x03 +NFA_MAX_EE_SUPPORTED=0x03 +############################################################################## +# Deactivate notification wait time out in seconds used in ETSI Reader mode +# 0 - Infinite wait +NFA_DM_DISC_NTF_TIMEOUT=0 + +############################################################################### +# AID_MATCHING constants +# AID_MATCHING_EXACT_ONLY 0x00 +# AID_MATCHING_EXACT_OR_PREFIX 0x01 +# AID_MATCHING_PREFIX_ONLY 0x02 +#AID_MATCHING_EXACT_OR_SUBSET_OR_PREFIX 0x03 +AID_MATCHING_MODE=0x03 +############################################################################### +# Preferred Secure Element for Technology based routing +# eSE 0x01 +# UICC 0x02 +NXP_PRFD_TECH_SE=0x02 + +################################################################################ +#Set bit to 1 , black list is enabled +#Set bit to 0, to disable balcklist +NFA_AID_BLOCK_ROUTE=0x01 + +################################################################################ +# Maximum WTX requests entertained by MW +NXP_WM_MAX_WTX_COUNT=30 +################################################################################ +#Set the default Felica T3T System Code : +#This settings will be used when application does not set this parameter +DEFAULT_SYS_CODE={FE:FE} +######################################################################### +#Set NCI credit notification timeout value +NXP_NCI_CREDIT_NTF_TIMEOUT=2 +######################################################################### diff --git a/proprietary/vendor/etc/libnfc-nxp.conf b/proprietary/vendor/etc/libnfc-nxp.conf new file mode 100644 index 0000000..2562466 --- /dev/null +++ b/proprietary/vendor/etc/libnfc-nxp.conf @@ -0,0 +1,456 @@ +#################### This file is used by NXP NFC NCI HAL ##################### +# Sep.19, 2019 Reviewed by Jian +############################################################################### +# Application options +# Logging Levels +# NXPLOG_DEFAULT_LOGLEVEL 0x01 +# ANDROID_LOG_DEBUG 0x03 +# ANDROID_LOG_WARN 0x02 +# ANDROID_LOG_ERROR 0x01 +# ANDROID_LOG_SILENT 0x00 +NXPLOG_EXTNS_LOGLEVEL=0x03 +NXPLOG_NCIHAL_LOGLEVEL=0x03 +NXPLOG_NCIX_LOGLEVEL=0x03 +NXPLOG_NCIR_LOGLEVEL=0x03 +NXPLOG_FWDNLD_LOGLEVEL=0x03 +NXPLOG_TML_LOGLEVEL=0x03 +NFC_DEBUG_ENABLED=1 + +############################################################################### +# Nfc Device Node name +NXP_NFC_DEV_NODE="/dev/nq-nci" + +################################################################################# +#VEN Toggle Config +#Disable = 0x00 +#Enable = 0x01 +ENABLE_VEN_TOGGLE=0x00 + +############################################################################### +# Extension for Mifare reader enable +MIFARE_READER_ENABLE=0x01 + +############################################################################### +# File name for Firmware +NXP_FW_NAME="libsn100u_fw.so" + +############################################################################### +# System clock source selection configuration +#define CLK_SRC_XTAL 1 +#define CLK_SRC_PLL 2 +NXP_SYS_CLK_SRC_SEL=0x02 + +############################################################################### +# System clock frequency selection configuration +#define CLK_FREQ_13MHZ 1 +#define CLK_FREQ_19_2MHZ 2 +#define CLK_FREQ_24MHZ 3 +#define CLK_FREQ_26MHZ 4 +#define CLK_FREQ_38_4MHZ 5 +#define CLK_FREQ_52MHZ 6 +NXP_SYS_CLK_FREQ_SEL=0x02 + +############################################################################### +# The timeout value to be used for clock request acknowledgment +# min value = 0x01 to max = 0x06 +#NXP_SYS_CLOCK_TO_CFG=0x06 + +############################################################################### +# The delay to try to start PLL/XTAL when using sys clock 256/fc units = ~18.8 us +# min value = 0x01 to max = 0x1F +#NXP_CLOCK_REQ_DELAY=0x16 + +############################################################################### +# NXP proprietary settings +NXP_ACT_PROP_EXTN={2F, 02, 00} + +############################################################################### +# NFC forum profile settings +NXP_NFC_PROFILE_EXTN={20, 02, 05, 01, A0, 44, 01, 00} + +############################################################################### +# NXP TVDD configurations settings +# Allow NFCC to configure External TVDD, two configurations (1 and 2) supported, +# out of them only one can be configured at a time. +#NXP_EXT_TVDD_CFG=0x02 + +############################################################################### +#config1:SLALM, 3.3V for both RM and CM +#NXP_EXT_TVDD_CFG_1={20, 02, 0F, 01, A0, 0E, 0B, 31, 01, 01, 31, 00, 00, 00, 01, 00, D0, 0C} + +############################################################################### +#config2: use DCDC in CE, use Tx_Pwr_Req, set CFG2 mode, SLALM, +#monitoring 5V from DCDC, 3.3V for both RM and CM, DCDCWaitTime=4.2ms +#NXP_EXT_TVDD_CFG_2={20, 02, 0F, 01, A0, 0E, 0B, 11, 01, C2, B2, 00, B2, 1E, 1F, 00, D0, 0C} + +############################################################################### +# Core configuration rf field filter settings to enable set to 01 to disable set +# to 00 last bit +#NXP_CORE_RF_FIELD={ 20, 02, 05, 01, A0, 62, 01, 00 } + +############################################################################### +# To enable i2c fragmentation set i2c fragmentation enable 0x01 to disable set +# to 0x00 +#NXP_I2C_FRAGMENTATION_ENABLED=0x00 + +############################################################################### +#set autonomous mode +# disable autonomous 0x00 +# enable autonomous 0x01 +NXP_AUTONOMOUS_ENABLE=0x00 +############################################################################### +#set Guard Timer +# Gurad Timer range to 0x0F-0xFF(i.e.15-255 seconds) +NXP_GUARD_TIMER_VALUE=0x0F +############################################################################### +#Enable SWP full power mode when phone is power off +#NXP_SWP_FULL_PWR_ON=0x00 + +################################################################################ +#This is used to configure UICC2 at boot time. +# UICC2 0x03 +NXP_DEFAULT_UICC2_SELECT=0x03 +############################################################################### +# CE when Screen state is locked +# This setting is for DEFAULT_AID_ROUTE, +# DEFAULT_DESFIRE_ROUTE and DEFAULT_MIFARE_CLT_ROUTE +# Disable 0x00 +# Enable 0x01 +NXP_CE_ROUTE_STRICT_DISABLE=0x01 + +############################################################################### +#Timeout in secs +NXP_SWP_RD_TAG_OP_TIMEOUT=20 + +############################################################################### +#Set the default AID route Location : +#This settings will be used when application does not set this parameter +# host 0x00 +# eSE 0x01 +# UICC 0x02 +# UICC2 0x03 +DEFAULT_AID_ROUTE=0x02 + +############################################################################### +#Set the ISODEP (Mifare Desfire) route Location : +#This settings will be used when application does not set this parameter +# host 0x00 +# eSE 0x01 +# UICC 0x02 +# UICC2 0x03 +DEFAULT_ISODEP_ROUTE=0x02 + +############################################################################### +#Set the Mifare CLT route Location : +#This settings will be used when application does not set this parameter +# host 0x00 +# eSE 0x01 +# UICC 0x02 +# UICC2 0x03 +DEFAULT_MIFARE_CLT_ROUTE=0x02 + +############################################################################### +#Set the Felica CLT route Location : +#This settings will be used when application does not set this parameter +# eSE 0x01 +# UICC 0x02 +# UICC2 0x03 +DEFAULT_FELICA_CLT_ROUTE=0x02 + +############################################################################### +#Set the default AID Power state : +#This settings will be used when application does not set this parameter +# bit pos 0 = Switch On +# bit pos 1 = Switch Off +# bit pos 2 = Battery Off +# bit pos 3 = Screen off unlock +# bit pos 4 = Screen On lock +# bit pos 5 = Screen Off lock +DEFAULT_AID_PWR_STATE=0x3B +############################################################################### +#Set the Mifare Desfire Power state : +#This settings will be used when application does not set this parameter +# bit pos 0 = Switch On +# bit pos 1 = Switch Off +# bit pos 2 = Battery Off +# bit pos 3 = Screen off unlock +# bit pos 4 = Screen On lock +# bit pos 5 = Screen Off lock +DEFAULT_DESFIRE_PWR_STATE=0x3B + +############################################################################### +#Set the Mifare CLT Power state : +#This settings will be used when application does not set this parameter +# bit pos 0 = Switch On +# bit pos 1 = Switch Off +# bit pos 2 = Battery Off +# bit pos 3 = Screen off unlock +# bit pos 4 = Screen On lock +# bit pos 5 = Screen Off lock +DEFAULT_MIFARE_CLT_PWR_STATE=0x3B + +############################################################################### +#Set the Felica CLT Power state : +#This settings will be used when application does not set this parameter +# bit pos 0 = Switch On +# bit pos 1 = Switch Off +# bit pos 2 = Battery Off +# bit pos 3 = Screen off unlock +# bit pos 4 = Screen On lock +# bit pos 5 = Screen Off lock +DEFAULT_FELICA_CLT_PWR_STATE=0x3B + +############################################################################### +#Set the T4TNfcee AID Power state : +#This settings will be used when application does not set this parameter +# bit pos 0 = Switch On +# bit pos 1 = Switch Off +# bit pos 2 = Battery Off +# bit pos 3 = Screen off unlock +# bit pos 4 = Screen On lock +# bit pos 5 = Screen Off lock +DEFAULT_T4TNFCEE_AID_POWER_STATE=0x3B + +############################################################################### +#Set the default Felica T3T System Code OffHost route Location : +#This settings will be used when application does not set this parameter +# host 0x00 +# eSE 0x01 +# UICC 0x02 +# UICC2 0x03 +DEFAULT_SYS_CODE_ROUTE=0x00 + +############################################################################### +# AID Matching platform options +# AID_MATCHING_L 0x01 +# AID_MATCHING_K 0x02 +#AID_MATCHING_PLATFORM=0x01 + +############################################################################### +# P61 interface options +# SPI 0x02 +NXP_P61_LS_DEFAULT_INTERFACE=0x02 + +############################################################################### +#CHINA_TIANJIN_RF_SETTING +#Enable 0x01 +#Disable 0x00 +#NXP_CHINA_TIANJIN_RF_ENABLED=0x01 + +############################################################################### +#SWP_SWITCH_TIMEOUT_SETTING +# Allowed range of swp timeout setting is 0x00 to 0x3C [0 - 60]. +# Timeout in milliseconds, for example +# No Timeout 0x00 +# 10 millisecond timeout 0x0A +#NXP_SWP_SWITCH_TIMEOUT=0x0A + +############################################################################### +# Flashing Options Configurations +# FLASH_UPPER_VERSION 0x01 +# FLASH_DIFFERENT_VERSION 0x02 +# FLASH_ALWAYS 0x03 +NXP_FLASH_CONFIG=0x02 + +############################################################################### +# P61 interface options for JCOP Download +# SPI 0x02 +NXP_P61_JCOP_DEFAULT_INTERFACE=0x02 + +############################################################################### +# Option to perform LS update every boot +# Enable 0x01 +# Disable 0x00 +NXP_LS_FORCE_UPDATE_REQUIRED=0x00 + +############################################################################### +# Option to perform JCOP update every boot +# Enable 0x01 +# Disable 0x00 +NXP_JCOP_FORCE_UPDATE_REQUIRED=0x00 + +############################################################################### +# Bail out mode +# If set to 1, NFCC is using bail out mode for either Type A or Type B poll. +NFA_POLL_BAIL_OUT_MODE=0x00 + +############################################################################### +# White list of Hosts +# This values will be the Hosts(NFCEEs) in the HCI Network. +DEVICE_HOST_WHITE_LIST={C0, 80} + +############################################################################### +# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1. +# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm +# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block +# 2 NFA_RW_PRES_CHK_ISO_DEP_NAK; Type - 4 tag protocol iso-dep nak presence check +# command is sent waiting for rsp and ntf. +PRESENCE_CHECK_ALGORITHM=2 +############################################################################### +# Enable/Disable checking default proto SE Id +# Disable 0x00 +# Enable 0x01 +NXP_CHECK_DEFAULT_PROTO_SE_ID=0x01 +############################################################################### +# Vendor Specific Proprietary Protocol & Discovery Configuration +# Set to 0xFF if unsupported +# byte[0] NCI_PROTOCOL_18092_ACTIVE +# byte[1] NCI_PROTOCOL_B_PRIME +# byte[2] NCI_PROTOCOL_DUAL +# byte[3] NCI_PROTOCOL_15693 +# byte[4] NCI_PROTOCOL_KOVIO +# byte[5] NCI_PROTOCOL_MIFARE +# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO +# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME +# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME +NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, FF, FF, FF} + +############################################################################### +#NXP_CN_TRANSIT_BLK_NUM_CHECK_ENABLE +#Enable/Disable block number checks for china transit use case +#Enable 0x01 +#Disable 0x00 +#NXP_CN_TRANSIT_BLK_NUM_CHECK_ENABLE=0x01 + +################################################################################################### +#This flags will enable different modes of Lx Debug based on bits of the Byte0 & Byte1 +#Byte 0: +# |_________Bit Mask_______| Debug Mode +# b7|b6|b5|b4|b3|b2|b1|b0| +# |X | | | | | | | Enable 7816-4 RetCode +# | | |X | | | | | Enable L1 Events (ISO14443-4, ISO18092) +# | | | |X | | | | Enable L2 Reader Events(ROW specific) +# | | | | |X | | | Enable Felica SystemCode +# | | | | | |X | | Enable Felica RF (all Felica CM events) +# | | | | | | |X | Enable L2 Events Card Emulation (ISO14443-3, Modulation detected, RF Field ON/OFF) +#Byte 1: +# Enable RSSI 0x01 Byte1 Byte0 +# Disable RSSI 0x00 \__ __/ +# e.g. NXP_CORE_PROP_SYSTEM_DEBUG=0x0110 ==> L1 with RSSI +NXP_CORE_PROP_SYSTEM_DEBUG=0x0000 + +############################################################################### +#Enable NXP NCI runtime parser library +#Enable 0x01 +#Disable 0x00 +NXP_NCI_PARSER_LIBRARY=0x00 + +############################################################################### +# Timeout value in milliseconds for JCOP OS download to complete +OS_DOWNLOAD_TIMEOUT_VALUE=60000 + +############################################################################### +# Forcing HOST to listen for a selected protocol +# 0x00 : Disable Host Listen +# 0x01 : Enable Host to Listen (A) for ISO-DEP tech A +# 0x02 : Enable Host to Listen (B) for ISO-DEP tech B +# 0x04 : Enable Host to Listen (F) for T3T Tag Type Protocol tech F +# 0x07 : Enable Host to Listen (ABF)for ISO-DEP tech AB & T3T Tag Type Protocol tech F +HOST_LISTEN_TECH_MASK=0x07 + +############################################################################### +# Enable forward functionality +# Disable 0x00 +# Enable 0x01 +FORWARD_FUNCTIONALITY_ENABLE=0x01 + +############################################################################### +# Configure the NFC Extras to open and use a static pipe. If the value is +# not set or set to 0, then the default is use a dynamic pipe based on a +# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value +# for each EE (ESE/SIM) +OFF_HOST_ESE_PIPE_ID=0x16 +OFF_HOST_SIM_PIPE_ID=0x0A + +############################################################################### +#Set the Felica T3T System Code Power state : +#This settings will be used when application does not set this parameter +#Update Power state as per NCI2.0 +DEFAULT_SYS_CODE_PWR_STATE=0x39 + +############################################################################### +#Default Secure Element route id +DEFAULT_OFFHOST_ROUTE=0x02 + +############################################################################### +#Maximum SMB transceive wait for response +NXP_SMB_TRANSCEIVE_TIMEOUT=2000 +############################################################################### +# Firmware file type +#.so file 0x01 +#.bin file 0x02 +NXP_FW_TYPE=0x01 +############################################################################ +# Extended APDU length for ISO_DEP +ISO_DEP_MAX_TRANSCEIVE=0xFEFF +######################################################################### +# Support for Amendment I SEMS specification +# Support SEMS Amendment I 0x01 +# Support NXP LS client 0x00 +NXP_GP_AMD_I_SEMS_SUPPORTED=0x01 +############################################################################### +# Assign terminal number to each interface based on system config +NXP_SPI_SE_TERMINAL_NUM="eSE1" +############################################################################### +# Assign terminal number to each interface based on system config +#NXP_VISO_SE_TERMINAL_NUM="eSE3" +############################################################################### +# Assign terminal number to each interface based on system config +NXP_NFC_SE_TERMINAL_NUM="eSE2" +############################################################################### +#For static or dynamic dual UICC feature support +#Enable static dual uicc feature by setting value 0x00 +#Enable dynamic dual uicc feature by setting value 0x01 +NXP_DUAL_UICC_ENABLE=0x01 +############################################################################### +# Time to wait by DH when NFCC will report eSE Cold Temp Error. +# The value is as per the UM and in seconds +NXP_SE_COLD_TEMP_ERROR_DELAY=0x05 + +############################################################################### +# Set configuration optimization decision setting +# Enable = 0x01 +# Disable = 0x00 +NXP_SET_CONFIG_ALWAYS=0x01 +############################################################################### +#OffHost ESE route location for MultiSE +#ESE = 01 +OFFHOST_ROUTE_ESE={01} + +############################################################################### +#OffHost UICC route location for MultiSE +#UICC1 = 02 +#UICC2 = 03 +OFFHOST_ROUTE_UICC={02:03} + +############################################################################### +#T4T NFCEE ENABLE +#bit pos 0 = T4T NFCEE Enable +#bit pos 6 = T4T NFCEE Contactless write enable +NXP_T4T_NFCEE_ENABLE=0x01 + +############################################################################### +#CORE_SET_CONF_CMD to reset Prop Emvco Flag +NXP_PROP_RESET_EMVCO_CMD={20, 02, 05, 01, A0, 44, 01, 00} + +############################################################################### +# Firmware patch format, Only 1 and 5 should be set +# 0 -> NFC Default +# 1 -> EMVCO Default +# 3 -> EMVCO Polling, DISC_IDLE = POWER_OFF, DISC DEACTIVATE = Removal process +# 5 -> EMVCO Cert Polling, DISC_IDLE = Removal process , DISC DEACTIVATE = POWER_OFF +# 7 -> EMVCO Polling, DISC_IDLE = POWER_OFF, DISC DEACTIVATE = POWER_OFF +NFA_CONFIG_FORMAT=1 + +################################################################################ +# This will enable power state required for GSMA testing. +# When this is enabled , then default AID route power state is added with this power state +# If any aid with power state 0 is added, then this power state is used. +# bit pos 0 = Switch On +# bit pos 1 = Switch Off +# bit pos 2 = Battery Off +# bit pos 3 = Screen off unlock +# bit pos 4 = Screen On lock +# bit pos 5 = Screen Off lock +DEFUALT_GSMA_PWR_STATE=0x3B +################################################################################# diff --git a/proprietary/vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml b/proprietary/vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml new file mode 100644 index 0000000..9284b0a --- /dev/null +++ b/proprietary/vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/proprietary/vendor/etc/sensors/calibratedCheck.json b/proprietary/vendor/etc/sensors/calibratedCheck.json new file mode 100644 index 0000000..ac5aed3 --- /dev/null +++ b/proprietary/vendor/etc/sensors/calibratedCheck.json @@ -0,0 +1,115 @@ +[ + { + "parsedFileInfo":{ + "rootFile":"/mnt/vendor/persist/sensors/registry/registry/lsm6dso_0_platform.accel.fac_cal.bias", + "verDepth":1, + "rootObject":"lsm6dso_0_platform.accel.fac_cal.bias", + "items":["x"] + }, + "originalFileInfo":{"rootFile":"/vendor/etc/sensors/config/sm8250_lsm6dso_0.json", + "verDepth":4, + "rootObject":"lsm6dso_0_platform", + "subRootObject1":".accel", + "subRootObject2":".fac_cal", + "subRootObject3":".bias", + "items":["x"] + } + }, + { + "parsedFileInfo":{ + "rootFile":"/mnt/vendor/persist/sensors/registry/registry/lsm6dso_0_platform.gyro.fac_cal.bias", + "verDepth":1, + "rootObject":"lsm6dso_0_platform.gyro.fac_cal.bias", + "items":["x"] + }, + "originalFileInfo":{ + "rootFile":"/vendor/etc/sensors/config/sm8250_lsm6dso_0.json", + "verDepth":4, + "rootObject":"lsm6dso_0_platform", + "subRootObject1":".gyro", + "subRootObject2":".fac_cal", + "subRootObject3":".bias", + "items":["x"] + } + }, + { + "parsedFileInfo":{ + "rootFile":"/mnt/vendor/persist/sensors/registry/registry/tcs3701_platform.als.fac_cal", + "verDepth":1, + "rootObject":"tcs3701_platform.als.fac_cal", + "items":["scale"] + }, + "originalFileInfo":{ + "rootFile":"/vendor/etc/sensors/config/sm8250_tcs3701.json", + "verDepth":3, + "rootObject":"tcs3701_platform", + "subRootObject1":".als", + "subRootObject2":".fac_cal", + "items":["scale"] + } + }, + { + "parsedFileInfo":{ + "rootFile":"/mnt/vendor/persist/sensors/registry/registry/vl53l1_tof_platform.prox.customer", + "verDepth":1, + "rootObject":"vl53l1_tof_platform.prox.customer", + "items":["spad_enables_ref_0"] + }, + "originalFileInfo":{ + "rootFile":"/vendor/etc/sensors/config/sm8250_vl53l1_tof_0.json", + "verDepth":3, + "rootObject":"vl53l1_tof_platform", + "subRootObject1":".prox", + "subRootObject2":".customer", + "items":["spad_enables_ref_0"] + } + }, + { + "parsedFileInfo":{ + "rootFile":"/mnt/vendor/persist/sensors/registry/registry/tcs3701_platform.oled_cal_factor", + "verDepth":1, + "rootObject":"tcs3701_platform.oled_cal_factor", + "items":["clear_a"] + }, + "originalFileInfo":{ + "rootFile":"/vendor/etc/sensors/config/sm8250_tcs3701.json", + "verDepth":2, + "rootObject":"tcs3701_platform", + "subRootObject1":".oled_cal_factor", + "items":["clear_a"] + } + }, + { + "parsedFileInfo":{ + "rootFile":"/mnt/vendor/persist/sensors/registry/registry/tcs3408_platform.als.fac_cal", + "verDepth":1, + "rootObject":"tcs3408_platform.als.fac_cal", + "items":["scale"] + }, + "originalFileInfo":{ + "rootFile":"/vendor/etc/sensors/config/sm8250_tcs3408.json", + "verDepth":3, + "rootObject":"tcs3408_platform", + "subRootObject1":".als", + "subRootObject2":".fac_cal", + "items":["scale"] + } + }, + { + "parsedFileInfo":{ + "rootFile":"/mnt/vendor/persist/sensors/registry/registry/bmp285_0_platform.pressure.fac_cal.bias", + "verDepth":1, + "rootObject":"bmp285_0_platform.pressure.fac_cal.bias", + "items":["x"] + }, + "originalFileInfo":{ + "rootFile":"/vendor/etc/sensors/config/sm8250_bmp285_0.json", + "verDepth":4, + "rootObject":"bmp285_0_platform", + "subRootObject1":".pressure", + "subRootObject2":".fac_cal", + "subRootObject3":".bias", + "items":["x"] + } + } +] diff --git a/proprietary/vendor/etc/sensors/config/ak991x_dri_0.json b/proprietary/vendor/etc/sensors/config/ak991x_dri_0.json new file mode 100644 index 0000000..78ad796 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/ak991x_dri_0.json @@ -0,0 +1,39 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "339", "356"] + }, + "ak0991x_0":{ + "owner": "sns_ak0991x", + ".mag":{ + "owner": "sns_ak0991x", + ".config":{ + "owner": "sns_ak0991x", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".config_2":{ + "owner": "sns_ak0991x", + "use_fifo":{ "type": "int", "ver": "0", + "data": "0" + }, + "nsf":{ "type": "int", "ver": "0", + "data": "0" + }, + "sdr":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/bmp285_0.json b/proprietary/vendor/etc/sensors/config/bmp285_0.json new file mode 100644 index 0000000..49e495d --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/bmp285_0.json @@ -0,0 +1,46 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "356"] + }, + "bmp285_0":{ + "owner": "sns_bmp285", + ".temp":{ + "owner": "sns_bmp285", + ".config":{ + "owner": "sns_bmp285", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".pressure":{ + "owner": "sns_bmp285", + ".config":{ + "owner": "sns_bmp285", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/lsm6dso_0.json b/proprietary/vendor/etc/sensors/config/lsm6dso_0.json new file mode 100644 index 0000000..edcb77b --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/lsm6dso_0.json @@ -0,0 +1,82 @@ +{ + "config": + { + "hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "CMI"], + "soc_id": ["336", "339", "341", "321", "339", "356"] + }, + "lsm6dso_0":{ + "owner": "lsm6dso", + ".accel":{ + "owner": "lsm6dso", + ".config":{ + "owner": "lsm6dso", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".gyro":{ + "owner": "lsm6dso", + ".config":{ + "owner": "lsm6dso", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "3" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".md":{ + "owner": "lsm6dso", + ".config":{ + "owner": "lsm6dso", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".temp":{ + "owner": "lsm6dso", + ".config":{ + "owner": "lsm6dso", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sm8250_ak991x_0.json b/proprietary/vendor/etc/sensors/config/sm8250_ak991x_0.json new file mode 100644 index 0000000..028a4f6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sm8250_ak991x_0.json @@ -0,0 +1,241 @@ +{ + "config": + { + "hw_platform": ["MTP", "Surf", "CMI"], + "soc_id": ["321", "339", "356"] + }, + "ak0991x_0_platform":{ + "owner": "sns_ak0991x", + ".config":{ + "owner": "sns_ak0991x", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "1" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "12" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "119" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "2", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".orient":{ + "owner": "sns_ak0991x", + "x":{ "type": "str", "ver": "2", + "data": "-x" + }, + "y":{ "type": "str", "ver": "2", + "data": "+y" + }, + "z":{ "type": "str", "ver": "1", + "data": "-z" + } + }, + ".mag":{ + "owner": "sns_ak0991x", + ".fac_cal":{ + "owner": "sns_ak0991x", + ".corr_mat":{ + "owner": "sns_ak0991x", + "0_0":{ "type": "flt", "ver": "0", + "data": "0.996902" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "-0.013794" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "-0.013794" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "0.997696" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "-0.015106" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "-0.018906" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "-0.015106" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.005402" + } + }, + ".bias":{ + "owner": "sns_ak0991x", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_ak0991x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".pdc_parameter":{ + "owner": "sns_ak0991x", + "0":{ "type": "flt", "ver": "0", + "data": "205" + }, + "1":{ "type": "flt", "ver": "0", + "data": "86" + }, + "2":{ "type": "flt", "ver": "0", + "data": "61" + }, + "3":{ "type": "flt", "ver": "0", + "data": "13" + }, + "4":{ "type": "flt", "ver": "0", + "data": "72" + }, + "5":{ "type": "flt", "ver": "0", + "data": "8" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "130" + }, + "8":{ "type": "flt", "ver": "0", + "data": "213" + }, + "9":{ "type": "flt", "ver": "0", + "data": "55" + }, + "10":{ "type": "flt", "ver": "0", + "data": "239" + }, + "11":{ "type": "flt", "ver": "0", + "data": "192" + }, + "12":{ "type": "flt", "ver": "0", + "data": "108" + }, + "13":{ "type": "flt", "ver": "0", + "data": "28" + }, + "14":{ "type": "flt", "ver": "0", + "data": "253" + }, + "15":{ "type": "flt", "ver": "0", + "data": "232" + }, + "16":{ "type": "flt", "ver": "0", + "data": "254" + }, + "17":{ "type": "flt", "ver": "0", + "data": "229" + }, + "18":{ "type": "flt", "ver": "0", + "data": "128" + }, + "19":{ "type": "flt", "ver": "0", + "data": "112" + }, + "20":{ "type": "flt", "ver": "0", + "data": "192" + }, + "21":{ "type": "flt", "ver": "0", + "data": "0" + }, + "22":{ "type": "flt", "ver": "0", + "data": "204" + }, + "23":{ "type": "flt", "ver": "0", + "data": "111" + }, + "24":{ "type": "flt", "ver": "0", + "data": "10" + }, + "25":{ "type": "flt", "ver": "0", + "data": "77" + }, + "26":{ "type": "flt", "ver": "0", + "data": "55" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sm8250_bmp285_0.json b/proprietary/vendor/etc/sensors/config/sm8250_bmp285_0.json new file mode 100644 index 0000000..8c050e4 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sm8250_bmp285_0.json @@ -0,0 +1,120 @@ +{ + "config": + { + "hw_platform": ["MTP", "Surf", "CMI"], + "soc_id": ["321", "356"] + }, + "bmp285_0_platform":{ + "owner": "sns_bmp285", + ".config":{ + "owner": "sns_bmp285", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "119" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".temp":{ + "owner": "sns_bmp285", + ".fac_cal": + { + "owner": "sns_bmp285", + ".scale":{ + "owner": "sns_bmp285", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmp285", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".pressure":{ + "owner": "sns_bmp285", + ".fac_cal": + { + "owner": "sns_bmp285", + ".scale":{ + "owner": "sns_bmp285", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "sns_bmp285", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".placement":{ + "owner": "sns_bmp285", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sm8250_lsm6dso_0.json b/proprietary/vendor/etc/sensors/config/sm8250_lsm6dso_0.json new file mode 100644 index 0000000..09f8e7a --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sm8250_lsm6dso_0.json @@ -0,0 +1,247 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "HDK", "CMI"], + "soc_id": ["321", "339", "356"] + }, + "lsm6dso_0_platform":{ + "owner": "lsm6dso", + ".config":{ + "owner": "lsm6dso", + "bus_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "bus_instance":{ "type": "int", "ver": "1", + "data": "3" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "0" + }, + "i3c_address":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "0" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "9600" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "1", + "data": "122" + }, + "irq_pull_type":{ "type": "int", "ver": "1", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "1", + "data": "3" + }, + "num_rail":{ "type": "int", "ver": "1", + "data": "1" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vddio_rail":{ "type": "str", "ver": "1", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_odr":{ "type": "int", "ver": "0", + "data": "20" + }, + "max_odr":{ "type": "int", "ver": "0", + "data": "500" + } + }, + ".orient":{ + "owner": "lsm6dso", + "x":{ "type": "str", "ver": "4", + "data": "+x" + }, + "y":{ "type": "str", "ver": "4", + "data": "+y" + }, + "z":{ "type": "str", "ver": "2", + "data": "+z" + } + }, + ".gyro":{ + "owner": "lsm6dso", + ".fac_cal":{ + "owner": "lsm6dso", + ".corr_mat":{ + "owner": "lsm6dso", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dso", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".accel":{ + "owner": "lsm6dso", + ".fac_cal":{ + "owner": "lsm6dso", + ".corr_mat":{ + "owner": "lsm6dso", + "0_0":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "0_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "0_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1_1":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "1_2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2_2":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dso", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "y":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "z":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".temp":{ + "owner": "lsm6dso", + ".fac_cal": + { + "owner": "lsm6dso", + ".scale":{ + "owner": "lsm6dso", + "x":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".bias":{ + "owner": "lsm6dso", + "x":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } + }, + ".md":{ + "owner": "lsm6dso", + ".config":{ + "owner": "lsm6dso", + "thresh":{ "type": "flt", "ver": "0", + "data": "0.6132" + }, + "disable":{ "type": "int", "ver": "0", + "data": "0" + }, + "win":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".placement":{ + "owner": "lsm6dso", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sm8250_power_0.json b/proprietary/vendor/etc/sensors/config/sm8250_power_0.json new file mode 100644 index 0000000..27bcf29 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sm8250_power_0.json @@ -0,0 +1,216 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "RCM", "QRD", "CMI"], + "soc_id": ["356"] + }, + "power":{ + "owner": "power_manager", + ".island":{ + "owner": "power_manager", + "enable_island":{ "type": "int", "ver": "0", + "data": "1" + } + }, + ".mcps":{ + "owner": "power_manager", + "min_svs":{ "type": "int", "ver": "0", + "data": "269" + }, + "low_svs":{ "type": "int", "ver": "0", + "data": "384" + }, + "svs":{ "type": "int", "ver": "0", + "data": "499" + }, + "nominal":{ "type": "int", "ver": "0", + "data": "806" + }, + "turbo":{ "type": "int", "ver": "0", + "data": "998" + } + }, + ".gpio":{ + "owner": "power_manager", + ".gpio_0":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "0" + }, + "active_fs":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_dir":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "active_drive":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".gpio_1":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_fs":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_dir":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "active_drive":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".gpio_8":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "8" + }, + "active_fs":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_dir":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "active_drive":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".gpio_9":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "9" + }, + "active_fs":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_dir":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "active_drive":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".gpio_10":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "10" + }, + "active_fs":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_dir":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "active_drive":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".gpio_11":{ + "owner": "power_manager", + "gpio_num":{ "type": "int", "ver": "0", + "data": "11" + }, + "active_fs":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_dir":{ "type": "int", "ver": "0", + "data": "1" + }, + "active_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "active_drive":{ "type": "int", "ver": "0", + "data": "3" + }, + "sleep_fs":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_dir":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_pull":{ "type": "int", "ver": "0", + "data": "0" + }, + "sleep_drive":{ "type": "int", "ver": "0", + "data": "0" + } + }, + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sm8250_sx933x_0.json b/proprietary/vendor/etc/sensors/config/sm8250_sx933x_0.json new file mode 100644 index 0000000..556e1a5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sm8250_sx933x_0.json @@ -0,0 +1,261 @@ +{ + "config":{ + "hw_platform": ["MTP", "Surf", "QRD", "HDK", "CMI"], + "soc_id": ["321", "341", "356"] + }, + "sx933x_0_platform":{ + "owner": "sns_sx933x", + ".config":{ + "owner": "sns_sx933x", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "40" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "dri_irq_num":{ "type": "int", "ver": "0", + "data": "120" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "3" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "1" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".placement":{ + "owner": "sns_sx933x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "4":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".thresh":{ + "owner": "sns_sx933x", + "threshold_0":{ "type": "flt", "ver": "50", + "data": "25.0" + }, + "threshold_1":{ "type": "flt", "ver": "50", + "data": "25.0" + }, + "threshold_2":{ "type": "flt", "ver": "50", + "data": "25.0" + }, + "threshold_3":{ "type": "flt", "ver": "50", + "data": "25.0" + } + }, + ".offset":{ + "owner": "sns_sx933x", + "0":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".register":{ + "owner": "sns_sx933x", + "Is_config":{ "type": "int", "ver": "3", + "data": "0" + }, + "SX933X_SCANPERIOD_REG_0x801C":{ "type": "int", "ver": "0", + "data": "32796" + }, + "SX933X_SCANPERIOD":{ "type": "int", "ver": "3", + "data": "10" + }, + "SX933X_AFEPARAMSPH0_REG_0x8024":{ "type": "int", "ver": "0", + "data": "32804" + }, + "SX933X_AFEPARAMSPH0":{ "type": "int", "ver": "3", + "data": "268508757" + }, + "SX933X_AFEPHPH0_REG_0x8028":{ "type": "int", "ver": "0", + "data": "32808" + }, + "SX933X_AFEPHPH0":{ "type": "int", "ver": "1", + "data": "1073185371" + }, + "SX933X_AFEPARAMSPH1_REG_0x802C":{ "type": "int", "ver": "0", + "data": "32812" + }, + "SX933X_AFEPARAMSPH1":{ "type": "int", "ver": "4", + "data": "268503214" + }, + "SX933X_AFEPHPH1_REG_0x8030":{ "type": "int", "ver": "0", + "data": "32816" + }, + "SX933X_AFEPHPH1":{ "type": "int", "ver": "2", + "data": "1052705486" + }, + "SX933X_AFEPARAMSPH2_REG_0x8034":{ "type": "int", "ver": "0", + "data": "32820" + }, + "SX933X_AFEPARAMSPH2":{ "type": "int", "ver": "4", + "data": "67669" + }, + "SX933X_AFEPHPH2_REG_0x8038":{ "type": "int", "ver": "1", + "data": "32824" + }, + "SX933X_AFEPHPH2":{ "type": "int", "ver": "2", + "data": "1073644123" + }, + "SX933X_AFEPARAMSPH3_REG_0x803C":{ "type": "int", "ver": "2", + "data": "32828" + }, + "SX933X_AFEPARAMSPH3":{ "type": "int", "ver": "3", + "data": "268503149" + }, + "SX933X_AFEPHPH3_REG_0x8040":{ "type": "int", "ver": "1", + "data": "32832" + }, + "SX933X_AFEPHPH3":{ "type": "int", "ver": "1", + "data": "1040155227" + }, + "SX933X_ADCFILTPH0_REG_0x8054":{ "type": "int", "ver": "0", + "data": "32852" + }, + "SX933X_ADCFILTPH0":{ "type": "int", "ver": "2", + "data": "136917761" + }, + "SX933X_AVGBFILTPH0_REG_0x8058":{ "type": "int", "ver": "0", + "data": "32856" + }, + "SX933X_AVGBFILTPH0":{ "type": "int", "ver": "3", + "data": "1616904976" + }, + "SX933X_AVGAFILTPH0_REG_0x805C":{ "type": "int", "ver": "0", + "data": "32860" + }, + "SX933X_AVGAFILTPH0":{ "type": "int", "ver": "3", + "data": "1019502592" + }, + "SX933X_ADCFILTPH1_REG_0x8074":{ "type": "int", "ver": "0", + "data": "32884" + }, + "SX933X_ADCFILTPH1":{ "type": "int", "ver": "4", + "data": "135796737" + }, + "SX933X_AVGBFILTPH1_REG_0x8078":{ "type": "int", "ver": "0", + "data": "32888" + }, + "SX933X_AVGBFILTPH1":{ "type": "int", "ver": "3", + "data": "1616904208" + }, + "SX933X_AVGAFILTPH1_REG_0x807C":{ "type": "int", "ver": "0", + "data": "32892" + }, + "SX933X_AVGAFILTPH1":{ "type": "int", "ver": "3", + "data": "1019506688" + }, + "SX933X_ADVDIG3PH1_REG_0x808C":{ "type": "int", "ver": "0", + "data": "32908" + }, + "SX933X_ADVDIG3PH1":{ "type": "int", "ver": "3", + "data": "3735609" + }, + "SX933X_ADVDIG4PH1_REG_0x8090":{ "type": "int", "ver": "0", + "data": "32912" + }, + "SX933X_ADVDIG4PH1":{ "type": "int", "ver": "0", + "data": "131072" + }, + "SX933X_ADCFILTPH2_REG_0x8094":{ "type": "int", "ver": "0", + "data": "32916" + }, + "SX933X_ADCFILTPH2":{ "type": "int", "ver": "2", + "data": "3809280" + }, + "SX933X_AVGAFILTPH2_REG_0x809C":{ "type": "int", "ver": "0", + "data": "32924" + }, + "SX933X_AVGAFILTPH2":{ "type": "int", "ver": "2", + "data": "785543168" + }, + "SX933X_ADCFILTPH3_REG_0x80B4":{ "type": "int", "ver": "0", + "data": "32948" + }, + "SX933X_ADCFILTPH3":{ "type": "int", "ver": "2", + "data": "3809280" + }, + "SX933X_GNRLCTRL2_REG_0x8020":{ "type": "int", "ver": "0", + "data": "32800" + }, + "SX933X_GNRLCTRL2":{ "type": "int", "ver": "1", + "data": "983055" + } + } + } +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/config/sm8250_tcs3408.json b/proprietary/vendor/etc/sensors/config/sm8250_tcs3408.json new file mode 100644 index 0000000..0d3e693 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sm8250_tcs3408.json @@ -0,0 +1,156 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "339", "356"] + }, + "tcs3408_platform":{ + "owner": "sns_tcs3408", + ".config":{ + "owner": "sns_tcs3408", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "4" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "41" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "1", + "data": "162" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_tcs3408", + ".fac_cal":{ + "owner": "sns_tcs3408", + "scale":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".prox":{ + "owner": "sns_tcs3408", + ".fac_cal":{ + "owner": "sns_tcs3408", + "near_threshold":{ "type": "flt", "ver": "0", + "data": "60.0" + }, + "far_threshold":{ "type": "flt", "ver": "0", + "data": "40.0" + } + } + }, + ".rgb":{ + "owner": "sns_tcs3408", + ".fac_cal":{ + "owner": "sns_tcs3408", + "scale_l":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "scale_h":{ "type": "flt", "ver": "0", + "data": "1.0" + } + } + }, + ".channel":{ + "owner": "sns_tcs3408", + ".fac_cal":{ + "owner": "sns_tcs3408", + "data_cch":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "data_rch":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "data_gch":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "data_bch":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "data_wch":{ "type": "flt", "ver": "0", + "data": "1.0" + } + } + }, + ".coefficient":{ + "owner": "sns_tcs3408", + "0":{ "type": "flt", "ver": "1", + "data": "12.47" + }, + "1":{ "type": "flt", "ver": "1", + "data": "0.6" + }, + "2":{ "type": "flt", "ver": "1", + "data": "-0.38" + }, + "3":{ "type": "flt", "ver": "1", + "data": "0.77" + }, + "4":{ "type": "flt", "ver": "1", + "data": "-1.11" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "600.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sm8250_tcs3701.json b/proprietary/vendor/etc/sensors/config/sm8250_tcs3701.json new file mode 100644 index 0000000..9f5504c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sm8250_tcs3701.json @@ -0,0 +1,639 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "339", "356"] + }, + "tcs3701_platform":{ + "owner": "sns_tcs3701", + ".config":{ + "owner": "sns_tcs3701", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "57" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "dri_irq_num":{ "type": "int", "ver": "2", + "data": "67" + }, + "irq_pull_type":{ "type": "int", "ver": "1", + "data": "0" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "1", + "data": "0" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".als":{ + "owner": "sns_tcs3701", + ".fac_cal":{ + "owner": "sns_tcs3701", + "scale":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "bias":{ "type": "flt", "ver": "0", + "data": "0.0" + } + } + }, + ".prox":{ + "owner": "sns_tcs3701", + ".fac_cal":{ + "owner": "sns_tcs3701", + "near_threshold":{ "type": "flt", "ver": "2", + "data": "700.0" + }, + "far_threshold":{ "type": "flt", "ver": "2", + "data": "680.0" + } + } + }, + ".coefficient":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "1", + "data": "1.5698" + }, + "1":{ "type": "flt", "ver": "1", + "data": "3.8" + }, + "2":{ "type": "flt", "ver": "1", + "data": "-2.6" + }, + "3":{ "type": "flt", "ver": "1", + "data": "2.8" + }, + "4":{ "type": "flt", "ver": "1", + "data": "-5.2" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "600.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".coefficient_panel2":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "1", + "data": "1.523375" + }, + "1":{ "type": "flt", "ver": "1", + "data": "1.961" + }, + "2":{ "type": "flt", "ver": "1", + "data": "-1.398" + }, + "3":{ "type": "flt", "ver": "1", + "data": "7.185" + }, + "4":{ "type": "flt", "ver": "1", + "data": "-6.844" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "600.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".coefficient_panel3":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "1", + "data": "1.523375" + }, + "1":{ "type": "flt", "ver": "1", + "data": "1.961" + }, + "2":{ "type": "flt", "ver": "1", + "data": "-1.398" + }, + "3":{ "type": "flt", "ver": "1", + "data": "7.185" + }, + "4":{ "type": "flt", "ver": "1", + "data": "-6.844" + }, + "5":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "6":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "7":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "8":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "9":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "10":{ "type": "flt", "ver": "0", + "data": "600.0" + }, + "11":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".oled_cal_factor":{ + "owner": "sns_tcs3701", + "clear_a":{ "type": "flt", "ver": "1", + "data": "-30.848673" + }, + "clear_b":{ "type": "flt", "ver": "1", + "data": "39.038770" + }, + "clear_c":{ "type": "flt", "ver": "1", + "data": "13.552272" + }, + "red_a":{ "type": "flt", "ver": "1", + "data": "-20.970832" + }, + "red_b":{ "type": "flt", "ver": "1", + "data": "60.639359" + }, + "red_c":{ "type": "flt", "ver": "1", + "data": "-6.219479" + }, + "green_a":{ "type": "flt", "ver": "1", + "data": "-16.975607" + }, + "green_b":{ "type": "flt", "ver": "1", + "data": "47.283213" + }, + "green_c":{ "type": "flt", "ver": "1", + "data": "-0.510646" + }, + "blue_a":{ "type": "flt", "ver": "1", + "data": "-6.148283" + }, + "blue_b":{ "type": "flt", "ver": "1", + "data": "47.000924" + }, + "blue_c":{ "type": "flt", "ver": "1", + "data": "0.0" + } + }, + ".oled_cal_factor_90hz":{ + "owner": "sns_tcs3701", + "clear_a":{ "type": "flt", "ver": "1", + "data": "-30.848673" + }, + "clear_b":{ "type": "flt", "ver": "1", + "data": "39.038770" + }, + "clear_c":{ "type": "flt", "ver": "1", + "data": "13.552272" + }, + "red_a":{ "type": "flt", "ver": "1", + "data": "-20.970832" + }, + "red_b":{ "type": "flt", "ver": "1", + "data": "60.639359" + }, + "red_c":{ "type": "flt", "ver": "1", + "data": "-6.219479" + }, + "green_a":{ "type": "flt", "ver": "1", + "data": "-16.975607" + }, + "green_b":{ "type": "flt", "ver": "1", + "data": "47.283213" + }, + "green_c":{ "type": "flt", "ver": "1", + "data": "-0.510646" + }, + "blue_a":{ "type": "flt", "ver": "1", + "data": "-6.148283" + }, + "blue_b":{ "type": "flt", "ver": "1", + "data": "47.000924" + }, + "blue_c":{ "type": "flt", "ver": "1", + "data": "0.0" + } + }, + ".oled_fca_cal_factor_60hz":{ + "owner": "sns_tcs3701", + "clear_a":{ "type": "flt", "ver": "1", + "data": "6.340393" + }, + "clear_b":{ "type": "flt", "ver": "1", + "data": "4.841944" + }, + "clear_c":{ "type": "flt", "ver": "1", + "data": "286.000000" + }, + "red_a":{ "type": "flt", "ver": "1", + "data": "3.430889" + }, + "red_b":{ "type": "flt", "ver": "1", + "data": "2.557654" + }, + "red_c":{ "type": "flt", "ver": "1", + "data": "154.000000" + }, + "green_a":{ "type": "flt", "ver": "1", + "data": "2.438404" + }, + "green_b":{ "type": "flt", "ver": "1", + "data": "1.563171" + }, + "green_c":{ "type": "flt", "ver": "1", + "data": "99.250000" + }, + "blue_a":{ "type": "flt", "ver": "1", + "data": "1.310183" + }, + "blue_b":{ "type": "flt", "ver": "1", + "data": "0.998976" + }, + "blue_c":{ "type": "flt", "ver": "1", + "data": "59.500000" + } + }, + ".oled_fca_cal_factor_90hz":{ + "owner": "sns_tcs3701", + "clear_a":{ "type": "flt", "ver": "1", + "data": "5.484358" + }, + "clear_b":{ "type": "flt", "ver": "1", + "data": "4.444493" + }, + "clear_c":{ "type": "flt", "ver": "1", + "data": "284.500000" + }, + "red_a":{ "type": "flt", "ver": "1", + "data": "2.780213" + }, + "red_b":{ "type": "flt", "ver": "1", + "data": "2.430829" + }, + "red_c":{ "type": "flt", "ver": "1", + "data": "154.000000" + }, + "green_a":{ "type": "flt", "ver": "1", + "data": "1.975056" + }, + "green_b":{ "type": "flt", "ver": "1", + "data": "1.752357" + }, + "green_c":{ "type": "flt", "ver": "1", + "data": "98.250000" + }, + "blue_a":{ "type": "flt", "ver": "1", + "data": "1.308040" + }, + "blue_b":{ "type": "flt", "ver": "1", + "data": "1.013673" + }, + "blue_c":{ "type": "flt", "ver": "1", + "data": "59.500000" + } + }, + ".oled_pwm_cal_factor_60hz":{ + "owner": "sns_tcs3701", + "c_mean":{ "type": "flt", "ver": "1", + "data": "41.174805" + }, + "r_mean":{ "type": "flt", "ver": "1", + "data": "22.618164" + }, + "g_mean":{ "type": "flt", "ver": "1", + "data": "13.630859" + }, + "b_mean":{ "type": "flt", "ver": "1", + "data": "8.085938" + }, + "c_mag":{ "type": "flt", "ver": "1", + "data": "20.615770" + }, + "r_mag":{ "type": "flt", "ver": "1", + "data": "11.201009" + }, + "g_mag":{ "type": "flt", "ver": "1", + "data": "7.266348" + }, + "b_mag":{ "type": "flt", "ver": "1", + "data": "4.537417" + } + }, + ".oled_pwm_cal_factor_90hz":{ + "owner": "sns_tcs3701", + "c_mean":{ "type": "flt", "ver": "1", + "data": "41.183594" + }, + "r_mean":{ "type": "flt", "ver": "1", + "data": "22.795898" + }, + "g_mean":{ "type": "flt", "ver": "1", + "data": "13.650391" + }, + "b_mean":{ "type": "flt", "ver": "1", + "data": "8.103516" + }, + "c_mag":{ "type": "flt", "ver": "1", + "data": "20.769009" + }, + "r_mag":{ "type": "flt", "ver": "1", + "data": "11.294224" + }, + "g_mag":{ "type": "flt", "ver": "1", + "data": "7.363045" + }, + "b_mag":{ "type": "flt", "ver": "1", + "data": "4.564326" + } + }, + ".prox_cal_offset":{ + "owner": "sns_tcs3701", + "prox_offset_l":{ "type": "flt", "ver": "0", + "data": "0.0" + }, + "prox_offset_h":{ "type": "flt", "ver": "0", + "data": "0.0" + } + }, + ".under_oled_para":{ + "owner": "sns_tcs3701", + "ps_trigger_gpio_num":{ "type": "flt", "ver": "0", + "data": "127.0" + }, + "ps_gpio_is_chip_pin":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "als_trigger_gpio_num":{ "type": "flt", "ver": "0", + "data": "127.0" + }, + "als_gpio_is_chip_pin":{ "type": "flt", "ver": "0", + "data": "1.0" + }, + "gpio_delay_us":{ "type": "flt", "ver": "0", + "data": "4738.0" + }, + "gpio_width_us":{ "type": "flt", "ver": "0", + "data": "20.0" + }, + "ps_vsync_trigger_count":{ "type": "flt", "ver": "0", + "data": "2.0" + }, + "als_vsync_trigger_count":{ "type": "flt", "ver": "0", + "data": "1.0" + } + }, + ".60hz_max_cmp_factor":{ + "owner": "sns_tcs3701", + "max_c":{ "type": "flt", "ver": "0", + "data": "999.0" + }, + "max_r":{ "type": "flt", "ver": "0", + "data": "999.0" + }, + "max_g":{ "type": "flt", "ver": "0", + "data": "999.0" + }, + "max_b":{ "type": "flt", "ver": "0", + "data": "999.0" + } + }, + ".90hz_max_cmp_factor":{ + "owner": "sns_tcs3701", + "max_c":{ "type": "flt", "ver": "0", + "data": "999.0" + }, + "max_r":{ "type": "flt", "ver": "0", + "data": "999.0" + }, + "max_g":{ "type": "flt", "ver": "0", + "data": "999.0" + }, + "max_b":{ "type": "flt", "ver": "0", + "data": "999.0" + } + }, + ".60hz_step_cmp_factor":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "0", + "data": "0.263804509" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.14896641" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.090213093" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.059493222" + }, + "4":{ "type": "flt", "ver": "0", + "data": "93.82638889" + }, + "5":{ "type": "flt", "ver": "0", + "data": "54.57777778" + }, + "6":{ "type": "flt", "ver": "0", + "data": "28.47638889" + }, + "7":{ "type": "flt", "ver": "0", + "data": "16.82777778" + } + }, + ".90hz_step_cmp_factor":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "0", + "data": "0.266851941" + }, + "1":{ "type": "flt", "ver": "0", + "data": "0.150815359" + }, + "2":{ "type": "flt", "ver": "0", + "data": "0.091553052" + }, + "3":{ "type": "flt", "ver": "0", + "data": "0.060312809" + }, + "4":{ "type": "flt", "ver": "0", + "data": "89.19034091" + }, + "5":{ "type": "flt", "ver": "0", + "data": "54.35795455" + }, + "6":{ "type": "flt", "ver": "0", + "data": "28.27556818" + }, + "7":{ "type": "flt", "ver": "0", + "data": "18.61647727" + } + }, + ".60hz_panel2_step_cmp_factor":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "1", + "data": "0.32775" + }, + "1":{ "type": "flt", "ver": "1", + "data": "0.193637" + }, + "2":{ "type": "flt", "ver": "1", + "data": "0.113083" + }, + "3":{ "type": "flt", "ver": "1", + "data": "0.05395" + }, + "4":{ "type": "flt", "ver": "1", + "data": "146.4489" + }, + "5":{ "type": "flt", "ver": "1", + "data": "89.40625" + }, + "6":{ "type": "flt", "ver": "1", + "data": "54.19602" + }, + "7":{ "type": "flt", "ver": "1", + "data": "21.21875" + } + }, + ".90hz_panel2_step_cmp_factor":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "1", + "data": "0.327277" + }, + "1":{ "type": "flt", "ver": "1", + "data": "0.193995" + }, + "2":{ "type": "flt", "ver": "1", + "data": "0.112838" + }, + "3":{ "type": "flt", "ver": "1", + "data": "0.053904" + }, + "4":{ "type": "flt", "ver": "1", + "data": "147.0085" + }, + "5":{ "type": "flt", "ver": "1", + "data": "90.30114" + }, + "6":{ "type": "flt", "ver": "1", + "data": "54.14489" + }, + "7":{ "type": "flt", "ver": "1", + "data": "21.4517" + } + }, + ".60hz_panel3_step_cmp_factor":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "1", + "data": "0.32775" + }, + "1":{ "type": "flt", "ver": "1", + "data": "0.193637" + }, + "2":{ "type": "flt", "ver": "1", + "data": "0.113083" + }, + "3":{ "type": "flt", "ver": "1", + "data": "0.05395" + }, + "4":{ "type": "flt", "ver": "1", + "data": "146.4489" + }, + "5":{ "type": "flt", "ver": "1", + "data": "89.40625" + }, + "6":{ "type": "flt", "ver": "1", + "data": "54.19602" + }, + "7":{ "type": "flt", "ver": "1", + "data": "21.21875" + } + }, + ".90hz_panel3_step_cmp_factor":{ + "owner": "sns_tcs3701", + "0":{ "type": "flt", "ver": "1", + "data": "0.327277" + }, + "1":{ "type": "flt", "ver": "1", + "data": "0.193995" + }, + "2":{ "type": "flt", "ver": "1", + "data": "0.112838" + }, + "3":{ "type": "flt", "ver": "1", + "data": "0.053904" + }, + "4":{ "type": "flt", "ver": "1", + "data": "147.0085" + }, + "5":{ "type": "flt", "ver": "1", + "data": "90.30114" + }, + "6":{ "type": "flt", "ver": "1", + "data": "54.14489" + }, + "7":{ "type": "flt", "ver": "1", + "data": "21.4517" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sm8250_vl53l1_tof_0.json b/proprietary/vendor/etc/sensors/config/sm8250_vl53l1_tof_0.json new file mode 100644 index 0000000..6c89a5e --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sm8250_vl53l1_tof_0.json @@ -0,0 +1,588 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "339", "356"] + }, + "vl53l1_tof_platform":{ + "owner": "sns_vl53l1_tof", + ".config":{ + "owner": "sns_vl53l1_tof", + "bus_type":{ "type": "int", "ver": "0", + "data": "0" + }, + "bus_instance":{ "type": "int", "ver": "0", + "data": "5" + }, + "slave_config":{ "type": "int", "ver": "0", + "data": "41" + }, + "min_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "max_bus_speed_khz":{ "type": "int", "ver": "0", + "data": "400" + }, + "reg_addr_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "dri_irq_num":{ "type": "int", "ver": "1", + "data": "126" + }, + "irq_pull_type":{ "type": "int", "ver": "0", + "data": "2" + }, + "irq_is_chip_pin":{ "type": "int", "ver": "0", + "data": "1" + }, + "irq_drive_strength":{ "type": "int", "ver": "0", + "data": "0" + }, + "irq_trigger_type":{ "type": "int", "ver": "0", + "data": "1" + }, + "num_rail":{ "type": "int", "ver": "0", + "data": "2" + }, + "rail_on_state":{ "type": "int", "ver": "0", + "data": "2" + }, + "vdd_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vdd" + }, + "vddio_rail":{ "type": "str", "ver": "0", + "data": "/pmic/client/sensor_vddio" + }, + "rigid_body_type":{ "type": "int", "ver": "0", + "data": "0" + } + }, + ".cam":{ + "owner": "sns_vl53l1_tof", + ".config":{ + "owner": "sns_vl53l1_tof", + "reflectance":{ "type": "flt", "ver": "0", + "data": "5.0" + }, + "pram1":{ "type": "flt", "ver": "2", + "data": "3.0" + } + } + }, + ".prox":{ + "owner": "sns_vl53l1_tof", + ".fac_cal":{ + "owner": "sns_vl53l1_tof", + "near_threshold":{ "type": "flt", "ver": "0", + "data": "38.0" + }, + "far_threshold":{ "type": "flt", "ver": "0", + "data": "45.0" + } + }, + ".customer":{ + "owner": "sns_vl53l1_tof", + "spad_enables_ref_0":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "spad_enables_ref_1":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "spad_enables_ref_2":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "spad_enables_ref_3":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "spad_enables_ref_4":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "spad_enables_ref_5":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "ref_en_start_select":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "num_requested_ref_spads":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "ref_location":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "offset_kcps":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "x_plane_gradient_kcps":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "y_plane_gradient_kcps":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "total_rate_target_mcps":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p2p_offset_mm":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "inner_offset_mm":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "outer_offset_mm":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".fmt_dmax_cal":{ + "owner": "sns_vl53l1_tof", + "actual_effective_spads":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "peak_signal_count_rate_mcps":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "distance_mm":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "ref_reflectance_pc":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "coverglass_transmission":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".cust_dmax_cal":{ + "owner": "sns_vl53l1_tof", + "actual_effective_spads":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "peak_signal_count_rate_mcps":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "distance_mm":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "ref_reflectance_pc":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "coverglass_transmission":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".add_off_cal_data":{ + "owner": "sns_vl53l1_tof", + "inner_actual_effective_spads":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "outer_actual_effective_spads":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "inner_peak_signal_count_rtn_mcps":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "outer_peak_signal_count_rtn_mcps":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".optical_centre":{ + "owner": "sns_vl53l1_tof", + "x_centre":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "y_centre":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".xtalkhisto":{ + "owner": "sns_vl53l1_tof", + ".xtalk_shape":{ + "owner": "sns_vl53l1_tof", + "zone_id":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "time_stamp":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_022":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_023":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_024":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "phasecal_result_reference_phase":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "phasecal_result_vcsel_start":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "cal_config_vcsel_start":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "vcsel_width":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_019":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "zero_distance_phase":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".xtalk_shape_bin_data":{ + "owner": "sns_vl53l1_tof", + "data0" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data1" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data2" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data3" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data4" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data5" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data6" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data7" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data8" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data9" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data10" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data11" :{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".xtalk_hist_removed" :{ + "owner": "sns_vl53l1_tof", + "cfg_device_state":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "rd_device_state":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "zone_id":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "time_stamp":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_022":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_023":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_024":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "number_of_ambient_bins":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "interrupt_status":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "range_status":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "report_status":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "stream_count":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "dss_actual_effective_spads":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "phasecal_result_reference_phase":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "phasecal_result_vcsel_start":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "cal_config_vcsel_start":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "vcsel_width":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_009":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_019":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "total_periods_elapsed":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "peak_duration_us":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "woi_duration_us":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "min_bin_value":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "max_bin_value":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "zero_distance_phase":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "number_of_ambient_samples":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "ambient_events_sum":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "p_004":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "user_roi_centre_spad":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "user_roi_requested_global_xy_size":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".xtalk_hist_removed_bin_seq":{ + "owner": "sns_vl53l1_tof", + "data0" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data1" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data2" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data3" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data4" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data5" :{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".xtalk_hist_removed_bin_rep":{ + "owner": "sns_vl53l1_tof", + "data0" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data1" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data2" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data3" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data4" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data5" :{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".xtalk_hist_removed_bin_data":{ + "owner": "sns_vl53l1_tof", + "data0" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data1" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data2" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data3" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data4" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data5" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data6" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data7" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data8" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data9" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data10" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data11" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data12" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data13" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data14" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data15" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data16" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data17" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data18" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data19" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data20" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data21" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data22" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data23" :{ + "type": "flt", "ver": "0", "data": "0.0" + } + } + }, + ".gain_cal":{ + "owner": "sns_vl53l1_tof", + "standard_ranging_gain_factor":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "histogram_ranging_gain_factor":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".cal_peak_rate_map":{ + "owner": "sns_vl53l1_tof", + "cal_distance_mm":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "cal_reflectance_pc":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "max_samples":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "width":{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "height":{ + "type": "flt", "ver": "0", "data": "0.0" + } + }, + ".cal_peak_rate_map_mcps":{ + "owner": "sns_vl53l1_tof", + "data0" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data1" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data2" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data3" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data4" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data5" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data6" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data7" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data8" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data9" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data10" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data11" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data12" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data13" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data14" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data15" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data16" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data17" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data18" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data19" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data20" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data21" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data22" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data23" :{ + "type": "flt", "ver": "0", "data": "0.0" + }, + "data24" :{ + "type": "flt", "ver": "0", "data": "0.0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_amd.json b/proprietary/vendor/etc/sensors/config/sns_amd.json new file mode 100644 index 0000000..51c2872 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_amd.json @@ -0,0 +1,15 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "305", "321", "336", "339", "340", "347", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_amd": { + "owner": "sns_amd", + "param1": {"ver": "0","type": "flt","data": "0.06" + }, + "param2": {"ver": "0","type": "flt","data": "0.5" + }, + "sample_rate": {"ver": "0","type": "flt", "data": "10.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_amd_sw_disabled.json b/proprietary/vendor/etc/sensors/config/sns_amd_sw_disabled.json new file mode 100644 index 0000000..a80ce17 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_amd_sw_disabled.json @@ -0,0 +1,11 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "CMI"], + "soc_id": ["339", "340", "356", "361"] + }, + "sns_amd": { + "owner": "sns_amd", + "enabled": {"ver": "0","type": "int", "data": "0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_amd_sw_enabled.json b/proprietary/vendor/etc/sensors/config/sns_amd_sw_enabled.json new file mode 100644 index 0000000..f58237c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_amd_sw_enabled.json @@ -0,0 +1,11 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"], + "soc_id": ["291", "246", "305", "321", "336", "347", "341", "355", "360", "365", "366", "393", "394", "400"] + }, + "sns_amd": { + "owner": "sns_amd", + "enabled": {"ver": "0","type": "int", "data": "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_aod.json b/proprietary/vendor/etc/sensors/config/sns_aod.json new file mode 100644 index 0000000..8eb9c3e --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_aod.json @@ -0,0 +1,28 @@ +{ + "config": { + "hw_platform": [ + "MTP", "Dragon", "Surf", "CMI" + ], + "soc_id": [ + "291", "246", "305", "321", "339", "356" + ] + }, + "sns_aod": { + "owner": "sns_aod", + ".params":{ + "owner": "sns_aod", + "param1": { + "ver": "1", "type": "flt", "data": "300" + }, + "param2": { + "ver": "1", "type": "flt", "data": "2000" + }, + "param3": { + "ver": "1", "type": "flt", "data": "3000" + }, + "param4": { + "ver": "0", "type": "flt", "data": "0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_aont.json b/proprietary/vendor/etc/sensors/config/sns_aont.json new file mode 100644 index 0000000..ed52420 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_aont.json @@ -0,0 +1,10 @@ +{ + "config":{ + }, + "sns_aont": { + "owner": "sns_aont", + "aont_enable":{ "type": "int", "ver": "0", + "data": "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_ccd.json b/proprietary/vendor/etc/sensors/config/sns_ccd.json new file mode 100644 index 0000000..4f449e6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_ccd.json @@ -0,0 +1,148 @@ +{ + "config": { + "hw_platform": ["MTP","QRD","Dragon","Surf", "HDK", "CMI"], + "soc_id": ["339", "340", "356", "361"] + }, + "ccd_amd": { + "owner": "sns_ccd", + "h2": { "ver": "0","type": "int", + "data": "50"} + }, + "ccd_ttw": { + "owner": "sns_ccd", + "te0_ratecfg": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_xmd_win_len_samp": { "ver": "0","type": "int", + "data": "0x4" }, + "te0_xmd_threshhold1": { "ver": "0","type": "int", + "data": "0x4B00" }, + "te0_xmd_threshhold2": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_xmd_hysteresis1": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_xmd_hysteresis2": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_tilt_win_sum_shift": { "ver": "0","type": "int", + "data": "0x2" }, + "te0_tr_win_len_samples": { "ver": "0","type": "int", + "data": "0xD" }, + "te0_tr_angle_cosine_sq": { "ver": "0","type": "int", + "data": "0x327" }, + "te0_tr_decimate_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_tr_hysteresis": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_dt_angle_cosine_sq": { "ver": "0","type": "int", + "data": "0x2D0" }, + "te0_dt_ref_gravity_latch": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori0_x_th_lower": { "ver": "0","type": "int", + "data": "0x1DED" }, + "te0_ori0_x_th_upper": { "ver": "0","type": "int", + "data": "0x0213" }, + "te0_ori0_y_th_lower": { "ver": "0","type": "int", + "data": "0x1B1D" }, + "te0_ori0_y_th_upper": { "ver": "0","type": "int", + "data": "0x04E3" }, + "te0_ori0_z_th_lower": { "ver": "0","type": "int", + "data": "0x1B44" }, + "te0_ori0_z_th_upper": { "ver": "0","type": "int", + "data": "0x4D5" }, + "te0_ori0_x_th_lower_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_x_th_upper_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_y_th_lower_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_y_th_upper_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_z_th_lower_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_z_th_upper_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_ori0_delay": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_x_th_lower": { "ver": "0","type": "int", + "data": "0x1C88" }, + "te0_ori1_x_th_upper": { "ver": "0","type": "int", + "data": "0x377" }, + "te0_ori1_y_th_lower": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_y_th_upper": { "ver": "0","type": "int", + "data": "0xF00" }, + "te0_ori1_z_th_lower": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_z_th_upper": { "ver": "0","type": "int", + "data": "0xA00" }, + "te0_ori1_x_th_lower_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_x_th_upper_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_y_th_lower_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_y_th_upper_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_z_th_lower_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_z_th_upper_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_ori1_delay": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_xmd_cfg1_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd0_xmd_cfg2_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_tr_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd0_ori0_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd0_xmd_cfg1_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_xmd_cfg2_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_tr_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_ori_cfg1_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_xmd_cfg1_inv": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd0_xmd_cfg2_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_tr_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_ori0_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_delay": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd0_output_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_xmd_cfg1_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_xmd_cfg2_en": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_tr_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd1_ori1_en": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd1_xmd_cfg1_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_xmd_cfg2_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_tr_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_ori_cfg1_posthyst": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_xmd_cfg1_inv": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd1_xmd_cfg2_inv": { "ver": "0","type": "int", + "data": "0x1" }, + "te0_csd1_tr_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_ori1_inv": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_delay": { "ver": "0","type": "int", + "data": "0x0" }, + "te0_csd1_output_inv": { "ver": "0","type": "int", + "data": "0x0" } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_ccd_v2_walk.json b/proprietary/vendor/etc/sensors/config/sns_ccd_v2_walk.json new file mode 100644 index 0000000..79351d1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_ccd_v2_walk.json @@ -0,0 +1,17 @@ +{ + "config": { + "hw_platform": ["MTP","QRD","Dragon","Surf", "HDK"], + "soc_id": ["339", "340", "361"] + }, + "ccd_walk": { + "owner": "sns_ccd", + "xct": { "ver": "0","type": "int", + "data": "0xA" }, + "mls": { "ver": "0","type": "int", + "data": "0x6" }, + "mps": { "ver": "0","type": "int", + "data": "0x4" }, + "hmps": { "ver": "0","type": "int", + "data": "0x4" } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_ccd_v3_walk.json b/proprietary/vendor/etc/sensors/config/sns_ccd_v3_walk.json new file mode 100644 index 0000000..3e42fc5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_ccd_v3_walk.json @@ -0,0 +1,39 @@ +{ + "config": { + "hw_platform": ["MTP", "Surf", "RCM", "QRD", "CMI"], + "soc_id": ["356"] + }, + "ccd_walk": { + "owner": "sns_ccd", + "xct": { "ver": "0","type": "int", + "data": "0xA" }, + "mls": { "ver": "0","type": "int", + "data": "0x2" }, + "mps": { "ver": "0","type": "int", + "data": "0x4" }, + "hmps": { "ver": "0","type": "int", + "data": "0x2" }, + "hwln1": { "ver": "0","type": "int", + "data": "0xA" }, + "mwln3": { "ver": "0","type": "int", + "data": "0xA" }, + "hpe0": { "ver": "0","type": "int", + "data": "0x1" }, + "lcb0": { "ver": "0","type": "int", + "data": "0xE832" }, + "lcb1": { "ver": "0","type": "int", + "data": "0x3F8" }, + "lcb2": { "ver": "0","type": "int", + "data": "0x8E1" }, + "lcb3": { "ver": "0","type": "int", + "data": "0x37B" }, + "lcb4": { "ver": "0","type": "int", + "data": "0x1E6" }, + "lcb5": { "ver": "0","type": "int", + "data": "0x2ADF" }, + "lcb6": { "ver": "0","type": "int", + "data": "0xF9A" }, + "ltt": { "ver": "0","type": "int", + "data": "0xFCFC" } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_cm.json b/proprietary/vendor/etc/sensors/config/sns_cm.json new file mode 100644 index 0000000..d132d5d --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_cm.json @@ -0,0 +1,18 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "347", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, +"sns_cm":{ + "owner": "sns_cm", + "heap_size":{ "type": "int", "ver": "0", + "data": "1572864" + }, + "max_batch_disabled":{ "type": "int", "ver": "0", + "data": "0" + }, + "min_batch_period_thrshld_ms":{ "type": "int", "ver": "0", + "data": "10" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_dae.json b/proprietary/vendor/etc/sensors/config/sns_dae.json new file mode 100644 index 0000000..9fd0d37 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_dae.json @@ -0,0 +1,12 @@ +{ + "config":{ + "hw_platform": ["MTP","QRD","Dragon","Surf", "HDK", "CMI"], + "soc_id": ["339", "356", "361"] + }, + "dae":{ + "owner": "sns_dae", + "use_sdc":{ "type": "int", "ver": "0", + "data": "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_dbtap.json b/proprietary/vendor/etc/sensors/config/sns_dbtap.json new file mode 100644 index 0000000..d787293 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_dbtap.json @@ -0,0 +1,55 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "339", "356"] + }, + "dbtap":{ + "owner": "sns_dbtap", + ".times":{ + "owner": "sns_dbtap", + "ALGO_DBP_maxTimeForThree":{ + "ver": "0", "type": "flt", "data": "400" + } + }, + ".GroVal":{ + "owner": "sns_dbtap", + "ALGO_DBP_minGro":{ + "ver": "0", "type": "flt", "data": "0.2" + }, + "ALGO_DBP_minGroPeak_Pos":{ + "ver": "0", "type": "flt", "data": "-0.04" + }, + "ALGO_DBP_maxGroPeak_Pos":{ + "ver": "0", "type": "flt", "data": "0.04" + } + }, + ".AccVal":{ + "owner": "sns_dbtap", + "ALGO_DBP_AccSHOLD":{ + "ver": "0", "type": "flt", "data": "0.12" + }, + "ALGO_DBP_minAcc":{ + "ver": "0", "type": "flt", "data": "0.2" + }, + "ALGO_DBP_AccSlope":{ + "ver": "0", "type": "flt", "data": "0.23" + } + }, + ".Accxy":{ + "owner": "sns_dbtap", + "ALGO_DBP_maxAccx":{ + "ver": "0", "type": "flt", "data": "5" + }, + "ALGO_DBP_maxAccy":{ + "ver": "0", "type": "flt", "data": "3" + }, + "ALGO_DBP_deltaAccx":{ + "ver": "0", "type": "flt", "data": "6" + }, + "ALGO_DBP_deltaAccy":{ + "ver": "0", "type": "flt", "data": "5" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_device_orient.json b/proprietary/vendor/etc/sensors/config/sns_device_orient.json new file mode 100644 index 0000000..5e9107c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_device_orient.json @@ -0,0 +1,37 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_device_orient_platform": { + "owner": "sns_device_orient", + ".config":{ + "owner": "sns_device_orient", + "param0": { + "type": "int", "ver": "0", "data": "4" + }, + "param1": { + "type": "flt", "ver": "0", "data": "20.0" + }, + "param2": { + "type": "flt", "ver": "0", "data": "0.25" + }, + "param3": { + "type": "flt", "ver": "0", "data": "70.0" + }, + "param4": { + "type": "flt", "ver": "0", "data": "45.0" + }, + "param5": { + "type": "flt", "ver": "0", "data": "3.0" + }, + "param6": { + "type": "flt", "ver": "0", "data": "15.0" + }, + "param7": { + "type": "int", "ver": "0", "data": "1" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_diag_filter.json b/proprietary/vendor/etc/sensors/config/sns_diag_filter.json new file mode 100644 index 0000000..634bc7a --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_diag_filter.json @@ -0,0 +1,354 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "IOT", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "347", "355", "356", "360", "361", "352", "365", "366", "393", "394", "400"] + }, + + "sns_diag_config": + { + "owner":"diag_filter_sensor", + "qdss": + { + "type" : "int", + "ver" : "0", + "data" : "0" + } + }, + + "sns_diag_sensor_datatype": + { + "owner":"diag_filter_sensor", + + "geomag_rv": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "game_rv": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "gravity": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "cm": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "accel": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "humidity": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ambient_temperature": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "sensor_temperature": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "motion_detect": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "gyro": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ultra_violet": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "pressure": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "mag": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "offbody_detect": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "thermopile": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ambient_light": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "hall": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "proximity": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "rgb": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "test": + { + "type" : "int", + "ver" : "0", + "data" : "0" + }, + "flush_test": + { + "type" : "int", + "ver" : "0", + "data" : "0" + }, + "md_test": + { + "type" : "int", + "ver" : "0", + "data" : "0" + }, + "da_test": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "amd": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "rmd": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "facing": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "gyro_cal": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "oem1": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "mag_cal": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "resampler": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "smd": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "basic_gestures": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "multishake": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "bring_to_ear": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "cmc": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "dpc": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "distance_bound": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "gyro_rot_matrix": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "fmv": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "rotv": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "pedometer": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "device_orient": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "tilt": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "tilt_to_wake": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "heart_rate": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ppg": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "wrist_tilt_gesture": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "pedometer_wrist": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "data_acquisition_engine": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ccd_walk": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ccd_ttw": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "ccd_hw": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "threshold": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "sar": + { + "type" : "int", + "ver" : "0", + "data" : "1" + }, + "radar": + { + "type" : "int", + "ver" : "0", + "data" : "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_dpc.json b/proprietary/vendor/etc/sensors/config/sns_dpc.json new file mode 100644 index 0000000..7b16eec --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_dpc.json @@ -0,0 +1,27 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_dpc": { + "owner": "sns_dpc", + "param1": { + "ver": "0", "type": "flt", "data": "0.5" + }, + "param2": { + "ver": "0", "type": "flt", "data": "0.02" + }, + "param3": { + "ver": "0", "type": "flt", "data": "0.04" + }, + "param4": { + "ver": "0", "type": "flt", "data": "7.5" + }, + "param5": { + "ver": "0", "type": "flt", "data": "0.1" + }, + "param6": { + "ver": "0", "type": "flt", "data": "0.1746" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_fmv.json b/proprietary/vendor/etc/sensors/config/sns_fmv.json new file mode 100644 index 0000000..01233ea --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_fmv.json @@ -0,0 +1,52 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_fmv_platform": { + "owner": "sns_fmv", + ".config":{ + "owner": "sns_fmv", + "accuracy_unknown": { "type": "int", "ver": "0", + "data": "3000" + }, + "accuracy_abs_rest": { "type": "int", "ver": "0", + "data": "250" + }, + "accuracy_rel_rest": { "type": "int", "ver": "0", + "data": "1500" + }, + "accuracy_motion": { "type": "int", "ver": "0", + "data": "3000" + }, + "gyro_gap_thresh": { "type": "int", "ver": "0", + "data": "501" + }, + "mag_innov": { "type": "flt", "ver": "0", + "data": "9.0" + }, + "mag_sample_gap_fac": { "type": "flt", "ver": "0", + "data": "1.0" + }, + "tyro_thresh_for_zupt": { "type": "flt", "ver": "0", + "data": "0.001" + }, + "sensor_rpt_rate": { "type": "flt", "ver": "0", + "data": "1.0" + }, + "def_sample_rate": { "type": "flt", "ver": "0", + "data": "5.0" + }, + "amd_int_cfg_param1": { "type": "flt", "ver": "0", + "data": "0.06" + }, + "amd_int_cfg_param2": { "type": "flt", "ver": "0", + "data": "0.5" + }, + "amd_int_cfg_param5": { "type": "flt", "ver": "0", + "data": "0.16" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_geomag_rv.json b/proprietary/vendor/etc/sensors/config/sns_geomag_rv.json new file mode 100644 index 0000000..8f0014a --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_geomag_rv.json @@ -0,0 +1,28 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_geomag_rv": { + "owner": "sns_geomag_rv", + ".config": { + "owner": "sns_geomag_rv", + "gamerv_cfg_param1": {"type": "int","ver": "0","data": "300" + }, + "gamerv_cfg_param2": {"type": "int","ver": "0","data": "300" + }, + "fusion_min_samp_rate": {"type": "flt","ver": "0","data": "1.0" + }, + "gamerv_def_rpt_rate": {"type": "flt","ver": "0","data": "1.0" + }, + "gamerv_def_sample_rate": {"type": "flt","ver": "0","data": "5.0" + }, + "amd_int_cfg_param1": {"type": "flt","ver": "0","data": "0.06" + }, + "amd_int_cfg_param2": {"type": "flt","ver": "0","data": "0.5" + }, + "game_rv_c_sys": {"type": "int","ver": "0","data": "0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_gyro_cal.json b/proprietary/vendor/etc/sensors/config/sns_gyro_cal.json new file mode 100644 index 0000000..d267db5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_gyro_cal.json @@ -0,0 +1,24 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "347", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_gyro_cal_config": { + "owner": "sns_gyro_cal", + "calibration_period": {"type": "int","ver": "0", + "data": "60" + }, + "num_samples": {"type": "int","ver": "0", + "data": "32" + }, + "variance_threshold": {"type": "flt","ver": "0", + "data": "0.00025" + }, + "sample_rate": {"type": "flt","ver": "0", + "data": "10.0" + }, + "bias_threshold": {"type": "flt","ver": "0", + "data": "0.20" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_mag_cal.json b/proprietary/vendor/etc/sensors/config/sns_mag_cal.json new file mode 100644 index 0000000..d45ea7c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_mag_cal.json @@ -0,0 +1,15 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "HDK", "IDP", "CMI"], + "soc_id": ["339", "355", "356", "361", "365", "366", "394", "400"] + }, + "sns_mag_cal_config": { + "owner": "sns_mag_cal", + "anomaly_threshold": {"type": "flt","ver": "0", + "data": "200.0" + }, + "sample_rate": { "type": "flt", "ver": "0", + "data": "25.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_mag_cal_legacy.json b/proprietary/vendor/etc/sensors/config/sns_mag_cal_legacy.json new file mode 100644 index 0000000..e888b4b --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_mag_cal_legacy.json @@ -0,0 +1,12 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "HDK", "IDP"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "341", "360", "393"] + }, + "sns_mag_cal_config": { + "owner": "sns_mag_cal", + "anomaly_threshold": {"type": "flt","ver": "0", + "data": "200.0" + }, + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_nonui.json b/proprietary/vendor/etc/sensors/config/sns_nonui.json new file mode 100644 index 0000000..d3a389c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_nonui.json @@ -0,0 +1,34 @@ +{ + "config": { + "hw_platform": [ + "MTP", "Dragon", "Surf", "CMI" + ], + "soc_id": [ + "291", "246", "305", "321", "339", "356" + ] + }, + "sns_nonui": { + "owner": "sns_nonui", + ".params":{ + "owner": "sns_nonui", + "param1": { + "ver": "0", "type": "flt", "data": "-350" + }, + "param2": { + "ver": "0", "type": "flt", "data": "-940" + }, + "param3": { + "ver": "0", "type": "flt", "data": "-1020" + }, + "param4": { + "ver": "0", "type": "flt", "data": "200" + }, + "param5": { + "ver": "0", "type": "flt", "data": "0" + }, + "param6": { + "ver": "1", "type": "flt", "data": "5" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_oem13.json b/proprietary/vendor/etc/sensors/config/sns_oem13.json new file mode 100644 index 0000000..6b4ab12 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_oem13.json @@ -0,0 +1,43 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "339", "356"] + }, + "sns_oem13":{ + "owner": "sns_oem13", + ".rotate_angle":{ + "owner": "sns_oem13", + "OEM13_yawChange_Threshold":{ + "ver": "0", "type": "flt", "data": "30" + }, + "OEM13_PitchAngle_Change":{ + "ver": "0", "type": "flt", "data": "30" + }, + "OEM13_ScreenAngle_Threshold":{ + "ver": "0", "type": "flt", "data": "30" + }, + "OEM13_RollAngle_Threshold":{ + "ver": "0", "type": "flt", "data": "30" + } + }, + ".Light":{ + "owner": "sns_oem13", + "OEM13_LightMax":{ + "ver": "0", "type": "flt", "data": "90" + }, + "OEM13_Light_new":{ + "ver": "0", "type": "flt", "data": "10" + }, + "OEM13_Light_old":{ + "ver": "0", "type": "flt", "data": "15" + }, + "OEM13_light_delta":{ + "ver": "0", "type": "flt", "data": "10" + }, + "OEM13_LightUp":{ + "ver": "1", "type": "flt", "data": "90" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_pedometer.json b/proprietary/vendor/etc/sensors/config/sns_pedometer.json new file mode 100644 index 0000000..dcdd9dd --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_pedometer.json @@ -0,0 +1,33 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_pedometer": { + "owner": "sns_pedometer", + "param8": { + "ver": "0", "type": "flt", "data": "3.0" + }, + "param7": { + "ver": "0", "type": "flt", "data": "0.5" + }, + "param6": { + "ver": "0", "type": "flt", "data": "4.0" + }, + "param5": { + "ver": "0", "type": "flt", "data": "0.2" + }, + "param4": { + "ver": "0", "type": "flt", "data": "0.02" + }, + "param3": { + "ver": "0", "type": "flt", "data": "0.1" + }, + "param2": { + "ver": "0", "type": "flt", "data": "0.5" + }, + "param1": { + "ver": "0", "type": "flt", "data": "0.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_rmd.json b/proprietary/vendor/etc/sensors/config/sns_rmd.json new file mode 100644 index 0000000..8c29174 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_rmd.json @@ -0,0 +1,24 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_rmd": { + "owner": "sns_rmd", + "param4": { + "ver": "0", "type": "flt", "data": "0.2" + }, + "param3": { + "ver": "0", "type": "flt", "data": "5" + }, + "param2": { + "ver": "0", "type": "flt", "data": "0.2" + }, + "param1": { + "ver": "0", "type": "flt", "data": "173" + }, + "sample_rate": { + "ver": "0", "type": "flt", "data": "30.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_rotv.json b/proprietary/vendor/etc/sensors/config/sns_rotv.json new file mode 100644 index 0000000..7072a1a --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_rotv.json @@ -0,0 +1,22 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_rotv_platform": { + "owner": "sns_rotv", + ".config":{ + "owner": "sns_rotv", + "min_report_rate": { + "type": "flt", "ver": "0", "data": "1.0" + }, + "coordinate_sys": { + "type": "int", "ver": "0", "data": "0" + }, + "sample_rate": { + "type": "flt", "ver": "0", "data": "5.0" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_sar_algo.json b/proprietary/vendor/etc/sensors/config/sns_sar_algo.json new file mode 100644 index 0000000..976e715 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_sar_algo.json @@ -0,0 +1,61 @@ +{ + "config": { + "hw_platform": [ + "MTP", "Dragon", "Surf", "CMI" + ], + "soc_id": [ + "291", "246", "305", "321", "339", "356" + ] + }, + "sar_algo": { + "owner": "sar_algo", + ".params":{ + "owner": "sar_algo", + "threshold1": { + "ver": "2", "type": "flt", "data": "200" + }, + "threshold2": { + "ver": "2", "type": "flt", "data": "2700" + }, + "threshold3": { + "ver": "2", "type": "flt", "data": "11200" + }, + "threshold4": { + "ver": "2", "type": "flt", "data": "11200" + }, + "threshold5": { + "ver": "2", "type": "flt", "data": "11200" + }, + "use_acc_gyro": { + "ver": "2", "type": "flt", "data": "0" + }, + "use_qmi": { + "ver": "2", "type": "flt", "data": "0" + } + }, + ".params_reg2":{ + "owner": "sar_algo", + "threshold1": { + "ver": "2", "type": "flt", "data": "3000" + }, + "threshold2": { + "ver": "2", "type": "flt", "data": "600" + }, + "threshold3": { + "ver": "2", "type": "flt", "data": "1500" + }, + "threshold4": { + "ver": "2", "type": "flt", "data": "500" + } + }, + ".params_step":{ + "owner": "sar_algo", + "usestep": { + "ver": "0", "type": "flt", "data": "0" + }, + "stepcount": { + "ver": "0", "type": "flt", "data": "100" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_screen_down.json b/proprietary/vendor/etc/sensors/config/sns_screen_down.json new file mode 100644 index 0000000..b5a6b94 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_screen_down.json @@ -0,0 +1,36 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "339", "356"] + }, + "sns_screen_down": { + "owner": "sns_screen_down", + ".params":{ + "owner": "sns_screen_down", + "param1": { + "ver": "1", "type": "flt", "data": "-60" + }, + "param2": { + "ver": "1", "type": "flt", "data": "3" + }, + "param3": { + "ver": "1", "type": "flt", "data": "5" + }, + "param4": { + "ver": "1", "type": "flt", "data": "0" + } + }, + ".params1":{ + "owner": "sns_screen_down", + "param1": { + "ver": "1", "type": "flt", "data": "-35" + }, + "param2": { + "ver": "1", "type": "flt", "data": "-90" + }, + "param3": { + "ver": "1", "type": "flt", "data": "5" + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_smd.json b/proprietary/vendor/etc/sensors/config/sns_smd.json new file mode 100644 index 0000000..610e481 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_smd.json @@ -0,0 +1,39 @@ +{ + "config": { + "hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "347", "394", "400"] + }, + "sns_smd": { + "owner": "sns_smd", + "sample_rate": { + "ver": "0", "type": "flt", "data": "10.0" + }, + "accel_window_time": { + "ver": "0", "type": "int", "data": "5" + }, + "detect_threshold": { + "ver": "0", "type": "flt", "data": "0.158113883" + }, + "self_transition_prob_sm": { + "ver": "0", "type": "flt", "data": "0.9" + }, + "variable_decision_latency": { + "ver": "0", "type": "int", "data": "1" + }, + "max_latency": { + "ver": "0", "type": "int", "data": "10" + }, + "step_count_thresh": { + "ver": "0", "type": "int", "data": "5" + }, + "step_window_time": { + "ver": "0", "type": "int", "data": "3" + }, + "eigen_thresh": { + "ver": "0", "type": "flt", "data": "6.0" + }, + "accel_norm_std_thresh": { + "ver": "0", "type": "flt", "data": "2.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_tilt.json b/proprietary/vendor/etc/sensors/config/sns_tilt.json new file mode 100644 index 0000000..5f16a94 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_tilt.json @@ -0,0 +1,17 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "HDK", "IDP", "CMI"], + "soc_id": ["291", "246", "305", "321", "336", "339", "340", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400"] + }, + "sns_tilt": { + "owner": "sns_tilt", + "sample_rate": {"ver": "0","type": "flt","data": "10.0" + }, + "angle_threshold": {"ver": "0","type": "flt","data": "0.61086524" + }, + "init_accel_window_time": {"ver": "0","type": "flt", "data": "1.0" + }, + "accel_window_time": {"ver": "0","type": "flt", "data": "2.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json b/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json new file mode 100644 index 0000000..3ec65d0 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_tilt_sw_disabled.json @@ -0,0 +1,11 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "HDK", "QRD", "CMI"], + "soc_id": ["339", "340", "356", "361"] + }, + "sns_tilt": { + "owner": "sns_tilt", + "enabled": {"ver": "0","type": "int", "data": "0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json b/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json new file mode 100644 index 0000000..725c1ac --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_tilt_sw_enabled.json @@ -0,0 +1,11 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "HDK", "IDP", "QRD"], + "soc_id": ["291", "246", "305", "321", "336", "341", "355", "360", "365", "366", "393", "394", "400"] + }, + "sns_tilt": { + "owner": "sns_tilt", + "enabled": {"ver": "0","type": "int", "data": "1" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_tilt_to_wake.json b/proprietary/vendor/etc/sensors/config/sns_tilt_to_wake.json new file mode 100644 index 0000000..7259209 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_tilt_to_wake.json @@ -0,0 +1,47 @@ +{ + "config": { + "hw_platform": [ "MTP", "Dragon", "Surf", "IDP", "CMI" + ], + "soc_id": ["291", "246", "305", "321", "336", "339", "355", "356", "360", "361", "365", "366", "393", "394", "400" + ] + }, + "sns_tilt_to_wake": { + "owner": "sns_tilt_to_wake", + "accel_sampling_rate":{"ver": "0","type": "flt", + "data": "25.0" + }, + "filter_window_seconds":{"ver": "0","type": "flt", + "data": "0.16" + }, + "accel_window_seconds":{"ver": "0","type": "flt", + "data": "1.1" + }, + "accel_sub_window_seconds":{"ver": "0","type": "flt", + "data": "0.55" + }, + "window_for_accel_stability_check_seconds":{"ver": "0","type": "flt", + "data": "0.16" + }, + "min_delta_pitch_threshold_deg":{"ver": "0","type": "flt", + "data": "45.0" + }, + "min_pitch_threshold_deg":{"ver": "0","type": "flt", + "data": "40.0" + }, + "min_abs_delta_z_threshold_deg":{"ver": "0","type": "flt", + "data": "10.0" + }, + "max_roll_threshold_deg":{"ver": "0","type": "flt", + "data": "25.0" + }, + "max_accel_spread_threshold":{"ver": "0","type": "flt", + "data": "4.8" + }, + "max_accel_norm_deviation_from_G_threshold":{"ver": "0","type": "flt", + "data": "2.7" + }, + "max_pitch_threshold_deg":{"ver": "0","type": "flt", + "data": "200.0" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sns_wrist_pedo.json b/proprietary/vendor/etc/sensors/config/sns_wrist_pedo.json new file mode 100644 index 0000000..840d27c --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sns_wrist_pedo.json @@ -0,0 +1,29 @@ +{ + "config": { + "hw_platform": [ + "MTP", "Dragon", "Surf", "QRD" ], + "soc_id": [ + "300", "301" ] + }, + "sns_wrist_pedo": { + "owner": "sns_wrist_pedo", + "default_disable": { + "ver": "0", "type": "int", "data": "0" + }, + "sample_rate": { + "ver": "0", "type": "flt", "data": "20.0" + }, + "step_count_threshold": { + "ver": "0", "type": "int", "data": "0" + }, + "step_threshold": { + "ver": "0", "type": "flt", "data": "10.1" + }, + "swing_threshold": { + "ver": "0", "type": "flt", "data": "10.5" + }, + "step_prob_threshold": { + "ver": "0", "type": "flt", "data": "0.49" + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/sx933x_0.json b/proprietary/vendor/etc/sensors/config/sx933x_0.json new file mode 100644 index 0000000..333f74f --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/sx933x_0.json @@ -0,0 +1,28 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "HDK", "CMI"], + "soc_id": ["291", "246", "305", "341", "356"] + }, + "sx933x_0":{ + "owner": "sx933x_0", + ".sar":{ + "owner": "sx933x_0", + ".config":{ + "owner": "sx933x_0", + "is_dri":{ "type": "int", "ver": "1", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "2" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/config/tcs3408.json b/proprietary/vendor/etc/sensors/config/tcs3408.json new file mode 100644 index 0000000..d365d61 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/tcs3408.json @@ -0,0 +1,64 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "CMI"], + "soc_id": ["291", "246", "339", "356"] + }, + "tcs3408":{ + "owner": "sns_tcs3408", + ".als":{ + "owner": "sns_tcs3408", + ".config":{ + "owner": "sns_tcs3408", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".prox":{ + "owner": "sns_tcs3408", + ".config":{ + "owner": "sns_tcs3408", + "is_dri":{ "type": "int", "ver": "0", + "data": "1" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".rgb":{ + "owner": "sns_tcs3408", + ".config":{ + "owner": "sns_tcs3408", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "2" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/tcs3701.json b/proprietary/vendor/etc/sensors/config/tcs3701.json new file mode 100644 index 0000000..60f0529 --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/tcs3701.json @@ -0,0 +1,46 @@ +{ + "config": + { + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "339", "356"] + }, + "tcs3701":{ + "owner": "sns_tcs3701", + ".als":{ + "owner": "sns_tcs3701", + ".config":{ + "owner": "sns_tcs3701", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "1", + "data": "1" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + }, + ".prox":{ + "owner": "sns_tcs3701", + ".config":{ + "owner": "sns_tcs3701", + "is_dri":{ "type": "int", "ver": "2", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "1" + }, + "res_idx":{ "type": "int", "ver": "0", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } + } +} diff --git a/proprietary/vendor/etc/sensors/config/vl53l1_tof_0.json b/proprietary/vendor/etc/sensors/config/vl53l1_tof_0.json new file mode 100644 index 0000000..292785a --- /dev/null +++ b/proprietary/vendor/etc/sensors/config/vl53l1_tof_0.json @@ -0,0 +1,25 @@ +{ + "config":{ + "hw_platform": ["MTP", "Dragon", "Surf", "CMI"], + "soc_id": ["291", "246", "305", "321", "339", "356"] + }, + "vl53l1_tof":{ + "owner": "sns_vl53l1_tof", + ".config":{ + "owner": "sns_vl53l1_tof", + "is_dri":{ "type": "int", "ver": "0", + "data": "0" + }, + "hw_id":{ "type": "int", "ver": "0", + "data": "0" + }, + "res_idx":{ "type": "int", "ver": "1", + "data": "0" + }, + "sync_stream":{ "type": "int", "ver": "0", + "data": "0" + } + } + } +} + diff --git a/proprietary/vendor/etc/sensors/hals.conf b/proprietary/vendor/etc/sensors/hals.conf new file mode 100644 index 0000000..4e4d160 --- /dev/null +++ b/proprietary/vendor/etc/sensors/hals.conf @@ -0,0 +1,3 @@ +sensors.elliptic.so +sensors.ssc.so +sensors.touch.so \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/judge_calibrated.json b/proprietary/vendor/etc/sensors/judge_calibrated.json new file mode 100644 index 0000000..6db0534 --- /dev/null +++ b/proprietary/vendor/etc/sensors/judge_calibrated.json @@ -0,0 +1,7 @@ +Acc lsm6dso_0_platform.accel.fac_cal.bias /vendor/etc/sensors/config/sm8250_lsm6dso_0.json 0 lsm6dso +Gyr lsm6dso_0_platform.gyro.fac_cal.bias /vendor/etc/sensors/config/sm8250_lsm6dso_0.json 0 lsm6dso +Lux tcs3701_platform.als.fac_cal /vendor/etc/sensors/config/sm8250_tcs3701.json 0 tcs3701 +Tof vl53l1_tof_platform.prox.customer /vendor/etc/sensors/config/sm8250_vl53l1_tof_0.json 0 vl53l3_tof +Lux tcs3701_platform.oled_cal_factor /vendor/etc/sensors/config/sm8250_tcs3701.json 1 tcs3701 +Lux_B tcs3408_platform.als.fac_cal /vendor/etc/sensors/config/sm8250_tcs3408.json 0 tcs3408 +Bar bmp285_0_platform.pressure.fac_cal.bias /vendor/etc/sensors/config/sm8250_bmp285_0.json 0 bosch_bmp285 diff --git a/proprietary/vendor/etc/sensors/proto/descriptor.proto b/proprietary/vendor/etc/sensors/proto/descriptor.proto new file mode 100644 index 0000000..a2102d7 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/descriptor.proto @@ -0,0 +1,885 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// The messages in this file describe the definitions found in .proto files. +// A valid .proto file can be translated directly to a FileDescriptorProto +// without any other information (e.g. without reading its imports). + + +syntax = "proto2"; + +package google.protobuf; + +option go_package = "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DescriptorProtos"; +option csharp_namespace = "Google.Protobuf.Reflection"; +option objc_class_prefix = "GPB"; +option cc_enable_arenas = true; + +// descriptor.proto must be optimized for speed because reflection-based +// algorithms don't work during bootstrapping. +option optimize_for = SPEED; + +// The protocol compiler can output a FileDescriptorSet containing the .proto +// files it parses. +message FileDescriptorSet { + repeated FileDescriptorProto file = 1; +} + +// Describes a complete .proto file. +message FileDescriptorProto { + optional string name = 1; // file name, relative to root of source tree + optional string package = 2; // e.g. "foo", "foo.bar", etc. + + // Names of files imported by this file. + repeated string dependency = 3; + // Indexes of the public imported files in the dependency list above. + repeated int32 public_dependency = 10; + // Indexes of the weak imported files in the dependency list. + // For Google-internal migration only. Do not use. + repeated int32 weak_dependency = 11; + + // All top-level definitions in this file. + repeated DescriptorProto message_type = 4; + repeated EnumDescriptorProto enum_type = 5; + repeated ServiceDescriptorProto service = 6; + repeated FieldDescriptorProto extension = 7; + + optional FileOptions options = 8; + + // This field contains optional information about the original source code. + // You may safely remove this entire field without harming runtime + // functionality of the descriptors -- the information is needed only by + // development tools. + optional SourceCodeInfo source_code_info = 9; + + // The syntax of the proto file. + // The supported values are "proto2" and "proto3". + optional string syntax = 12; +} + +// Describes a message type. +message DescriptorProto { + optional string name = 1; + + repeated FieldDescriptorProto field = 2; + repeated FieldDescriptorProto extension = 6; + + repeated DescriptorProto nested_type = 3; + repeated EnumDescriptorProto enum_type = 4; + + message ExtensionRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + + optional ExtensionRangeOptions options = 3; + } + repeated ExtensionRange extension_range = 5; + + repeated OneofDescriptorProto oneof_decl = 8; + + optional MessageOptions options = 7; + + // Range of reserved tag numbers. Reserved tag numbers may not be used by + // fields or extension ranges in the same message. Reserved ranges may + // not overlap. + message ReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + } + repeated ReservedRange reserved_range = 9; + // Reserved field names, which may not be used by fields in the same message. + // A given name may only be reserved once. + repeated string reserved_name = 10; +} + +message ExtensionRangeOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +// Describes a field within a message. +message FieldDescriptorProto { + enum Type { + // 0 is reserved for errors. + // Order is weird for historical reasons. + TYPE_DOUBLE = 1; + TYPE_FLOAT = 2; + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if + // negative values are likely. + TYPE_INT64 = 3; + TYPE_UINT64 = 4; + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if + // negative values are likely. + TYPE_INT32 = 5; + TYPE_FIXED64 = 6; + TYPE_FIXED32 = 7; + TYPE_BOOL = 8; + TYPE_STRING = 9; + // Tag-delimited aggregate. + // Group type is deprecated and not supported in proto3. However, Proto3 + // implementations should still be able to parse the group wire format and + // treat group fields as unknown fields. + TYPE_GROUP = 10; + TYPE_MESSAGE = 11; // Length-delimited aggregate. + + // New in version 2. + TYPE_BYTES = 12; + TYPE_UINT32 = 13; + TYPE_ENUM = 14; + TYPE_SFIXED32 = 15; + TYPE_SFIXED64 = 16; + TYPE_SINT32 = 17; // Uses ZigZag encoding. + TYPE_SINT64 = 18; // Uses ZigZag encoding. + } + + enum Label { + // 0 is reserved for errors + LABEL_OPTIONAL = 1; + LABEL_REQUIRED = 2; + LABEL_REPEATED = 3; + } + + optional string name = 1; + optional int32 number = 3; + optional Label label = 4; + + // If type_name is set, this need not be set. If both this and type_name + // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. + optional Type type = 5; + + // For message and enum types, this is the name of the type. If the name + // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping + // rules are used to find the type (i.e. first the nested types within this + // message are searched, then within the parent, on up to the root + // namespace). + optional string type_name = 6; + + // For extensions, this is the name of the type being extended. It is + // resolved in the same manner as type_name. + optional string extendee = 2; + + // For numeric types, contains the original text representation of the value. + // For booleans, "true" or "false". + // For strings, contains the default text contents (not escaped in any way). + // For bytes, contains the C escaped value. All bytes >= 128 are escaped. + // TODO(kenton): Base-64 encode? + optional string default_value = 7; + + // If set, gives the index of a oneof in the containing type's oneof_decl + // list. This field is a member of that oneof. + optional int32 oneof_index = 9; + + // JSON name of this field. The value is set by protocol compiler. If the + // user has set a "json_name" option on this field, that option's value + // will be used. Otherwise, it's deduced from the field's name by converting + // it to camelCase. + optional string json_name = 10; + + optional FieldOptions options = 8; +} + +// Describes a oneof. +message OneofDescriptorProto { + optional string name = 1; + optional OneofOptions options = 2; +} + +// Describes an enum type. +message EnumDescriptorProto { + optional string name = 1; + + repeated EnumValueDescriptorProto value = 2; + + optional EnumOptions options = 3; + + // Range of reserved numeric values. Reserved values may not be used by + // entries in the same enum. Reserved ranges may not overlap. + // + // Note that this is distinct from DescriptorProto.ReservedRange in that it + // is inclusive such that it can appropriately represent the entire int32 + // domain. + message EnumReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Inclusive. + } + + // Range of reserved numeric values. Reserved numeric values may not be used + // by enum values in the same enum declaration. Reserved ranges may not + // overlap. + repeated EnumReservedRange reserved_range = 4; + + // Reserved enum value names, which may not be reused. A given name may only + // be reserved once. + repeated string reserved_name = 5; +} + +// Describes a value within an enum. +message EnumValueDescriptorProto { + optional string name = 1; + optional int32 number = 2; + + optional EnumValueOptions options = 3; +} + +// Describes a service. +message ServiceDescriptorProto { + optional string name = 1; + repeated MethodDescriptorProto method = 2; + + optional ServiceOptions options = 3; +} + +// Describes a method of a service. +message MethodDescriptorProto { + optional string name = 1; + + // Input and output type names. These are resolved in the same way as + // FieldDescriptorProto.type_name, but must refer to a message type. + optional string input_type = 2; + optional string output_type = 3; + + optional MethodOptions options = 4; + + // Identifies if client streams multiple client messages + optional bool client_streaming = 5 [default = false]; + // Identifies if server streams multiple server messages + optional bool server_streaming = 6 [default = false]; +} + + +// =================================================================== +// Options + +// Each of the definitions above may have "options" attached. These are +// just annotations which may cause code to be generated slightly differently +// or may contain hints for code that manipulates protocol messages. +// +// Clients may define custom options as extensions of the *Options messages. +// These extensions may not yet be known at parsing time, so the parser cannot +// store the values in them. Instead it stores them in a field in the *Options +// message called uninterpreted_option. This field must have the same name +// across all *Options messages. We then use this field to populate the +// extensions when we build a descriptor, at which point all protos have been +// parsed and so all extensions are known. +// +// Extension numbers for custom options may be chosen as follows: +// * For options which will only be used within a single application or +// organization, or for experimental options, use field numbers 50000 +// through 99999. It is up to you to ensure that you do not use the +// same number for multiple options. +// * For options which will be published and used publicly by multiple +// independent entities, e-mail protobuf-global-extension-registry@google.com +// to reserve extension numbers. Simply provide your project name (e.g. +// Objective-C plugin) and your project website (if available) -- there's no +// need to explain how you intend to use them. Usually you only need one +// extension number. You can declare multiple options with only one extension +// number by putting them in a sub-message. See the Custom Options section of +// the docs for examples: +// https://developers.google.com/protocol-buffers/docs/proto#options +// If this turns out to be popular, a web service will be set up +// to automatically assign option numbers. + +message FileOptions { + + // Sets the Java package where classes generated from this .proto will be + // placed. By default, the proto package is used, but this is often + // inappropriate because proto packages do not normally start with backwards + // domain names. + optional string java_package = 1; + + + // If set, all the classes from the .proto file are wrapped in a single + // outer class with the given name. This applies to both Proto1 + // (equivalent to the old "--one_java_file" option) and Proto2 (where + // a .proto always translates to a single class, but you may want to + // explicitly choose the class name). + optional string java_outer_classname = 8; + + // If set true, then the Java code generator will generate a separate .java + // file for each top-level message, enum, and service defined in the .proto + // file. Thus, these types will *not* be nested inside the outer class + // named by java_outer_classname. However, the outer class will still be + // generated to contain the file's getDescriptor() method as well as any + // top-level extensions defined in the file. + optional bool java_multiple_files = 10 [default = false]; + + // This option does nothing. + optional bool java_generate_equals_and_hash = 20 [deprecated=true]; + + // If set true, then the Java2 code generator will generate code that + // throws an exception whenever an attempt is made to assign a non-UTF-8 + // byte sequence to a string field. + // Message reflection will do the same. + // However, an extension field still accepts non-UTF-8 byte sequences. + // This option has no effect on when used with the lite runtime. + optional bool java_string_check_utf8 = 27 [default = false]; + + + // Generated classes can be optimized for speed or code size. + enum OptimizeMode { + SPEED = 1; // Generate complete code for parsing, serialization, + // etc. + CODE_SIZE = 2; // Use ReflectionOps to implement these methods. + LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. + } + optional OptimizeMode optimize_for = 9 [default = SPEED]; + + // Sets the Go package where structs generated from this .proto will be + // placed. If omitted, the Go package will be derived from the following: + // - The basename of the package import path, if provided. + // - Otherwise, the package statement in the .proto file, if present. + // - Otherwise, the basename of the .proto file, without extension. + optional string go_package = 11; + + + + + // Should generic services be generated in each language? "Generic" services + // are not specific to any particular RPC system. They are generated by the + // main code generators in each language (without additional plugins). + // Generic services were the only kind of service generation supported by + // early versions of google.protobuf. + // + // Generic services are now considered deprecated in favor of using plugins + // that generate code specific to your particular RPC system. Therefore, + // these default to false. Old code which depends on generic services should + // explicitly set them to true. + optional bool cc_generic_services = 16 [default = false]; + optional bool java_generic_services = 17 [default = false]; + optional bool py_generic_services = 18 [default = false]; + optional bool php_generic_services = 42 [default = false]; + + // Is this file deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for everything in the file, or it will be completely ignored; in the very + // least, this is a formalization for deprecating files. + optional bool deprecated = 23 [default = false]; + + // Enables the use of arenas for the proto messages in this file. This applies + // only to generated classes for C++. + optional bool cc_enable_arenas = 31 [default = false]; + + + // Sets the objective c class prefix which is prepended to all objective c + // generated classes from this .proto. There is no default. + optional string objc_class_prefix = 36; + + // Namespace for generated classes; defaults to the package. + optional string csharp_namespace = 37; + + // By default Swift generators will take the proto package and CamelCase it + // replacing '.' with underscore and use that to prefix the types/symbols + // defined. When this options is provided, they will use this value instead + // to prefix the types/symbols defined. + optional string swift_prefix = 39; + + // Sets the php class prefix which is prepended to all php generated classes + // from this .proto. Default is empty. + optional string php_class_prefix = 40; + + // Use this option to change the namespace of php generated classes. Default + // is empty. When this option is empty, the package name will be used for + // determining the namespace. + optional string php_namespace = 41; + + // Use this option to change the namespace of php generated metadata classes. + // Default is empty. When this option is empty, the proto file name will be + // used for determining the namespace. + optional string php_metadata_namespace = 44; + + // Use this option to change the package of ruby generated classes. Default + // is empty. When this option is not set, the package name will be used for + // determining the ruby package. + optional string ruby_package = 45; + + + // The parser stores options it doesn't recognize here. + // See the documentation for the "Options" section above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. + // See the documentation for the "Options" section above. + extensions 1000 to max; + + reserved 38; +} + +message MessageOptions { + // Set true to use the old proto1 MessageSet wire format for extensions. + // This is provided for backwards-compatibility with the MessageSet wire + // format. You should not use this for any other reason: It's less + // efficient, has fewer features, and is more complicated. + // + // The message must be defined exactly as follows: + // message Foo { + // option message_set_wire_format = true; + // extensions 4 to max; + // } + // Note that the message cannot have any defined fields; MessageSets only + // have extensions. + // + // All extensions of your type must be singular messages; e.g. they cannot + // be int32s, enums, or repeated messages. + // + // Because this is an option, the above two restrictions are not enforced by + // the protocol compiler. + optional bool message_set_wire_format = 1 [default = false]; + + // Disables the generation of the standard "descriptor()" accessor, which can + // conflict with a field of the same name. This is meant to make migration + // from proto1 easier; new code should avoid fields named "descriptor". + optional bool no_standard_descriptor_accessor = 2 [default = false]; + + // Is this message deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the message, or it will be completely ignored; in the very least, + // this is a formalization for deprecating messages. + optional bool deprecated = 3 [default = false]; + + // Whether the message is an automatically generated map entry type for the + // maps field. + // + // For maps fields: + // map map_field = 1; + // The parsed descriptor looks like: + // message MapFieldEntry { + // option map_entry = true; + // optional KeyType key = 1; + // optional ValueType value = 2; + // } + // repeated MapFieldEntry map_field = 1; + // + // Implementations may choose not to generate the map_entry=true message, but + // use a native map in the target language to hold the keys and values. + // The reflection APIs in such implementations still need to work as + // if the field is a repeated message field. + // + // NOTE: Do not set the option in .proto files. Always use the maps syntax + // instead. The option should only be implicitly set by the proto compiler + // parser. + optional bool map_entry = 7; + + reserved 8; // javalite_serializable + reserved 9; // javanano_as_lite + + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message FieldOptions { + // The ctype option instructs the C++ code generator to use a different + // representation of the field than it normally would. See the specific + // options below. This option is not yet implemented in the open source + // release -- sorry, we'll try to include it in a future version! + optional CType ctype = 1 [default = STRING]; + enum CType { + // Default mode. + STRING = 0; + + CORD = 1; + + STRING_PIECE = 2; + } + // The packed option can be enabled for repeated primitive fields to enable + // a more efficient representation on the wire. Rather than repeatedly + // writing the tag and type for each element, the entire array is encoded as + // a single length-delimited blob. In proto3, only explicit setting it to + // false will avoid using packed encoding. + optional bool packed = 2; + + // The jstype option determines the JavaScript type used for values of the + // field. The option is permitted only for 64 bit integral and fixed types + // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING + // is represented as JavaScript string, which avoids loss of precision that + // can happen when a large value is converted to a floating point JavaScript. + // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to + // use the JavaScript "number" type. The behavior of the default option + // JS_NORMAL is implementation dependent. + // + // This option is an enum to permit additional types to be added, e.g. + // goog.math.Integer. + optional JSType jstype = 6 [default = JS_NORMAL]; + enum JSType { + // Use the default type. + JS_NORMAL = 0; + + // Use JavaScript strings. + JS_STRING = 1; + + // Use JavaScript numbers. + JS_NUMBER = 2; + } + + // Should this field be parsed lazily? Lazy applies only to message-type + // fields. It means that when the outer message is initially parsed, the + // inner message's contents will not be parsed but instead stored in encoded + // form. The inner message will actually be parsed when it is first accessed. + // + // This is only a hint. Implementations are free to choose whether to use + // eager or lazy parsing regardless of the value of this option. However, + // setting this option true suggests that the protocol author believes that + // using lazy parsing on this field is worth the additional bookkeeping + // overhead typically needed to implement it. + // + // This option does not affect the public interface of any generated code; + // all method signatures remain the same. Furthermore, thread-safety of the + // interface is not affected by this option; const methods remain safe to + // call from multiple threads concurrently, while non-const methods continue + // to require exclusive access. + // + // + // Note that implementations may choose not to check required fields within + // a lazy sub-message. That is, calling IsInitialized() on the outer message + // may return true even if the inner message has missing required fields. + // This is necessary because otherwise the inner message would have to be + // parsed in order to perform the check, defeating the purpose of lazy + // parsing. An implementation which chooses not to check required fields + // must be consistent about it. That is, for any particular sub-message, the + // implementation must either *always* check its required fields, or *never* + // check its required fields, regardless of whether or not the message has + // been parsed. + optional bool lazy = 5 [default = false]; + + // Is this field deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for accessors, or it will be completely ignored; in the very least, this + // is a formalization for deprecating fields. + optional bool deprecated = 3 [default = false]; + + // For Google-internal migration only. Do not use. + optional bool weak = 10 [default = false]; + + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; + + reserved 4; // removed jtype +} + +message OneofOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message EnumOptions { + + // Set this option to true to allow mapping different tag names to the same + // value. + optional bool allow_alias = 2; + + // Is this enum deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the enum, or it will be completely ignored; in the very least, this + // is a formalization for deprecating enums. + optional bool deprecated = 3 [default = false]; + + reserved 5; // javanano_as_lite + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message EnumValueOptions { + // Is this enum value deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the enum value, or it will be completely ignored; in the very least, + // this is a formalization for deprecating enum values. + optional bool deprecated = 1 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message ServiceOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // Is this service deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the service, or it will be completely ignored; in the very least, + // this is a formalization for deprecating services. + optional bool deprecated = 33 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message MethodOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // Is this method deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the method, or it will be completely ignored; in the very least, + // this is a formalization for deprecating methods. + optional bool deprecated = 33 [default = false]; + + // Is this method side-effect-free (or safe in HTTP parlance), or idempotent, + // or neither? HTTP based RPC implementation may choose GET verb for safe + // methods, and PUT verb for idempotent methods instead of the default POST. + enum IdempotencyLevel { + IDEMPOTENCY_UNKNOWN = 0; + NO_SIDE_EFFECTS = 1; // implies idempotent + IDEMPOTENT = 2; // idempotent, but may have side effects + } + optional IdempotencyLevel idempotency_level = 34 + [default = IDEMPOTENCY_UNKNOWN]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + + +// A message representing a option the parser does not recognize. This only +// appears in options protos created by the compiler::Parser class. +// DescriptorPool resolves these when building Descriptor objects. Therefore, +// options protos in descriptor objects (e.g. returned by Descriptor::options(), +// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions +// in them. +message UninterpretedOption { + // The name of the uninterpreted option. Each string represents a segment in + // a dot-separated name. is_extension is true iff a segment represents an + // extension (denoted with parentheses in options specs in .proto files). + // E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents + // "foo.(bar.baz).qux". + message NamePart { + required string name_part = 1; + required bool is_extension = 2; + } + repeated NamePart name = 2; + + // The value of the uninterpreted option, in whatever type the tokenizer + // identified it as during parsing. Exactly one of these should be set. + optional string identifier_value = 3; + optional uint64 positive_int_value = 4; + optional int64 negative_int_value = 5; + optional double double_value = 6; + optional bytes string_value = 7; + optional string aggregate_value = 8; +} + +// =================================================================== +// Optional source code info + +// Encapsulates information about the original source file from which a +// FileDescriptorProto was generated. +message SourceCodeInfo { + // A Location identifies a piece of source code in a .proto file which + // corresponds to a particular definition. This information is intended + // to be useful to IDEs, code indexers, documentation generators, and similar + // tools. + // + // For example, say we have a file like: + // message Foo { + // optional string foo = 1; + // } + // Let's look at just the field definition: + // optional string foo = 1; + // ^ ^^ ^^ ^ ^^^ + // a bc de f ghi + // We have the following locations: + // span path represents + // [a,i) [ 4, 0, 2, 0 ] The whole field definition. + // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + // + // Notes: + // - A location may refer to a repeated field itself (i.e. not to any + // particular index within it). This is used whenever a set of elements are + // logically enclosed in a single code segment. For example, an entire + // extend block (possibly containing multiple extension definitions) will + // have an outer location whose path refers to the "extensions" repeated + // field without an index. + // - Multiple locations may have the same path. This happens when a single + // logical declaration is spread out across multiple places. The most + // obvious example is the "extend" block again -- there may be multiple + // extend blocks in the same scope, each of which will have the same path. + // - A location's span is not always a subset of its parent's span. For + // example, the "extendee" of an extension declaration appears at the + // beginning of the "extend" block and is shared by all extensions within + // the block. + // - Just because a location's span is a subset of some other location's span + // does not mean that it is a descendant. For example, a "group" defines + // both a type and a field in a single declaration. Thus, the locations + // corresponding to the type and field and their components will overlap. + // - Code which tries to interpret locations should probably be designed to + // ignore those that it doesn't understand, as more types of locations could + // be recorded in the future. + repeated Location location = 1; + message Location { + // Identifies which part of the FileDescriptorProto was defined at this + // location. + // + // Each element is a field number or an index. They form a path from + // the root FileDescriptorProto to the place where the definition. For + // example, this path: + // [ 4, 3, 2, 7, 1 ] + // refers to: + // file.message_type(3) // 4, 3 + // .field(7) // 2, 7 + // .name() // 1 + // This is because FileDescriptorProto.message_type has field number 4: + // repeated DescriptorProto message_type = 4; + // and DescriptorProto.field has field number 2: + // repeated FieldDescriptorProto field = 2; + // and FieldDescriptorProto.name has field number 1: + // optional string name = 1; + // + // Thus, the above path gives the location of a field name. If we removed + // the last element: + // [ 4, 3, 2, 7 ] + // this path refers to the whole field declaration (from the beginning + // of the label to the terminating semicolon). + repeated int32 path = 1 [packed = true]; + + // Always has exactly three or four elements: start line, start column, + // end line (optional, otherwise assumed same as start line), end column. + // These are packed into a single field for efficiency. Note that line + // and column numbers are zero-based -- typically you will want to add + // 1 to each before displaying to a user. + repeated int32 span = 2 [packed = true]; + + // If this SourceCodeInfo represents a complete declaration, these are any + // comments appearing before and after the declaration which appear to be + // attached to the declaration. + // + // A series of line comments appearing on consecutive lines, with no other + // tokens appearing on those lines, will be treated as a single comment. + // + // leading_detached_comments will keep paragraphs of comments that appear + // before (but not connected to) the current element. Each paragraph, + // separated by empty lines, will be one comment element in the repeated + // field. + // + // Only the comment content is provided; comment markers (e.g. //) are + // stripped out. For block comments, leading whitespace and an asterisk + // will be stripped from the beginning of each line other than the first. + // Newlines are included in the output. + // + // Examples: + // + // optional int32 foo = 1; // Comment attached to foo. + // // Comment attached to bar. + // optional int32 bar = 2; + // + // optional string baz = 3; + // // Comment attached to baz. + // // Another line attached to baz. + // + // // Comment attached to qux. + // // + // // Another line attached to qux. + // optional double qux = 4; + // + // // Detached comment for corge. This is not leading or trailing comments + // // to qux or corge because there are blank lines separating it from + // // both. + // + // // Detached comment for corge paragraph 2. + // + // optional string corge = 5; + // /* Block comment attached + // * to corge. Leading asterisks + // * will be removed. */ + // /* Block comment attached to + // * grault. */ + // optional int32 grault = 6; + // + // // ignored detached comments. + optional string leading_comments = 3; + optional string trailing_comments = 4; + repeated string leading_detached_comments = 6; + } +} + +// Describes the relationship between generated code and its original source +// file. A GeneratedCodeInfo message is associated with only one generated +// source file, but may contain references to different source .proto files. +message GeneratedCodeInfo { + // An Annotation connects some span of text in generated code to an element + // of its generating .proto file. + repeated Annotation annotation = 1; + message Annotation { + // Identifies the element in the original source .proto file. This field + // is formatted the same as SourceCodeInfo.Location.path. + repeated int32 path = 1 [packed = true]; + + // Identifies the filesystem path to the original source .proto. + optional string source_file = 2; + + // Identifies the starting offset in bytes in the generated code + // that relates to the identified object. + optional int32 begin = 3; + + // Identifies the ending offset in bytes in the generated code that + // relates to the identified offset. The end offset should be one past + // the last relevant byte (so the length of the text = end - begin). + optional int32 end = 4; + } +} diff --git a/proprietary/vendor/etc/sensors/proto/nanopb.proto b/proprietary/vendor/etc/sensors/proto/nanopb.proto new file mode 100644 index 0000000..9b2f0fb --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/nanopb.proto @@ -0,0 +1,97 @@ +// Custom options for defining: +// - Maximum size of string/bytes +// - Maximum number of elements in array +// +// These are used by nanopb to generate statically allocable structures +// for memory-limited environments. + +syntax = "proto2"; +import "google/protobuf/descriptor.proto"; + +option java_package = "fi.kapsi.koti.jpa.nanopb"; + +enum FieldType { + FT_DEFAULT = 0; // Automatically decide field type, generate static field if possible. + FT_CALLBACK = 1; // Always generate a callback field. + FT_POINTER = 4; // Always generate a dynamically allocated field. + FT_STATIC = 2; // Generate a static field or raise an exception if not possible. + FT_IGNORE = 3; // Ignore the field completely. +} + +enum IntSize { + IS_DEFAULT = 0; // Default, 32/64bit based on type in .proto + IS_8 = 8; + IS_16 = 16; + IS_32 = 32; + IS_64 = 64; +} + +// This is the inner options message, which basically defines options for +// a field. When it is used in message or file scope, it applies to all +// fields. +message NanoPBOptions { + // Allocated size for 'bytes' and 'string' fields. + optional int32 max_size = 1; + + // Allocated number of entries in arrays ('repeated' fields) + optional int32 max_count = 2; + + // Size of integer fields. Can save some memory if you don't need + // full 32 bits for the value. + optional IntSize int_size = 7 [default = IS_DEFAULT]; + + // Force type of field (callback or static allocation) + optional FieldType type = 3 [default = FT_DEFAULT]; + + // Use long names for enums, i.e. EnumName_EnumValue. + optional bool long_names = 4 [default = true]; + + // Add 'packed' attribute to generated structs. + // Note: this cannot be used on CPUs that break on unaligned + // accesses to variables. + optional bool packed_struct = 5 [default = false]; + + // Add 'packed' attribute to generated enums. + optional bool packed_enum = 10 [default = false]; + + // Skip this message + optional bool skip_message = 6 [default = false]; + + // Generate oneof fields as normal optional fields instead of union. + optional bool no_unions = 8 [default = false]; + + // integer type tag for a message + optional uint32 msgid = 9; + + // decode oneof as anonymous union + optional bool anonymous_oneof = 11 [default = false]; +} + +// Extensions to protoc 'Descriptor' type in order to define options +// inside a .proto file. +// +// Protocol Buffers extension number registry +// -------------------------------- +// Project: Nanopb +// Contact: Petteri Aimonen +// Web site: http://kapsi.fi/~jpa/nanopb +// Extensions: 1010 (all types) +// -------------------------------- + +extend google.protobuf.FileOptions { + optional NanoPBOptions nanopb_fileopt = 1010; +} + +extend google.protobuf.MessageOptions { + optional NanoPBOptions nanopb_msgopt = 1010; +} + +extend google.protobuf.EnumOptions { + optional NanoPBOptions nanopb_enumopt = 1010; +} + +extend google.protobuf.FieldOptions { + optional NanoPBOptions nanopb = 1010; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_accel.proto b/proprietary/vendor/etc/sensors/proto/sns_accel.proto new file mode 100644 index 0000000..5255029 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_accel.proto @@ -0,0 +1,103 @@ +// @file sns_accel.proto +// +// Defines the API for Accelerometer Sensors. +// All Accelerometer Sensor drivers are required to comply with this API. +// Any new functionality for Accelerometer Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_std_event_gated_sensor.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Accelerometer Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "accel". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute values in (m/s2)/LSB unit. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in +/-m/s2 unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Accelerometer Sensor handles the sns_std_sensor_config +// message request with msgid SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG +// for all non-gated stream enable/update requests. +// 2. The Accelerometer Sensor handles the sns_std_sensor_config +// message request with msgid SNS_STD_EVENT_GATED_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG +// for all gated stream enable/update requests. +// a. Accelerometer stream is gated on the motion detection feature +// available on most accel hardware. This feature is published via the +// "motion_detect" Sensor by the same driver library as "accel" Sensor. +// b. If "motion_detect" is not supported then the Sensor does not support +// stream gating. Any gated client request is rejected in this case. +// 3. The Accelerometer Sensor uses batching_period item in +// sns_std_request as the requested batching rate to determine +// hardware FIFO watermark. + +// Handling stream events: +// 1. The Accelerometer Sensor publishes acceleration data stream events +// using the sns_std_sensor_event message. +// 2. Each stream event contains three output data fields where data is +// in m/s2 units and is factory calibrated. +// 3. Data in the stream is adjusted to Android coordinate system relative to a +// mobile device held with screen facing the user in it's natural orientation: +// X-axis: parallel to the screen pointing to the right +// Y-axis: parallel to the screen pointing to the top +// Z-axis: perpendicular to the screen pointing towards the user +// This conforms to the mobile device axes orientation as specified by the +// Android Sensor API. +// 4. Data in the stream event is ordered as: +// data[0] = X-axis +// data[1] = Y-axis +// data[2] = Z-axis +// 5. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 6. The Accelerometer Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 7. The Accelerometer Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and comp_matrix fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. +// 8. When all outstanding requests to the Sensor are gated requests and if the +// "motion_detect" Sensor is enabled then the accel Sensor stops generating +// output events. +// a. When motion detect interrupt fires: +// - All existing accel gated stream requests are converted to non-gated +// stream requests. +// The accel Sensor publishes an event with message ID +// SNS_STD_EVENT_GATED_SENSOR_MSGID_GATED_REQ_CONVERTED_TO_NON_GATED to +// to indicate this change to it's gated clients. +// - The accel Sensor resumes generating output to all clients. +// So in effect motion_detect Sensor and accel gated Sensor stream have +// a one shot behavior. +// b. The Sensor resumes generating output events if motion detect interrupt +// is disabled potentially due to a new non-gated accel stream request or +// the request to motion_detect Sensor is disabled. +// 9. When all outstanding requests to the Sensor are gated requests but if +// "motion_detect" Sensor is not enabled then the Sensor continues to generate +// output events. + +// Handling self-test requests: +// 1. The Accelerometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Accelerometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Accelerometer Sensor could implement other test types. + +// Handling test events: +// 1. The Accelerometer Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_accel_cal.proto b/proprietary/vendor/etc/sensors/proto/sns_accel_cal.proto new file mode 100644 index 0000000..4f7b806 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_accel_cal.proto @@ -0,0 +1,32 @@ +// @file sns_accel_cal.proto +// +// Defines message types for the Accel Calibration Sensor. +// +// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_cal.proto"; + +// The Accel Calibration Sensor determines the calibration parameters +// for accel sensor + +// Accel Calibration Sensor Attributes: +// - SNS_STD_SENSOR_ATTRID_TYPE: "accel_cal" +// - SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG message ID is used to +// enable the sensor +// - SNS_CAL_MSGID_SNS_CAL_RESET message ID is used to reset the algorithm +// and any previously determined calibration parameters. + +// Stream Events: +// - SNS_CAL_MSGID_SNS_CAL_EVENT message ID is used to report calibration +// parameters to the client of the sensor. The sns_cal_event message as +// defined in sns_cal.proto is used to report this data event where the +// units for the bias field in the message are in m / s ^2 + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_activity_recognition.proto b/proprietary/vendor/etc/sensors/proto/sns_activity_recognition.proto new file mode 100644 index 0000000..63e1a02 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_activity_recognition.proto @@ -0,0 +1,69 @@ +// @file sns_activity_recognition.proto +// +// Defines message types for the Activity Recognition (AR) Sensor. +// +// Copyright (c) 2019-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Acitivity Recognition Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "activity_recognition" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Acitivity Recognition Sensor +enum sns_activity_recognition_msgid { + option (nanopb_enumopt).long_names = false; + + // The sns_ar_event message is used to publish updated state. A new event + // will be generated upon any state change. + SNS_ACTIVITY_RECOGNITION_MSGID_SNS_AR_EVENT = 800; + // Configuration event generated at least once in response to enable request + SNS_ACTIVITY_RECOGNITION_MSGID_SNS_AR_CONFIG_EVENT = 801; +} + +// User activity states +enum sns_ar_motion_state +{ + option (nanopb_enumopt).long_names = false; + + // UNKNOWN is reported when the algorithm is unable to detect the current + // activity state. + SNS_AR_UNKNOWN = 0; + // User is relatively stationary. + SNS_AR_STATIONARY = 1; + // User is classified as a pedestrian + SNS_AR_PED = 2; + // User is in a non-motorized vehicle + SNS_AR_NMV = 3; + // User is in a motorized vehicle. + SNS_AR_MV = 4; + // User is walking + SNS_AR_WALK = 5; + // User is running + SNS_AR_RUN = 6; + // User is on a bicycle + SNS_AR_BICYCLE = 7; + // User is in a car + SNS_AR_CAR = 8; +} + +message sns_ar_config_event +{ + // List of supported motion states + repeated sns_ar_motion_state states = 1; +} + +message sns_ar_event +{ + // List of active states for this user + // Multiple states may be reported concurrently + // Any states not listed here are presumed to be inactive + repeated sns_ar_motion_state states = 1 [(nanopb).max_count = 4]; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_ambient_light.proto b/proprietary/vendor/etc/sensors/proto/sns_ambient_light.proto new file mode 100644 index 0000000..09cceff --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ambient_light.proto @@ -0,0 +1,73 @@ +// @file sns_ambient_light.proto +// +// Defines the API for Ambient Light Sensors. +// All Ambient Light Sensor drivers are required to comply with this API. +// Any new functionality for Ambient Light Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Ambient Light Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ambient_light". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in Lux/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in Lux unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Ambient Light Sensor supports both streaming and on-change +// modes and the operating mode is configured in the Registry. +// 2. The streaming Ambient Light Sensor handles the sns_std_sensor_config +// request for all stream enable/update requests. +// 3. The on-change Ambient Light Sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for +// all stream enable/update requests. +// 4. In on-change mode the Sensor uses interrupt operation and reports +// samples for only significant change in ambient light. +// Example: +/- 10% change. + +// Handling stream events: +// 1. The Ambient Light Sensor publishes current illumination data stream +// events using the sns_std_sensor_event message. +// 2. Each stream event contains two output data fields where data is +// factory calibrated and ordered as: +// data[0] = ambient light in Lux +// data[1] = raw ADC value associated with data[0] +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Ambient Light Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Ambient Light Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new request. + +// Handling self-test requests: +// 1. The Ambient Light Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Ambient Light Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for Ambient Light Sensor calibrates +// the sensor such that it's output Lux value is comparable to a standard +// Luxmeter output in any lighting condition. +// 3. The Ambient Light Sensor could implement other test types. + +// Handling test events: +// 1. The Ambient Light Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_ambient_temperature.proto b/proprietary/vendor/etc/sensors/proto/sns_ambient_temperature.proto new file mode 100644 index 0000000..69726b9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ambient_temperature.proto @@ -0,0 +1,68 @@ +// @file sns_ambient_temperature.proto +// +// Defines the API for Ambient Temperature Sensors. +// All Ambient Temperature Sensor drivers are required to comply with this API. +// Any new functionality for Ambient Temperature Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Ambient Temperature Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ambient_temperature". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees Celsius/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees Celsius unit. +// 4. The ambient_temperature sensor is an on-change sensor. +// 5. The SNS_STD_SENSOR_ATTRID_RATES attribute is not applicable +// since this is an on-change sensor. +// 6. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Ambient Temperature Sensor handles the SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// message ID for all stream enable/update requests. +// 2. If the physical sensor supports hardware FIFO then the Ambient Temperature +// Sensor uses batching_period item in sns_std_request as the requested +// batching rate to determine hardware FIFO watermark. + +// Handling stream events: +// 1. The Ambient Temperature Sensor publishes data stream events using the +// sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = Ambient Temperature data in degrees Celsius +// 3. Each stream event publishs an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Ambient Temperature Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Ambient Temperature Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Ambient Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Ambient Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Ambient Temperature Sensor could implement other test types. + +// Handling test events: +// 1. The Ambient Temperature Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_amd.proto b/proprietary/vendor/etc/sensors/proto/sns_amd.proto new file mode 100644 index 0000000..8583b82 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_amd.proto @@ -0,0 +1,51 @@ + +// @file sns_amd.proto +// +// Defines message types for the Absolute Motion Detector (AMD) Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// AMD calculates motion and stationary states. AMD will initially start in an +// unknown state, and later transition to motion or stationary. + +// AMD Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "amd" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for AMD Sensor +enum sns_amd_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_AMD_MSGID_SNS_AMD_EVENT = 772; +} + +enum sns_amd_event_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_AMD_EVENT_TYPE_UNKNOWN = 0; + SNS_AMD_EVENT_TYPE_STATIONARY = 1; + SNS_AMD_EVENT_TYPE_MOTION = 2; +} + +message sns_amd_event +{ + // AMD motion state + required sns_amd_event_type state = 1 [default = SNS_AMD_EVENT_TYPE_UNKNOWN]; +} + +// Stream events: +// +// The sns_amd_event message is used to publish updated state +// +// AMD does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_aont.proto b/proprietary/vendor/etc/sensors/proto/sns_aont.proto new file mode 100644 index 0000000..de4b136 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_aont.proto @@ -0,0 +1,37 @@ +// @file sns_aont.proto +// +// Defines message types for the AONT(Always On Test) Sensor. +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Always On Test Sensor runs an Always On sensors usecase for stability test coverage + +// Always On Test Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "always_on_test" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Stream Events: +enum sns_aont_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_AONT_MSGID_SNS_AONT_DATA = 1024; +} + +// Data Message +// Output data event generated by the aont sensor. +message sns_aont_data +{ + // AONT output - Accel data along axis x,y,z in m/s2 + repeated float aont = 1 [(nanopb).max_count = 3]; +} + diff --git a/proprietary/vendor/etc/sensors/proto/sns_basic_gestures.proto b/proprietary/vendor/etc/sensors/proto/sns_basic_gestures.proto new file mode 100644 index 0000000..dfec6ba --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_basic_gestures.proto @@ -0,0 +1,101 @@ +// @file sns_basic_gestures.proto +// +// Defines message types for the the basic_gestures sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// Basic Gestures algorithm provides the ability to detect a Push, Pull, +// or Shake gesture. +// Basic Gestures reports "Axis Unknown", when the direction of a shake cannot +// be reliably determined. + +// Basic gestures Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "basic_gestures" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_CONFIG is used to enable the sensor + +// Message IDs for Basic gestures Sensor +enum sns_basic_gestures_msgid +{ + option (nanopb_enumopt).long_names = false; + SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_CONFIG = 512; + SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_EVENT = 1024; +} +//To mask Basic gesture algorithm output states +enum sns_basic_gestures_event_mask +{ + option (nanopb_enumopt).long_names = false; + // For masking push and pull states + SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL = 1; + // For masking shake left and right states + SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_LEFT_AND_RIGHT = 2; + // For masking shake top and bottom states + SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_TOP_AND_BOTTOM = 4; + //For masking shake other state + SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_OTHER = 8; +} +// Device Basic gesture detected by Basic gestures sensor +enum sns_basic_gestures_event_type +{ + option (nanopb_enumopt).long_names = false; + //Phone is pulled away from the user in a direction perpendicular to the screen + SNS_BASIC_GESTURES_EVENT_TYPE_PUSH = 1; + //Phone is pulled toward the user in a direction perpendicular to the screen + SNS_BASIC_GESTURES_EVENT_TYPE_PULL = 2; + //Phone is shaken toward the left + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_LEFT = 3; + //Phone is shaken toward the right + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_RIGHT = 4; + //Phone is shaken toward the top + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_TOP = 5; + //Phone is shaken toward the bottom + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_BOTTOM = 6; + //Phone is shaken, but phone shake direction cannot be clearly determined + SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_OTHER = 7; +} +// Event Message +// Output data event generated by the basic_gestures sensor. +// Default values of optional fields added in registry +message sns_basic_gestures_config +{ + //Sleep time in seconds + optional float sleep = 1; + //Push threshold m/s/s(default = 1.5G),where G=9.81188 + //min_push_threshold:1G, max_push_threshold:5G + optional float push_threshold = 2; + //Pull threshold m/s/s (default = 1.5G) + //min_pull_threshold:1G, max_pull_threshold:5G + optional float pull_threshold = 3; + //Shake threshold m/s/s(default = 1.5G) + //min_shake_threshold:1G, max_shake_threshold:5G + optional float shake_threshold = 4; + //For masking output events. + //By default, All states reported. + //Client should use sns_basic_gestures_event_mask fields for masking, + //specific events + //Example: If client doesn't want push and pull events,then, + //client updates event_mask with SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL + //event_mask |= SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL; + optional bytes event_mask = 5; +} + +// Event Message +// Output data event generated by the basic_gestures sensor. +message sns_basic_gestures_event +{ + // basic_gestures sensor state info + required sns_basic_gestures_event_type state=1; +} + +// Stream events: +// +// The sns_basic_gestures_event message is used to publish updated state +// +// Basic_gestures sensor does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_bring_to_ear.proto b/proprietary/vendor/etc/sensors/proto/sns_bring_to_ear.proto new file mode 100644 index 0000000..c610a2b --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_bring_to_ear.proto @@ -0,0 +1,40 @@ +// @file sns_bring_to_ear.proto +// +// Defines message types for the the Bring_To_Ear sensor +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Bring_to_ear sensor detects bring to ear event, +// When a device has been held in a face-up position, +// afterwhich the device is brought to the user's ear, with the top of the device facing upwards. + +// Bring to ear Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "bring_to_ear" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. + +// ## Event Message: SNS_BRING_TO_EAR_MSGID_SNS_BRING_TO_EAR_EVENT +// Reported upon new detection of bring_to_ear event + + +// Message IDs for Bring to ear Sensor +enum sns_bring_to_ear_msgid +{ + option (nanopb_enumopt).long_names = false; + // Empty Message + SNS_BRING_TO_EAR_MSGID_SNS_BRING_TO_EAR_EVENT = 1024; +} + +// Stream events: +// +// The sns_bring_to_ear_event message is used to publish updated state +// +// Bring_to_ear sensor does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_cal.proto b/proprietary/vendor/etc/sensors/proto/sns_cal.proto new file mode 100644 index 0000000..fe878b0 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_cal.proto @@ -0,0 +1,118 @@ +// @file sns_cal.proto +// +// Defines standard message types pertaining to calibration +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// For dynamic calibration supported by Calibration Sensors: +// Client will use the standard on change config message id to enable +// Calibration Sensor. Calibration algorithms are inherently on change in +// behavior. + +// For both dynamic calibration supported by Calibration Sensors & +// factory calibration supported by Physical Sensors: +// Client can send an empty request with the msg id for reset +// to reset the calibration parameters. +enum sns_cal_msgid +{ + option (nanopb_enumopt).long_names = false; + SNS_CAL_MSGID_SNS_CAL_RESET = 512; + SNS_CAL_MSGID_SNS_CAL_EVENT = 1022; +} + +// Calibration Event +// Used as an output data event by Calibration Sensors to convey +// dynamic calibration estimates and +// as a config event by Physical Sensors to convey factory calibration +// being applied +// +// A) The data field of the sns_cal_event message +// +// 1) float bias[] (Nx1 vector) +// The zero bias (B) correction subtracted to get calibrated sample.(Nx1 vector) +// +// 2) float scale_factor (Nx1 vector) +// The scaling (SF) to be done before doing any bias correction. +// +// 3) float comp_matrix (NxN matrix) +// The compensation matrix (CM). The matrix elements are in row major order ie: +// CM = CM0 CM1 CM2 +// CM3 CM4 CM5 +// CM6 CM7 CM8 +// +// The calibrated sample (Sc) is computed as following. +// +// if SF, B and CM are available, +// +// Sc = CM * ((S .* SF) - B) +// +// if only B and CM are available, +// +// Sc = CM * (S - B) +// +// if only SF and B are available, +// +// Sc = ((S .* SF) - B) +// +// if only SF is available, +// +// Sc = S .* SF +// +// if only B is available, +// +// Sc = (S - B) +// +// if only CM is available +// +// Sc = CM * S +// +// where: +// Sc = Calibrated sensor sample +// S = Sensor sample (Nx1 vector) +// SF = Scaling factor to be applied to S +// CM = compensation_matrix +// B = bias +// "*" represents matrix multiplication +// ".*" represents element-by-element multiplication +// +// +// B) The status field of the sns_std_sensor_event message contains +// the quality of calibration defined by sns_std_sensor_sample_status as +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE = 0; // Sample is unreliable. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_LOW = 1; // Sample is low accuracy. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_MEDIUM = 2;// Sample is medium accuracy. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH = 3; // Sample is high accuracy. + +message sns_cal_event +{ + //Optional bias value + //If no bias is being published this will be of size 0. + //Generic for different axes biases. + //Size is defined by axes value inherently. + repeated float bias = 1; + + //Optional scaling factor + //If no scaling factor is published this will be of size 0. + //Size if published is has to be equal to the axes of the data + repeated float scale_factor = 2; + + //If no CM is being published this will be of size 0. + //Optional CM values . + //Size if published should be equal to matrix of size [axes*axes] + repeated float comp_matrix = 3; + + // Event sample status. + required sns_std_sensor_sample_status status = 4 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; + + // Calibration ID, a unique identifier for the calibration set being used + // As an example, could be set when there are distinct calibration sets for different + // device modes being maintained + optional fixed32 cal_id = 5; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_cct.proto b/proprietary/vendor/etc/sensors/proto/sns_cct.proto new file mode 100644 index 0000000..b8d6f91 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_cct.proto @@ -0,0 +1,94 @@ +// @file sns_flicker.proto +// +// Defines the API for Proximity Sensors. +// All Proximity Sensor drivers are required to comply with this API. +// Any new functionality for Proximity Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +//import "sns_std_sensor.proto"; +//import "sns_physical_sensor_test.proto"; +//import "sns_cal.proto"; + +// Attribute requirements: +// The Proximity Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "cct". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this +// is an event sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in k unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Proximity Sensor supports both streaming and on-change +// modes and the operating mode is configured in the Registry. +// 2. The streaming Proximity Sensor handles the sns_std_sensor_config request +// for all stream enable/update requests. +// 3. The on-change Proximity Sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for +// all stream enable/update requests. +// 4. In on-change mode the Sensor uses interrupt operation and reports +// samples only for NEAR/FAR transitions. + + +// Message IDs for cct Sensor +enum sns_cct_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_cct_event + // Purpose: An output data event from the cct sensor to it's client. + SNS_CCT_MSGID_SNS_CCT_EVENT = 882; +} + + +// Events types from cct Sensor +message sns_cct_event +{ + required float cct = 1; + required int32 red_raw = 2; + required int32 green_raw = 3; + required int32 blue_raw = 4; + required int32 clear_raw = 5; + required int32 wband_raw = 6; + required float ir_ratio = 7; + required float x = 8; + required float y = 9; + required float lux = 10; + required float als_gain = 11; + required float a_time = 12; +} + +// Handling stream events: +// 1. The Proximity Sensor publishes object flicker data stream events +// using sns_flicker_event message. +// 2. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 3. The Proximity Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + +// Handling self-test requests: +// 1. The Proximity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Proximity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for Proximity Sensor calibrates +// the sensor to detect an object (including light and dark colored) +// at 5cm distance from the physical sensor. +// 3. The Proximity Sensor could implement other test types. + +// Handling test events: +// 1. The Proximity Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_client.proto b/proprietary/vendor/etc/sensors/proto/sns_client.proto new file mode 100644 index 0000000..22497eb --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_client.proto @@ -0,0 +1,116 @@ +// @file sns_client.proto +// +// Defines the interface between external clients and the Sensors QMI Client +// Manager. The Client Manager is the primary path for external clients +// to communicate with the SSC. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std.proto"; +import "sns_std_type.proto"; + +// Message IDs +// +// Message IDs uniquely identify a particular message amongst all message +// supported by a Sensor, both requests and events; they need not be unique +// between different Sensors. IDs are subdivided into several reserved pools. +// These reservations are made so that Framework components can appropriately +// optimize their processing. +// +// Reserved for Framework use only: +// 0-127 - Request Messages +// 128-255 - Non-recurrent events (configuration updates, one-time events, etc) +// 256-511 - Recurrent and/or periodic events (e.g. sensor samples) +// +// Sensor use: +// 512-767 - Request messages +// 768-1023 - Non-recurrent events +// 1024-1536 - Recurrent events +// +// Note that messages serving as request messages can also be sent as +// configuration events back to the client (with the same ID). While batching +// data for a non-wakeup client, if the AP is in suspend and all batching space +// exhausted, the oldest recurrent events may be dropped. + +// Framework-defined message IDs: +enum sns_client_msgid { + option (nanopb_enumopt).long_names = false; + + // Disable request explicitly handled only on the client interface. + SNS_CLIENT_MSGID_SNS_CLIENT_DISABLE_REQ = 10; + + // NOTE: 120-127 Are reserved +} + +enum sns_client_delivery { + option (nanopb_enumopt).long_names = false; + + // Send events whenever available (at sample rate or batch period) + // - If a batch_period larger than system capacity is requested, all data + // will be sent upon capacity exhaustion. + // - The flush_period will be effectively ignored, as unsent batched + // data will not accrue in the buffer. + SNS_CLIENT_DELIVERY_WAKEUP = 0; + // Send events only when client processor is awake; batch otherwise. Once + // the target processor exits suspend, any/all pending events will be sent. + SNS_CLIENT_DELIVERY_NO_WAKEUP = 1; +} + + +// Request Message +message sns_client_request_msg { + // SUID associated with this request; intended destination + required sns_std_suid suid = 1; + + // See comment above + required fixed32 msg_id = 2; + + // Whether to wakeup the client processor (if it is in suspend), when an + // event is generated and ready to send. The Qualcomm Client Manager will + // enforce these criteria for all clients; this information is made available + // to sensors for optimization purposes only. + message suspend_config { + // Processor on which the client resides; If a flush occurs for one client + // on an external processor, all clients will receive a flush of data. + required sns_std_client_processor client_proc_type = 1 [default = SNS_STD_CLIENT_PROCESSOR_APSS]; + + // Whether to send events while the specified processor is in suspend. + required sns_client_delivery delivery_type = 2 [default = SNS_CLIENT_DELIVERY_WAKEUP]; + + //The client expects that, when the message with an id specified in this list + //is generated, the message should only be delivered to the client if data is already being delivered + //to the processor mentioned above. + repeated fixed32 nowakeup_msg_ids = 3; + } + required suspend_config susp_config = 3; + + // Base message payload; contents will be partially specified by Sensor developer + required sns_std_request request = 4; +} + +message sns_client_event_msg { + // SUID associated with this Event; source of data + required sns_std_suid suid = 1; + + // An event generated by a Sensor; used within sns_client_event_msg and SensorBatchMessage + message sns_client_event { + // See comment above + required fixed32 msg_id = 1; + + // Timestamp associated with this event + // For most events, this timestamp is specified by the Sensor. + // For events generated by the Framework (such as configuration updates or + // error events), this timestamp refers to the time at which the event was + // created. + required fixed64 timestamp = 2; + + // Dynamic length payload, containing the actual data/event + // This payload will need to be decoded separately, using the Sensor-specific + // header file + required bytes payload = 3; + } + repeated sns_client_event events = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_cmc.proto b/proprietary/vendor/etc/sensors/proto/sns_cmc.proto new file mode 100644 index 0000000..122da06 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_cmc.proto @@ -0,0 +1,81 @@ + +// @file sns_cmc.proto +// +// Defines message types for the Coarse Motion Classifier (CMC) Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + + +// CMC Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "coarse_motion_classifier" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for CMC Sensor +enum sns_cmc_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_CMC_MSGID_SNS_CMC_EVENT = 772; +} + +// Gives the state which the algorithm is capable +// of detecting +enum sns_cmc_motion_state +{ + option (nanopb_enumopt).long_names = false; + + // stated with 1 to match with algo where 0 + // is for UNKNOWN + SNS_CMC_STATIONARY = 1; + SNS_CMC_MOVE = 2; + SNS_CMC_FIDDLE = 3; + SNS_CMC_PEDESTRIAN = 4; + SNS_CMC_VEHICLE = 5; + SNS_CMC_WALK = 6; + SNS_CMC_RUN = 7; + SNS_CMC_BIKE = 8; +} + +// Gives the information about the states represented +// by sns_cmc_motion_state +enum sns_cmc_motion_state_event +{ + option (nanopb_enumopt).long_names = false; + // when any state of any of the motion state cannot + // be determined. The first event of first client will + // typically have all states as SNS_MS_UNKNOWN + SNS_MS_UNKNOWN = 0; + // A given motion state is ACTIVE + SNS_MS_ACTIVE = 1; + // A given motion state is INACTIVE + SNS_MS_INACTIVE = 2; +} + +message sns_cmc_event +{ + message data + { + // motion state by CMC + required sns_cmc_motion_state ms_state = 1; + + // gives UNKNOWN/ACTIVE/INACTIVE information for the motion state + required sns_cmc_motion_state_event ms_state_event = 2 [default = SNS_MS_UNKNOWN]; + } + + repeated data events = 1; +} + +// Stream events: +// +// The sns_cmc_event message is used to publish updated state +// +// CMC does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_da_test.proto b/proprietary/vendor/etc/sensors/proto/sns_da_test.proto new file mode 100644 index 0000000..b72a610 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_da_test.proto @@ -0,0 +1,65 @@ +// @file sns_da_test.proto +// +// Defines the API for communicating with the Driver acceptance +// test sensor. +// This is to used by the linux command line partner application +// to send string messages to the sns_da_test_sensor +// +// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_da_test_msgid { + option (nanopb_enumopt).long_names = false; + SNS_DA_TEST_MSGID_SNS_DA_TEST_REQ = 512; + SNS_DA_TEST_MSGID_SNS_DA_TEST_LOG = 768; + SNS_DA_TEST_MSGID_SNS_DA_TEST_EVENT = 1024; +} + +//This message contains the test parameters as a single string in the format below +//-testcase= -sample_rate=< any +tive value > -sensor= +//-duration=< any +tive value in seconds> -batch_period=<+tive value in seconds> +message sns_da_test_req { + optional string test_args = 1; +} + +//This message contains any return data from the test driver including PASS/FAIL +//msg. and explainations if applicable +message sns_da_test_event { + optional string test_event = 1; +} + +// Sensor State log message +// This definition is used by da_test sensor to log test +// information when publishing sensor api event +message sns_da_test_log { + //Time elapsed between streaming start request time and first sample received + required uint64 time_to_first_event = 1; + + //Time elapsed between streaming stop request time and last sample received + required sfixed32 time_to_last_event = 2; + + //Time when last sample was received + required uint64 sample_ts = 3; + + //Total number of samples received + required uint32 total_samples = 4; + + //time delta between samples avegraged over number of samples + required uint32 avg_delta = 5; + + //configures sample rate received in the SNS_STD_SENSOR_PHYSICAL_CONFIG_EVENT + required sfixed32 recvd_phy_config_sample_rate = 6; + + //random seed used by the da_test instance + optional uint64 random_seed_used = 7; + + //The number of std_req sent out by this instance of da_test + optional uint32 num_request_sent = 8; + + //timestamp of first sample received on da_test + optional uint64 first_sample_timestamp = 9; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_device_mode.proto b/proprietary/vendor/etc/sensors/proto/sns_device_mode.proto new file mode 100644 index 0000000..66b5efd --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_device_mode.proto @@ -0,0 +1,61 @@ +// @file sns_device_mode.proto +// +// Defines message types for the Device Mode Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// DEVICE_MODE determine the current mode of the device + +// DEVICE_MODE Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "device_mode" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor +// - Client must remove stream to disable the sensor + +// Message IDs for DEVICE_MODE Sensor +enum sns_device_mode_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_DEVICE_MODE_MSGID_SNS_DEVICE_MODE_EVENT = 772; +} + +enum sns_device_mode +{ + option (nanopb_enumopt).long_names = false; + SNS_DEVICE_MODE_UNKNOWN = 0; + SNS_DEVICE_MODE_FLIP_OPEN = 1; +} + +enum sns_device_state +{ + option (nanopb_enumopt).long_names = false; + SNS_DEVICE_STATE_INACTIVE = 0; + SNS_DEVICE_STATE_ACTIVE = 1; +} + +message sns_device_mode_event +{ + message mode_spec { + required sns_device_mode mode = 1; + + required sns_device_state state = 2; + } + // Device Mode + repeated mode_spec device_mode = 1; +} + +// Stream events: +// +// The sns_device_mode_event message is used to publish updated mode +// +// DEVICE_MODE does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_device_orient.proto b/proprietary/vendor/etc/sensors/proto/sns_device_orient.proto new file mode 100644 index 0000000..d57f922 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_device_orient.proto @@ -0,0 +1,57 @@ +// @file sns_device_orient.proto +// +// Defines the API for the Device Orientation sensors +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A device orientation sensor reports the current orientation of the device. +// +// Minor or transient rotations should not cause a new event to be reported, +// and this sensor should only be implemented with the help of an accelerometer. +// Moving the device to an orientation where the Z axis is vertical (either up +// or down) should not cause a new event to be reported. + +// ## Device Orientation sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "device_orient" +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: SNS_DEVICE_ORIENT_MSGID_SNS_DEVICE_ORIENT_EVENT + +// Message IDs for Device Orientation Sensor +enum sns_device_orient_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_DEVICE_ORIENT_MSGID_SNS_DEVICE_ORIENT_EVENT = 776; +} + +enum sns_device_orient_event_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_DEVICE_ORIENT_EVENT_TYPE_UNKNOWN = -1; + // Device is in default orientation (Y axis is vertical and points up) + SNS_DEVICE_ORIENT_EVENT_TYPE_DEFAULT = 0; + // Device is rotated 90 degrees counter-clockwise from default orientation + // (X axis is vertical and points up) + SNS_DEVICE_ORIENT_EVENT_TYPE_POS_1 = 1; + // Device is rotated 180 degrees from default orientation (Y axis is + // vertical and points down) + SNS_DEVICE_ORIENT_EVENT_TYPE_POS_2 = 2; + // Device is rotated 90 degrees clockwise from default orientation (X axis + // is vertical and points down) + SNS_DEVICE_ORIENT_EVENT_TYPE_POS_3 = 3; +} + +message sns_device_orient_event +{ + // Detected state + required sns_device_orient_event_type state = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_diag.proto b/proprietary/vendor/etc/sensors/proto/sns_diag.proto new file mode 100644 index 0000000..0b02cbb --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_diag.proto @@ -0,0 +1,433 @@ +// @file sns_diag.proto +// +// Defines log messages used by the sensors diag service +// +// Copyright (c) 2016-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std.proto"; +import "sns_std_sensor.proto"; +import "sns_client.proto"; + +// Batch Sample Type +enum sns_diag_batch_sample_type +{ + option (nanopb_enumopt).long_names = false; + + // This is the only sample in the batch + SNS_DIAG_BATCH_SAMPLE_TYPE_ONLY = 0; + + // This is the first sample of the batch + SNS_DIAG_BATCH_SAMPLE_TYPE_FIRST = 1; + + // This is an intermediate sample of the batch + SNS_DIAG_BATCH_SAMPLE_TYPE_INTERMEDIATE = 2; + + // This is the last sample of the batch + SNS_DIAG_BATCH_SAMPLE_TYPE_LAST = 3; +} + +// Sensor Interrupts +enum sns_diag_interrupt +{ + option (nanopb_enumopt).long_names = false; + + // Interrupt caused by detection of a threshold being + // exceeded + SNS_DIAG_INTERRUPT_THRESHOLD = 0; + + // Interrupt caused by detection of movement of the device + SNS_DIAG_INTERRUPT_MOTION = 1; + + // Interrupt caused by detection of tilting of the device + SNS_DIAG_INTERRUPT_TILT = 2; + + // Interrupt caused by detection of free fall + SNS_DIAG_INTERRUPT_FREE_FALL = 3; + + // Interrupt caused by detection of double-tap + SNS_DIAG_INTERRUPT_DOUBLE_TAP= 4; + + // Interrupt caused by detection of acceleration shock + SNS_DIAG_INTERRUPT_SHOCK = 5; + + // Interrupt caused by CCD AMD + SNS_DIAG_INTERRUPT_CCD_AMD = 6; + + // Interrupt caused by CCD WALK + SNS_DIAG_INTERRUPT_CCD_WALK = 7; + + // Interrupt caused by CCD TILT + SNS_DIAG_INTERRUPT_CCD_TILT = 8; + + // Interrupt caused by CCD TE0 + SNS_DIAG_INTERRUPT_CCD_TE0 = 9; + + // Interrupt caused by CCD TE1 + SNS_DIAG_INTERRUPT_CCD_TE1 = 10; + + // Interrupt caused by CCD TE2 + SNS_DIAG_INTERRUPT_CCD_TE2 = 11; +} + +// Opaque Payload +// This message defines the fields used to log an undefined payload +message sns_diag_opaque_payload +{ + required bytes payload = 1; +} + +// Batch Sample +// This message defines the fields used to log batched data. +message sns_diag_batch_sample +{ + // Indicates if the sample is the first, intermediate, last or only + // sample of a batch + required sns_diag_batch_sample_type sample_type = 1 [default = SNS_DIAG_BATCH_SAMPLE_TYPE_ONLY]; + + // Timestamp of the sensor state data sample + required fixed64 timestamp = 2; + + // Sensor state data sample + repeated float sample = 3; + + // Data status. + required sns_std_sensor_sample_status status = 4 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Sensor State Hardware Interrupt Log Packet +// This message defines the fields used to log sensor state information +// pertaining to hardware interrupts +// This message is used as the payload field of sns_diag_sensor_log +message sns_diag_sensor_state_interrupt +{ + // Type of sensor hardware interrupt + required sns_diag_interrupt interrupt = 1; + + // Timestamp when the interrupt occurred + required fixed64 timestamp = 2; +} + +// Sensor State Raw +// This message defines the fields used to log sensor state information +// pertaining to raw uncalibrated physical sensor data. +// This message is used as the payload field of sns_diag_sensor_log +message sns_diag_sensor_state_raw +{ + repeated sns_diag_batch_sample sample = 1; +} + +// Client API Response Message +message sns_diag_client_resp_msg +{ + // The error response sent to the client + required sns_std_error error = 1; +} + +// Client API log packet +// This message defines the fields to log all +// Request, Response and Event messages at the Client API +// This message is used as the payload field of sns_diag_sensor_log +message sns_diag_client_api_log +{ + // The client id that identifies the client connection + required fixed64 client_id = 1; + + // Data type of the source sensor + required string src_sensor_type = 2; + + // The Client API log packet payload + oneof client_api_log_payload + { + // Client API Request message as defined in sns_client.proto + sns_client_request_msg request_payload = 100; + + // Client API Event message as defined in sns_client.proto + sns_client_event_msg event_payload = 101; + + // Client API Response message as defined in sns_diag.proto + sns_diag_client_resp_msg resp_payload = 102; + } +} + +// Sensor API log packet +// This message defines the fields to log all Request and +// Event messages at the Sensor API +// This message is used as the payload field of sns_diag_sensor_log +message sns_diag_sensor_api_log +{ + // The message id of the message being logged + required fixed32 message_id = 1; + + // Timestamp associated with this message + required fixed64 timestamp = 2; + + // Data stream associated with this message + optional fixed64 stream_id = 3; + + // The Sensor API log packet payload + oneof sensor_api_log_payload + { + // Sensor API Event message containing sensor specific event message + // as defined in the sensor's proto api file + sns_diag_opaque_payload opaque_payload = 100; + + // Sensor API Request message as defined in sns_std.proto + sns_std_request request_payload = 101; + } +} + +// Sensor log packet +// This message defines the fields to log all sensor specific +// messages. This includes Sensor API messages, Client API messages, +// HW Interrupt messages, Sensor State messages +message sns_diag_sensor_log +{ + // Log ID for the log packet + required fixed32 log_id = 1; + + // Timestamp when log packet.was generated + required fixed64 timestamp = 2; + + // Sensor UID for the log packet + required sns_std_suid suid = 3; + + // Data type provided by the Sensor UID + required string sensor_type = 4; + + // The instance id of the sensor to which this + // message was passed to or obtained from + required fixed64 instance_id = 5; + + // The log packet payload + oneof sensor_log_payload + { + // Sensor specific Sensor State Algo message + sns_diag_opaque_payload opaque_payload = 100; + + // Sensor API message + sns_diag_sensor_api_log sensor_api_payload = 101; + + // Client API message + sns_diag_client_api_log client_api_payload = 102; + + // Sensor State Raw message + sns_diag_sensor_state_raw sensor_state_raw_payload = 103; + + // Sensor State Hardware Interrupt message + sns_diag_sensor_state_interrupt sensor_state_interrupt_payload = 104; + } +} + +// Sensor Instance Mapping Log Packet +// This message defines the fields used to log sensor instance mapping +// information. This message is used as the payload field of sns_diag_fw_log +message sns_diag_instance_map_log +{ + // The instance id of the source sensor instance + required fixed64 src_instance_id = 1; + + // Array of destination Sensor Instance IDs or Sensor IDs that the + // source sensor instance is feeding to. + // If no destination instance ids are specified it signifies + // deletion of the source instance + repeated fixed64 dest_instance_id = 2; + + // Array of data stream ids that the + // source sensor instance is feeding to + repeated fixed64 stream_id = 3; +} + +// Island mode states +enum sns_diag_island_state +{ + option (nanopb_enumopt).long_names = false; + + // In Island mode + SNS_DIAG_ISLAND_STATE_IN_ISLAND_MODE = 0; + + // Not in Island Mode + SNS_DIAG_ISLAND_STATE_NOT_IN_ISLAND_MODE = 1; + + // Island mode disabled + SNS_DIAG_ISLAND_STATE_ISLAND_DISABLED = 2; +} + +// Island mode transition Log Packet +// This message defines the fields used to log +// transitions into and out of island mode +// +// This log packet is generated each time the system transitions into or out +// of island mode or when island mode is disabled or when triggered by +// a request to the diag sensor +// +// This message is used as the payload field of sns_diag_fw_log +message sns_diag_island_transition_log +{ + // Timestamp of the transition + // + // When logpacket is triggered, this timestamp will retain + // the timestamp when the current state became effective. + required fixed64 timestamp = 1; + + // Island state after transition is completed + required sns_diag_island_state island_state = 2; + + // User defined cookie + // Used by test scripts to identify logs triggered + // by messages sent to the SSC + optional fixed64 cookie = 3; + + // Total time system spent in island since device boot(micro seconds) + optional fixed64 total_island_time = 4; +} + +// Island exit vote Log Packet +// This message defines the fields used to log vote for island mode exits. +// +// This log packet is generated at each call to island_exit() +message sns_diag_island_exit_vote_log +{ + // Timestamp + required fixed64 timestamp = 1; + + // SUID of the Sensor responsible for the vote + optional sns_std_suid sensor = 2; +} + +// Heap IDs +enum sns_diag_heap_id +{ + option (nanopb_enumopt).long_names = false; + + // Primary Heap + SNS_DIAG_HEAP_ID_HEAP_MAIN = 0; + + // Island Heap + SNS_DIAG_HEAP_ID_HEAP_ISLAND = 1; + + // PRAM Heap + SNS_DIAG_HEAP_ID_HEAP_PRAM = 2; + + // EVENT Heap + SNS_DIAG_HEAP_ID_HEAP_EVENT = 3; + + // BATCH Heap + SNS_DIAG_HEAP_ID_HEAP_BATCH = 4; + + // Event buffer + SNS_DIAG_HEAP_ID_EVENT_BUFFER = 100; +} + +// Memory status Log Packet +// This message defines the fields used to log the memory utilization +// This log packet is generated when a request is sent to the diag sensor +message sns_diag_mem_utilization_log +{ + // Timestamp + required fixed64 timestamp = 1; + + // Heap ID + required sns_diag_heap_id heap_id = 2; + + // Total Memory + required fixed32 total_memory = 3; + + // Used Memory + required fixed32 used_memory = 4; + + // User defined cookie + // Used by test scripts to identify logs triggered + // by messages sent to the SSC + optional fixed64 cookie = 5; +} + +// Event Service status Log Packet +// This message defines the fields used to log the memory utilization and +// other statistics from the Event Service. +// Used only for SW debug; *not guaranteed to be backward compatible* +// This log packet is generated when a request is sent to the diag sensor +message sns_diag_event_service_log +{ + // Timestamp + required fixed64 timestamp = 1; + + // User defined cookie + // Used by test scripts to identify logs triggered + // by messages sent to the SSC + optional fixed64 cookie = 2; + + message heap_stats + { + enum sns_event_service_heap_id + { + SNS_EVENT_SERVICE_HEAP_ID_ISLAND = 0; + SNS_EVENT_SERVICE_HEAP_ID_MAIN = 1; + } + // Heap ID + required sns_event_service_heap_id heap_id = 1; + + // Total memory available in heap (in blocks) + required fixed32 total_memory = 2; + + // Current memory consumption (in blocks) + required fixed32 used_memory = 3; + + // Maximum memory consumption since last log packet (in blocks) + required fixed32 max_memory = 4; + + // Total clusters available + required fixed32 total_clusters = 5; + + // Current number of clusters in use + required fixed32 used_clusters = 6; + + // Maximum in-use clusters since last log packet + required fixed32 max_clusters = 7; + + // Number of allocation failues since the last DIAG log packet + // If Island will result in island exit; else causes dropped samples + required fixed32 alloc_failures = 8; + + // Largest event allocation since the last DIAG log packet (in bytes) + required fixed32 max_size = 9; + } + repeated heap_stats stats = 3; +} + +// Framework log packet +// This message defines the fields to log all framework messages. This +// includes memory, island, instance mapping messages. +message sns_diag_fw_log +{ + // Log ID for the log packet + required fixed32 log_id = 1; + + // Timestamp when log packet.was generated + required fixed64 timestamp = 2; + + // The log packet payload + oneof fw_log_payload + { + // Sensor Instance Map message + sns_diag_instance_map_log instance_map_payload = 100; + + // Sensor Island Mode + sns_diag_island_transition_log island_mode_payload = 101; + + // Sensors Island Exit vote + // NOT SUPPORTED YET. + sns_diag_island_exit_vote_log island_exit_vote_payload = 102; + + // Sensors Memory Utilization + sns_diag_mem_utilization_log memory_utilization_payload = 103; + + // Event Service status log + sns_diag_event_service_log event_service_payload = 104; + } +} + diff --git a/proprietary/vendor/etc/sensors/proto/sns_diag_sensor.proto b/proprietary/vendor/etc/sensors/proto/sns_diag_sensor.proto new file mode 100644 index 0000000..804e7e6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_diag_sensor.proto @@ -0,0 +1,51 @@ +// @file sns_diag_sensor.proto +// +// Defines standard message types to communicate with the +// diag service +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; + +enum sns_diag_sensor_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_DIAG_SENSOR_MSGID_SNS_DIAG_LOG_TRIGGER_REQ = 520; +} + +// Log packets that can be triggered by the diag sensor +enum sns_diag_triggered_log_type { + option (nanopb_enumopt).long_names = false; + + // Triggers generation of sns_diag_island_transition_log + // Only one log is generated per request + SNS_DIAG_TRIGGERED_LOG_TYPE_ISLAND_LOG = 1; + + // Triggers generation of sns_diag_mem_utilization_log + // A single request will generate a log for each separate memory + // pool in the system + SNS_DIAG_TRIGGERED_LOG_TYPE_MEMORY_USAGE_LOG = 2; +} + +// Trigger generation of log packets. Depending upon +// the type of log packet that is being triggered, +// multiple log packets can be triggered for each +// request. +// +// If the log packet that is triggered has been disabled +// no log will be generated. +message sns_diag_log_trigger_req { + + // User defined cookie + // Used by test scripts to identify logs triggered + // by messages sent to the SSC + optional fixed64 cookie = 1; + + // The type of log packets that the diag sensor must + // generate. + required sns_diag_triggered_log_type log_type = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_direct_channel.proto b/proprietary/vendor/etc/sensors/proto/sns_direct_channel.proto new file mode 100644 index 0000000..5601bb3 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_direct_channel.proto @@ -0,0 +1,124 @@ +// @file sns_direct_channel.proto +// +// Defines the Sensors Direct Channel interface that can be used by clients to get sensor data via direct channel +// +// Copyright (c) 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; +import "sns_std.proto"; + +// To activate a stream on a channel +// " get Channel first by sending sns_direct_channel_create_msg -> then send sns_direct_channel_set_ts_offset -> send sns_direct_channel_set_client_req for sns_direct_channel_stream_id" + +// To activate another stream on existing channel +// "Send sns_direct_channel_set_client_req on existing Channel for new sns_direct_channel_stream_id" + +// To update the existing request on the channel +// "Send updated sns_direct_channel_set_client_req on existing Channel with already added sns_direct_channel_stream_id" + +// To remove existing request on the channel +// "Send sns_direct_channel_remove_client_req on existing Channel for any added sns_direct_channel_stream_id" + +// To update time stamp offset on channel. +// "Send sns_direct_channel_set_ts_offset on existing Channel with ts_offset" + + +enum direct_channel_type { + option (nanopb_enumopt).long_names = false; + + // Sensor data from multiple streams can be multiplexed in one channel + // Samples are compatible to sensors_event_t format defined by Android Spec + // ref: SensorsEventFormatOffset( a.k.a sensors_event_t) at hardware/interfaces/sensors/1.0/types.hal + DIRECT_CHANNEL_TYPE_STRUCTURED_MUX_CHANNEL = 0; + + // Sensors Data format expected in Raw bytes only. + // Sensors data format is not mandated in the API. + // This channel type can be used by clients who know how to interpret the sensor data from respective sensor source. + DIRECT_CHANNEL_TYPE_GENERIC_CHANNEL = 1; +} + +// stream id for different direct channel streams +message sns_direct_channel_stream_id { + // sensor responsible for data + required sns_std_suid suid = 1; + // if set to true, auto calibrated data is generated + // if set to false, factory calibrated data is generated + optional bool calibrated = 2 [default = true]; + // if set to true, resampled data is generated at rate which is at most twice the requested rate + // if set to false, data is generated at native rate supported by driver, advertised with attributes - SNS_STD_SENSOR_ATTRID_RATES and SNS_STD_SENSOR_ATTRID_ADDITIONAL_LOW_LATENCY_RATES + optional bool resampled = 3 [ default = true]; +} + + +// Direct channel Creation Request Message +message sns_direct_channel_create_msg { + // ION fd, size to get Virtual address that can be used by Q6 + message shared_buffer_config { + required fixed32 fd = 1; + required fixed32 size = 2; + } + + required shared_buffer_config buffer_config = 1; + + // Each channel can be either DIRECT_CHANNEL_TYPE_STRUCTURED_MUX_CHANNEL or DIRECT_CHANNEL_TYPE_GENERIC_CHANNEL + // e.g Android Direct Report Channel for DIRECT_CHANNEL_TYPE_STRUCTURED_MUX_CHANNEL + required direct_channel_type channel_type = 2 ; + + // Processor hosting the sensor data client + // Default processor is Application Processor + optional sns_std_client_processor client_proc = 3 [ default = SNS_STD_CLIENT_PROCESSOR_APSS]; +} + + +// Client request on Direct Channel +message sns_direct_channel_set_client_req { + // msg id for sns_std_request, see sns_std.proto for more information. + required fixed32 msg_id = 1; + + // unique id for each stream on the channel + required sns_direct_channel_stream_id stream_id = 2; + + // generic sns_std_request + required sns_std_request request = 3; + + // required attributes for DIRECT_CHANNEL_TYPE_STRUCTURED_MUX_CHANNEL + message structured_mux_channel_stream_attributes { + // Unique handle per sensor, client has to supply for mapping in sensor hub to "sensor_event_t::sensor" variable + required fixed32 sensor_handle = 1; + // Corresponds to android sensor type, client has to supply for mapping in sensor hub to "sensor_event_t::type" variable + required fixed32 sensor_type = 2; + } + + optional structured_mux_channel_stream_attributes attributes = 4; +} + + +// Direct Channel remove client request message +message sns_direct_channel_remove_client_req { + required sns_direct_channel_stream_id stream_id = 1; +} + + +// Clients interested in Client Time Domain Time Stamp has to supply offset value +// direct channel in sensor hub adds this value to its own time domain time stamp to generate Client Time Domain Time Stamp +message sns_direct_channel_set_ts_offset { + required fixed64 ts_offset = 1; +} + + +// Direct Channel Configuration Message +message sns_direct_channel_config_msg { + + oneof channel_config_msg_payload + { + sns_direct_channel_set_client_req set_client_req = 100; + + sns_direct_channel_remove_client_req remove_client_req = 101; + + sns_direct_channel_set_ts_offset set_ts_offset = 102; + } +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_dpc.proto b/proprietary/vendor/etc/sensors/proto/sns_dpc.proto new file mode 100644 index 0000000..bbc27d7 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_dpc.proto @@ -0,0 +1,64 @@ +// @file sns_dpc.proto +// +// Defines message types for the DPC(Device Position Classifier) Sensor. +// +// Copyright (c) 2017-2018, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The DPC Sensor provides device position information + +// DPC Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "device_position_classifier" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for DPC Sensor +enum sns_dpc_msgid { + option (nanopb_enumopt).long_names = false; + + //send to new client immediatly to inform current device position + SNS_DPC_MSGID_SNS_DPC_EVENT_CONFIG = 777; + + //send when detect device position change + SNS_DPC_MSGID_SNS_DPC_EVENT = 1030; +} + +// Stream events: +// +// The sns_dpc_event message is used to publish updated device position +// The sns_dpc_event_config message is sent immediately to new client to inform the current device position + +enum sns_dpc_state +{ + option (nanopb_enumopt).long_names = false; + + // when algo cannot identify other states + SNS_DPC_UNKNOWN = 1; + // User keeps the device steady with display at an angle within +/-15 deg with respect to the horizontal plane + SNS_DPC_FLAT_STATIC = 2; + // Device is not in FLAT_STATIC state and proximity sensor detects NEAR + SNS_DPC_HIDDEN = 3; + // User picks up the device + SNS_DPC_IN_HAND = 4; + // User keeps the device steady with display at an angle greater than +/-15 deg with respect to the horizontal plane + SNS_DPC_FACING = 5; +} + +// Events types from DPC Sensor +message sns_dpc_event +{ + required sns_dpc_state dpc_state = 1; +} + +message sns_dpc_event_config +{ + //current dpc state + required sns_dpc_state dpc_state = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_eqm.proto b/proprietary/vendor/etc/sensors/proto/sns_eqm.proto new file mode 100644 index 0000000..5f08323 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_eqm.proto @@ -0,0 +1,49 @@ +// @file sns_eqm.proto +// +// Defines standard message types for the eqm +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_eqm_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_EQM_MSGID_SNS_DATA = 1058; +} + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the eqm sensor. +message sns_eqm_data +{ + // todo now upstream 2 data, here should change? + required float eqm_state_1 = 1; + required float eqm_state_2 = 2; + required float eqm_state_3 = 3; + required float eqm_state_4 = 4; + required float eqm_state_5 = 5; + required float eqm_state_6 = 6; + required float eqm_state_7 = 7; + required float eqm_state_8 = 8; + required float eqm_state_9 = 9; + required float eqm_state_10 = 10; + required float eqm_state_11 = 11; + required float eqm_state_12 = 12; + required float eqm_state_13 = 13; + required float eqm_state_14 = 14; + required float eqm_state_15 = 15; + required float eqm_state_16 = 16; + +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_ext_svc.proto b/proprietary/vendor/etc/sensors/proto/sns_ext_svc.proto new file mode 100644 index 0000000..7e8370a --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ext_svc.proto @@ -0,0 +1,72 @@ +// @file sns_ext_svc.proto +// +// Sensor provides access to external QMI services. +// +// This Sensor will create a connection to the external service upon +// receipt of the first request. Subsequent requests will be sent upon the +// same connection. The connection will be closed after the client closes +// the data stream. +// +// An error event will be sent upon any received error, including upon +// the error callback. It is then the responsibility of the client to close +// the data stream, and re-open a new one if desired. +// +// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_ext_svc_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Send a request message + SNS_EXT_SVC_MSGID_SNS_EXT_SVC_REQ = 512; + + // Asynchronously received response message + SNS_EXT_SVC_MSGID_SNS_EXT_SVC_RESP = 768; + + // Asynchronously received indication message + SNS_EXT_SVC_MSGID_SNS_EXT_SVC_IND = 1024; +} + +message sns_ext_svc_req +{ + required uint32 svc_id = 1; + + // QMI/IDL Message ID + required int32 msg_id = 2; + + // Client-specified transaction ID, to be returned in sns_ext_svc_resp + optional int32 transaction_id = 3; + + // Contains the QMI-decoded request message. + required bytes payload = 4; +} + +message sns_ext_svc_resp +{ + // QMI/IDL Message ID + required int32 msg_id = 1; + + // Transport error, as defined in qmi_client.h; Defaults to QMI_NO_ERR + required int32 transp_err = 2; + + // Client-specified transaction ID, as provided in sns_ext_svc_req + optional int32 transaction_id = 3; + + // Contains the QMI-decoded response message + // May be empty if transport_err != QMI_NO_ERR + required bytes payload = 4; +} + +message sns_ext_svc_ind +{ + // QMI/IDL Message ID + required int32 msg_id = 1; + + // Contains the QMI-decoded indication message. + required bytes payload = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_facing.proto b/proprietary/vendor/etc/sensors/proto/sns_facing.proto new file mode 100644 index 0000000..8decd9f --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_facing.proto @@ -0,0 +1,60 @@ +// @file sns_facing.proto +// +// Defines message types for the the facing sensor +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Facing calculates face up, down and neutral states. Facing will initially start in an +// unknown state, and later transition to face up, down and neutral. +// Neutral state reported to client on demand + +// Facing Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "facing" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Facing Sensor +enum sns_facing_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_FACING_MSGID_SNS_FACING_EVENT = 1024; +} + +// Device Facing state detected by Facing sensor +enum sns_facing_event_state +{ + option (nanopb_enumopt).long_names = false; + SNS_FACING_EVENT_STATE_UNKNOWN = 0; + //Phone has just moved to a facing-up phone posture + //which is defined as screen up. + SNS_FACING_EVENT_STATE_UP = 1; + //Phone has just moved to a facing-down phone posture, + //which is defined as screen down. + SNS_FACING_EVENT_STATE_DOWN = 2; + //Phone has just left either the facing-up + //or the facing-down phone posture + SNS_FACING_EVENT_STATE_NEUTRAL = 3; +} + +// Event Message +// Output data event generated by the facing sensor. +message sns_facing_event +{ + // Facing sensor state info + required sns_facing_event_state state = 1[default = SNS_FACING_EVENT_STATE_UNKNOWN]; +} + +// Stream events: +// +// The sns_facing_event message is used to publish updated state +// +// Facing sensor does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_flicker.proto b/proprietary/vendor/etc/sensors/proto/sns_flicker.proto new file mode 100644 index 0000000..545d186 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_flicker.proto @@ -0,0 +1,87 @@ +// @file sns_flicker.proto +// +// Defines the API for Proximity Sensors. +// All Proximity Sensor drivers are required to comply with this API. +// Any new functionality for Proximity Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Proximity Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "flicker". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this +// is an event sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in cm unit (flicker distance). +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Proximity Sensor supports both streaming and on-change +// modes and the operating mode is configured in the Registry. +// 2. The streaming Proximity Sensor handles the sns_std_sensor_config request +// for all stream enable/update requests. +// 3. The on-change Proximity Sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for +// all stream enable/update requests. +// 4. In on-change mode the Sensor uses interrupt operation and reports +// samples only for NEAR/FAR transitions. + +// Message IDs for flicker Sensor +enum sns_flicker_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_flicker_event + // Purpose: An output data event from the flicker sensor to it's client. + SNS_FLICKER_MSGID_SNS_FLICKER_EVENT = 769; +} + + +// Events types from flicker Sensor +message sns_flicker_event +{ + required int32 flicker_hw = 1; + required int32 clear_buffer = 2; + + // Proximity sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; + repeated float f =4 [(nanopb).max_count = 120]; +} + +// Handling stream events: +// 1. The Proximity Sensor publishes object flicker data stream events +// using sns_flicker_event message. +// 2. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 3. The Proximity Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + +// Handling self-test requests: +// 1. The Proximity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Proximity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for Proximity Sensor calibrates +// the sensor to detect an object (including light and dark colored) +// at 5cm distance from the physical sensor. +// 3. The Proximity Sensor could implement other test types. + +// Handling test events: +// 1. The Proximity Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_fmv.proto b/proprietary/vendor/etc/sensors/proto/sns_fmv.proto new file mode 100644 index 0000000..a6bdfb0 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_fmv.proto @@ -0,0 +1,40 @@ +// @file sns_fmv.proto +// +// Defines the API for Filtered Magnetic Vector. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A FMV sensor reports the filtered magnetic vector +// +// ## FMV sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "fmv" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the FMV sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// 1. Output of the FMV sensor will be populated in sns_std_sensor_event +// 2. Each stream event contains three output data fields in µT (micro Tesla) +// 3. Data in the stream is adjusted to Android coordinate system relative to a +// mobile device held with screen facing the user in it's natural orientation: +// X-axis: parallel to the screen pointing to the right +// Y-axis: parallel to the screen pointing to the top +// Z-axis: perpendicular to the screen pointing towards the user +// 4. Data in the stream event is ordered as: +// data[0] = X-axis +// data[1] = Y-axis +// data[2] = Z-axis +// 5. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_formatter.proto b/proprietary/vendor/etc/sensors/proto/sns_formatter.proto new file mode 100644 index 0000000..7c32bed --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_formatter.proto @@ -0,0 +1,121 @@ +// @file sns_offset_formatter.proto +// +// Defines standard message types for the Offset/Formatter sensor +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; +import "sns_std_sensor.proto"; + +enum sns_formatter_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_MSGID_SNS_FORMATTER_REQUEST = 512; + SNS_FORMATTER_MSGID_SNS_FORMATTER_METRIC_DATA_REQUEST = 513; + + SNS_FORMATTER_MSGID_SNS_FORMATTER_OUTPUT_EVENT = 1024; + SNS_FORMATTER_MSGID_SNS_FORMATTER_ACK_EVENT = 1025; +} + +enum sns_formatter_request_values { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_REQUEST_INVALID = 0; + // Creates a new instance of a metric with given id. + SNS_FORMATTER_REQUEST_CREATE = 1; + // Starts or resumes the update of the metric instances. + SNS_FORMATTER_REQUEST_START = 2; + // Pauses the update of the metric instances. + SNS_FORMATTER_REQUEST_STOP = 3; + // Resets metric instance state. + SNS_FORMATTER_REQUEST_RESET = 4; + // Destroys the metric instance. Release the resources for that instance. + SNS_FORMATTER_REQUEST_DESTROY = 5; + // Set the config data based on the group name. + SNS_FORMATTER_REQUEST_CONFIG_SET = 6; + // fetch the config data based on the group name. + SNS_FORMATTER_REQUEST_CONFIG_GET = 7; + // Updates the batch period at the client manager. + SNS_FORMATTER_REQUEST_BATCH = 8; +} + +enum sns_formatter_status_values { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_STATUS_FAILURE = 0; + SNS_FORMATTER_STATUS_INVALID_PARAM = 1; + SNS_FORMATTER_STATUS_SUCCESS = 2; +} + +enum sns_formatter_client_id { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_CLIENT_BG = 0; + SNS_FORMATTER_CLIENT_APPS = 1; +} + +enum sns_formatter_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_FORMATTER_OUTPUT_DATA_EVENT = 0; + SNS_FORMATTER_OUTPUT_BUFFER_EVENT = 1; + SNS_FORMATTER_CONFIG_DATA_EVENT = 2; +} + +// "UNUSED" is filled by clients for strings which are +// not applicable for a given sns_formatter-request_values id. +message sns_formatter_config_payload { + optional sns_std_suid metric_sensor_suid = 1; + required sns_std_suid formatter_suid = 2; + required float sample_rate = 3; + required string format_input_str = 4; + required string metric_name = 5; + required string group_name = 7; + required string sensor_config_data = 8; +} + +message sns_formatter_output_event_payload +{ + required bytes data = 1; + required sns_std_sensor_sample_status status = 2; + required sns_formatter_event_type event_type = 3; +} + +// Formatter config message +// Used by clients to configure the formatter for various metrics +message sns_formatter_request +{ + required sns_formatter_request_values msg_id = 1; + required fixed32 metric_id = 2; + required sns_formatter_client_id client_id = 3; + optional sns_formatter_config_payload payload = 4; + optional sns_formatter_output_event_payload event_payload = 5; +} + +message sns_formatter_metric_data_request +{ + required fixed32 metric_id = 1; + required bytes metric_data = 2; +} + +// Formatter output event +// This event contains the formatted string output corresponding to the +// metric requested by the client. +message sns_formatter_output_event +{ + required fixed32 metric_id = 1; + required string formatted_output = 2; + required sns_formatter_output_event_payload event_payload = 3; +} + +// Formatter acknowledge event +// This event contains the status for the request sent from the client. +// Status indicates if the requested format string was valid or not. +message sns_formatter_ack_event +{ + required fixed32 metric_id = 1; + required sns_formatter_status_values status = 2; +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/proto/sns_free_fall.proto b/proprietary/vendor/etc/sensors/proto/sns_free_fall.proto new file mode 100644 index 0000000..3729872 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_free_fall.proto @@ -0,0 +1,52 @@ +// @file sns_free_fall.proto +// +// Defines standard message types for Free Fall Sensor. All physical Sensor +// drivers that support Free Fall Sensor are required to support the +// event messages as defined in this file. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; + +// Attribute requirements: +// The Free Fall Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "free_fall". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS, SNS_STD_SENSOR_ATTRID_RANGES, +// SNS_STD_SENSOR_ATTRID_RATES attributes are not applicable since this is +// a single output sensor. +// 3. See sns_std_sensor.proto for other attributes. + + +// Handling stream requests: +// 1. A message with ID SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is an +// enable request to the free fall sensor. +// 2. A client deletes the data stream with free_fall Sensor to disable it's +// original enable request. + +// Message IDs for free_fall Sensor +enum sns_free_fall_msgid { + option (nanopb_enumopt).long_names = false; + + // The free_fall Sensor publishes an event with this message ID + SNS_FREE_FALL_MSGID_SNS_FREE_FALL_EVENT = 773; +} + +enum sns_free_fall_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_FREE_FALL_EVENT_TYPE_DISABLED = 0; + SNS_FREE_FALL_EVENT_TYPE_ENABLED = 1; + SNS_FREE_FALL_EVENT_TYPE_FIRED = 2; +} + +// Events types from free fall Sensor +message sns_free_fall_event +{ + required sns_free_fall_event_type free_fall_event_type = 1 [default = SNS_FREE_FALL_EVENT_TYPE_DISABLED]; +} + diff --git a/proprietary/vendor/etc/sensors/proto/sns_fw.proto b/proprietary/vendor/etc/sensors/proto/sns_fw.proto new file mode 100644 index 0000000..c29a1af --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_fw.proto @@ -0,0 +1,23 @@ +// @file sns_fw.proto +// +// Defines Framework internal values. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// Internal Framework message IDs +// Note: These message IDs must not conflict with those in sns_std_msgid +enum sns_fw_msgid { + option (nanopb_enumopt).long_names = false; + + // Special message only sent by the Framework; not processed by Sensors + // Empty Message + SNS_FW_MSGID_SNS_DESTROY_REQ = 120; + + // Special message only sent by the Framework; not processed by Sensors + // Empty Message + SNS_FW_MSGID_SNS_DESTROY_COMPLETE_EVENT = 250; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_game_rv.proto b/proprietary/vendor/etc/sensors/proto/sns_game_rv.proto new file mode 100644 index 0000000..6f0f3df --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_game_rv.proto @@ -0,0 +1,48 @@ +// @file sns_game_rv.proto +// +// Defines the API for Game Rotation Vector sensors +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A GameRV sensor reports the orientation of the device relative to an +// unspecified coordinates frame. It is obtained by integration of +// accelerometer and gyroscope readings. Therefore the Y axis doesn't point +// north but instead to an arbitrary reference. +// +// ## GameRV sensor attributes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE is "game_rv" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the GameRV sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// Output of the GameRV sensor will be populated in sns_std_sensor_event +// +// The orientation is represented by the rotation necessary to align +// the coordinate frame with the device's coordinates. That is, +// applying the rotation to the world frame (X,Y,Z) would align them with +// the device coordinates (x,y,z). +// +// The rotation can be seen as rotating the device by an angle theta around an +// axis rot_axis to go from the reference device orientation to the current +// device orientation. The rotation is encoded as the four unitless x, y, z, w +// components of a unit quaternion: +// sns_std_sensor_event::data[0] = rot_axis.x*sin(theta/2) +// sns_std_sensor_event::data[1] = rot_axis.y*sin(theta/2) +// sns_std_sensor_event::data[2] = rot_axis.z*sin(theta/2) +// sns_std_sensor_event::data[3] = cos(theta/2) +// +// Where: +// - the x, y and z fields of rot_axis are the East-North-Up coordinates +// of a unit length vector representing the rotation axis +// - theta is the rotation angle +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_geomag_rv.proto b/proprietary/vendor/etc/sensors/proto/sns_geomag_rv.proto new file mode 100644 index 0000000..98b2b18 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_geomag_rv.proto @@ -0,0 +1,50 @@ +// @file sns_geomag_rv.proto +// +// Defines the API for Geomagnetic Rotation Vector sensors. +// This Sensor is similar to Rotation Vector, but uses a magnetometer instead +// of a gyroscope. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A GeoMagRV sensor reports the orientation of the device relative to the +// East-North-Up coordinates frame. It is obtained by integration of +// accelerometer and magnetometer readings. +// +// ## GeoMagRV sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "geomag_rv" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the GeoMagRV sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// Output of the GeoMagRV sensor will be populated in sns_std_sensor_event +// +// The East-North-Up coordinate system is defined as a direct orthonormal +// basis where: +// - X points east and is tangential to the ground. +// - Y points north and is tangential to the ground. +// - Z points towards the sky and is perpendicular to the ground. +// +// The rotation can be seen as rotating the device by an angle theta around an +// axis rot_axis to go from the reference device orientation to the current +// device orientation. The rotation is encoded as the four unitless x, y, z, w +// components of a unit quaternion: +// sns_std_sensor_event::data[0] = rot_axis.x*sin(theta/2) +// sns_std_sensor_event::data[1] = rot_axis.y*sin(theta/2) +// sns_std_sensor_event::data[2] = rot_axis.z*sin(theta/2) +// sns_std_sensor_event::data[3] = cos(theta/2) +// +// Where: +// - the x, y and z fields of rot_axis are the East-North-Up coordinates +// of a unit length vector representing the rotation axis +// - theta is the rotation angle +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_gravity.proto b/proprietary/vendor/etc/sensors/proto/sns_gravity.proto new file mode 100644 index 0000000..6a04f14 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_gravity.proto @@ -0,0 +1,30 @@ +// @file sns_gravity.proto +// +// Defines standard message types for the Gravity Sensor +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Configuration Message +// Used to either request for a certain configuration of the gravity sensor or +// alter an already existing configuration of the gravity sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the gravity sensor in hertz + +// Data Message +// Data event generated by the gravity. +// Uses sns_std_sensor_event message defined in sns_std_sensor.proto +// The data field of the sns_std_sensor_event message +// contains a float array of length 6 with the following definition +// 1) float data[0] to data[2] +// Representing the gravity values along x,y,z axes in m/s2. +// 2) float data[3] to data[5] +// Representing the linear acceleration values along x,y,z axes in m/s2. +// Determined as the delta between the accel and the gravity values +// along that axis. diff --git a/proprietary/vendor/etc/sensors/proto/sns_gyro.proto b/proprietary/vendor/etc/sensors/proto/sns_gyro.proto new file mode 100644 index 0000000..03f1bc5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_gyro.proto @@ -0,0 +1,74 @@ +// @file sns_gyro.proto +// +// Defines the API for Gyroscope Sensors. +// All Gyroscope Sensor drivers are required to comply with this API. +// Any new functionality for Gyroscope Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Gyroscope Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "gyro". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in (radians/sec)/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in radians/sec unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Gyroscope Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. +// 2. The Gyroscope Sensor uses batching_period item in +// sns_std_request as the requested batching rate to determine +// hardware FIFO watermark. + +// Handling stream events: +// 1. The Gyroscope Sensor publishes device rotation data stream events +// using the sns_std_sensor_event message. +// 2. Each stream event contains three output data fields where data is +// in radians/sec units and is factory calibrated. +// 3. Data in the stream is adjusted to Android coordinate system relative to a +// mobile device held with screen facing the user in it's natural orientation: +// X-axis: parallel to the screen pointing to the right +// Y-axis: parallel to the screen pointing to the top +// Z-axis: perpendicular to the screen pointing towards the user +// This conforms to the mobile device axes orientation as specified by the +// Android Sensor API. +// 4. Data in the stream event is ordered as: +// data[0] = X-axis +// data[1] = Y-axis +// data[2] = Z-axis +// 5. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 6. The Gyroscope Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 7. The Gyroscope Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and comp_matrix fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. +// Handling self-test requests: +// 1. The Gyroscope Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Gyroscope Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Gyroscope Sensor could implement other test types. + +// Handling test events: +// 1. The Gyroscope Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_gyro_cal.proto b/proprietary/vendor/etc/sensors/proto/sns_gyro_cal.proto new file mode 100644 index 0000000..279c070 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_gyro_cal.proto @@ -0,0 +1,32 @@ +// @file sns_gyro_cal.proto +// +// Defines message types for the Gyro Calibration Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_cal.proto"; + +// The Gyro Calibration Sensor determines the calibration parameters +// for gyro sensor + +// Gyro Calibration Sensor Attributes: +// - SNS_STD_SENSOR_ATTRID_TYPE: "gyro_cal" +// - SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG message ID is used to +// enable the sensor +// - SNS_CAL_MSGID_SNS_CAL_RESET message ID is used to reset the algorithm +// and any previously determined calibration parameters. + +// Stream Events: +// - SNS_CAL_MSGID_SNS_CAL_EVENT message ID is used to report calibration +// parameters to the client of the sensor. The sns_cal_event message as +// defined in sns_cal.proto is used to report this data event where the +// units for the bias field in the message are in rad / s + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto b/proprietary/vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto new file mode 100644 index 0000000..06a1c54 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_gyro_rot_matrix.proto @@ -0,0 +1,50 @@ +// @file sns_gyro_rot_matrix.proto +// +// Defines standard message types for the Gyro Rotation Matrix +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_gyro_rot_matrix_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_GYRO_ROT_MATRIX_MSGID_SNS_STD_SENSOR_EVENT = 1024; +} + +// Data Message +// Data event generated by the gyro rotation matrix. +// Uses sns_std_sensor_event message defined in sns_std_sensor.proto +// The data field of the sns_std_sensor_event message +// contains a float array of length 10 with the following definition +// 1) float data[0] to data[8] +// 3 by 3 Gyro Rotation Matrix output +// Representing the rotation from previously sampled gyro values +// to the current one. +// The matrix definition is as follows: +// curr_gyro_XYZ[3X1] = gyro_rot_matrix[3X3] * prev_gyro_XYZ[3X1] +// data[0] = gyro_rot_matrix[0,0] +// data[1] = gyro_rot_matrix[0,1] +// data[2] = gyro_rot_matrix[0,2] +// data[3] = gyro_rot_matrix[1,0] +// data[4] = gyro_rot_matrix[1,1] +// data[5] = gyro_rot_matrix[1,2] +// data[6] = gyro_rot_matrix[2,0] +// data[7] = gyro_rot_matrix[2,1] +// data[8] = gyro_rot_matrix[2,2] +// 2) float data[9] +// Gyro Norm of the currently sampled gyro data +// determined as the sum of squares of gyro on each of the axes +// i.e. curr_gyro_X^2 + curr_gyro_Y^2 + curr_gyro_Z^2 + +// Configuration Message +// Used to either request for a certain configuration of the Gyro Rotation Matrix Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Gyro Rotation Matrix sensor in hertz diff --git a/proprietary/vendor/etc/sensors/proto/sns_hall.proto b/proprietary/vendor/etc/sensors/proto/sns_hall.proto new file mode 100644 index 0000000..a779844 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_hall.proto @@ -0,0 +1,82 @@ +// @file sns_hall.proto +// +// Defines the API for Hall Sensors. +// All Hall Sensor drivers are required to comply with this API. +// Any new functionality for Hall Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Hall Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "hall". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this is an event +// sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values as 0 and 1. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Hall Sensor handles the SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// message ID for all stream enable/update requests. +// 2. The Hall Sensor operates in on-change mode and report +// samples only for magnet NEAR/FAR transitions. + +// Message IDs for hall Sensor +enum sns_hall_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_hall_event + // Purpose: An output data event from the hall sensor to it's client. + SNS_HALL_MSGID_SNS_HALL_EVENT = 770; +} + +enum sns_hall_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_HALL_EVENT_TYPE_FAR = 0; + SNS_HALL_EVENT_TYPE_NEAR = 1; +} + +// Events types from hall Sensor +message sns_hall_event +{ + // Hall NEAR/FAR output event + required sns_hall_event_type hall_event_type = 1 [default = SNS_HALL_EVENT_TYPE_FAR]; + + // Hall sensor sample status + required sns_std_sensor_sample_status status = 2 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Handling stream events: +// 1. The Hall Sensor publishes magnetic field proximity data stream +// events using the sns_hall_event message. +// 2. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 3. The Hall Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + +// Handling self-test requests: +// 1. The Hall Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Hall Sensor could implement other test types. + +// Handling test events: +// 1. The Hall Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_har.proto b/proprietary/vendor/etc/sensors/proto/sns_har.proto new file mode 100644 index 0000000..672da5e --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_har.proto @@ -0,0 +1,36 @@ +// @file sns_har.proto +// +// Defines standard message types for the har +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_har_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_HAR_MSGID_SNS_DATA = 1058; +} + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the har sensor. +message sns_har_data +{ + // todo now upstream 2 data, here should change? + required float har_state = 1; + +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_heart_beat.proto b/proprietary/vendor/etc/sensors/proto/sns_heart_beat.proto new file mode 100644 index 0000000..3b0b2d1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_heart_beat.proto @@ -0,0 +1,31 @@ +// @file sns_heart_beat.proto +// +// Defines the API for Heart Beat sensors +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A heart beat sensor reports everytime a heart beat peak is detected. +// +// Peak ideally corresponds to the positive peak in the QRS complex of +// an ECG signal, and the event timestamp should correspond to the time this +// peak occured. +// +// The sensor is not expected to be optimized for latency. As a guide, a +// receipt latency of up to 10 seconds is acceptable. +// +// ## Heart Beat sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "heart_beat" +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: sns_std_sensor_event +// Output of the Heart Beat sensor will be populated in sns_std_sensor_event. +// +// sns_std_sensor_event::data[0] = confidence in the detection of the peak +// where 0.0 represent no information at all, and 1.0 represents certainty. diff --git a/proprietary/vendor/etc/sensors/proto/sns_heart_rate.proto b/proprietary/vendor/etc/sensors/proto/sns_heart_rate.proto new file mode 100644 index 0000000..c6f90f5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_heart_rate.proto @@ -0,0 +1,55 @@ +// @file sns_heart_rate.proto +// +// Defines the API for Heart Rate Detection Sensors. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A sensor of this type returns the current heart rate in beats per minute +// (BPM). Because this sensor is on-change, events must be generated when and +// only when BPM or status have changed since the last event. +// +// Upon the first activation, unless the device is known to not be on the +// body, the status field of the first event must be set to UNRELIABLE. +// +// ## Heart Rate sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "heart_rate" +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: sns_std_sensor_event +// Output of the Heart Rate sensor will be populated in sns_std_sensor_event. +// +// SNS_HEART_RATE_MSGID_SNS_HEART_RATE_EVENT::data[0] = current heart rate in beats per minute (BPM) +// +// SNS_HEART_RATE_MSGID_SNS_HEART_RATE_EVENT::status specifies the reliability of the sample value +// value is of type sns_heart_rate_event_type. + +enum sns_heart_rate_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_HEART_RATE_MSGID_SNS_HEART_RATE_EVENT = 779; +} + +enum sns_heart_rate_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_HR_STATUS_NO_CONTACT = -1; + SNS_HR_STATUS_UNRELIABLE = 0; + SNS_HR_STATUS_ACCURACY_LOW = 1; + SNS_HR_STATUS_ACCURACY_MEDIUM = 2; + SNS_HR_STATUS_ACCURACY_HIGH = 3; +} + +// Events types from heart_rate Sensor +message sns_heart_rate_event +{ + required float heart_rate = 1; + required sns_heart_rate_event_type heart_rate_event_type = 2 [default = SNS_HR_STATUS_NO_CONTACT]; +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/proto/sns_hinge_angle.proto b/proprietary/vendor/etc/sensors/proto/sns_hinge_angle.proto new file mode 100644 index 0000000..0e8e8eb --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_hinge_angle.proto @@ -0,0 +1,83 @@ + +// @file sns_hinge_angle.proto +// +// Defines message types for the Hinge Angle Sensor. +// +// Copyright (c) 2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Hinge Angle Sensor detects the angle between two rigid bodies connected by a hinge +// around which rotation can occur. +// +// The reference position for Hinge Angle measurement constitues the two rigid bodies being +// parallel to the ground, with surfaces in contact with each other and hinge connecting +// the left edges of the two rigid bodies. +// The rigid body that is located below is defined to be the primary rigid body. +// The rigid body which is located above is defined to be the secondary rigid body. +// +// The Hinge Angle Sensor detects the angle going from the primary rigid body to the +// secondary rigid body, measured counter clockwise around the hinge. The maximum range of +// reported angles will be from 0 degrees to 360 degrees. +// +// A Hinge Angle of 0 degrees is reported when the two rigid bodies have the same surfaces, +// as described in the reference position, in contact with each other. +// +// A Hinge Angle of 360 degrees is reported when the two rigid bodies have the opposite +// surfaces, to those described in the reference position, in contact with each other. +// +// A Hinge Angle of 180 degrees is reported when the two rigid bodies are coplanar. + +// Attribute Requirements: +// Hingle Angle Sensor must support the following attributes +// SNS_STD_SENSOR_ATTRID_TYPE: "hinge_angle" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE +// SNS_STD_SENSOR_ATTRID_RESOLUTIONS: the smallest hinge angle in degrees that +// can be detected by the sensor +// SNS_STD_SENSOR_ATTRID_RANGES: the range of angles detected by the sensor, for +// example [0,360] + +// Request: +// A request message with message id SNS_HINGE_ANGLE_MSGID_SNS_HINGE_ANGLE_CONFIG +// and payload sns_hinge_angle_config is used to enable the Hinge Angle Sensor + +// Event: +// Hinge Angle sensor generates an event with message id +// SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_EVENT and payload sns_std_sensor_event +// when hinge angle change is detected + +// Message IDs for HINGE_ANGLE Sensor +enum sns_hinge_angle_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_HINGE_ANGLE_MSGID_SNS_HINGE_ANGLE_CONFIG = 512; +} + + +// Request Message +// Used to either request for a new configuration of the Hinge Angle Sensor or +// alter an already existing configuration +message sns_hinge_angle_config +{ + // Ids of the primary and secondary rigid bodies between which hinge angle + // is to be measured. Ids must match the SNS_STD_SENSOR_ATTRID_RIGID_BODY + // attributes of the sensors on these rigid bodies that are to be used. + repeated int32 rigid_body = 1 [(nanopb).max_count = 2]; +} + + +// Event Message +// Uses sns_std_sensor_event message defined in sns_std_sensor.proto +// The data field of the sns_std_sensor_event message contains a +// single floating point value representing the detected hinge angle +// in degrees +// The status field of the sns_std_sensor_event message contains the +// accuracy of the detected hinge angle + + + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_humidity.proto b/proprietary/vendor/etc/sensors/proto/sns_humidity.proto new file mode 100644 index 0000000..7ae47bc --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_humidity.proto @@ -0,0 +1,69 @@ +// @file sns_humidity.proto +// +// Defines the API for Humidity Sensors. +// All Humidity Sensor drivers are required to comply with this API. +// Any new functionality for Humidity Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Humidity Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "humidity". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in %RH/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in %RH unit. +// 4. The Humidity Sensor is an on-change sensor. +// 5. See sns_std_sensor.proto for other attributes. + + +// Handling stream requests: +// 1. The Humidity Sensor handles the SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// message ID for all stream enable/update requests. +// 2. The Humidity Sensor supports on-change mode of operation. +// 3. In on-change mode the Sensor could use interrupt operation and +// reports samples for only significant change in humidity. +// Example: +/- 5% change. + +// Handling stream events: +// 1. The Humidity Sensor publishes ambient relative humidity data stream +// events using the sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = Humidity data in %RH (% Relative Humidity) +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Humidity Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Humidity Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Humidity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Humidity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Humidity Sensor could implement other test types. + +// Handling test events: +// 1. The Humidity Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_mag.proto b/proprietary/vendor/etc/sensors/proto/sns_mag.proto new file mode 100644 index 0000000..174bfa5 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_mag.proto @@ -0,0 +1,75 @@ +// @file sns_mag.proto +// +// Defines the API for Magnetometer Sensors. +// All Magnetometer Sensor drivers are required to comply with this API. +// Any new functionality for Magnetometer Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Magnetometer Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "mag". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in µT/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in µT unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Magnetometer Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. +// 2. If the physical sensor supports hardware FIFO then the Magnetometer +// Sensor uses batching_period item in sns_std_request as the requested +// batching rate to determine hardware FIFO watermark. + +// Handling stream events: +// 1. The Magnetometer Sensor publishes ambient magnetic field data events +// using the sns_std_sensor_event message. +// 2. Each stream event contains three output data fields where data is +// in µT (micro Tesla) units and is factory calibrated. +// 3. Data in the stream is adjusted to Android coordinate system relative to a +// mobile device held with screen facing the user in it's natural orientation: +// X-axis: parallel to the screen pointing to the right +// Y-axis: parallel to the screen pointing to the top +// Z-axis: perpendicular to the screen pointing towards the user +// This conforms to the mobile device axes orientation as specified by the +// Android Sensor API. +// 4. Data in the stream event is ordered as: +// data[0] = X-axis +// data[1] = Y-axis +// data[2] = Z-axis +// 5. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 6. The Magnetometer Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 7. The Magnetometer Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and comp_matrix fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Magnetometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Magnetometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Magnetometer Sensor could implement other test types. + +// Handling test events: +// 1. The Magnetometer Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_mag_cal.proto b/proprietary/vendor/etc/sensors/proto/sns_mag_cal.proto new file mode 100644 index 0000000..d6fc026 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_mag_cal.proto @@ -0,0 +1,32 @@ +// @file sns_mag_cal.proto +// +// Defines message types for the Mag Calibration Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_cal.proto"; + +// The Mag Calibration Sensor determines the calibration parameters +// for magnetometer sensor + +// Mag Calibration Sensor Attributes: +// - SNS_STD_SENSOR_ATTRID_TYPE: "mag_cal" +// - SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG message ID is used to +// enable the sensor +// - SNS_CAL_MSGID_SNS_CAL_RESET message ID is used to reset the algorithm +// and any previously determined calibration parameters. + +// Stream Events: +// - SNS_CAL_MSGID_SNS_CAL_EVENT message ID is used to report calibration +// parameters to the client of the sensor. The sns_cal_event message as +// defined in sns_cal.proto is used to report this data event where the +// units for the bias field in the message are in micro Tesla. + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_oem1.proto b/proprietary/vendor/etc/sensors/proto/sns_oem1.proto new file mode 100644 index 0000000..a331eb2 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_oem1.proto @@ -0,0 +1,39 @@ +// @file sns_oem1.proto +// +// Defines standard message types for the OEM1 +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_oem1_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_OEM1_MSGID_SNS_OEM1_DATA = 1024; +} + + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the oem1 sensor. +message sns_oem1_data +{ + // oem1 Vector along axis x,y,z in m/s2 + repeated float oem1 = 1 [(nanopb).max_count = 3]; + + // Accuracy of the data + required sns_std_sensor_sample_status accuracy = 2; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_oem15.proto b/proprietary/vendor/etc/sensors/proto/sns_oem15.proto new file mode 100644 index 0000000..3ee7b91 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_oem15.proto @@ -0,0 +1,37 @@ +// @file sns_oem15.proto +// +// Defines standard message types for the OEM3 +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_oem15_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_OEM15_MSGID_SNS_OEM15_DATA = 1024; +} + + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the oem3 sensor. +message sns_oem15_data +{ + // oem3 Vector along axis x,y,z in m/s2 + repeated float oem15 = 1 [(nanopb).max_count = 3]; + + // Accuracy of the data + required sns_std_sensor_sample_status accuracy = 2; +} \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/proto/sns_oem2.proto b/proprietary/vendor/etc/sensors/proto/sns_oem2.proto new file mode 100644 index 0000000..ce41242 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_oem2.proto @@ -0,0 +1,39 @@ +// @file sns_oem2.proto +// +// Defines standard message types for the OEM2 +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_oem2_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_OEM2_MSGID_SNS_OEM2_DATA = 1024; +} + + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the oem2 sensor. +message sns_oem2_data +{ + // oem2 Vector along axis x,y,z in m/s2 + repeated float oem2 = 1 [(nanopb).max_count = 3]; + + // Accuracy of the data + required sns_std_sensor_sample_status accuracy = 2; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_oem3.proto b/proprietary/vendor/etc/sensors/proto/sns_oem3.proto new file mode 100644 index 0000000..0ee3ea6 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_oem3.proto @@ -0,0 +1,39 @@ +// @file sns_oem3.proto +// +// Defines standard message types for the OEM3 +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_oem3_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_OEM3_MSGID_SNS_OEM3_DATA = 1024; +} + + +// Configuration Message +// Used to either request for a certain configuration of the Sim Sensor or +// alter an already existing configuration of the Simulation Sensor +// Uses sns_std_sensor_config defined in sns_std_sensor.proto +// The message field definitions are as follows: +// 1) float sample_rate +// containing the required sample rate of the Sim sensor in hertz + +// Data Message +// Output data event generated by the oem3 sensor. +message sns_oem3_data +{ + // oem3 Vector along axis x,y,z in m/s2 + repeated float oem3 = 1 [(nanopb).max_count = 3]; + + // Accuracy of the data + required sns_std_sensor_sample_status accuracy = 2; +} + + diff --git a/proprietary/vendor/etc/sensors/proto/sns_offbody_detect.proto b/proprietary/vendor/etc/sensors/proto/sns_offbody_detect.proto new file mode 100644 index 0000000..b198b6d --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_offbody_detect.proto @@ -0,0 +1,56 @@ +// @file sns_offbody_detect.proto +// +// Defines the API for Offbody Detection Sensors. +// +// Copyright (c) 2017-2018,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; + +// An offbody detect sensor reports every time the device transitions from +// off-body to on-body and from on-body to off-body (e.g. a wearable device +// being removed from the wrist would trigger an event indicating an off-body +// transition). +// +// This sensor must be able to detect and report an on-body to off-body +// transition within 1 second of the device being removed from the body, +// and must be able to detect and report an off-body to on-body transition +// within 5 seconds of the device being put back onto the body. +// +// ## Offbody Detection sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "offbody_detect" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: SNS_OFFBODY_DETECT_MSGID_SNS_OFFBODY_DETECT_EVENT + +// Message IDs for Offbody Detection Sensor +enum sns_offbody_detect_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_OFFBODY_DETECT_MSGID_SNS_OFFBODY_DETECT_EVENT = 772; +} + +enum sns_offbody_detect_event_type +{ + option (nanopb_enumopt).long_names = false; + + // Current state is unknown: not yet detected + SNS_OFFBODY_DETECT_EVENT_TYPE_UNKNOWN = 0; + // Device has been detected to be on-body + SNS_OFFBODY_DETECT_EVENT_TYPE_ON = 1; + // Device has been detected to be off-body + SNS_OFFBODY_DETECT_EVENT_TYPE_OFF = 2; +} + +message sns_offbody_detect_event +{ + // Detected state + required sns_offbody_detect_event_type state = 1 [default = SNS_OFFBODY_DETECT_EVENT_TYPE_UNKNOWN]; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_ois_manager.proto b/proprietary/vendor/etc/sensors/proto/sns_ois_manager.proto new file mode 100644 index 0000000..e513f50 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ois_manager.proto @@ -0,0 +1,45 @@ +// @file sns_ois_cal.proto +// +// Defines the API for ois manager. +// +// Copyright (c) 2019 AKM, Inc. +// All Rights Reserved. +// Confidential and Proprietary - AKM, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// Message IDs for ois manager +enum sns_ois_manager_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_OIS_MANAGER_MSGID_SNS_SET_OIS_MODE = 525; + + SNS_OIS_MANAGER_MSGID_SNS_OIS_CONFIG = 526; + + SNS_OIS_MANAGER_MSGID_SNS_OIS_MANAGER_EVENT = 1024; +} + +message sns_set_ois_mode +{ + required int32 ois_gain_x = 1; + required int32 ois_gain_y = 2; + required int32 ois_delay_x = 3; + required int32 ois_delay_y = 4; + required int32 ois_offset_x = 5; + required int32 ois_offset_y = 6; + required int32 mode = 7; +} + +message sns_ois_config +{ + required int32 mode = 1; + required int32 posture = 2; + required int32 af_fb = 3; +} + +message sns_ois_manager_event +{ + repeated float data = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_pedometer.proto b/proprietary/vendor/etc/sensors/proto/sns_pedometer.proto new file mode 100644 index 0000000..4b1e1b1 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pedometer.proto @@ -0,0 +1,56 @@ +// @file sns_pedometer.proto +// +// Defines message types for the Pedometer Sensor. +// +// Copyright (c) 2017-2019 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Pedometer Sensor detects steps taken by the user +// +// The Pedometer step event includes the latest step count accumulated since +// activation. +// All clients to Pedometer get the same step event. +// The timestamp of the event indicates the time of the latest detected step. + +// Pedometer Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "pedometer" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Pedometer Sensor +enum sns_pedometer_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_PEDOMETER_MSGID_SNS_STEP_EVENT = 1028; + + SNS_PEDOMETER_MSGID_SNS_STEP_EVENT_CONFIG = 775; +} + +// Events types from Pedometer Sensor +message sns_step_event +{ + //an incrementing step count + required uint32 step_count = 1; +} + +message sns_step_event_config +{ + //current step count + required uint32 step_count = 1; +} + + +// Stream events: +// +// The sns_step_event message is used to publish updated step count +// +// The sns_step_event_config message is used to publish current step count +// to the client + diff --git a/proprietary/vendor/etc/sensors/proto/sns_pedometer_wrist.proto b/proprietary/vendor/etc/sensors/proto/sns_pedometer_wrist.proto new file mode 100644 index 0000000..65a6348 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pedometer_wrist.proto @@ -0,0 +1,56 @@ +// @file sns_pedometer_wrist.proto +// +// Defines message types for the Pedometer_wrist Sensor. +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Pedometer_wrist Sensor detects steps taken by the user +// +// The Pedometer_wrist Step event is generated when the user takes a step. +// The event includes the latest step count accumulated since activation. +// All clients to Pedometer_wrist get the same step event. +// The timestamp of the event indicates the time of the latest detected step. + +// Pedometer_wrist Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "pedometer_wrist" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Pedometer_wrist Sensor +enum sns_pedometer_wrist_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_PEDOMETER_WRIST_MSGID_SNS_PEDOMETER_STEP_EVENT = 1028; + //send to client immediatly to inform current step count + //msg body same as sns_step_event + SNS_PEDOMETER_WRIST_MSGID_SNS_PEDOMETER_STEP_EVENT_CONFIG = 775; +} + +// Events types from Pedometer_wrist Sensor +message sns_pedometer_step_event +{ + //an incrementing step count + required uint32 step_count = 1; +} + +message sns_pedometer_step_event_config +{ + //current step count + required uint32 step_count = 1; +} + + +// Stream events: +// +// The sns_step_event message is used to publish updated step count +// +// Pedometer_wrist does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_oem_config.proto b/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_oem_config.proto new file mode 100644 index 0000000..ba581b4 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_oem_config.proto @@ -0,0 +1,118 @@ +// @file sns_physical_sensor_oem_config.proto +// +// Defines config API message types for physical sensors. +// +// All physical Sensor drivers are required to use this API to support +// self-test. SNS_PHYSICAL_SENSOR_TEST_TYPE_COM is a mandatory test type and must be +// implemented in all physical Sensor drivers. Any new or device-specific +// test type may be defined in the Sensor-specific API. +// +// Copyright (c) 2016-2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_physical_sensor_oem_config_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Test config request to a physical Sensor + SNS_PHYSICAL_SENSOR_OEM_CONFIG_MSGID_SNS_PHYSICAL_SENSOR_OEM_CONFIG = 2048; + + // Test event message from a physical Sensor + SNS_PHYSICAL_SENSOR_OEM_CONFIG_MSGID_SNS_PHYSICAL_SENSOR_OEM_CONFIG_EVENT = 2049; +} + +// Supported test types for physical sensors +enum sns_physical_sensor_oem_config_type +{ + option (nanopb_enumopt).long_names = false; + + // set tp info for als parameter settings. + SNS_PHYSICAL_SENSOR_CONFIG_TYPE_COLOR = 0; + + // Sensor Hardware test. + SNS_PHYSICAL_SENSOR_CONFIG_LUX_SCALE = 1; + + // Factory test used for Sensor calibration. + SNS_PHYSICAL_SENSOR_CONFIG_PS_THRESHOLD = 2; + + // Communication bus test. + SNS_PHYSICAL_SENSOR_CONFIG_PS_FORCE_CALI = 3; + + // Communication bus test. + SNS_PHYSICAL_SENSOR_CONFIG_BIAS = 4; + + // Communication bus test. + SNS_PHYSICAL_SENSOR_CONFIG_BACKLIGHT = 5; + + // Communication dc state notify. + SNS_PHYSICAL_SENSOR_CONFIG_DC_STATE = 6; + + // Communication display rgb parse result notify. + SNS_PHYSICAL_SENSOR_CONFIG_BRIGHTNESS_PARSE_REULT_RGB = 7; + + // Communication display refresh rate notify. + SNS_PHYSICAL_SENSOR_CONFIG_DISPLAY_FREQ = 8; + + // Communication sensor channel calibration. + SNS_PHYSICAL_SENSOR_CONFIG_CHANNEL_CALI = 9; + } + +// Physical Sensor oem configuration request +message sns_physical_sensor_oem_config +{ + // Requested config type. + required sns_physical_sensor_oem_config_type config_type = 1; + optional uint32 color = 2; + optional float lux_scale = 3; + optional uint32 threshold_near = 4; + optional uint32 threshold_far = 5; + optional float offset_x = 6; + optional float offset_y = 7; + optional float offset_z = 8; + optional int32 backlight = 9; + optional int32 dc_state = 10; + optional float parsed_lux = 11; + optional float parsed_r = 12; + optional float parsed_g = 13; + optional float parsed_b = 14; + optional uint32 display_freq = 15; + optional float channel = 16; + optional float target = 17; + repeated float f =18 [(nanopb).max_count = 20]; +} + +// Physical Sensor test event +message sns_physical_sensor_oem_config_event +{ + // Result if the test execution was successful: + // true for success + // false for failure + required bool config_result = 1 [default = true]; + + // test_type from sns_physical_sensor_oem_config that + // this event corresponds to + required sns_physical_sensor_oem_config_type config_type = 2 [default = SNS_PHYSICAL_SENSOR_CONFIG_TYPE_COLOR]; + + // Driver specific test data. This field can be used + // to pass additional information like failure codes, debug data, etc. + optional int32 poffset1 = 3; + optional int32 poffset2 = 4; + optional int32 color = 5; + optional int32 coefficient = 6; +} + +// Self-test and streaming concurrency requirements: +// 1. If the sensor is streaming and there is a client request to run +// self-test (any test type) then the driver: +// a. Pauses the stream +// b. Executes the self-test request to completion +// c. Resumes stream +// 2. If the self-test is running and there is a client request to start +// a sensor stream then the driver: +// a. Rejects the stream request +// b. Continues executing the self-test request to completion + diff --git a/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_test.proto b/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_test.proto new file mode 100644 index 0000000..70e7638 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_physical_sensor_test.proto @@ -0,0 +1,80 @@ +// @file sns_physical_sensor_test.proto +// +// Defines test API message types for physical sensors. +// +// All physical Sensor drivers are required to use this API to support +// self-test. SNS_PHYSICAL_SENSOR_TEST_TYPE_COM is a mandatory test type and must be +// implemented in all physical Sensor drivers. Any new or device-specific +// test type may be defined in the Sensor-specific API. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_physical_sensor_test_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Test config request to a physical Sensor + SNS_PHYSICAL_SENSOR_TEST_MSGID_SNS_PHYSICAL_SENSOR_TEST_CONFIG = 515; + + // Test event message from a physical Sensor + SNS_PHYSICAL_SENSOR_TEST_MSGID_SNS_PHYSICAL_SENSOR_TEST_EVENT = 1026; +} + +// Supported test types for physical sensors +enum sns_physical_sensor_test_type +{ + option (nanopb_enumopt).long_names = false; + + // Software test. + SNS_PHYSICAL_SENSOR_TEST_TYPE_SW = 0; + + // Sensor Hardware test. + SNS_PHYSICAL_SENSOR_TEST_TYPE_HW = 1; + + // Factory test used for Sensor calibration. + SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY = 2; + + // Communication bus test. + SNS_PHYSICAL_SENSOR_TEST_TYPE_COM = 3; +} + +// Physical Sensor test configuration request +message sns_physical_sensor_test_config +{ + // Requested test type. + required sns_physical_sensor_test_type test_type = 1; +} + +// Physical Sensor test event +message sns_physical_sensor_test_event +{ + // Result if the test execution was successful: + // true for success + // false for failure + required bool test_passed = 1 [default = true]; + + // test_type from sns_physical_sensor_test_config that + // this event corresponds to + required sns_physical_sensor_test_type test_type = 2 [default = SNS_PHYSICAL_SENSOR_TEST_TYPE_COM]; + + // Driver specific test data. This field can be used + // to pass additional information like failure codes, debug data, etc. + optional bytes test_data = 3; +} + +// Self-test and streaming concurrency requirements: +// 1. If the sensor is streaming and there is a client request to run +// self-test (any test type) then the driver: +// a. Pauses the stream +// b. Executes the self-test request to completion +// c. Resumes stream +// 2. If the self-test is running and there is a client request to start +// a sensor stream then the driver: +// a. Rejects the stream request +// b. Continues executing the self-test request to completion + diff --git a/proprietary/vendor/etc/sensors/proto/sns_pose_6dof.proto b/proprietary/vendor/etc/sensors/proto/sns_pose_6dof.proto new file mode 100644 index 0000000..3cb43e9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pose_6dof.proto @@ -0,0 +1,70 @@ +// @file sns_pose_6dof.proto +// +// Defines the API for Pose Six Degrees of Freedom sensors. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A pose 6dof sensor events consists of a rotation expressed as a quaternion +// and a translation expressed in SI units. Pose of the device is defined as +// the orientation of the device from a Earth Centered Earth Fixed frame and +// the translation from an arbitrary point at subscription. +// +// ## Pose 6DOF sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "pose_6dof" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the Pose 6DOF sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// Output of the Pose 6DOF sensor will be populated in sns_std_sensor_event +// +// A Pose 6DOF sensor reports the orientation of the device relative +// to the East-North-Up coordinates frame. It is obtained by +// integration of accelerometer and gyroscope readings. +// The East-North-Up coordinate system is defined as a direct +// orthonormal basis where: +// +// - X points east and is tangential to the ground. +// - Y points north and is tangential to the ground. +// - Z points towards the sky and is perpendicular to the ground. +// +// The orientation is represented by the rotation necessary to align +// the East-North-Up coordinates with the device's coordinates. That is, +// applying the rotation to the world frame (X,Y,Z) would align them with +// the device coordinates (x,y,z). +// +// The rotation can be seen as rotating the device by an angle theta around an +// axis rot_axis to go from the reference (East-North-Up aligned) device +// orientation to the current device orientation. The rotation is encoded +// as the four unitless x, y, z, w components of a unit quaternion: +// +// sns_std_sensor_event::data[0] = x*sin(theta/2) +// sns_std_sensor_event::data[1] = y*sin(theta/2) +// sns_std_sensor_event::data[2] = z*sin(theta/2) +// sns_std_sensor_event::data[3] = cos(theta/2) +// sns_std_sensor_event::data[4] = Translation along x axis from an arbitrary origin. +// sns_std_sensor_event::data[5] = Translation along y axis from an arbitrary origin. +// sns_std_sensor_event::data[6] = Translation along z axis from an arbitrary origin. +// sns_std_sensor_event::data[7] = Delta quaternion rotation x*sin(theta/2) +// sns_std_sensor_event::data[8] = Delta quaternion rotation y*sin(theta/2) +// sns_std_sensor_event::data[9] = Delta quaternion rotation z*sin(theta/2) +// sns_std_sensor_event::data[10] = Delta quaternion rotation cos(theta/2) +// sns_std_sensor_event::data[11] = Delta translation along x axis. +// sns_std_sensor_event::data[12] = Delta translation along y axis. +// sns_std_sensor_event::data[13] = Delta translation along z axis. +// sns_std_sensor_event::data[14] = Sequence number; ascending sequentially from 0 + +// Where: +// - the x, y and z fields of rot_axis are the East-North-Up coordinates +// of a unit length vector representing the rotation axis +// - theta is the rotation angle +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_ppg.proto b/proprietary/vendor/etc/sensors/proto/sns_ppg.proto new file mode 100644 index 0000000..d34368a --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ppg.proto @@ -0,0 +1,46 @@ +// @file sns_ppg.proto +// +// Defines the API for PPG Sensors. +// +// Copyright (c) 2017-2018,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; + +// Attribute requirements: +// The PPG Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ppg". +// 2. SNS_STD_SENSOR_ATTRID_RATES attribute values in Hz. + +// Handling stream requests: +// 1. The PPG Sensor handles the sns_std_sensor_config +// message request with msgid SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG +// for all stream enable/update requests. +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_STREAMING +// 2. The PPG Sensor uses batching_period item in +// sns_std_request as the requested batching rate to determine +// hardware FIFO watermark. + +// Handling stream events: +// 1. The PPG Sensor publishes PPG data stream events +// using the sns_std_sensor_event message. +// 2. Each stream event contains three output data fields +// data[0] => PPG ch1 +// data[1] => PPG ch2 +// data[2] => PPG ch3 +// data[3] => PPG ch4 +// data[4] => TOUCH_FLAG. 128 if onbody detect, 0 otherwise +// data[5] => WEAR_INDEX. 1 if wear loose, 0 otherwise +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The PPG Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_pressure.proto b/proprietary/vendor/etc/sensors/proto/sns_pressure.proto new file mode 100644 index 0000000..97262cd --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_pressure.proto @@ -0,0 +1,65 @@ +// @file sns_pressure.proto +// +// Defines the API for Pressure Sensors. +// All Pressure Sensor drivers are required to comply with this API. +// Any new functionality for Pressure Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Pressure Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "pressure". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute values in hectoPascal/LSB unit. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in hectoPascal unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Pressure Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. +// 2. If the physical sensor supports hardware FIFO then the Pressure +// Sensor uses batching_period item in sns_std_request as the requested +// batching rate to determine hardware FIFO watermark. + +// Handling stream events: +// 1. The Pressure Sensor publishes atmospheric pressure data stream events +// using the sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = Pressure data in hPa (hectoPascal) +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Pressure Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Pressure Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Pressure Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Pressure Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Pressure Sensor could implement other test types. + +// Handling test events: +// 1. The Pressure Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_proximity.proto b/proprietary/vendor/etc/sensors/proto/sns_proximity.proto new file mode 100644 index 0000000..257725f --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_proximity.proto @@ -0,0 +1,111 @@ +// @file sns_proximity.proto +// +// Defines the API for Proximity Sensors. +// All Proximity Sensor drivers are required to comply with this API. +// Any new functionality for Proximity Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2019 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Proximity Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "proximity". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this +// is an event sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in cm unit (proximity distance). +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Proximity Sensor supports both streaming and on-change +// modes and the operating mode is configured in the Registry. +// 2. The streaming Proximity Sensor handles the sns_std_sensor_config request +// for all stream enable/update requests. +// 3. The on-change Proximity Sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for +// all on-change enable/update requests. +// 4. In on-change mode the Sensor uses interrupt operation and reports +// samples only for NEAR/FAR transitions. + +// Message IDs for proximity Sensor +enum sns_proximity_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_proximity_event + // Purpose: A non-recurring output data event from the proximity sensor to its client. + SNS_PROXIMITY_MSGID_SNS_PROXIMITY_EVENT = 769; + + // Uses message: sns_proximity_event_recurrent + // Purpose: A recurring output data event from the proximity sensor to its client. + SNS_PROXIMITY_MSGID_SNS_PROXIMITY_EVENT_RECURRENT = 1031; +} + +enum sns_proximity_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_PROXIMITY_EVENT_TYPE_FAR = 0; + SNS_PROXIMITY_EVENT_TYPE_NEAR = 1; +} + +// Events types from proximity Sensor +message sns_proximity_event +{ + // Proximity NEAR/FAR output event + required sns_proximity_event_type proximity_event_type = 1 [default = SNS_PROXIMITY_EVENT_TYPE_FAR]; + + // Proimity sensor raw data + required uint32 raw_adc = 2; + + // Proximity sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +message sns_proximity_event_recurrent +{ + // Proximity NEAR/FAR output event + required sns_proximity_event_type proximity_event_type = 1 [default = SNS_PROXIMITY_EVENT_TYPE_FAR]; + + // Proimity sensor raw data + required uint32 raw_adc = 2; + + // Proximity sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Handling stream events: +// 1. The Proximity Sensor publishes object proximity data stream events +// using sns_proximity_event message. +// 2. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 3. The Proximity Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is a change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + +// Handling self-test requests: +// 1. The Proximity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Proximity Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for Proximity Sensor calibrates +// the sensor to detect an object (including light and dark colored) +// at 5cm distance from the physical sensor. +// 3. The Proximity Sensor could implement other test types. + +// Handling test events: +// 1. The Proximity Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_psmd.proto b/proprietary/vendor/etc/sensors/proto/sns_psmd.proto new file mode 100644 index 0000000..b926657 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_psmd.proto @@ -0,0 +1,59 @@ +// @file sns_psmd.proto +// +// Defines the API for Persistent Stationary/Motion Detection Sensors. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A persistent stationary/motion sensor reports once +// - The device is moving/not still +// - The device is detected to be still/stationary +// The period of time to monitor for motion and stationarity should be greater +// than 5 seconds, and less than 10 seconds. After reporting, conceptually +// the algorithm's state is reset, and detection begins again. +// +// Motion here refers to any mechanism in which the device is causes to be +// moved in its inertial frame. eg: Picking up the device and walking with it +// to a nearby room may trigger motion whereas keeping the device on a table +// on a smooth train moving at constant velocity may not trigger motion. +// +// Stationarity here refers to absolute stationarity. eg: device on desk. +// +// ## Persistent Stationary/Motion Detect sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "psmd" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Message IDs for Persistent Stationary/Motion Sensor +enum sns_psmd_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Configuration Request + SNS_PSMD_MSGID_SNS_PSMD_CONFIG = 512; + + // Empty Event + // Indicates that the requested state has been detected + SNS_PSMD_MSGID_SNS_PSMD_EVENT = 768; +} + +// Detected states supported by the PSM Detector +enum sns_psmd_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_PSMD_TYPE_STATIONARY = 0; + SNS_PSMD_TYPE_MOTION = 1; +} + +// Configuration Message +// Used to specify the PSMD configuration +message sns_psmd_config +{ + // Which detector type to enable + required sns_psmd_type type = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_registry.proto b/proprietary/vendor/etc/sensors/proto/sns_registry.proto new file mode 100644 index 0000000..79acf7d --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_registry.proto @@ -0,0 +1,86 @@ +// @file sns_registry.proto +// +// Sensors Registry message definitions for internal and external clients +// +// Copyright (c) 2017,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// Registry Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "registry" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT + +// Registry Sensor message IDs: +enum sns_registry_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_REGISTRY_MSGID_SNS_REGISTRY_READ_REQ = 512; + SNS_REGISTRY_MSGID_SNS_REGISTRY_WRITE_REQ = 513; + // The following event was mistakenly given an invalid message ID + SNS_REGISTRY_MSGID_SNS_REGISTRY_READ_EVENT = 514; + SNS_REGISTRY_MSGID_SNS_REGISTRY_WRITE_EVENT = 768; +} + +message sns_registry_data +{ + message item + { + option (nanopb_msgopt).no_unions = true; + + // Item name (i.e. Only item-specific name, sans group name) + required string name = 1; + optional fixed32 version = 2; + + oneof data + { + sns_registry_data subgroup = 10; + string str = 11; + float flt = 12; + sfixed64 sint = 13; + } + } + repeated item items = 3; +} + +// All read requests will be replied with a read event +message sns_registry_read_req +{ + // Full name of the item or group to be read + required string name = 1; +} + +message sns_registry_read_event +{ + // Full name of the group which was read + required string name = 1; + + // If the requested registry group was not found, data is empty + required sns_registry_data data = 2; +} + +// All write requests will be replied with a write event +message sns_registry_write_req +{ + // Full name of the group to be written + required string name = 1; + + required sns_registry_data data = 2; +} + +// Registry write status +enum sns_registry_write_status +{ + option (nanopb_enumopt).long_names = false; + + // The registry write was successful, and the data was stored on the FS + SNS_REGISTRY_WRITE_STATUS_SUCCESS = 0; + // An unspecified error has occurred; data may be lost + SNS_REGISTRY_WRITE_STATUS_ERROR_OTHER = 1; +} + +message sns_registry_write_event +{ + required sns_registry_write_status status = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_resampler.proto b/proprietary/vendor/etc/sensors/proto/sns_resampler.proto new file mode 100644 index 0000000..cd69bd9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_resampler.proto @@ -0,0 +1,90 @@ +// @file sns_resampler.proto +// +// Defines standard message types for the Resampler +// +// Copyright (c) 2016-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std.proto"; +import "sns_std_sensor.proto"; +import "sns_std_event_gated_sensor.proto"; + +// Resampler Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "resampler" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_STREAMING + +// Sensor output event: +// Resampler use sns_std_sensor_event for it's output event + +enum sns_resampler_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_RESAMPLER_MSGID_SNS_RESAMPLER_CONFIG = 512; + SNS_RESAMPLER_MSGID_SNS_RESAMPLER_CONFIG_EVENT = 776; +} + +// Type of requested resampled rate +enum sns_resampler_rate +{ + option (nanopb_enumopt).long_names = false; + + // Requested resampled rate is fixed + SNS_RESAMPLER_RATE_FIXED = 0; + + // Requested resampled rate is the minimum required + SNS_RESAMPLER_RATE_MINIMUM = 1; +} + +// Resampler output quality +enum sns_resampler_quality +{ + option (nanopb_enumopt).long_names = false; + + // Resampler output is the same as input sensor data + SNS_RESAMPLER_QUALITY_CURRENT_SAMPLE = 0; + + // Resampler output is filtered down from input sensor data + SNS_RESAMPLER_QUALITY_FILTERED = 1; + + // Resampler output is interpolated and filtered down from input sensor data + SNS_RESAMPLER_QUALITY_INTERPOLATED_FILTERED = 2; + + // Resampler output is interpolated down from input sensor data + SNS_RESAMPLER_QUALITY_INTERPOLATED = 3; +} + +// Configuration Message +// Used to either request for a new configuration of the Resampler Sensor or +// alter an already existing configuration +message sns_resampler_config +{ + // UID of the Sensor to be resampled + required sns_std_suid sensor_uid = 1; + + // The requested resampled rate in Hz + required float resampled_rate = 2; + + // The requested rate type as defined in sns_resampler_rate + required sns_resampler_rate rate_type = 3; + + // Set to true to enable filtering, else false + required bool filter = 4; + + // Set to true if sensor to be resampled is event gated + optional bool event_gated = 5; + + // Number of axes of the sensor data + optional uint32 axis_cnt = 6; +} + +// Config event to inform client sample quality +// of all subsequent sns_std_sensor_event from resampler +message sns_resampler_config_event +{ + // Quality of the resampled sensor data as defined in + // sns_resampler_quality + required sns_resampler_quality quality = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_rgb.proto b/proprietary/vendor/etc/sensors/proto/sns_rgb.proto new file mode 100644 index 0000000..63a63ab --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_rgb.proto @@ -0,0 +1,78 @@ +// @file sns_rgb.proto +// +// Defines the API for RGB Sensors. +// All RGB Sensor drivers are required to comply with this API. +// Any new functionality for RGB Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The RGB Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "rgb". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute values in µW/cm2/LSB unit. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in µW/cm2 unit. +// 4. See sns_std_sensor.proto for other attributes. + + +// Handling stream requests: +// 1. The RGB Sensor supports both streaming and on-change +// modes and the operating mode is configured in the Registry. +// 2. The streaming RGB Sensor handles the sns_std_sensor_config +// request for all stream enable/update requests. +// 3. The on-change RGB Sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for +// all stream enable/update requests. +// 4. In on-change mode the Sensor uses interrupt operation and reports +// samples for only significant change in R/G/B/clear channel irradiance. +// Example: +/- 10% change. + +// Handling stream events: +// 1. The RGB Sensor publishes color data in ambient light using the +// sns_std_sensor_event message. +// 2. Each stream event contains six output data fields where data is +// factory calibrated and ordered as: +// data[0] = Red channel irradiance in µW/cm2 +// data[1] = Green channel irradiance in µW/cm2 +// data[2] = Blue channel irradiance in µW/cm2 +// data[3] = Clear channel irradiance in µW/cm2 +// data[4] = Color Temperature in Kelvin +// data[5] = raw clear channel ADC value +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The RGB Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The RGB Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The RGB Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The RGB Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for RGB Sensor calibrates +// the sensor such that it's output is comparable to a standard Chromemeter +// output in any lighting condition. +// 3. The RGB Sensor could implement other test types. + +// Handling test events: +// 1. The RGB Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_rmd.proto b/proprietary/vendor/etc/sensors/proto/sns_rmd.proto new file mode 100644 index 0000000..052aeee --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_rmd.proto @@ -0,0 +1,51 @@ + +// @file sns_rmd.proto +// +// Defines message types for the Absolute Motion Detector (RMD) Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// RMD calculates motion and stationary states. RMD will initially start in an +// unknown state, and later transition to motion or stationary. + +// RMD Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "rmd" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for RMD Sensor +enum sns_rmd_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_RMD_MSGID_SNS_RMD_EVENT = 772; +} + +enum sns_rmd_event_type +{ + option (nanopb_enumopt).long_names = false; + + SNS_RMD_EVENT_TYPE_UNKNOWN = 0; + SNS_RMD_EVENT_TYPE_STATIONARY = 1; + SNS_RMD_EVENT_TYPE_MOTION = 2; +} + +message sns_rmd_event +{ + // RMD motion state + required sns_rmd_event_type state = 1 [default = SNS_RMD_EVENT_TYPE_UNKNOWN]; +} + +// Stream events: +// +// The sns_rmd_event message is used to publish updated state +// +// RMD does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_rotv.proto b/proprietary/vendor/etc/sensors/proto/sns_rotv.proto new file mode 100644 index 0000000..abe0ff8 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_rotv.proto @@ -0,0 +1,53 @@ +// @file sns_rotv.proto +// +// Defines the API for Rotation Vector sensors. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "sns_std_sensor.proto"; + +// A ROTV sensor reports the orientation of the device relative to the +// East-North-Up coordinates frame. It is obtained by integration of +// accelerometer, gyroscope, and magnetometer readings. +// +// ## ROTV sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "rotv" +// +// ## Request Message: sns_std_sensor_config +// sns_std_sensor_config::sample_rate is used to specify the sampling rate (Hz) +// of the ROTV sensor. Sensor will generate data events at this rate. +// +// ## Event Message: sns_std_sensor_event +// Output of the ROTV sensor will be populated in sns_std_sensor_event +// +// The East-North-Up coordinate system is defined as a direct orthonormal +// basis where: +// - X points east and is tangential to the ground. +// - Y points north and is tangential to the ground. +// - Z points towards the sky and is perpendicular to the ground. +// +// The orientation is represented by the rotation necessary to align +// the East-North-Up coordinates with the device's coordinates. That is, +// applying the rotation to the world frame (X,Y,Z) would align them with +// the device coordinates (x,y,z). +// +// The rotation can be seen as rotating the device by an angle theta around an +// axis rot_axis to go from the reference device orientation to the current +// device orientation. The rotation is encoded as the four unitless x, y, z, w +// components of a unit quaternion: +// sns_std_sensor_event::data[0] = rot_axis.x*sin(theta/2) +// sns_std_sensor_event::data[1] = rot_axis.y*sin(theta/2) +// sns_std_sensor_event::data[2] = rot_axis.z*sin(theta/2) +// sns_std_sensor_event::data[3] = cos(theta/2) +// +// Where: +// - the x, y and z fields of rot_axis are the East-North-Up coordinates +// of a unit length vector representing the rotation axis +// - theta is the rotation angle +// +// sns_std_sensor_event::status specifies the reliability of the sample value +// value is of type sns_std_sensor_sample_status. see sns_std_sensor.proto for +// details. diff --git a/proprietary/vendor/etc/sensors/proto/sns_sar.proto b/proprietary/vendor/etc/sensors/proto/sns_sar.proto new file mode 100644 index 0000000..c832b4c --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_sar.proto @@ -0,0 +1,117 @@ +// @file sns_sar.proto +// +// Defines the API for Specific Absorption Rate (SAR) Sensors. +// SAR sensors typically detect human object proximity using change in capacitance +// levels of copper touch pads/buttons. +// All SAR Sensor drivers are required to comply with this API. +// Any new functionality for SAR Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2018,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The SAR Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "sar". +// Each SAR sensor (example individual capacitive button) shall be published +// as an independent sensor with a unique Sensor UID. +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute is not applicable since this +// is an event sensor. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in cm unit (proximity distance). +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream and on-change requests: +// 1. The SAR sensor can support both streaming and on-change +// modes, and the operating mode is configured in the Registry. +// 2. In streaming mode, the SAR sensor handles the sns_std_sensor_config +// client requests, for all stream enable/update request types. +// 3. In on-change mode, the SAR sensor handles the +// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG client requests, +// for all on-change enable/update request types. +// In on-change mode, the SAR sensor reports samples only for +// NEAR/FAR transitions triggered by the detection of an object +// (typically human) in proximity to the SAR sensor. +// Also for this mode, the SAR sensor publishes an +// initial data event for each new, on-change client request. + +// Message IDs for SAR Sensor +enum sns_sar_msgid { + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_sar_event + // Purpose: A non-recurrent output data event from the SAR sensor to its client. + SNS_SAR_MSGID_SNS_SAR_EVENT = 769; + + // Uses message: sns_sar_event_recurrent + // Purpose: A recurring output data event from the SAR sensor to its client. + SNS_SAR_MSGID_SNS_SAR_EVENT_RECURRENT = 1031; +} + +enum sns_sar_event_type { + option (nanopb_enumopt).long_names = false; + + SNS_SAR_EVENT_TYPE_FAR = 0; + SNS_SAR_EVENT_TYPE_NEAR = 1; +} + +// Events types from SAR Sensor +message sns_sar_event +{ + // SAR NEAR/FAR output event + required sns_sar_event_type sar_event_type = 1 [default = SNS_SAR_EVENT_TYPE_FAR]; + + // SAR sensor raw data. + // Format of this data is driver specific. + optional bytes additional_sar_data = 2; + + // SAR sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +message sns_sar_event_recurrent +{ + // SAR NEAR/FAR output event + required sns_sar_event_type sar_event_type = 1 [default = SNS_SAR_EVENT_TYPE_FAR]; + + // SAR sensor raw data. + // Format of this data is driver specific. + optional bytes additional_sar_data = 2; + + // SAR sensor sample status + required sns_std_sensor_sample_status status = 3 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Handling stream events: +// 1. The SAR Sensor publishes human object proximity data events using sns_sar_event message. +// 2. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 3. The SAR Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. + +// Handling self-test requests: +// 1. The SAR Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The SAR Sensor may implement SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The SAR Sensor could implement other test types. + +// Handling test events: +// 1. The SAR Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_sensor_temperature.proto b/proprietary/vendor/etc/sensors/proto/sns_sensor_temperature.proto new file mode 100644 index 0000000..e614211 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_sensor_temperature.proto @@ -0,0 +1,66 @@ +// @file sns_sensor_temperature.proto +// +// Defines the API for physical Sensor Temperature Sensors. +// All Sensor Temperature Sensor drivers are required to comply with this API. +// Any new functionality for Sensor Temperature Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Sensor Temperature Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "sensor_temperature". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees Celsius/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees Celsius unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Sensor Temperature Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. +// 2. If the physical sensor supports hardware FIFO then the Sensor Temperature +// Sensor uses batching_period item in sns_std_request as the requested +// batching rate to determine hardware FIFO watermark. + +// Handling stream events: +// 1. The Sensor Temperature Sensor publishes physical sensor temperature data +// stream events using the sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = physical Sensor Temperature data in degrees Celsius +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Sensor Temperature Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Sensor Temperature Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + + +// Handling self-test requests: +// 1. The Sensor Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Sensor Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Sensor Temperature Sensor could implement other test types. + +// Handling test events: +// 1. The Sensor Temperature Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_sig_motion.proto b/proprietary/vendor/etc/sensors/proto/sns_sig_motion.proto new file mode 100644 index 0000000..d055d99 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_sig_motion.proto @@ -0,0 +1,32 @@ +// @file sns_sig_motion.proto +// +// Defines the API for Significant Motion Detection Sensors. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// A significant motion sensor reports once if "significant motion" +// is detected. +// +// ## Significant Motion sensor attributes: +// SNS_STD_SENSOR_ATTRID_TYPE is "sig_motion" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT +// +// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG +// No configuration is available for this sensor. +// +// ## Event Message: SNS_SIG_MOTION_MSGID_SNS_SIG_MOTION_EVENT +// Reported upon new detection of significant motion. + +// Message IDs for Significant Motion Detect Sensor +enum sns_sig_motion_msgid { + option (nanopb_enumopt).long_names = false; + + // Empty Message + SNS_SIG_MOTION_MSGID_SNS_SIG_MOTION_EVENT = 772; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_std.proto b/proprietary/vendor/etc/sensors/proto/sns_std.proto new file mode 100644 index 0000000..b7a0630 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_std.proto @@ -0,0 +1,145 @@ +// @file sns_std.proto +// +// Defines standard messages used across multiple Sensor API definitions +// +// Copyright (c) 2016-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import public "sns_std_type.proto"; + +// Framework-defined message IDs: +enum sns_std_msgid { + option (nanopb_enumopt).long_names = false; + + // Query a Sensor for all attributes + // @event sns_std_error_event + SNS_STD_MSGID_SNS_STD_ATTR_REQ = 1; + + // Flush a Sensor. + // When a sensor receives a flush request it publishes any unpublished + // samples. The sensor always publishes a SNS_STD_MSGID_SNS_STD_FLUSH_EVENT + // event to indicate completion of a flush request. + // All Sensors handle this flush request message. See special case handling below + // Empty Message + // @event sns_pb_flush_event + SNS_STD_MSGID_SNS_STD_FLUSH_REQ = 2; + + // NOTE: 10 - 20 Are reserved for Client Manager + // NOTE: 120-127 Are reserved + + // All published attributes for a Sensor + SNS_STD_MSGID_SNS_STD_ATTR_EVENT = 128; + + // Indicates no further events will be generated in response to a flush req. + // Empty Message + SNS_STD_MSGID_SNS_STD_FLUSH_EVENT = 129; + + // Indicates an error has occurred + SNS_STD_MSGID_SNS_STD_ERROR_EVENT = 130; + + // NOTE: 250-255 Are reserved +} +// Special case handling for flush request +// 1. No prior instance has been created, and a flush request is received, i.e. flush request is sent before an enable req +// Unexpected sequence, driver can ignore the flush request, and set_client_request returns NULL +// 2. When enable request is sent and while that is still ongoing ( phy cfg event not published yet) and a flush request is received, expected sequence below: +// a) sensor driver gets sns_std_sensor_config +// b) sensor driver gets sns_std_flush_req +// c) sensor driver sends sns_std_sensor_physical_config_event +// d) sensor driver sends sns_std_flush_event +// 3. When a previous flush request is still ongoing and another flush request comes +// a) sensor driver receives sns_std_flush_req +// b) sensor driver receives another sns_std_flush_req while first flush request is being handled, but no flush event is sent yet +// c) sensor driver can ignore the 2nd flush request +// d) sensor driver finishes processing the first flush request and sends sns_std_flush_event +// #1 and # 3 applies to algorithm as well. + + +// Base message payload, from which all other Request payloads must extend +// The message will be delivered decoded within the Sensor API +message sns_std_request { + message batch_spec { + // Logically a timer will be registered for this many microseconds. + // All events generated since the last timer expiration will be saved + // until the next timer has fired. This period is interpreted as a maximum + // period specified by the client; events may be delivered to client at a + // faster rate (smaller batch period). + // A batch period of 0 indicates that no batching shall occur. + required uint32 batch_period = 1; + + // Sensor supporting Data Acquisition Engine shall support flush_period. + // Sensor shall not drop data that is more recent than flush_period. + // Sensor may drop data that is older than the flush_period. + // Effective flush period may be smaller due to system constraints, + // or larger in the case of a concurrent client with a larger value. + // flush_period, if set, should be greater than or equal to batch_period. + // flush_period value defaults to UINT32_MAX; units in microseconds. + // If batch_period > 0 and flush period not specified, + // then flush_period = batch_period. + optional uint32 flush_period = 2; + + // If flush_only = true, the sensor should only send data to the client + // on receiving a flush request or if the sensor cannot accumulate flush + // period worth of data. + optional bool flush_only = 3 [default = false]; + + // If max_batch = true for all requests, the sensor should operate at + // maximum batching capacity. If a request has both max_batch = true + // and flush_only = true, flush_only takes precedence. + optional bool max_batch = 4 [default = false]; + } + // Batching is disabled by default + optional batch_spec batching = 1; + + // Dynamic length payload, containing the actual data/configuration request + // This payload will need to be decoded separately, using the Sensor-specific + // header file. If the request does not contain any message body then this + // field is not present. + optional bytes payload = 2; + + // Set to true if a client intends to be a passive client. Else it is an + // active client request. Absence of this field shall be treated as an active + // request. + // If all requests to the sensor are passive then it shall be in off + // state and stop streaming. + // If the sensor has at least one active request then it shall be enabled + // and configured according to all active and passive requests. + // When all active clients are flush_only then passive clients are also treated + // as flush_only. + // When all active clients are event gated then passive clients are also treated + // as event gated. + // delivery_type field in passive requests shall be configured as + // SNS_CLIENT_DELIVERY_NO_WAKEUP. + // Actively enabling one sensor shall not lead to enabling of another + // sensor having only passive requests. For example: enabling gyro shall not + // lead to enabling of sensor_temperature, and vice versa. + optional bool is_passive = 3 [default = false]; + +} + +// Query a Sensor for its list of attributes +message sns_std_attr_req { + // Register for updates when the attributes of a Sensor change + // This option is not presently supported + optional bool register_updates = 2; +} + +// Contains all Sensor attributes; sent in response to an sns_std_attr_req, +// or upon an attribute change to a registered Sensor +message sns_std_attr_event { + repeated sns_std_attr attributes = 1; +} + +// An Error Event generated by a Sensor/Instance or the Framework +message sns_std_error_event { + // SNS_STD_ERROR_NOT_AVAILABLE - Transitory error in the Sensor; some data + // may have been lost or dropped, but streaming should resume. + // SNS_STD_ERROR_INVALID_STATE - Catastrophic error in the Sensor; do not + // expect any further data. Client may try sending enable-request again. + // SNS_STD_ERROR_NOT_SUPPORTED - Sensor received an unsupported request; or a + // supported request at an unexpected time. Client may not expect any + // further data and may try sending valid request. + required sns_std_error error = 1; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto b/proprietary/vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto new file mode 100644 index 0000000..7e49cb9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_std_event_gated_sensor.proto @@ -0,0 +1,45 @@ +// @file sns_std_event_gated_sensor.proto +// +// Defines standard message types for Sensors with output streams that can be +// gated on an event from another Sensor. +// Example: "accel" Sensor can be gated by motion detect event published by +// the "motion_detect" Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +enum sns_std_event_gated_sensor_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Message ID to send a gated request to a Sensor. + // Note that the client is responsible to send separate + // requests to the Sensor that provides the gating event. + SNS_STD_EVENT_GATED_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG = 518; + + // An event gated Sensors uses this event message ID to indicate to it's + // clients that the gated stream is converted to a non-gated stream. + // This typically happens when the gating event occurs. + // Example: When "accel" is gated on "motion_detect" and if the + // motion detect interrupt fires then the "accel" Sensor publishes + // this event to it's clients before the accel data stream starts. + SNS_STD_EVENT_GATED_SENSOR_MSGID_GATED_REQ_CONVERTED_TO_NON_GATED = 772; +} + +// Request and Event messages: +// 1. An enable request to an event gated sensor uses message +// sns_std_sensor_config with message ID +// SNS_STD_EVENT_GATED_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG. +// 2. An event gated sensor publishes an output event to it's clients when +// the gated request is converted to a non-gated request. It uses event +// message ID SNS_STD_EVENT_GATED_SENSOR_MSGID_GATED_REQ_CONVERTED_TO_NON_GATED +// with no message payload. +// 3. An output data event from an event gated sensor uses message +// sns_std_sensor_event. See sns_std_sensor.proto and sensor-specific +// proto file for details. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_std_sensor.proto b/proprietary/vendor/etc/sensors/proto/sns_std_sensor.proto new file mode 100644 index 0000000..771354e --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_std_sensor.proto @@ -0,0 +1,412 @@ +// @file sns_std_sensor.proto +// +// Defines standard message types for all Sensors. All physical Sensors are +// required to implement this API as is or derive from it. For all other +// Sensors, these messages are highly recommended. That being said, Sensor +// developers may choose to define Sensor-specific message API for any +// new/Sensor-specific functionality. +// +// Copyright (c) 2016-2021 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; + +enum sns_std_sensor_msgid +{ + option (nanopb_enumopt).long_names = false; + + // Uses message: sns_std_sensor_config + // Purpose: + // 1. A stream request from a client to a sensor. + // 2. A config/ack event from a sensor to the client. + SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG = 513; + + // Does not use any message body. + // Purpose: + // 1. An enable request from a client to an on-change sensor. + // Subsequent request from same client will be treated as NOP + // 2. A config/ack event from an on-change sensor to the client. + // Requirements for on-change sensors are listed in a section below. + SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG = 514; + + // Uses message: sns_std_sensor_physical_config_event + // Purpose: A configuration event from a Physical Sensor (streaming and event) + // to the client. + // Requirements for physical configuration events are listed in a section + // below. + SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_PHYSICAL_CONFIG_EVENT = 768; + + // Uses message: sns_std_sensor_event + // Purpose: A data event from a Sensor. + SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_EVENT = 1025; +} + +// Status for each sensor sample +enum sns_std_sensor_sample_status +{ + option (nanopb_enumopt).long_names = false; + + // Sample is unreliable. + SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE = 0; + + // Sample is low accuracy. + SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_LOW = 1; + + // Sample is medium accuracy. + SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_MEDIUM = 2; + + // Sample is high accuracy. + SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH = 3; +} + +// Attribute IDs available for use by Sensors +// Some are marked as REQUIRED, and must be published by every Sensor. Others +// are OPTIONAL, and may be only necessary for physical Sensors. +// +// Each Sensor may define their own custom attributes, using the form: +// _attr_id. Attribute IDs have the following reserved ranges: +// 0-511 : Held for sns_std_sensor_attr_id +// 512-1023 : Reserved for internal QTI use +// 1024-1535 : Available for use by Sensor developers +enum sns_std_sensor_attr_id +{ + option (nanopb_enumopt).long_names = false; + + // REQUIRED + // String + // Human-readable sensor name + SNS_STD_SENSOR_ATTRID_NAME = 0; + + // REQUIRED + // String + // Human-readable vendor name + SNS_STD_SENSOR_ATTRID_VENDOR = 1; + + // REQUIRED + // String + // Data Type used by this Sensor + SNS_STD_SENSOR_ATTRID_TYPE = 2; + + // REQUIRED + // Boolean + // Whether this Sensor is available for clients + SNS_STD_SENSOR_ATTRID_AVAILABLE = 3; + + // REQUIRED + // Integer 64-bit version number represented as major[31:16].minor[15:8].revision[7:0], [63:32] be 0 + // Example in hexadecimal: major:0x0002 minor:0x00 revision:0x36 #define DRIVER_VERSION 0x00020036 + // Sensor version + SNS_STD_SENSOR_ATTRID_VERSION = 4; + + // REQUIRED + // [String] + // .proto files specifying the incoming request and outgoing event messages + SNS_STD_SENSOR_ATTRID_API = 5; + + // OPTIONAL + // [Float] + // Supported sample rates in Hz + SNS_STD_SENSOR_ATTRID_RATES = 6; + + // OPTIONAL + // [Float] + // Supported resolutions + SNS_STD_SENSOR_ATTRID_RESOLUTIONS = 7; + + // OPTIONAL + // Integer + // Supported FIFO depth in number of samples + SNS_STD_SENSOR_ATTRID_FIFO_SIZE = 8; + + // OPTIONAL + // [Integer] + // Active currents in uA for all sns_attr_op_modes. Length of the array + // of active currents must match the length of the array of operation modes. + SNS_STD_SENSOR_ATTRID_ACTIVE_CURRENT = 9; + + // OPTIONAL + // Integer + // Inactive current in uA + SNS_STD_SENSOR_ATTRID_SLEEP_CURRENT = 10; + + // OPTIONAL + // [{float,float}] + // Supported operating ranges + SNS_STD_SENSOR_ATTRID_RANGES = 11; + + // OPTIONAL + // String + // Operating Modes ("LPM", "HIGH_PERF", "NORMAL", "OFF") + SNS_STD_SENSOR_ATTRID_OP_MODES = 12; + + // OPTIONAL + // Boolean + // Whether the Sensor supports Data Ready Interrupt (DRI) or IBI + // (In Band Interrupt). + SNS_STD_SENSOR_ATTRID_DRI = 13; + + // OPTIONAL + // Boolean + // Whether a Sensor support synchronized streaming. + SNS_STD_SENSOR_ATTRID_STREAM_SYNC = 14; + + // OPTIONAL + // Integer + // Encoded message size of the data event generated most often by the Sensor + SNS_STD_SENSOR_ATTRID_EVENT_SIZE = 15; + + // REQUIRED + // Integer: sns_std_sensor_stream_type + // Streaming Type + SNS_STD_SENSOR_ATTRID_STREAM_TYPE = 16; + + // OPTIONAL + // Boolean + // Whether this Sensor is dynamic (connected/disconnected at runtime) + SNS_STD_SENSOR_ATTRID_DYNAMIC = 17; + + // OPTIONAL + // Integer + // When multiple Sensors of the same hardware exist, this attribute differentiates. + SNS_STD_SENSOR_ATTRID_HW_ID = 18; + + // OPTIONAL + // Integer: sns_std_sensor_rigid_body_type + // The rigid body on which the Sensor is placed. + SNS_STD_SENSOR_ATTRID_RIGID_BODY = 19; + + // OPTIONAL + // float[12] + // Location and orientation of sensor element in the device frame. + SNS_STD_SENSOR_ATTRID_PLACEMENT = 20; + + // OPTIONAL + // Boolean + // Boolean: True for a physical sensor + SNS_STD_SENSOR_ATTRID_PHYSICAL_SENSOR = 21; + + // OPTIONAL + // [Integer] + // List of supported self-test types from sns_physical_sensor_test_type. + SNS_STD_SENSOR_ATTRID_PHYSICAL_SENSOR_TESTS = 22; + + // OPTIONAL + // Float + // Sensors chosen resolution in it's engineering units. + SNS_STD_SENSOR_ATTRID_SELECTED_RESOLUTION = 23; + + // OPTIONAL + // float[2] + // Sensors chosen {min, max} range in it's engineering units. + SNS_STD_SENSOR_ATTRID_SELECTED_RANGE = 24; + + // OPTIONAL + // [float] + // List of additional sample rates for low latency clients in Hz. + // These are additional rates for low latency clients extended from list + // of rates published in attribute SNS_STD_SENSOR_ATTRID_RATES. + // This is supported for internal clients only. External clients shall not use this API. + SNS_STD_SENSOR_ATTRID_ADDITIONAL_LOW_LATENCY_RATES = 25; + + // OPTIONAL + // Boolean + // Boolean: True if the sensor supports passive request, False otherwise. + // If this attribute is not supported, then the sensor does not support passive requests. + // Sensors that do not support passive requests, will service all requests as active requests. + SNS_STD_SENSOR_ATTRID_PASSIVE_REQUEST = 26; + + // OPTIONAL + // float + // direct channel supported max sample rate in Hz + SNS_STD_SENSOR_ATTRID_DIRECT_CHANNEL_MAX_SAMPLE_RATE = 27; + + // OPTIONAL + // float + // direct channel supported max report rate in Hz + SNS_STD_SENSOR_ATTRID_DIRECT_CHANNEL_MAX_REPORT_RATE = 28; +} + +// Sensor stream configuration request +// or configuration change message +message sns_std_sensor_config +{ + // Sample rate in Hz. + required float sample_rate = 1; +} + +// Sensor data event +message sns_std_sensor_event +{ + // Output data field for all Sensor. + repeated float data = 1; + + // Event sample status. + required sns_std_sensor_sample_status status = 2 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE]; +} + +// Stream types +enum sns_std_sensor_stream_type +{ + option (nanopb_enumopt).long_names = false; + + // Used for Sensors that report data periodically. + // Example: accel, gyro, mag + SNS_STD_SENSOR_STREAM_TYPE_STREAMING = 0; + + // Used for Sensors that report data only on change in value. + // Example: proximity, hall + SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE = 1; + + // Used for Sensors that have a single data event in reponse to a request. + // Example: SUID, motion detect + SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT = 2; +} + +// Rigid body types +enum sns_std_sensor_rigid_body_type +{ + option (nanopb_enumopt).long_names = false; + + // Used for a Sensor mounted on the same rigid body as the display. + SNS_STD_SENSOR_RIGID_BODY_TYPE_DISPLAY = 0; + + // Used for a Sensor mounted on the same rigid body as a keyboard. + SNS_STD_SENSOR_RIGID_BODY_TYPE_KEYBOARD = 1; + + // Used for a Sensor that is mounted on an external device. + SNS_STD_SENSOR_RIGID_BODY_TYPE_EXTERNAL = 2; +} + +// Sensor stream configuration event +message sns_std_sensor_config_event +{ + // Current sample rate in Hz + required float sample_rate = 1; +} + +// Physical sensor stream configuration. This message reflects the current +// configuration of the physical sensor. +message sns_std_sensor_physical_config_event +{ + // Current sample rate in Hz for streaming sensors only, 0 if sensor is disabled + // ( ex: when event gated or in passive mode and not streaming ) + // Note: if stream will be synchronized via S4S or I3C, this is the sample + // rate after synchronization is complete. + optional float sample_rate = 1; + + // Current hardware water mark setting. 1 if FIFO not in use. + optional uint32 water_mark = 2; + + // Sensor sample value min and max range + repeated float range = 3 [(nanopb).max_count = 2]; + + // Sensor sample value Resolution + optional float resolution = 4; + + // Sensor operation mode + // If all requests to the sensor are passive then it shall use + // operating_mode = "OFF" + optional string operation_mode = 5; + + // Sensor active current in uA + optional uint32 active_current = 6; + + // Sensor streaming is synchronized via methods like S4S and/or I3C. + // Note: if the stream is not yet synchronized, this field should be + // false, and an additional config event sent with stream_is_synchronous + // set to true once the clocks have been synchronized. + optional bool stream_is_synchronous = 7; + + // Sensor has enabled Data Ready Interrupt (DRI) or In Band Interrupt (IBI) + optional bool dri_enabled = 8; + + // Current DAE water mark setting. 0 if non-DAE sensor. + optional uint32 DAE_watermark = 9; + + // The sync anchor is only valid for synchronized sensors. + // If used, "stream_is_synchronous" should eventually be set to true when the clocks are synchronized. + // It is a timestamp of a future (or past) sns_std_sensor_event. + // This may be used by clients to determine the synchronized timeline before it is synchronized. + optional uint64 sync_ts_anchor = 10; +} + +// Attribute requirements: +// The Physical Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_AVAILABLE attribute value (bool) as true when it's dependencies +// are met and the hardware is present and responsive. +// 2. SNS_STD_SENSOR_ATTRID_NAME attribute value (string) as the name of the sensor model. +// 3. SNS_STD_SENSOR_ATTRID_VENDOR attribute value (string) as the name of the sensor vendor. +// 4. SNS_STD_SENSOR_ATTRID_VERSION attribute value (decimal) as the version of the driver. +// 5. SNS_STD_SENSOR_ATTRID_RATES attribute as a float array of supported sample rates in Hz +// for streaming sensors. On-change sensors publish the highest rate of value change. +// 6. SNS_STD_SENSOR_ATTRID_FIFO_SIZE attribute value (decimal) as the maximum FIFO depth in +// number of sensor samples available to it when enabled standalone. +// The value can be zero if FIFO is not supported. +// 7. SNS_STD_SENSOR_ATTRID_ACTIVE_CURRENT attribute as an integer array representing active +// currents in uA corresponding to the sns_attr_op_modes attribute. +// 8. SNS_STD_SENSOR_ATTRID_SLEEP_CURRENT attribute value (float) as the current in uA when +// the sensor is in power down mode. +// 9. SNS_STD_SENSOR_ATTRID_OP_MODES attribute value as an array of string values +// representing different hardware operating modes. +// 10. SNS_STD_SENSOR_ATTRID_DRI attribute value (bool) as true when it supports +// interrupt based streaming else false when polling. +// The source of data ready interrupt (DRI) could be completion of measurement +// cycle, FIFO water mark (if sns_attr_fifo_size value is greater than 0), +// threshold, etc. +// If the sensor is capable of streaming in both polling and DRI modes then +// it publishes separate Sensors for each mode such that the one with DRI +// publishes SNS_STD_SENSOR_ATTRID_DRI value as true and the one with polling +// publishes SNS_STD_SENSOR_ATTRID_DRI as false. +// 11. SNS_STD_SENSOR_ATTRID_STREAM_SYNC attribute value (bool) as true when it +// it supports a synchronous streaming mechanism like S4S and/or I3C. +// 12. SNS_STD_SENSOR_ATTRID_EVENT_SIZE attribute value (decimal) as number of bytes in the +// output data event for the Sensor. +// 13. SNS_STD_SENSOR_ATTRID_STREAM_TYPE attribute value (sns_std_sensor_stream_type) as the +// supported stream type. +// 14. SNS_STD_SENSOR_ATTRID_DYNAMIC attribute value (bool) to indicate whether the sensor +// can be added at runtime. +// 15. SNS_STD_SENSOR_ATTRID_HW_ID attribute value (string) to uniquely identify multiple +// sensor hardware of the same model on a platform. +// 16. SNS_STD_SENSOR_ATTRID_RIGID_BODY attribute value (sns_std_sensor_rigid_body_type) as the rigid +// body on which the sensor is mounted. +// 17. SNS_STD_SENSOR_ATTRID_PLACEMENT attribute value as the location and orientation of +// the sensor hardware. +// 18. SNS_STD_SENSOR_ATTRID_PHYSICAL_SENSOR attribute value (bool) to indicate if the sensor is +// a physical sensor +// 19. SNS_STD_SENSOR_ATTRID_PHYSICAL_SENSOR_TESTS attribute value as array of supported +// sns_physical_sensor_test_type test types. +// 20. SNS_STD_SENSOR_ATTRID_SELECTED_RESOLUTION attribute value chosen from the +// SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute array. +// 21. SNS_STD_SENSOR_ATTRID_SELECTED_RANGE attribute value chosen from the +// SNS_STD_SENSOR_ATTRID_RANGES array. +// 22. SNS_STD_SENSOR_ATTRID_ADDITIONAL_LOW_LATENCY_RATES attribute as a float array of supported +// sample rates in Hz additional to rates in SNS_STD_SENSOR_ATTRID_RATES, this is only for low +// latency clients like direct report mode. +// See sensor specific .proto files for sensor specific attribute information. + +// Recommendation for device drivers to select configuration: +// 1. Choose fastest sample_rate among all client requests. +// 2. Choose fastest batch rate (using batch_period) among all client requests. For streaming clients, +// treat batch rate equal to requested sample rate for that request. +// 3. If HW FIFO is supported then: +// a. If all requests are max_batch then the driver configures highest FIFO watermark. +// If DAE is supported, the DAE watermark should be INT_MAX. +// b. Else FIFO watermark is determined based on sample_rate from #1 and batch rate from #2. + +// Requirements for on-change sensors: +// 1. Timestamp in data events. When a second (or subsequent) client request +// is processed, by a given sensor, an initial data event must be generated. +// The timestamp in this event must be equal to the timestamp of the most +// recent state transition. The timestamp of the last occurring state +// transition can be latched (e.g. in a state structure), per on-change +// sensor SUID. + +// Requirements for physical configuration events: +// 1. Timestamp in physical configuration events. When a second (or subsequent) +// client request is processed, by a given sensor, a physical configuration +// event must be generated. The timestamp, in the physical configuration +// event, must be equal to the timestamp of the most recent physical +// configuration change. The timestamp of the last occurring physical +// configuration change can be latched (e.g. in a state structure). diff --git a/proprietary/vendor/etc/sensors/proto/sns_std_type.proto b/proprietary/vendor/etc/sensors/proto/sns_std_type.proto new file mode 100644 index 0000000..0438235 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_std_type.proto @@ -0,0 +1,79 @@ +// @file sns_std_type.proto +// +// Defines standard data types used across multiple Sensor API definitions +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; + +// Represents an unique Sensor +message sns_std_suid { + required fixed64 suid_low = 1; + required fixed64 suid_high = 2; +} + +// Represents an attribute value +// Attribute values may be a single value, array of simple values, or +// an array of complex tuples +message sns_std_attr_value { + // "data" submessage required to support recursion + message data { + option (nanopb_msgopt).no_unions = true; + oneof value { + sns_std_attr_value subtype = 1; + string str = 2; + float flt = 3; + sfixed64 sint = 4; + bool boolean = 5; + } + } + repeated data values = 1; +} + +// An individual attribute from a Sensor +message sns_std_attr { + // A standard list of attributes is available within sns_std_sensor_attr_id + // Additional attributes may be defined by sensors, using the format: + // _ATTRID_ (e.g. SNS_ACCEL_ATTRID_ODR) + // Additional IDs must fall within the range of 1024-2047 + required int32 attr_id = 1; + // Attribute value + required sns_std_attr_value value = 2; +} + +// Error codes +enum sns_std_error { + option (nanopb_enumopt).long_names = false; + + /* No error occurred; success. */ + SNS_STD_ERROR_NO_ERROR = 0; + /* Unfixable or internal error occurred. */ + SNS_STD_ERROR_FAILED = 1; + /* This API is not supported or is not implemented. */ + SNS_STD_ERROR_NOT_SUPPORTED = 2; + /* Message contains invalid data type, + * e.g., unknown message ID, unknown registry group, or unexpected + * Sensor UID. */ + SNS_STD_ERROR_INVALID_TYPE = 3; + /* Catastrophic error; expect no further data */ + SNS_STD_ERROR_INVALID_STATE = 4; + /* One or more argument values were outside of the valid range */ + SNS_STD_ERROR_INVALID_VALUE = 5; + /* This operation is not available at this time */ + SNS_STD_ERROR_NOT_AVAILABLE = 6; + /* This action was rejected due to the current policy settings */ + SNS_STD_ERROR_POLICY = 7; +} + +//The enum contains all the processor types supported. +enum sns_std_client_processor { + option (nanopb_enumopt).long_names = false; + + SNS_STD_CLIENT_PROCESSOR_SSC = 0; + SNS_STD_CLIENT_PROCESSOR_APSS = 1; + SNS_STD_CLIENT_PROCESSOR_ADSP = 2; + SNS_STD_CLIENT_PROCESSOR_MDSP = 3; + SNS_STD_CLIENT_PROCESSOR_CDSP = 4; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_step_detect.proto b/proprietary/vendor/etc/sensors/proto/sns_step_detect.proto new file mode 100644 index 0000000..e5fa164 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_step_detect.proto @@ -0,0 +1,38 @@ +// @file sns_step_detect.proto +// +// Defines message types for the Step Detect Sensor. +// +// Copyright (c) 2019 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Step Detect Sensor detects steps taken by the user +// +// The Step Detect event is generated when the user takes a step. +// All clients to Step Detect get the same step detect event. +// The timestamp of the event indicates the time of the latest detected step. + +// Step Detect Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "step_detect" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Step Detect Sensor +enum sns_step_detect_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_STEP_DETECT_MSGID_SNS_STEP_DETECT_EVENT = 1029; +} + +// Stream events: +// +// An event with SNS_STEP_DETECT_MSGID_SNS_STEP_DETECT_EVENT as the message id +// is used to publish a step detect event +// +// Step detect sensor does not publish configuration events. \ No newline at end of file diff --git a/proprietary/vendor/etc/sensors/proto/sns_suid.proto b/proprietary/vendor/etc/sensors/proto/sns_suid.proto new file mode 100644 index 0000000..b83f431 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_suid.proto @@ -0,0 +1,54 @@ +// @file sns_suid.proto +// +// Defines standard message types to request and receive SUIDs. +// +// Copyright (c) 2016-2017,2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_type.proto"; + +enum sns_suid_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_SUID_MSGID_SNS_SUID_REQ = 512; + SNS_SUID_MSGID_SNS_SUID_EVENT = 768; +} + +// Well-known SUID for use by all clients. +// All other Sensor UIDs must be discovered dynamically +message sns_suid_sensor { + required fixed64 suid_low = 1 [default = 0xabababababababab]; + required fixed64 suid_high = 2 [default = 0xabababababababab]; +} + +// Request sent by internal or external client for the list of SUIDs that +// advertise the specified Data Type +// Note: Additional requests arriving on the same connection, will not result +// in a replaced request, but instead the new request will be appended to any +// active registrations. +message sns_suid_req { + required string data_type = 1; + // Register for updates to the list of SUIDs advertising data_type + optional bool register_updates = 2; + + // Each data type may or may not have one sensor configured to be "default" through registry. + // If following field is set to true and : + // * A default for the data type is explicitly configured, + // only the SUID of the default sensor will be sent via the suid event when available. + // * A default for the data type is not explicitly configured, + // the SUID of the first sensor with matching data type will be sent via the suid event. + // If following field is set to false, all sensors with matching data type will be sent, + // as and when they become available. + optional bool default_only = 3 [default = true]; +} + +// Event specifying the list of SUIDs associated with the given Data Type +// Receipt of this event indicates that a change to this list has occurred +// since the previous event. +message sns_suid_event { + // Direct copy of sns_suid_req:data_type + required string data_type = 1; + repeated sns_std_suid suid = 2; +} diff --git a/proprietary/vendor/etc/sensors/proto/sns_thermopile.proto b/proprietary/vendor/etc/sensors/proto/sns_thermopile.proto new file mode 100644 index 0000000..6e57b2a --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_thermopile.proto @@ -0,0 +1,62 @@ +// @file sns_thermopile.proto +// +// Defines the API for Thermopile Sensors. +// All Thermopile Sensor drivers are required to comply with this API. +// Any new functionality for Thermopile Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The Thermopile Temperature Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "thermopile". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees Celsius/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees Celsius unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The Thermopile Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. + +// Handling stream events: +// 1. The Thermopile Sensor publishes data stream events using the +// sns_std_sensor_event message. +// 2. Each stream event contains one output data field where data is +// factory calibrated and ordered as: +// data[0] = Object temperature in degrees Celsius +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The Thermopile Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The Thermopile Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The Thermopile Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The Thermopile Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. +// 3. The Thermopile Sensor could implement other test types. + +// Handling test events: +// 1. The Thermopile Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_threshold.proto b/proprietary/vendor/etc/sensors/proto/sns_threshold.proto new file mode 100644 index 0000000..3cf67b9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_threshold.proto @@ -0,0 +1,91 @@ +// @file sns_threshold.proto +// +// Defines standard message types for the Threshold Algorithm +// +// Copyright (c) 2018-2020 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std.proto"; +import "sns_std_sensor.proto"; +import "sns_resampler.proto"; + +// Threshold Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "threshold" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_STREAMING + +// Sensor output event: +// Threshold uses sns_std_sensor_event for it's output event. +// An event is generated by the threshold algorithm only if the threshold is met +// on any of the axis for the sensor. +// Thresholding can be done as value based delta between current value and +// the last generated output. Or thresholding can be done as the delta between +// current value and the last output, as a percentage of the last output. +// Thresholding can also be done based on the current value going beyond a particular +// absolute threshold value. +// When thresholding criteria is met , an event is generated by the algorithm. + +enum sns_threshold_msgid +{ + option (nanopb_enumopt).long_names = false; + + SNS_THRESHOLD_MSGID_SNS_THRESHOLD_CONFIG = 512; +} + +//Thresholding types +enum sns_threshold_type +{ + option (nanopb_enumopt).long_names = false; + + // Provide thresholding as a delta between current value + // and last reported value, exceeding above the configured threshold. + SNS_THRESHOLD_TYPE_RELATIVE_VALUE = 0; + + // Provide thresholding as a delta between current value + // and last reported value, compared as a percentage of the last reported value, + // where the percentage is the configured threshold. + SNS_THRESHOLD_TYPE_RELATIVE_PERCENT = 1; + + // Provides thresholding of the current value against a fixed configured + // threshold value. + SNS_THRESHOLD_TYPE_ABSOLUTE = 2; + + // Provides thresholding of angle between current and last reported quaternion + // for quaternion sensors, in radians + SNS_THRESHOLD_TYPE_ANGLE = 3; +} + +// Configuration Message +// Used to either request for a new configuration of the threshold Sensor or +// alter an already existing configuration or query the current configuration. +message sns_threshold_config +{ + // UID of the sensor from which data is being requested from. + required sns_std_suid sensor_uid = 1; + + // The threshold value per axis. + // The number of threshold values need to be less than or equal to the number of + // sensor data axes. + // For SNS_THRESHOLD_TYPE_ANGLE, a single threshold_val value representing the + // angle between current and last reported quaternions + repeated float threshold_val = 2; + + // Tells us how to use the thresholding value provided. + required sns_threshold_type threshold_type = 3; + + // The message id to be used to configure the underlying sensor. + // This is used together with the below payload field. + required uint32 payload_cfg_msg_id = 4; + + // Dynamic length payload, containing the actual data/configuration request + // This payload will need to be decoded separately, using the Sensor-specific + // header file. + required bytes payload = 5; +} + +// Config is used to inform the client of the configuration that was set, +// after a configuration is done . +// The config message is sent back to the client +// in the threshold config message. +// All data events are generated as sns_std_sensor_event. diff --git a/proprietary/vendor/etc/sensors/proto/sns_tilt.proto b/proprietary/vendor/etc/sensors/proto/sns_tilt.proto new file mode 100644 index 0000000..faf095a --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_tilt.proto @@ -0,0 +1,49 @@ +// @file sns_tilt.proto +// +// Defines message types for the Tilt Sensor. +// +// Copyright (c) 2017-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Tilt Sensor looks for a change in angle of a gravity vector from an +// anchor vector. +// +// The initial anchor vector is based on an average of one second of +// accel data after initial activation. +// +// The gravity vector is calculated based on an average of two seconds of +// accel data. +// +// The anchor vector is reset to the current gravity vector each time the +// Tilt event is generated. +// There is only one anchor vector shared amongst all clients. +// +// The Tilt event is generated when the current gravity vector is 35 degrees +// or more from the anchor vector. + +// Tilt Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "tilt" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Tilt Sensor +enum sns_tilt_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_TILT_MSGID_SNS_TILT_EVENT = 774; +} + +// Stream events: +// +// A NULL message with message ID SNS_TILT_MSGID_SNS_TILT_EVENT is used to +// publish tilt event +// +// Tilt does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/proto/sns_tilt_to_wake.proto b/proprietary/vendor/etc/sensors/proto/sns_tilt_to_wake.proto new file mode 100644 index 0000000..ceabc92 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_tilt_to_wake.proto @@ -0,0 +1,36 @@ +// @file sns_tilt_to_wake.proto +// +// Defines message types for the tilt_to_wake Sensor. +// +// Copyright (c) 2017 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The tilt_to_wake detects substantial phone rotation (gesture) within +// limited period ending in a specific range of the pitch and roll angles. +// It uses proximity sensor to block the tilt event reporting in pocket or purse + +// tilt_to_wake Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "tilt_to_wake" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for tilt_to_wake Sensor +enum sns_tilt_to_wake_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_TILT_TO_WAKE_MSGID_SNS_TILT_TO_WAKE_EVENT = 775; +} + +// Stream events: +// +// A NULL message with message ID SNS_TILT_TO_WAKE_MSGID_SNS_TILT_TO_WAKE_EVENT is used to +// publish tilt_to_wake event +// +// tilt_to_wake does not publish configuration events. diff --git a/proprietary/vendor/etc/sensors/proto/sns_ultra_violet.proto b/proprietary/vendor/etc/sensors/proto/sns_ultra_violet.proto new file mode 100644 index 0000000..3244cc9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_ultra_violet.proto @@ -0,0 +1,72 @@ +// @file sns_ultra_violet.proto +// +// Defines the API for Ultra Violet (UV) Sensors. +// All UV Sensor drivers are required to comply with this API. +// Any new functionality for UV Sensor can be defined in a +// device specific API file. +// +// Copyright (c) 2016-2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; +import "sns_physical_sensor_test.proto"; +import "sns_cal.proto"; + +// Attribute requirements: +// The UV Sensor publishes: +// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ultra_violet". +// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees mW/cm2/LSB. +// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees mW/cm2 unit. +// 4. See sns_std_sensor.proto for other attributes. + +// Handling stream requests: +// 1. The UV Sensor handles the sns_std_sensor_config +// message request for all stream enable/update requests. + +// Handling stream events: +// 1. The UV Sensor publishes UV data in ambient light using the +// sns_std_sensor_event message. +// 2. Each stream event contains following factory calibrated data fields: +// data[0] = Bit mask to determine which outputs are supported: +// bit[0]: 1 if UV-A is supported else 0 +// bit[1]: 1 if UV-B is supported else 0 +// bit[2]: 1 if Total UV is supported else 0 +// bit[3]: 1 if UV index is supported else 0 +// all other bits are 0 +// data[1] = UV-A radiation in mW/cm2 +// data[2] = UV-B radiation in mW/cm2 +// data[3] = Total UV radiation in mW/cm2 +// data[4] = Unitless UV index number +// 3. Each stream event publishes an accuracy field: +// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is +// yet to stabilize after the sensor is configured. +// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid. +// 4. The UV Sensor publishes a configuration event using the +// sns_std_sensor_physical_config_event message. +// It publishes this event each time there is change in hardware config of the sensor +// and contains current physical sensor config of the sensor. +// 5. The UV Sensor publishes a factory calibration event using the +// sns_cal_event message. It uses bias and scale_factor fields in this event. +// It publishes this event each time there is change in it's factory calibration +// data or when a client sends a new streaming request. + +// Handling self-test requests: +// 1. The UV Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test +// type using the physical sensor test API. +// 2. The UV Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test +// type to determine factory calibration parameters using the physical +// sensor test API. The factory test for UV Sensor calibrates +// the sensor such that it's output is comparable to a standard +// UV Meter output in any lighting condition. +// 3. The UV Sensor could implement other test types. + +// Handling test events: +// 1. The UV Sensor uses sns_physical_sensor_test_event message to publish +// a test completion event. +// 2. The test_passed field in sns_physical_sensor_test_event is used to output the +// pass/fail result of self-test execution. +// 3. The test_data field in sns_physical_sensor_test_event could be used to output any +// driver-specific error data. diff --git a/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto b/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto new file mode 100644 index 0000000..37482d9 --- /dev/null +++ b/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto @@ -0,0 +1,49 @@ +// @file sns_wrist_tilt_gesture.proto +// +// Defines message types for the wrist_tilt_gesture Sensor. +// +// Copyright (c) 2018 Qualcomm Technologies, Inc. +// All Rights Reserved. +// Confidential and Proprietary - Qualcomm Technologies, Inc. + +syntax = "proto2"; +import "nanopb.proto"; +import "sns_std_sensor.proto"; + +// The Tilt Sensor looks for a change in angle of a gravity vector from an +// anchor vector. +// +// The initial anchor vector is based on an average of one second of +// accel data after initial activation. +// +// The gravity vector is calculated based on an average of two seconds of +// accel data. +// +// The anchor vector is reset to the current gravity vector each time the +// Tilt event is generated. +// There is only one anchor vector shared amongst all clients. +// +// The Tilt event is generated when the current gravity vector is 35 degrees +// or more from the anchor vector. + +// Tilt Sensor Attribute Requirements: +// SNS_STD_SENSOR_ATTRID_TYPE: "wrist_tilt_gesture" +// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE + +// Stream Requests: +// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor + +// Message IDs for Wrist Tilt Gesture Sensor +enum sns_wrist_tilt_gesture_msgid { + option (nanopb_enumopt).long_names = false; + + SNS_WRIST_TILT_GESTURE_MSGID_SNS_TILT_EVENT = 774; +} + +// Stream events: +// +// A NULL message with message ID SNS_TILT_MSGID_SNS_TILT_EVENT is used to +// publish tilt event +// +// Tilt does not publish configuration events. + diff --git a/proprietary/vendor/etc/sensors/sensor_diag.cfg b/proprietary/vendor/etc/sensors/sensor_diag.cfg new file mode 100644 index 0000000..dfabba1 Binary files /dev/null and b/proprietary/vendor/etc/sensors/sensor_diag.cfg differ diff --git a/proprietary/vendor/etc/sensors/sns_reg_config b/proprietary/vendor/etc/sensors/sns_reg_config new file mode 100644 index 0000000..f28ba69 --- /dev/null +++ b/proprietary/vendor/etc/sensors/sns_reg_config @@ -0,0 +1,10 @@ +version=4 +file=hw_platform=/sys/devices/soc0/hw_platform +file=platform_subtype=/sys/devices/soc0/platform_subtype +file=platform_subtype_id=/sys/devices/soc0/platform_subtype_id +file=platform_version=/sys/devices/soc0/platform_version +file=soc_id=/sys/devices/soc0/soc_id +file=revision=/sys/devices/soc0/revision +file=output=/mnt/vendor/persist/sensors/registry/registry +property=persist.vendor.sensors.enable.property=/mnt/vendor/persist/sensors/registry/file1 +property=persist.vendor.sensors.enable.property1=/mnt/vendor/persist/sensors/registry/file2 diff --git a/proprietary/vendor/etc/thermal-4k.conf b/proprietary/vendor/etc/thermal-4k.conf new file mode 100644 index 0000000..d8062e4 Binary files /dev/null and b/proprietary/vendor/etc/thermal-4k.conf differ diff --git a/proprietary/vendor/etc/thermal-8k.conf b/proprietary/vendor/etc/thermal-8k.conf new file mode 100644 index 0000000..60c380b Binary files /dev/null and b/proprietary/vendor/etc/thermal-8k.conf differ diff --git a/proprietary/vendor/etc/thermal-camera.conf b/proprietary/vendor/etc/thermal-camera.conf new file mode 100644 index 0000000..ebb490b Binary files /dev/null and b/proprietary/vendor/etc/thermal-camera.conf differ diff --git a/proprietary/vendor/etc/thermal-chg-only.conf b/proprietary/vendor/etc/thermal-chg-only.conf new file mode 100644 index 0000000..e56d0a4 --- /dev/null +++ b/proprietary/vendor/etc/thermal-chg-only.conf @@ -0,0 +1,25 @@ +[VIRTUAL-SENSOR] +algo_type virtual +sensors cam_therm1 battery conn_therm quiet_therm wireless_therm xo_therm +weight 1149 147 -193 408 -228 -385 +polling 1000 +weight_sum 1000 +compensation 2222 + +[CHG-MONITOR-BAT] +algo_type monitor +sensor VIRTUAL-SENSOR +device battery +polling 2000 +trig 37000 39000 40000 42000 43000 44000 45000 46000 47000 60000 +clr 35000 37000 39000 40000 42000 43000 44000 45000 46000 48000 +target 804 1104 1206 1308 1308 1309 1310 1312 1414 1515 + +[CHG-MONITOR-WIRELESS] +algo_type monitor +sensor VIRTUAL-SENSOR +device wireless_charge +polling 2000 +trig 37000 38600 39400 40200 41000 42000 43000 +clr 35000 37000 38600 39400 40200 41000 42000 +target 400 601 603 805 807 1009 1313 \ No newline at end of file diff --git a/proprietary/vendor/etc/thermal-class0.conf b/proprietary/vendor/etc/thermal-class0.conf new file mode 100644 index 0000000..1bf1124 Binary files /dev/null and b/proprietary/vendor/etc/thermal-class0.conf differ diff --git a/proprietary/vendor/etc/thermal-engine.conf b/proprietary/vendor/etc/thermal-engine.conf new file mode 100644 index 0000000..33fc821 --- /dev/null +++ b/proprietary/vendor/etc/thermal-engine.conf @@ -0,0 +1,2 @@ +# File empty by default. +# Replace contents of this file with custom configuration. diff --git a/proprietary/vendor/etc/thermal-map.conf b/proprietary/vendor/etc/thermal-map.conf new file mode 100644 index 0000000..700e5d3 Binary files /dev/null and b/proprietary/vendor/etc/thermal-map.conf differ diff --git a/proprietary/vendor/etc/thermal-navigation.conf b/proprietary/vendor/etc/thermal-navigation.conf new file mode 100644 index 0000000..f304422 Binary files /dev/null and b/proprietary/vendor/etc/thermal-navigation.conf differ diff --git a/proprietary/vendor/etc/thermal-nolimits.conf b/proprietary/vendor/etc/thermal-nolimits.conf new file mode 100644 index 0000000..e14b91d Binary files /dev/null and b/proprietary/vendor/etc/thermal-nolimits.conf differ diff --git a/proprietary/vendor/etc/thermal-normal.conf b/proprietary/vendor/etc/thermal-normal.conf new file mode 100644 index 0000000..26699c5 Binary files /dev/null and b/proprietary/vendor/etc/thermal-normal.conf differ diff --git a/proprietary/vendor/etc/thermal-per-camera.conf b/proprietary/vendor/etc/thermal-per-camera.conf new file mode 100644 index 0000000..ebb490b Binary files /dev/null and b/proprietary/vendor/etc/thermal-per-camera.conf differ diff --git a/proprietary/vendor/etc/thermal-per-class0.conf b/proprietary/vendor/etc/thermal-per-class0.conf new file mode 100644 index 0000000..4135c6d Binary files /dev/null and b/proprietary/vendor/etc/thermal-per-class0.conf differ diff --git a/proprietary/vendor/etc/thermal-per-navigation.conf b/proprietary/vendor/etc/thermal-per-navigation.conf new file mode 100644 index 0000000..6b3d52b Binary files /dev/null and b/proprietary/vendor/etc/thermal-per-navigation.conf differ diff --git a/proprietary/vendor/etc/thermal-per-normal.conf b/proprietary/vendor/etc/thermal-per-normal.conf new file mode 100644 index 0000000..1ece35c Binary files /dev/null and b/proprietary/vendor/etc/thermal-per-normal.conf differ diff --git a/proprietary/vendor/etc/thermal-phone.conf b/proprietary/vendor/etc/thermal-phone.conf new file mode 100644 index 0000000..606f589 Binary files /dev/null and b/proprietary/vendor/etc/thermal-phone.conf differ diff --git a/proprietary/vendor/etc/thermal-tgame.conf b/proprietary/vendor/etc/thermal-tgame.conf new file mode 100644 index 0000000..cf5eae5 Binary files /dev/null and b/proprietary/vendor/etc/thermal-tgame.conf differ diff --git a/proprietary/vendor/etc/thermald-devices.conf b/proprietary/vendor/etc/thermald-devices.conf new file mode 100644 index 0000000..98c4731 --- /dev/null +++ b/proprietary/vendor/etc/thermald-devices.conf @@ -0,0 +1,90 @@ +#Device discribe config + + +#GPU +[ +name:gpu +cooling_name:thermal-devfreq-0 +def_target:0 +select_higher:1 +] + +#battery +[ +name:battery +cooling_name:battery +def_target:0 +select_higher:1 +] + +#backlight +[ +name:backlight +cooling_name:panel0-backlight +def_target:0 +select_higher:1 +] + +#backlight-clone +[ +name:backlight-clone +cooling_name:brightness0-clone +def_target:0 +select_higher:1 +] + +#temp_state +[ +name:temp_state +path:/sys/class/thermal/thermal_message/temp_state +def_target:0 +select_higher:1 +] + +#hbm +[ +name:thermal_hbm_disabled +path:/sys/class/drm/card0-DSI-1/thermal_hbm_disabled +def_target:0 +select_higher:1 +] + +#wireless charge +[ +name:wireless_charge +path:/sys/class/power_supply/battery/dc_thermal_levels +def_target:0 +select_higher:1 +] + +#modem uplink +[ +name:modem_ul +cooling_name:modem_pa +def_target:0 +select_higher:1 +] + +#modem downlink +[ +name:modem_dl +cooling_name:modem_tj +def_target:0 +select_higher:1 +] + +#market_download_limit +[ +name:market_download_limit +path:/sys/class/thermal/thermal_message/market_download_limit +def_target:0 +select_higher:1 +] + +#wifi limit +[ +name:wifi_limit +path:/sys/class/thermal/thermal_message/wifi_limit +def_target:0 +select_higher:1 +] diff --git a/proprietary/vendor/firmware/CAMERA_ICP.elf b/proprietary/vendor/firmware/CAMERA_ICP.elf new file mode 100644 index 0000000..8668531 Binary files /dev/null and b/proprietary/vendor/firmware/CAMERA_ICP.elf differ diff --git a/proprietary/vendor/firmware/aw8697_haptic.bin b/proprietary/vendor/firmware/aw8697_haptic.bin new file mode 100644 index 0000000..e74abc6 Binary files /dev/null and b/proprietary/vendor/firmware/aw8697_haptic.bin differ diff --git a/proprietary/vendor/firmware/aw8697_rtp_1.bin b/proprietary/vendor/firmware/aw8697_rtp_1.bin new file mode 100644 index 0000000..499a2f5 Binary files /dev/null and b/proprietary/vendor/firmware/aw8697_rtp_1.bin differ diff --git a/proprietary/vendor/firmware/cmi_tele4x_ois.coeff b/proprietary/vendor/firmware/cmi_tele4x_ois.coeff new file mode 100644 index 0000000..641d52d Binary files /dev/null and b/proprietary/vendor/firmware/cmi_tele4x_ois.coeff differ diff --git a/proprietary/vendor/firmware/cmi_tele4x_ois.mem b/proprietary/vendor/firmware/cmi_tele4x_ois.mem new file mode 100644 index 0000000..8fa8bfa Binary files /dev/null and b/proprietary/vendor/firmware/cmi_tele4x_ois.mem differ diff --git a/proprietary/vendor/firmware/cmi_tele4x_ois.prog b/proprietary/vendor/firmware/cmi_tele4x_ois.prog new file mode 100644 index 0000000..03f1cbf Binary files /dev/null and b/proprietary/vendor/firmware/cmi_tele4x_ois.prog differ diff --git a/proprietary/vendor/firmware/cmi_wide_ois.coeff b/proprietary/vendor/firmware/cmi_wide_ois.coeff new file mode 100644 index 0000000..24591e7 Binary files /dev/null and b/proprietary/vendor/firmware/cmi_wide_ois.coeff differ diff --git a/proprietary/vendor/firmware/cmi_wide_ois.prog b/proprietary/vendor/firmware/cmi_wide_ois.prog new file mode 100644 index 0000000..7535563 Binary files /dev/null and b/proprietary/vendor/firmware/cmi_wide_ois.prog differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-diag-revb2.wmfw b/proprietary/vendor/firmware/cs35l41-dsp1-diag-revb2.wmfw new file mode 100644 index 0000000..cf0881d Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-diag-revb2.wmfw differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-RCV-revb2.bin b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-RCV-revb2.bin new file mode 100644 index 0000000..8c307e7 Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-RCV-revb2.bin differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-revb2.bin b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-revb2.bin new file mode 100644 index 0000000..8c307e7 Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-revb2.bin differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-revb2.wmfw b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-revb2.wmfw new file mode 100644 index 0000000..3e11ae4 Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z-revb2.wmfw differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-diag-z.bin b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z.bin new file mode 100644 index 0000000..de9997e Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z.bin differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-diag-z.wmfw b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z.wmfw new file mode 100644 index 0000000..0098b2a Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-diag-z.wmfw differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-diag.wmfw b/proprietary/vendor/firmware/cs35l41-dsp1-diag.wmfw new file mode 100644 index 0000000..0a82f4c Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-diag.wmfw differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-RCV-revb2.bin b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-RCV-revb2.bin new file mode 100644 index 0000000..2f80492 Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-RCV-revb2.bin differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-RCV.bin b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-RCV.bin new file mode 100644 index 0000000..70806f6 Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-RCV.bin differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-revb2.bin b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-revb2.bin new file mode 100644 index 0000000..02aaf6d Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-revb2.bin differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-revb2.wmfw b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-revb2.wmfw new file mode 100644 index 0000000..3e11ae4 Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot-revb2.wmfw differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot.bin b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot.bin new file mode 100644 index 0000000..8fa01ba Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot.bin differ diff --git a/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot.wmfw b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot.wmfw new file mode 100644 index 0000000..1a0caf7 Binary files /dev/null and b/proprietary/vendor/firmware/cs35l41-dsp1-spk-prot.wmfw differ diff --git a/proprietary/vendor/firmware/ipa_fws.b00 b/proprietary/vendor/firmware/ipa_fws.b00 new file mode 100644 index 0000000..9346fba Binary files /dev/null and b/proprietary/vendor/firmware/ipa_fws.b00 differ diff --git a/proprietary/vendor/firmware/ipa_fws.b01 b/proprietary/vendor/firmware/ipa_fws.b01 new file mode 100644 index 0000000..beb947e Binary files /dev/null and b/proprietary/vendor/firmware/ipa_fws.b01 differ diff --git a/proprietary/vendor/firmware/ipa_fws.b02 b/proprietary/vendor/firmware/ipa_fws.b02 new file mode 100644 index 0000000..880d4f6 Binary files /dev/null and b/proprietary/vendor/firmware/ipa_fws.b02 differ diff --git a/proprietary/vendor/firmware/ipa_fws.b03 b/proprietary/vendor/firmware/ipa_fws.b03 new file mode 100644 index 0000000..4570aa1 Binary files /dev/null and b/proprietary/vendor/firmware/ipa_fws.b03 differ diff --git a/proprietary/vendor/firmware/ipa_fws.b04 b/proprietary/vendor/firmware/ipa_fws.b04 new file mode 100644 index 0000000..91256ad Binary files /dev/null and b/proprietary/vendor/firmware/ipa_fws.b04 differ diff --git a/proprietary/vendor/firmware/ipa_fws.elf b/proprietary/vendor/firmware/ipa_fws.elf new file mode 100644 index 0000000..213be0e Binary files /dev/null and b/proprietary/vendor/firmware/ipa_fws.elf differ diff --git a/proprietary/vendor/firmware/ipa_fws.mdt b/proprietary/vendor/firmware/ipa_fws.mdt new file mode 100644 index 0000000..29b884b Binary files /dev/null and b/proprietary/vendor/firmware/ipa_fws.mdt differ diff --git a/proprietary/vendor/firmware/ipa_uc.b00 b/proprietary/vendor/firmware/ipa_uc.b00 new file mode 100644 index 0000000..bcccb51 Binary files /dev/null and b/proprietary/vendor/firmware/ipa_uc.b00 differ diff --git a/proprietary/vendor/firmware/ipa_uc.b01 b/proprietary/vendor/firmware/ipa_uc.b01 new file mode 100644 index 0000000..e16a4a0 Binary files /dev/null and b/proprietary/vendor/firmware/ipa_uc.b01 differ diff --git a/proprietary/vendor/firmware/ipa_uc.b02 b/proprietary/vendor/firmware/ipa_uc.b02 new file mode 100644 index 0000000..9bef2df Binary files /dev/null and b/proprietary/vendor/firmware/ipa_uc.b02 differ diff --git a/proprietary/vendor/firmware/ipa_uc.elf b/proprietary/vendor/firmware/ipa_uc.elf new file mode 100644 index 0000000..d5a76ae Binary files /dev/null and b/proprietary/vendor/firmware/ipa_uc.elf differ diff --git a/proprietary/vendor/firmware/ipa_uc.mdt b/proprietary/vendor/firmware/ipa_uc.mdt new file mode 100644 index 0000000..855e944 Binary files /dev/null and b/proprietary/vendor/firmware/ipa_uc.mdt differ diff --git a/proprietary/vendor/lib/hw/audio.primary.kona.so b/proprietary/vendor/lib/hw/audio.primary.kona.so new file mode 100644 index 0000000..009acc6 Binary files /dev/null and b/proprietary/vendor/lib/hw/audio.primary.kona.so differ diff --git a/proprietary/vendor/lib/liba2dpoffload.so b/proprietary/vendor/lib/liba2dpoffload.so new file mode 100644 index 0000000..799f221 Binary files /dev/null and b/proprietary/vendor/lib/liba2dpoffload.so differ diff --git a/proprietary/vendor/lib/libaudio_log_utils.so b/proprietary/vendor/lib/libaudio_log_utils.so new file mode 100644 index 0000000..53e9cac Binary files /dev/null and b/proprietary/vendor/lib/libaudio_log_utils.so differ diff --git a/proprietary/vendor/lib/libaudiocloudctrl.so b/proprietary/vendor/lib/libaudiocloudctrl.so new file mode 100644 index 0000000..0e4ae66 Binary files /dev/null and b/proprietary/vendor/lib/libaudiocloudctrl.so differ diff --git a/proprietary/vendor/lib/libaudioconfigstore.so b/proprietary/vendor/lib/libaudioconfigstore.so new file mode 100644 index 0000000..c33c69e Binary files /dev/null and b/proprietary/vendor/lib/libaudioconfigstore.so differ diff --git a/proprietary/vendor/lib/libaudioparsers.so b/proprietary/vendor/lib/libaudioparsers.so new file mode 100644 index 0000000..75d4f92 Binary files /dev/null and b/proprietary/vendor/lib/libaudioparsers.so differ diff --git a/proprietary/vendor/lib/libaudioroute_ext.so b/proprietary/vendor/lib/libaudioroute_ext.so new file mode 100644 index 0000000..63050df Binary files /dev/null and b/proprietary/vendor/lib/libaudioroute_ext.so differ diff --git a/proprietary/vendor/lib/libcamxexternalformatutils.so b/proprietary/vendor/lib/libcamxexternalformatutils.so new file mode 100644 index 0000000..bd17f08 Binary files /dev/null and b/proprietary/vendor/lib/libcamxexternalformatutils.so differ diff --git a/proprietary/vendor/lib/libcamxfacialfeatures.so b/proprietary/vendor/lib/libcamxfacialfeatures.so new file mode 100644 index 0000000..e15cd40 Binary files /dev/null and b/proprietary/vendor/lib/libcamxfacialfeatures.so differ diff --git a/proprietary/vendor/lib/libcamxfdalgo.so b/proprietary/vendor/lib/libcamxfdalgo.so new file mode 100644 index 0000000..aa45762 Binary files /dev/null and b/proprietary/vendor/lib/libcamxfdalgo.so differ diff --git a/proprietary/vendor/lib/libcamxfdengine.so b/proprietary/vendor/lib/libcamxfdengine.so new file mode 100644 index 0000000..7a883b6 Binary files /dev/null and b/proprietary/vendor/lib/libcamxfdengine.so differ diff --git a/proprietary/vendor/lib/libcamxifestriping.so b/proprietary/vendor/lib/libcamxifestriping.so new file mode 100644 index 0000000..364e46d Binary files /dev/null and b/proprietary/vendor/lib/libcamxifestriping.so differ diff --git a/proprietary/vendor/lib/libcamximageformatutils.so b/proprietary/vendor/lib/libcamximageformatutils.so new file mode 100644 index 0000000..cfce1dd Binary files /dev/null and b/proprietary/vendor/lib/libcamximageformatutils.so differ diff --git a/proprietary/vendor/lib/libcamxncs.so b/proprietary/vendor/lib/libcamxncs.so new file mode 100644 index 0000000..818b517 Binary files /dev/null and b/proprietary/vendor/lib/libcamxncs.so differ diff --git a/proprietary/vendor/lib/libcamxstatscore.so b/proprietary/vendor/lib/libcamxstatscore.so new file mode 100644 index 0000000..6262952 Binary files /dev/null and b/proprietary/vendor/lib/libcamxstatscore.so differ diff --git a/proprietary/vendor/lib/libcamxswprocessalgo.so b/proprietary/vendor/lib/libcamxswprocessalgo.so new file mode 100644 index 0000000..ccf0973 Binary files /dev/null and b/proprietary/vendor/lib/libcamxswprocessalgo.so differ diff --git a/proprietary/vendor/lib/libcamxtintlessalgo.so b/proprietary/vendor/lib/libcamxtintlessalgo.so new file mode 100644 index 0000000..deec789 Binary files /dev/null and b/proprietary/vendor/lib/libcamxtintlessalgo.so differ diff --git a/proprietary/vendor/lib/libhdmipassthru.so b/proprietary/vendor/lib/libhdmipassthru.so new file mode 100644 index 0000000..dec4f88 Binary files /dev/null and b/proprietary/vendor/lib/libhdmipassthru.so differ diff --git a/proprietary/vendor/lib/libresampler.so b/proprietary/vendor/lib/libresampler.so new file mode 100644 index 0000000..15e6c7b Binary files /dev/null and b/proprietary/vendor/lib/libresampler.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/capi_v2_cirrus_sp.so b/proprietary/vendor/lib/rfsa/adsp/capi_v2_cirrus_sp.so new file mode 100644 index 0000000..16ffd0b Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/capi_v2_cirrus_sp.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/hrtf5c.bin b/proprietary/vendor/lib/rfsa/adsp/hrtf5c.bin new file mode 100644 index 0000000..6c565e0 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/hrtf5c.bin differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libMIAIHDR_skel.so b/proprietary/vendor/lib/rfsa/adsp/libMIAIHDR_skel.so new file mode 100644 index 0000000..4a35dc1 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libMIAIHDR_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libQ6MSFR_manager_skel.so b/proprietary/vendor/lib/rfsa/adsp/libQ6MSFR_manager_skel.so new file mode 100644 index 0000000..1ded7ed Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libQ6MSFR_manager_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libSuperSensor_skel.so b/proprietary/vendor/lib/rfsa/adsp/libSuperSensor_skel.so new file mode 100644 index 0000000..5677b19 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libSuperSensor_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libapps_mem_heap.so b/proprietary/vendor/lib/rfsa/adsp/libapps_mem_heap.so new file mode 100644 index 0000000..970e324 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libapps_mem_heap.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libarcsoft_hdrplus_hvx_skel.so b/proprietary/vendor/lib/rfsa/adsp/libarcsoft_hdrplus_hvx_skel.so new file mode 100644 index 0000000..93e9f56 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libarcsoft_hdrplus_hvx_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libbitml_nsp_skel.so b/proprietary/vendor/lib/rfsa/adsp/libbitml_nsp_skel.so new file mode 100644 index 0000000..a13c271 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libbitml_nsp_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libcalculator_domains_skel.so b/proprietary/vendor/lib/rfsa/adsp/libcalculator_domains_skel.so new file mode 100644 index 0000000..3d655fa Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libcalculator_domains_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libcalculator_skel.so b/proprietary/vendor/lib/rfsa/adsp/libcalculator_skel.so new file mode 100644 index 0000000..2e85b75 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libcalculator_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libcamera_nn_skel.so b/proprietary/vendor/lib/rfsa/adsp/libcamera_nn_skel.so new file mode 100644 index 0000000..b19b91a Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libcamera_nn_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libcvpdsp_skel.so b/proprietary/vendor/lib/rfsa/adsp/libcvpdsp_skel.so new file mode 100644 index 0000000..5339843 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libcvpdsp_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libdspCV_skel.so b/proprietary/vendor/lib/rfsa/adsp/libdspCV_skel.so new file mode 100644 index 0000000..aafb48f Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libdspCV_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libdsp_streamer_binning.so b/proprietary/vendor/lib/rfsa/adsp/libdsp_streamer_binning.so new file mode 100644 index 0000000..c24fd16 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libdsp_streamer_binning.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libfastcvadsp.so b/proprietary/vendor/lib/rfsa/adsp/libfastcvadsp.so new file mode 100644 index 0000000..2162ecd Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libfastcvadsp.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libfastcvdsp_skel.so b/proprietary/vendor/lib/rfsa/adsp/libfastcvdsp_skel.so new file mode 100644 index 0000000..d857fea Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libfastcvdsp_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libfrc_mobilenet.so b/proprietary/vendor/lib/rfsa/adsp/libfrc_mobilenet.so new file mode 100644 index 0000000..05a45d5 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libfrc_mobilenet.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libhexagon_nn_skel.so b/proprietary/vendor/lib/rfsa/adsp/libhexagon_nn_skel.so new file mode 100644 index 0000000..0049358 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libhexagon_nn_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libmialgo_rfs_cdsp_skel.so b/proprietary/vendor/lib/rfsa/adsp/libmialgo_rfs_cdsp_skel.so new file mode 100644 index 0000000..a9e2384 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libmialgo_rfs_cdsp_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libmobilenet_dsp.so b/proprietary/vendor/lib/rfsa/adsp/libmobilenet_dsp.so new file mode 100644 index 0000000..b1f012b Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libmobilenet_dsp.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libremosaichvx_skel.so b/proprietary/vendor/lib/rfsa/adsp/libremosaichvx_skel.so new file mode 100644 index 0000000..2d449e4 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libremosaichvx_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libscveObjectSegmentation_skel.so b/proprietary/vendor/lib/rfsa/adsp/libscveObjectSegmentation_skel.so new file mode 100644 index 0000000..f0e84d6 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libscveObjectSegmentation_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libscveT2T_skel.so b/proprietary/vendor/lib/rfsa/adsp/libscveT2T_skel.so new file mode 100644 index 0000000..9a1d948 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libscveT2T_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_domains_skel.so b/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_domains_skel.so new file mode 100644 index 0000000..02bdfde Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_domains_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_skel.so b/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_skel.so new file mode 100644 index 0000000..4257139 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_v65_domains_v2_skel.so b/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_v65_domains_v2_skel.so new file mode 100644 index 0000000..0ce970c Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_v65_domains_v2_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_v66_domains_v2_skel.so b/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_v66_domains_v2_skel.so new file mode 100644 index 0000000..f85fc90 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libsnpe_dsp_v66_domains_v2_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libsns_device_mode_skel.so b/proprietary/vendor/lib/rfsa/adsp/libsns_device_mode_skel.so new file mode 100644 index 0000000..287487a Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libsns_device_mode_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/libsns_low_lat_stream_skel.so b/proprietary/vendor/lib/rfsa/adsp/libsns_low_lat_stream_skel.so new file mode 100644 index 0000000..e44cd4b Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/libsns_low_lat_stream_skel.so differ diff --git a/proprietary/vendor/lib/rfsa/adsp/misound_karaoke_res.bin b/proprietary/vendor/lib/rfsa/adsp/misound_karaoke_res.bin new file mode 100644 index 0000000..969a7a3 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/misound_karaoke_res.bin differ diff --git a/proprietary/vendor/lib/rfsa/adsp/misound_karaokemix_res.bin b/proprietary/vendor/lib/rfsa/adsp/misound_karaokemix_res.bin new file mode 100644 index 0000000..969a7a3 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/misound_karaokemix_res.bin differ diff --git a/proprietary/vendor/lib/rfsa/adsp/misound_res.bin b/proprietary/vendor/lib/rfsa/adsp/misound_res.bin new file mode 100644 index 0000000..23567c3 Binary files /dev/null and b/proprietary/vendor/lib/rfsa/adsp/misound_res.bin differ diff --git a/proprietary/vendor/lib/vendor.qti.hardware.audiohalext@1.0.so b/proprietary/vendor/lib/vendor.qti.hardware.audiohalext@1.0.so new file mode 100644 index 0000000..d3bcbac Binary files /dev/null and b/proprietary/vendor/lib/vendor.qti.hardware.audiohalext@1.0.so differ diff --git a/proprietary/vendor/lib/vndk/libxlog.so b/proprietary/vendor/lib/vndk/libxlog.so new file mode 100644 index 0000000..692feed Binary files /dev/null and b/proprietary/vendor/lib/vndk/libxlog.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.actuator.cmi_sunny_ultra_dw9800.so b/proprietary/vendor/lib64/camera/com.qti.actuator.cmi_sunny_ultra_dw9800.so new file mode 100644 index 0000000..d1cf4fc Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.actuator.cmi_sunny_ultra_dw9800.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_ofilm_s5k3t2_gt24p64.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_ofilm_s5k3t2_gt24p64.so new file mode 100644 index 0000000..c2babb7 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_ofilm_s5k3t2_gt24p64.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64.so new file mode 100644 index 0000000..682e1ab Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64x.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64x.so new file mode 100644 index 0000000..3aa6119 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_ov08a10_m24c64x.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5k2l7_m24c64x.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5k2l7_m24c64x.so new file mode 100644 index 0000000..8c826b8 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5k2l7_m24c64x.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128.so new file mode 100644 index 0000000..a4e5c51 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128x.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128x.so new file mode 100644 index 0000000..63d56ec Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c128x.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c64.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c64.so new file mode 100644 index 0000000..8f5eed2 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_semco_s5khmx_m24c64.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_sunny_imx350_gt24p64b.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_sunny_imx350_gt24p64b.so new file mode 100644 index 0000000..14a1045 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_sunny_imx350_gt24p64b.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_sunny_s5k5e8yx_gt24p64.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_sunny_s5k5e8yx_gt24p64.so new file mode 100644 index 0000000..0368e8d Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.cmi_sunny_s5k5e8yx_gt24p64.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.hawkeye_semco_ov48c_m24c64x.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.hawkeye_semco_ov48c_m24c64x.so new file mode 100644 index 0000000..e916704 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.hawkeye_semco_ov48c_m24c64x.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so new file mode 100644 index 0000000..4f22be2 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.truly_cmb433.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.eeprom.umi_sunny_s5k5e8yx_depth.so b/proprietary/vendor/lib64/camera/com.qti.eeprom.umi_sunny_s5k5e8yx_depth.so new file mode 100644 index 0000000..109207c Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.eeprom.umi_sunny_s5k5e8yx_depth.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.cmi_s5k5e8yx_macro.so b/proprietary/vendor/lib64/camera/com.qti.sensor.cmi_s5k5e8yx_macro.so new file mode 100644 index 0000000..b66fe61 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.cmi_s5k5e8yx_macro.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.imx350_cmi.so b/proprietary/vendor/lib64/camera/com.qti.sensor.imx350_cmi.so new file mode 100644 index 0000000..49d32d3 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.imx350_cmi.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.imx563.so b/proprietary/vendor/lib64/camera/com.qti.sensor.imx563.so new file mode 100644 index 0000000..ad5fe7c Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.imx563.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.ov08a10_cmi.so b/proprietary/vendor/lib64/camera/com.qti.sensor.ov08a10_cmi.so new file mode 100644 index 0000000..f44e490 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.ov08a10_cmi.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.ov48c_hawkeye.so b/proprietary/vendor/lib64/camera/com.qti.sensor.ov48c_hawkeye.so new file mode 100644 index 0000000..369dda7 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.ov48c_hawkeye.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.s5k2l7_cmi.so b/proprietary/vendor/lib64/camera/com.qti.sensor.s5k2l7_cmi.so new file mode 100644 index 0000000..84ce7f8 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.s5k2l7_cmi.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.s5k3t2_cmi.so b/proprietary/vendor/lib64/camera/com.qti.sensor.s5k3t2_cmi.so new file mode 100644 index 0000000..6a444e6 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.s5k3t2_cmi.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.s5khmx_cmi.so b/proprietary/vendor/lib64/camera/com.qti.sensor.s5khmx_cmi.so new file mode 100644 index 0000000..b4cff13 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.s5khmx_cmi.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensor.s5khmx_wide_cmi.so b/proprietary/vendor/lib64/camera/com.qti.sensor.s5khmx_wide_cmi.so new file mode 100644 index 0000000..7b62108 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensor.s5khmx_wide_cmi.so differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_ofilm_s5k3t2.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_ofilm_s5k3t2.bin new file mode 100644 index 0000000..0143a57 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_ofilm_s5k3t2.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_ov08a10_tele4x_v1.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_ov08a10_tele4x_v1.bin new file mode 100644 index 0000000..025dfdf Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_ov08a10_tele4x_v1.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5k2l7_tele2x.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5k2l7_tele2x.bin new file mode 100644 index 0000000..336362e Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5k2l7_tele2x.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide.bin new file mode 100644 index 0000000..404671f Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide_v1.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide_v1.bin new file mode 100644 index 0000000..14407f5 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_semco_s5khmx_wide_v1.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_sunny_imx350_ultra_wide.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_sunny_imx350_ultra_wide.bin new file mode 100644 index 0000000..e72a399 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.cmi_sunny_imx350_ultra_wide.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.sensormodule.hawkeye_semco_ov48c_wide.bin b/proprietary/vendor/lib64/camera/com.qti.sensormodule.hawkeye_semco_ov48c_wide.bin new file mode 100644 index 0000000..efd6392 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.sensormodule.hawkeye_semco_ov48c_wide.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_ofilm_s5k3t2.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_ofilm_s5k3t2.bin new file mode 100644 index 0000000..fdb7d12 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_ofilm_s5k3t2.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_ov08a10_tele4x.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_ov08a10_tele4x.bin new file mode 100644 index 0000000..31e4fd8 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_ov08a10_tele4x.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_s5k2l7_tele2x.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_s5k2l7_tele2x.bin new file mode 100644 index 0000000..bf0b2d4 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_s5k2l7_tele2x.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_s5khmx_wide.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_s5khmx_wide.bin new file mode 100644 index 0000000..67f8654 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_semco_s5khmx_wide.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_sunny_imx350_ultra_wide.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_sunny_imx350_ultra_wide.bin new file mode 100644 index 0000000..d900c9d Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.cmi_sunny_imx350_ultra_wide.bin differ diff --git a/proprietary/vendor/lib64/camera/com.qti.tuned.default.bin b/proprietary/vendor/lib64/camera/com.qti.tuned.default.bin new file mode 100644 index 0000000..2df2fb2 Binary files /dev/null and b/proprietary/vendor/lib64/camera/com.qti.tuned.default.bin differ diff --git a/proprietary/vendor/lib64/camera/components/com.arcsoft.node.deflicker.so b/proprietary/vendor/lib64/camera/components/com.arcsoft.node.deflicker.so new file mode 100644 index 0000000..92a3b6c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.arcsoft.node.deflicker.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.arcsoft.node.smoothtransition.so b/proprietary/vendor/lib64/camera/components/com.arcsoft.node.smoothtransition.so new file mode 100644 index 0000000..6e64d3d Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.arcsoft.node.smoothtransition.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.arcsoft.node.superportrait.so b/proprietary/vendor/lib64/camera/components/com.arcsoft.node.superportrait.so new file mode 100644 index 0000000..336a9b2 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.arcsoft.node.superportrait.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.facepp.node.siq.so b/proprietary/vendor/lib64/camera/components/com.facepp.node.siq.so new file mode 100644 index 0000000..1d4fa27 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.facepp.node.siq.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.AIIE.so b/proprietary/vendor/lib64/camera/components/com.mi.node.AIIE.so new file mode 100644 index 0000000..aa7f139 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.AIIE.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.aiasd.so b/proprietary/vendor/lib64/camera/components/com.mi.node.aiasd.so new file mode 100644 index 0000000..1dfcdb8 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.aiasd.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.bodyslim.so b/proprietary/vendor/lib64/camera/components/com.mi.node.bodyslim.so new file mode 100644 index 0000000..49f8fda Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.bodyslim.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.distortioncorrection.so b/proprietary/vendor/lib64/camera/components/com.mi.node.distortioncorrection.so new file mode 100644 index 0000000..6f278a0 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.distortioncorrection.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.hdr.so b/proprietary/vendor/lib64/camera/components/com.mi.node.hdr.so new file mode 100644 index 0000000..dbe7699 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.hdr.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.mimovie.so b/proprietary/vendor/lib64/camera/components/com.mi.node.mimovie.so new file mode 100644 index 0000000..ffd369a Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.mimovie.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.realtimebokeh.so b/proprietary/vendor/lib64/camera/components/com.mi.node.realtimebokeh.so new file mode 100644 index 0000000..2eb6de4 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.realtimebokeh.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.rearvideo.so b/proprietary/vendor/lib64/camera/components/com.mi.node.rearvideo.so new file mode 100644 index 0000000..aa4b351 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.rearvideo.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.skinbeautifier.so b/proprietary/vendor/lib64/camera/components/com.mi.node.skinbeautifier.so new file mode 100644 index 0000000..1832495 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.skinbeautifier.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.superlowlightraw.so b/proprietary/vendor/lib64/camera/components/com.mi.node.superlowlightraw.so new file mode 100644 index 0000000..7c44e30 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.superlowlightraw.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.videobokeh.so b/proprietary/vendor/lib64/camera/components/com.mi.node.videobokeh.so new file mode 100644 index 0000000..6e59b51 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.videobokeh.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.mi.node.watermark.so b/proprietary/vendor/lib64/camera/components/com.mi.node.watermark.so new file mode 100644 index 0000000..8585f20 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.mi.node.watermark.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.camx.chiiqutils.so b/proprietary/vendor/lib64/camera/components/com.qti.camx.chiiqutils.so new file mode 100644 index 0000000..4e2529a Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.camx.chiiqutils.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.eisv2.so b/proprietary/vendor/lib64/camera/components/com.qti.eisv2.so new file mode 100644 index 0000000..c0fbee5 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.eisv2.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.eisv3.so b/proprietary/vendor/lib64/camera/components/com.qti.eisv3.so new file mode 100644 index 0000000..f5ae308 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.eisv3.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.hvx.addconstant.so b/proprietary/vendor/lib64/camera/components/com.qti.hvx.addconstant.so new file mode 100644 index 0000000..ac1f97c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.hvx.addconstant.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.hvx.binning.so b/proprietary/vendor/lib64/camera/components/com.qti.hvx.binning.so new file mode 100644 index 0000000..ed50489 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.hvx.binning.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.customhwnode.so b/proprietary/vendor/lib64/camera/components/com.qti.node.customhwnode.so new file mode 100644 index 0000000..48c193f Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.customhwnode.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.depth.so b/proprietary/vendor/lib64/camera/components/com.qti.node.depth.so new file mode 100644 index 0000000..d6b9550 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.depth.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.dummyrtb.so b/proprietary/vendor/lib64/camera/components/com.qti.node.dummyrtb.so new file mode 100644 index 0000000..7cda5c7 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.dummyrtb.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.dummysat.so b/proprietary/vendor/lib64/camera/components/com.qti.node.dummysat.so new file mode 100644 index 0000000..2d051ad Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.dummysat.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.eisv2.so b/proprietary/vendor/lib64/camera/components/com.qti.node.eisv2.so new file mode 100644 index 0000000..f51c8ac Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.eisv2.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.eisv3.so b/proprietary/vendor/lib64/camera/components/com.qti.node.eisv3.so new file mode 100644 index 0000000..8a7ab29 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.eisv3.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.fcv.so b/proprietary/vendor/lib64/camera/components/com.qti.node.fcv.so new file mode 100644 index 0000000..8af81d6 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.fcv.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.gpu.so b/proprietary/vendor/lib64/camera/components/com.qti.node.gpu.so new file mode 100644 index 0000000..4f4bece Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.gpu.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.ldc.so b/proprietary/vendor/lib64/camera/components/com.qti.node.ldc.so new file mode 100644 index 0000000..47f0e06 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.ldc.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.memcpy.so b/proprietary/vendor/lib64/camera/components/com.qti.node.memcpy.so new file mode 100644 index 0000000..41ef40b Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.memcpy.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.remosaic.so b/proprietary/vendor/lib64/camera/components/com.qti.node.remosaic.so new file mode 100644 index 0000000..3f47ba3 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.remosaic.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.softisppost.so b/proprietary/vendor/lib64/camera/components/com.qti.node.softisppost.so new file mode 100644 index 0000000..ed1ea74 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.softisppost.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.stich.so b/proprietary/vendor/lib64/camera/components/com.qti.node.stich.so new file mode 100644 index 0000000..a589414 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.stich.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.node.swregistration.so b/proprietary/vendor/lib64/camera/components/com.qti.node.swregistration.so new file mode 100644 index 0000000..e656da7 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.node.swregistration.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.aec.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.aec.so new file mode 100644 index 0000000..811805e Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.aec.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.aecwrapper.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.aecwrapper.so new file mode 100644 index 0000000..1ef847b Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.aecwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.af.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.af.so new file mode 100644 index 0000000..155e57f Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.af.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.afd.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.afd.so new file mode 100644 index 0000000..bffed07 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.afd.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.afwrapper.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.afwrapper.so new file mode 100644 index 0000000..330b520 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.afwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.asd.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.asd.so new file mode 100644 index 0000000..34e8b2d Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.asd.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.awb.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.awb.so new file mode 100644 index 0000000..d3f26c9 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.awb.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.awbwrapper.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.awbwrapper.so new file mode 100644 index 0000000..3486d53 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.awbwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.haf.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.haf.so new file mode 100644 index 0000000..5ca59f7 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.haf.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.hafoverride.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.hafoverride.so new file mode 100644 index 0000000..6a6cfe8 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.hafoverride.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlib.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlib.so new file mode 100644 index 0000000..e798d4d Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlib.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibsony.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibsony.so new file mode 100644 index 0000000..c98a7ba Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibsony.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so new file mode 100644 index 0000000..026e3aa Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qti.stats.tracker.so b/proprietary/vendor/lib64/camera/components/com.qti.stats.tracker.so new file mode 100644 index 0000000..5563166 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qti.stats.tracker.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.aec.so b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.aec.so new file mode 100644 index 0000000..f3d782c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.aec.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.af.so b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.af.so new file mode 100644 index 0000000..a1ad82f Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.af.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.awb.so b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.awb.so new file mode 100644 index 0000000..68e6be7 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.awb.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so new file mode 100644 index 0000000..0b7cd23 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.vidhance.node.eis.so b/proprietary/vendor/lib64/camera/components/com.vidhance.node.eis.so new file mode 100644 index 0000000..61b664c Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.vidhance.node.eis.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.vidhance.stats.aec_dmbr.so b/proprietary/vendor/lib64/camera/components/com.vidhance.stats.aec_dmbr.so new file mode 100644 index 0000000..17d7283 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.vidhance.stats.aec_dmbr.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.xiaomi.node.mibokeh.so b/proprietary/vendor/lib64/camera/components/com.xiaomi.node.mibokeh.so new file mode 100644 index 0000000..367a887 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.xiaomi.node.mibokeh.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.xiaomi.node.mifilter.so b/proprietary/vendor/lib64/camera/components/com.xiaomi.node.mifilter.so new file mode 100644 index 0000000..4c0967d Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.xiaomi.node.mifilter.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.xiaomi.node.misegment.so b/proprietary/vendor/lib64/camera/components/com.xiaomi.node.misegment.so new file mode 100644 index 0000000..cf801d6 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.xiaomi.node.misegment.so differ diff --git a/proprietary/vendor/lib64/camera/components/com.xiaomi.node.tracker.so b/proprietary/vendor/lib64/camera/components/com.xiaomi.node.tracker.so new file mode 100644 index 0000000..8bb9916 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/com.xiaomi.node.tracker.so differ diff --git a/proprietary/vendor/lib64/camera/components/libdepthmapwrapper.so b/proprietary/vendor/lib64/camera/components/libdepthmapwrapper.so new file mode 100644 index 0000000..dfb634d Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/libdepthmapwrapper.so differ diff --git a/proprietary/vendor/lib64/camera/components/libubifocus.so b/proprietary/vendor/lib64/camera/components/libubifocus.so new file mode 100644 index 0000000..cf3ce35 Binary files /dev/null and b/proprietary/vendor/lib64/camera/components/libubifocus.so differ diff --git a/proprietary/vendor/lib64/camera/fdconfigpreview.bin b/proprietary/vendor/lib64/camera/fdconfigpreview.bin new file mode 100644 index 0000000..9652458 Binary files /dev/null and b/proprietary/vendor/lib64/camera/fdconfigpreview.bin differ diff --git a/proprietary/vendor/lib64/camera/fdconfigpreviewlite.bin b/proprietary/vendor/lib64/camera/fdconfigpreviewlite.bin new file mode 100644 index 0000000..9652458 Binary files /dev/null and b/proprietary/vendor/lib64/camera/fdconfigpreviewlite.bin differ diff --git a/proprietary/vendor/lib64/camera/fdconfigvideo.bin b/proprietary/vendor/lib64/camera/fdconfigvideo.bin new file mode 100644 index 0000000..9652458 Binary files /dev/null and b/proprietary/vendor/lib64/camera/fdconfigvideo.bin differ diff --git a/proprietary/vendor/lib64/camera/fdconfigvideolite.bin b/proprietary/vendor/lib64/camera/fdconfigvideolite.bin new file mode 100644 index 0000000..9652458 Binary files /dev/null and b/proprietary/vendor/lib64/camera/fdconfigvideolite.bin differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.anchorsync.so b/proprietary/vendor/lib64/com.qti.feature2.anchorsync.so new file mode 100644 index 0000000..9aa91da Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.anchorsync.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.demux.so b/proprietary/vendor/lib64/com.qti.feature2.demux.so new file mode 100644 index 0000000..7bd31ef Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.demux.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.frameselect.so b/proprietary/vendor/lib64/com.qti.feature2.frameselect.so new file mode 100644 index 0000000..8707dd8 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.frameselect.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.fusion.so b/proprietary/vendor/lib64/com.qti.feature2.fusion.so new file mode 100644 index 0000000..8e39edd Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.fusion.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.generic.so b/proprietary/vendor/lib64/com.qti.feature2.generic.so new file mode 100644 index 0000000..d3dca57 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.generic.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.gs.so b/proprietary/vendor/lib64/com.qti.feature2.gs.so new file mode 100644 index 0000000..b6a8ed6 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.gs.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.hdr.so b/proprietary/vendor/lib64/com.qti.feature2.hdr.so new file mode 100644 index 0000000..b9ab86c Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.hdr.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.memcpy.so b/proprietary/vendor/lib64/com.qti.feature2.memcpy.so new file mode 100644 index 0000000..d9717c3 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.memcpy.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.mfsr.so b/proprietary/vendor/lib64/com.qti.feature2.mfsr.so new file mode 100644 index 0000000..11b6d52 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.mfsr.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.qcfa.so b/proprietary/vendor/lib64/com.qti.feature2.qcfa.so new file mode 100644 index 0000000..d031627 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.qcfa.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.rawhdr.so b/proprietary/vendor/lib64/com.qti.feature2.rawhdr.so new file mode 100644 index 0000000..0b8e722 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.rawhdr.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.rawsupernight.so b/proprietary/vendor/lib64/com.qti.feature2.rawsupernight.so new file mode 100644 index 0000000..e5309ab Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.rawsupernight.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.rt.so b/proprietary/vendor/lib64/com.qti.feature2.rt.so new file mode 100644 index 0000000..b63fed4 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.rt.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.serializer.so b/proprietary/vendor/lib64/com.qti.feature2.serializer.so new file mode 100644 index 0000000..e631847 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.serializer.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.softispprocess.so b/proprietary/vendor/lib64/com.qti.feature2.softispprocess.so new file mode 100644 index 0000000..2ff7eff Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.softispprocess.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.softispsupernight.so b/proprietary/vendor/lib64/com.qti.feature2.softispsupernight.so new file mode 100644 index 0000000..80a2b72 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.softispsupernight.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.sr.so b/proprietary/vendor/lib64/com.qti.feature2.sr.so new file mode 100644 index 0000000..8d20149 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.sr.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.stub.so b/proprietary/vendor/lib64/com.qti.feature2.stub.so new file mode 100644 index 0000000..6b2cc27 Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.stub.so differ diff --git a/proprietary/vendor/lib64/com.qti.feature2.swmf.so b/proprietary/vendor/lib64/com.qti.feature2.swmf.so new file mode 100644 index 0000000..581271c Binary files /dev/null and b/proprietary/vendor/lib64/com.qti.feature2.swmf.so differ diff --git a/proprietary/vendor/lib64/hw/camera.qcom.so b/proprietary/vendor/lib64/hw/camera.qcom.so new file mode 100644 index 0000000..3e3078a Binary files /dev/null and b/proprietary/vendor/lib64/hw/camera.qcom.so differ diff --git a/proprietary/vendor/lib64/hw/com.qti.chi.override.so b/proprietary/vendor/lib64/hw/com.qti.chi.override.so new file mode 100644 index 0000000..8b773df Binary files /dev/null and b/proprietary/vendor/lib64/hw/com.qti.chi.override.so differ diff --git a/proprietary/vendor/lib64/hw/fingerprint.goodix_fod.default.so b/proprietary/vendor/lib64/hw/fingerprint.goodix_fod.default.so new file mode 100644 index 0000000..974bc83 Binary files /dev/null and b/proprietary/vendor/lib64/hw/fingerprint.goodix_fod.default.so differ diff --git a/proprietary/vendor/lib64/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so b/proprietary/vendor/lib64/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so new file mode 100644 index 0000000..f43af19 Binary files /dev/null and b/proprietary/vendor/lib64/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so differ diff --git a/proprietary/vendor/lib64/libMIAIHDRhvx_interface.so b/proprietary/vendor/lib64/libMIAIHDRhvx_interface.so new file mode 100644 index 0000000..2ac309b Binary files /dev/null and b/proprietary/vendor/lib64/libMIAIHDRhvx_interface.so differ diff --git a/proprietary/vendor/lib64/libSNPE.so b/proprietary/vendor/lib64/libSNPE.so new file mode 100644 index 0000000..4463f4b Binary files /dev/null and b/proprietary/vendor/lib64/libSNPE.so differ diff --git a/proprietary/vendor/lib64/libalAILDC.so b/proprietary/vendor/lib64/libalAILDC.so new file mode 100644 index 0000000..9307866 Binary files /dev/null and b/proprietary/vendor/lib64/libalAILDC.so differ diff --git a/proprietary/vendor/lib64/libalLDC.so b/proprietary/vendor/lib64/libalLDC.so new file mode 100644 index 0000000..8112179 Binary files /dev/null and b/proprietary/vendor/lib64/libalLDC.so differ diff --git a/proprietary/vendor/lib64/libalhLDC.so b/proprietary/vendor/lib64/libalhLDC.so new file mode 100644 index 0000000..c8a99a5 Binary files /dev/null and b/proprietary/vendor/lib64/libalhLDC.so differ diff --git a/proprietary/vendor/lib64/libarcdualcamsat.so b/proprietary/vendor/lib64/libarcdualcamsat.so new file mode 100644 index 0000000..520c8d4 Binary files /dev/null and b/proprietary/vendor/lib64/libarcdualcamsat.so differ diff --git a/proprietary/vendor/lib64/libarcmulticamsat.so b/proprietary/vendor/lib64/libarcmulticamsat.so new file mode 100644 index 0000000..81f6b24 Binary files /dev/null and b/proprietary/vendor/lib64/libarcmulticamsat.so differ diff --git a/proprietary/vendor/lib64/libarcsat.so b/proprietary/vendor/lib64/libarcsat.so new file mode 100644 index 0000000..a601aed Binary files /dev/null and b/proprietary/vendor/lib64/libarcsat.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_beautyshot.so b/proprietary/vendor/lib64/libarcsoft_beautyshot.so new file mode 100644 index 0000000..62d7755 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_beautyshot.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_bodyslim.so b/proprietary/vendor/lib64/libarcsoft_bodyslim.so new file mode 100644 index 0000000..4752947 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_bodyslim.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_distortion_correction.so b/proprietary/vendor/lib64/libarcsoft_distortion_correction.so new file mode 100644 index 0000000..ea5352b Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_distortion_correction.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_dualcam_refocus.so b/proprietary/vendor/lib64/libarcsoft_dualcam_refocus.so new file mode 100644 index 0000000..f1875f0 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_dualcam_refocus.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_front.so b/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_front.so new file mode 100644 index 0000000..0d03e0a Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_front.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_rear_t.so b/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_rear_t.so new file mode 100644 index 0000000..e8eb918 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_rear_t.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_rear_w.so b/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_rear_w.so new file mode 100644 index 0000000..8dfdb81 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_dualcam_refocus_rear_w.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_hdr_detection.so b/proprietary/vendor/lib64/libarcsoft_hdr_detection.so new file mode 100644 index 0000000..5a1bdd4 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_hdr_detection.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_hdrplus_hvx_stub.so b/proprietary/vendor/lib64/libarcsoft_hdrplus_hvx_stub.so new file mode 100644 index 0000000..789797b Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_hdrplus_hvx_stub.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_high_dynamic_range.so b/proprietary/vendor/lib64/libarcsoft_high_dynamic_range.so new file mode 100644 index 0000000..5c07776 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_high_dynamic_range.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_portrait_lighting.so b/proprietary/vendor/lib64/libarcsoft_portrait_lighting.so new file mode 100644 index 0000000..13bf64f Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_portrait_lighting.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_portrait_lighting_c.so b/proprietary/vendor/lib64/libarcsoft_portrait_lighting_c.so new file mode 100644 index 0000000..0922410 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_portrait_lighting_c.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_preview_deflicker.so b/proprietary/vendor/lib64/libarcsoft_preview_deflicker.so new file mode 100644 index 0000000..402c61f Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_preview_deflicker.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_super_night_raw.so b/proprietary/vendor/lib64/libarcsoft_super_night_raw.so new file mode 100644 index 0000000..ac894e7 Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_super_night_raw.so differ diff --git a/proprietary/vendor/lib64/libarcsoft_superportrait.so b/proprietary/vendor/lib64/libarcsoft_superportrait.so new file mode 100644 index 0000000..454c4ea Binary files /dev/null and b/proprietary/vendor/lib64/libarcsoft_superportrait.so differ diff --git a/proprietary/vendor/lib64/libc++_shared.so b/proprietary/vendor/lib64/libc++_shared.so new file mode 100644 index 0000000..d07d15a Binary files /dev/null and b/proprietary/vendor/lib64/libc++_shared.so differ diff --git a/proprietary/vendor/lib64/libcamera_dirty.so b/proprietary/vendor/lib64/libcamera_dirty.so new file mode 100644 index 0000000..0408dba Binary files /dev/null and b/proprietary/vendor/lib64/libcamera_dirty.so differ diff --git a/proprietary/vendor/lib64/libcamera_nn_stub.so b/proprietary/vendor/lib64/libcamera_nn_stub.so new file mode 100644 index 0000000..b13995e Binary files /dev/null and b/proprietary/vendor/lib64/libcamera_nn_stub.so differ diff --git a/proprietary/vendor/lib64/libcamera_scene.so b/proprietary/vendor/lib64/libcamera_scene.so new file mode 100644 index 0000000..05acea6 Binary files /dev/null and b/proprietary/vendor/lib64/libcamera_scene.so differ diff --git a/proprietary/vendor/lib64/libcamerapostproc.so b/proprietary/vendor/lib64/libcamerapostproc.so new file mode 100644 index 0000000..6a1a528 Binary files /dev/null and b/proprietary/vendor/lib64/libcamerapostproc.so differ diff --git a/proprietary/vendor/lib64/libcamxexternalformatutils.so b/proprietary/vendor/lib64/libcamxexternalformatutils.so new file mode 100644 index 0000000..d3f3c8d Binary files /dev/null and b/proprietary/vendor/lib64/libcamxexternalformatutils.so differ diff --git a/proprietary/vendor/lib64/libcamxfacialfeatures.so b/proprietary/vendor/lib64/libcamxfacialfeatures.so new file mode 100644 index 0000000..d9d925f Binary files /dev/null and b/proprietary/vendor/lib64/libcamxfacialfeatures.so differ diff --git a/proprietary/vendor/lib64/libcamxfdalgo.so b/proprietary/vendor/lib64/libcamxfdalgo.so new file mode 100644 index 0000000..ac7c852 Binary files /dev/null and b/proprietary/vendor/lib64/libcamxfdalgo.so differ diff --git a/proprietary/vendor/lib64/libcamxfdengine.so b/proprietary/vendor/lib64/libcamxfdengine.so new file mode 100644 index 0000000..03cf823 Binary files /dev/null and b/proprietary/vendor/lib64/libcamxfdengine.so differ diff --git a/proprietary/vendor/lib64/libcamxifestriping.so b/proprietary/vendor/lib64/libcamxifestriping.so new file mode 100644 index 0000000..3892f9b Binary files /dev/null and b/proprietary/vendor/lib64/libcamxifestriping.so differ diff --git a/proprietary/vendor/lib64/libcamximageformatutils.so b/proprietary/vendor/lib64/libcamximageformatutils.so new file mode 100644 index 0000000..d3a16d1 Binary files /dev/null and b/proprietary/vendor/lib64/libcamximageformatutils.so differ diff --git a/proprietary/vendor/lib64/libcamxncs.so b/proprietary/vendor/lib64/libcamxncs.so new file mode 100644 index 0000000..e764234 Binary files /dev/null and b/proprietary/vendor/lib64/libcamxncs.so differ diff --git a/proprietary/vendor/lib64/libcamxstatscore.so b/proprietary/vendor/lib64/libcamxstatscore.so new file mode 100644 index 0000000..45824f9 Binary files /dev/null and b/proprietary/vendor/lib64/libcamxstatscore.so differ diff --git a/proprietary/vendor/lib64/libcamxswprocessalgo.so b/proprietary/vendor/lib64/libcamxswprocessalgo.so new file mode 100644 index 0000000..9696c8d Binary files /dev/null and b/proprietary/vendor/lib64/libcamxswprocessalgo.so differ diff --git a/proprietary/vendor/lib64/libcamxtintlessalgo.so b/proprietary/vendor/lib64/libcamxtintlessalgo.so new file mode 100644 index 0000000..8cc94c9 Binary files /dev/null and b/proprietary/vendor/lib64/libcamxtintlessalgo.so differ diff --git a/proprietary/vendor/lib64/libcdsprpc_system.so b/proprietary/vendor/lib64/libcdsprpc_system.so new file mode 100644 index 0000000..3d0d418 Binary files /dev/null and b/proprietary/vendor/lib64/libcdsprpc_system.so differ diff --git a/proprietary/vendor/lib64/libchilog.so b/proprietary/vendor/lib64/libchilog.so new file mode 100644 index 0000000..be47364 Binary files /dev/null and b/proprietary/vendor/lib64/libchilog.so differ diff --git a/proprietary/vendor/lib64/libcom.qti.chinodeutils.so b/proprietary/vendor/lib64/libcom.qti.chinodeutils.so new file mode 100644 index 0000000..25045e2 Binary files /dev/null and b/proprietary/vendor/lib64/libcom.qti.chinodeutils.so differ diff --git a/proprietary/vendor/lib64/libcvp2.so b/proprietary/vendor/lib64/libcvp2.so new file mode 100644 index 0000000..304fd11 Binary files /dev/null and b/proprietary/vendor/lib64/libcvp2.so differ diff --git a/proprietary/vendor/lib64/libcvp2_hfi.so b/proprietary/vendor/lib64/libcvp2_hfi.so new file mode 100644 index 0000000..a434fd7 Binary files /dev/null and b/proprietary/vendor/lib64/libcvp2_hfi.so differ diff --git a/proprietary/vendor/lib64/libcvp_common.so b/proprietary/vendor/lib64/libcvp_common.so new file mode 100644 index 0000000..2225581 Binary files /dev/null and b/proprietary/vendor/lib64/libcvp_common.so differ diff --git a/proprietary/vendor/lib64/libcvpcpuRev_skel.so b/proprietary/vendor/lib64/libcvpcpuRev_skel.so new file mode 100644 index 0000000..2243854 Binary files /dev/null and b/proprietary/vendor/lib64/libcvpcpuRev_skel.so differ diff --git a/proprietary/vendor/lib64/libdng_sdk2vendor.so b/proprietary/vendor/lib64/libdng_sdk2vendor.so new file mode 100644 index 0000000..7e6655c Binary files /dev/null and b/proprietary/vendor/lib64/libdng_sdk2vendor.so differ diff --git a/proprietary/vendor/lib64/libdualcam_optical_zoom_control.so b/proprietary/vendor/lib64/libdualcam_optical_zoom_control.so new file mode 100644 index 0000000..ce1e4bc Binary files /dev/null and b/proprietary/vendor/lib64/libdualcam_optical_zoom_control.so differ diff --git a/proprietary/vendor/lib64/libdualcam_video_optical_zoom.so b/proprietary/vendor/lib64/libdualcam_video_optical_zoom.so new file mode 100644 index 0000000..51663dd Binary files /dev/null and b/proprietary/vendor/lib64/libdualcam_video_optical_zoom.so differ diff --git a/proprietary/vendor/lib64/libfocus.so b/proprietary/vendor/lib64/libfocus.so new file mode 100644 index 0000000..8ef8259 Binary files /dev/null and b/proprietary/vendor/lib64/libfocus.so differ diff --git a/proprietary/vendor/lib64/libft2vendor.so b/proprietary/vendor/lib64/libft2vendor.so new file mode 100644 index 0000000..eb81999 Binary files /dev/null and b/proprietary/vendor/lib64/libft2vendor.so differ diff --git a/proprietary/vendor/lib64/libgf_hal.so b/proprietary/vendor/lib64/libgf_hal.so new file mode 100644 index 0000000..b788963 Binary files /dev/null and b/proprietary/vendor/lib64/libgf_hal.so differ diff --git a/proprietary/vendor/lib64/libhta.so b/proprietary/vendor/lib64/libhta.so new file mode 100644 index 0000000..96b4139 Binary files /dev/null and b/proprietary/vendor/lib64/libhta.so differ diff --git a/proprietary/vendor/lib64/libipebpsstriping.so b/proprietary/vendor/lib64/libipebpsstriping.so new file mode 100644 index 0000000..efef7bd Binary files /dev/null and b/proprietary/vendor/lib64/libipebpsstriping.so differ diff --git a/proprietary/vendor/lib64/libmialgo_ie_preview.so b/proprietary/vendor/lib64/libmialgo_ie_preview.so new file mode 100644 index 0000000..d056d89 Binary files /dev/null and b/proprietary/vendor/lib64/libmialgo_ie_preview.so differ diff --git a/proprietary/vendor/lib64/libmialgo_image_colourkeeping.so b/proprietary/vendor/lib64/libmialgo_image_colourkeeping.so new file mode 100644 index 0000000..2953885 Binary files /dev/null and b/proprietary/vendor/lib64/libmialgo_image_colourkeeping.so differ diff --git a/proprietary/vendor/lib64/libmialgo_rfs.so b/proprietary/vendor/lib64/libmialgo_rfs.so new file mode 100644 index 0000000..0bf24c8 Binary files /dev/null and b/proprietary/vendor/lib64/libmialgo_rfs.so differ diff --git a/proprietary/vendor/lib64/libmialgo_sd.so b/proprietary/vendor/lib64/libmialgo_sd.so new file mode 100644 index 0000000..4453fb3 Binary files /dev/null and b/proprietary/vendor/lib64/libmialgo_sd.so differ diff --git a/proprietary/vendor/lib64/libmialgo_utils.so b/proprietary/vendor/lib64/libmialgo_utils.so new file mode 100644 index 0000000..e880590 Binary files /dev/null and b/proprietary/vendor/lib64/libmialgo_utils.so differ diff --git a/proprietary/vendor/lib64/libmialgo_video_colourkeeping.so b/proprietary/vendor/lib64/libmialgo_video_colourkeeping.so new file mode 100644 index 0000000..f94df0d Binary files /dev/null and b/proprietary/vendor/lib64/libmialgo_video_colourkeeping.so differ diff --git a/proprietary/vendor/lib64/libmialgo_video_enhance.so b/proprietary/vendor/lib64/libmialgo_video_enhance.so new file mode 100644 index 0000000..943dff3 Binary files /dev/null and b/proprietary/vendor/lib64/libmialgo_video_enhance.so differ diff --git a/proprietary/vendor/lib64/libmialgo_video_seg.so b/proprietary/vendor/lib64/libmialgo_video_seg.so new file mode 100644 index 0000000..df0bb90 Binary files /dev/null and b/proprietary/vendor/lib64/libmialgo_video_seg.so differ diff --git a/proprietary/vendor/lib64/libmibokeh_845_video.so b/proprietary/vendor/lib64/libmibokeh_845_video.so new file mode 100644 index 0000000..6cdf713 Binary files /dev/null and b/proprietary/vendor/lib64/libmibokeh_845_video.so differ diff --git a/proprietary/vendor/lib64/libmibokeh_855.so b/proprietary/vendor/lib64/libmibokeh_855.so new file mode 100644 index 0000000..4230aa7 Binary files /dev/null and b/proprietary/vendor/lib64/libmibokeh_855.so differ diff --git a/proprietary/vendor/lib64/libmpbase.so b/proprietary/vendor/lib64/libmpbase.so new file mode 100644 index 0000000..9561793 Binary files /dev/null and b/proprietary/vendor/lib64/libmpbase.so differ diff --git a/proprietary/vendor/lib64/libmulticam_image_optical_zoom.so b/proprietary/vendor/lib64/libmulticam_image_optical_zoom.so new file mode 100644 index 0000000..60cd6ce Binary files /dev/null and b/proprietary/vendor/lib64/libmulticam_image_optical_zoom.so differ diff --git a/proprietary/vendor/lib64/libmulticam_optical_zoom_control.so b/proprietary/vendor/lib64/libmulticam_optical_zoom_control.so new file mode 100644 index 0000000..2a709b3 Binary files /dev/null and b/proprietary/vendor/lib64/libmulticam_optical_zoom_control.so differ diff --git a/proprietary/vendor/lib64/libmulticam_video_optical_zoom.so b/proprietary/vendor/lib64/libmulticam_video_optical_zoom.so new file mode 100644 index 0000000..ee06ecb Binary files /dev/null and b/proprietary/vendor/lib64/libmulticam_video_optical_zoom.so differ diff --git a/proprietary/vendor/lib64/libnotifyaudiohal.so b/proprietary/vendor/lib64/libnotifyaudiohal.so new file mode 100644 index 0000000..9ba1c2d Binary files /dev/null and b/proprietary/vendor/lib64/libnotifyaudiohal.so differ diff --git a/proprietary/vendor/lib64/libnpu.so b/proprietary/vendor/lib64/libnpu.so new file mode 100644 index 0000000..abe274f Binary files /dev/null and b/proprietary/vendor/lib64/libnpu.so differ diff --git a/proprietary/vendor/lib64/libofflinelog.so b/proprietary/vendor/lib64/libofflinelog.so new file mode 100644 index 0000000..59323c3 Binary files /dev/null and b/proprietary/vendor/lib64/libofflinelog.so differ diff --git a/proprietary/vendor/lib64/libos.so b/proprietary/vendor/lib64/libos.so new file mode 100644 index 0000000..2e70742 Binary files /dev/null and b/proprietary/vendor/lib64/libos.so differ diff --git a/proprietary/vendor/lib64/libremosaic_wrapper.so b/proprietary/vendor/lib64/libremosaic_wrapper.so new file mode 100644 index 0000000..9cadf0d Binary files /dev/null and b/proprietary/vendor/lib64/libremosaic_wrapper.so differ diff --git a/proprietary/vendor/lib64/libremosaichvx_stub.so b/proprietary/vendor/lib64/libremosaichvx_stub.so new file mode 100644 index 0000000..e88f987 Binary files /dev/null and b/proprietary/vendor/lib64/libremosaichvx_stub.so differ diff --git a/proprietary/vendor/lib64/libremosaiclib.so b/proprietary/vendor/lib64/libremosaiclib.so new file mode 100644 index 0000000..ce2c33b Binary files /dev/null and b/proprietary/vendor/lib64/libremosaiclib.so differ diff --git a/proprietary/vendor/lib64/libsensorcal.so b/proprietary/vendor/lib64/libsensorcal.so new file mode 100644 index 0000000..d41bbd0 Binary files /dev/null and b/proprietary/vendor/lib64/libsensorcal.so differ diff --git a/proprietary/vendor/lib64/libsensorslog.so b/proprietary/vendor/lib64/libsensorslog.so new file mode 100644 index 0000000..ba4de57 Binary files /dev/null and b/proprietary/vendor/lib64/libsensorslog.so differ diff --git a/proprietary/vendor/lib64/libsn100u_fw.so b/proprietary/vendor/lib64/libsn100u_fw.so new file mode 100644 index 0000000..ae3ff32 Binary files /dev/null and b/proprietary/vendor/lib64/libsn100u_fw.so differ diff --git a/proprietary/vendor/lib64/libsnpe_adsp.so b/proprietary/vendor/lib64/libsnpe_adsp.so new file mode 100644 index 0000000..4338700 Binary files /dev/null and b/proprietary/vendor/lib64/libsnpe_adsp.so differ diff --git a/proprietary/vendor/lib64/libsnpe_dsp_domains.so b/proprietary/vendor/lib64/libsnpe_dsp_domains.so new file mode 100644 index 0000000..ed9f15c Binary files /dev/null and b/proprietary/vendor/lib64/libsnpe_dsp_domains.so differ diff --git a/proprietary/vendor/lib64/libsnpe_dsp_domains_system.so b/proprietary/vendor/lib64/libsnpe_dsp_domains_system.so new file mode 100644 index 0000000..bdeb47a Binary files /dev/null and b/proprietary/vendor/lib64/libsnpe_dsp_domains_system.so differ diff --git a/proprietary/vendor/lib64/libsnpe_dsp_domains_v2.so b/proprietary/vendor/lib64/libsnpe_dsp_domains_v2.so new file mode 100644 index 0000000..305dd95 Binary files /dev/null and b/proprietary/vendor/lib64/libsnpe_dsp_domains_v2.so differ diff --git a/proprietary/vendor/lib64/libsnpe_dsp_domains_v2_system.so b/proprietary/vendor/lib64/libsnpe_dsp_domains_v2_system.so new file mode 100644 index 0000000..d64b9ba Binary files /dev/null and b/proprietary/vendor/lib64/libsnpe_dsp_domains_v2_system.so differ diff --git a/proprietary/vendor/lib64/libsns_fastRPC_util.so b/proprietary/vendor/lib64/libsns_fastRPC_util.so new file mode 100644 index 0000000..be7d9a8 Binary files /dev/null and b/proprietary/vendor/lib64/libsns_fastRPC_util.so differ diff --git a/proprietary/vendor/lib64/libsns_low_lat_stream_stub.so b/proprietary/vendor/lib64/libsns_low_lat_stream_stub.so new file mode 100644 index 0000000..75626d9 Binary files /dev/null and b/proprietary/vendor/lib64/libsns_low_lat_stream_stub.so differ diff --git a/proprietary/vendor/lib64/libsns_registry_skel.so b/proprietary/vendor/lib64/libsns_registry_skel.so new file mode 100644 index 0000000..5986bbf Binary files /dev/null and b/proprietary/vendor/lib64/libsns_registry_skel.so differ diff --git a/proprietary/vendor/lib64/libsnsapi.so b/proprietary/vendor/lib64/libsnsapi.so new file mode 100644 index 0000000..d31a35f Binary files /dev/null and b/proprietary/vendor/lib64/libsnsapi.so differ diff --git a/proprietary/vendor/lib64/libsnsdiaglog.so b/proprietary/vendor/lib64/libsnsdiaglog.so new file mode 100644 index 0000000..6a681be Binary files /dev/null and b/proprietary/vendor/lib64/libsnsdiaglog.so differ diff --git a/proprietary/vendor/lib64/libssc.so b/proprietary/vendor/lib64/libssc.so new file mode 100644 index 0000000..0443c82 Binary files /dev/null and b/proprietary/vendor/lib64/libssc.so differ diff --git a/proprietary/vendor/lib64/libssc_default_listener.so b/proprietary/vendor/lib64/libssc_default_listener.so new file mode 100644 index 0000000..f0e8836 Binary files /dev/null and b/proprietary/vendor/lib64/libssc_default_listener.so differ diff --git a/proprietary/vendor/lib64/libst_soft_isp_calc_exposure_shared.so b/proprietary/vendor/lib64/libst_soft_isp_calc_exposure_shared.so new file mode 100644 index 0000000..26ddbc2 Binary files /dev/null and b/proprietary/vendor/lib64/libst_soft_isp_calc_exposure_shared.so differ diff --git a/proprietary/vendor/lib64/libst_soft_isp_shared.so b/proprietary/vendor/lib64/libst_soft_isp_shared.so new file mode 100644 index 0000000..148fc51 Binary files /dev/null and b/proprietary/vendor/lib64/libst_soft_isp_shared.so differ diff --git a/proprietary/vendor/lib64/libsymphony-cpu.so b/proprietary/vendor/lib64/libsymphony-cpu.so new file mode 100644 index 0000000..859c3fa Binary files /dev/null and b/proprietary/vendor/lib64/libsymphony-cpu.so differ diff --git a/proprietary/vendor/lib64/libsynx.so b/proprietary/vendor/lib64/libsynx.so new file mode 100644 index 0000000..2196c70 Binary files /dev/null and b/proprietary/vendor/lib64/libsynx.so differ diff --git a/proprietary/vendor/lib64/libthreadutils.so b/proprietary/vendor/lib64/libthreadutils.so new file mode 100644 index 0000000..06df38b Binary files /dev/null and b/proprietary/vendor/lib64/libthreadutils.so differ diff --git a/proprietary/vendor/lib64/libtriplecam_optical_zoom_control.so b/proprietary/vendor/lib64/libtriplecam_optical_zoom_control.so new file mode 100644 index 0000000..303b923 Binary files /dev/null and b/proprietary/vendor/lib64/libtriplecam_optical_zoom_control.so differ diff --git a/proprietary/vendor/lib64/libtriplecam_video_optical_zoom.so b/proprietary/vendor/lib64/libtriplecam_video_optical_zoom.so new file mode 100644 index 0000000..aa1c0f6 Binary files /dev/null and b/proprietary/vendor/lib64/libtriplecam_video_optical_zoom.so differ diff --git a/proprietary/vendor/lib64/libultrasound.so b/proprietary/vendor/lib64/libultrasound.so new file mode 100644 index 0000000..2026ee8 Binary files /dev/null and b/proprietary/vendor/lib64/libultrasound.so differ diff --git a/proprietary/vendor/lib64/libvideoBokeh.so b/proprietary/vendor/lib64/libvideoBokeh.so new file mode 100644 index 0000000..64bf3f5 Binary files /dev/null and b/proprietary/vendor/lib64/libvideoBokeh.so differ diff --git a/proprietary/vendor/lib64/libvideofilter_only.so b/proprietary/vendor/lib64/libvideofilter_only.so new file mode 100644 index 0000000..a1feab9 Binary files /dev/null and b/proprietary/vendor/lib64/libvideofilter_only.so differ diff --git a/proprietary/vendor/lib64/libvidhance.so b/proprietary/vendor/lib64/libvidhance.so new file mode 100644 index 0000000..b682f33 Binary files /dev/null and b/proprietary/vendor/lib64/libvidhance.so differ diff --git a/proprietary/vendor/lib64/libxmi_high_dynamic_range.so b/proprietary/vendor/lib64/libxmi_high_dynamic_range.so new file mode 100644 index 0000000..9b84508 Binary files /dev/null and b/proprietary/vendor/lib64/libxmi_high_dynamic_range.so differ diff --git a/proprietary/vendor/lib64/sensors.elliptic.so b/proprietary/vendor/lib64/sensors.elliptic.so new file mode 100644 index 0000000..8e08f95 Binary files /dev/null and b/proprietary/vendor/lib64/sensors.elliptic.so differ diff --git a/proprietary/vendor/lib64/sensors.mius.proximity.so b/proprietary/vendor/lib64/sensors.mius.proximity.so new file mode 100644 index 0000000..42b7945 Binary files /dev/null and b/proprietary/vendor/lib64/sensors.mius.proximity.so differ diff --git a/proprietary/vendor/lib64/sensors.ssc.so b/proprietary/vendor/lib64/sensors.ssc.so new file mode 100644 index 0000000..97d5de2 Binary files /dev/null and b/proprietary/vendor/lib64/sensors.ssc.so differ diff --git a/proprietary/vendor/lib64/sensors.touch.so b/proprietary/vendor/lib64/sensors.touch.so new file mode 100644 index 0000000..d1eb6b7 Binary files /dev/null and b/proprietary/vendor/lib64/sensors.touch.so differ diff --git a/proprietary/vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so b/proprietary/vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so new file mode 100644 index 0000000..2fe06e1 Binary files /dev/null and b/proprietary/vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so differ diff --git a/proprietary/vendor/lib64/vendor.qti.hardware.sensorscalibrate@1.0.so b/proprietary/vendor/lib64/vendor.qti.hardware.sensorscalibrate@1.0.so new file mode 100644 index 0000000..981a644 Binary files /dev/null and b/proprietary/vendor/lib64/vendor.qti.hardware.sensorscalibrate@1.0.so differ diff --git a/proprietary/vendor/libnfc-nxp_RF.conf b/proprietary/vendor/libnfc-nxp_RF.conf new file mode 100644 index 0000000..ca30b01 --- /dev/null +++ b/proprietary/vendor/libnfc-nxp_RF.conf @@ -0,0 +1,248 @@ +############################################################## +## J1 P1 libnfc-nxp_RF.conf FW34 23th,Sep 2019######### +############################################################################### +# NXP RF configuration ALM/PLM settings +# This section needs to be updated with the correct values based on the platform +#PMU_CFG + +NXP_RF_CONF_BLK_1={ + 20, 02, E5, 05, + A0, 0E, 2C, F0, 00, 3E, 11, E4, E4, E4, 00, 00, 00, 00, 00, A7, 8E, FF, FF, 23, 23, 23, 23, 0A, 00, 00, 00, 00, 02, 00, 00, 01, 00, 10, 00, 04, 00, 00, 00, 17, 40, FF, 07, 13, 07, 05, 13, + A0, A4, 85, 14, 00, 01, 00, 00, 00, 00, 00, 00, 01, 00, 03, 00, 05, 00, 07, 00, 08, 00, 0A, 00, 0C, 00, 0E, 00, 10, 00, 11, 00, 13, 00, 14, 00, 16, 00, 18, 00, 19, 00, 1A, 00, 1C, 00, 1D, 00, 1F, 00, 20, 00, 21, 00, 24, 00, 25, 00, 27, 00, 29, 00, 2A, 00, 2C, 00, 2D, 00, 2F, 00, 31, 00, 32, 00, 34, 00, 35, 00, 37, 00, 39, 00, 3A, 00, 3C, 00, 3D, 00, 3F, 00, 41, 00, 42, 00, 44, 00, 46, 00, 47, 00, 49, 00, 4A, 00, 4C, 00, 4E, 00, 4F, 00, 51, 00, 52, 00, 54, 00, 56, 00, 57, 00, 59, 00, 5A, 00, 5C, 00, 5E, 00, 5F, 00, 61, 00, 62, 00, 64, 00, + A0, 11, 07, 01, 0A, 32, 01, C8, F6, F6, + A0, A5, 0D, 3B, 3B, 3B, 3B, 3B, 3B, FF, 03, 1F, 00, 3B, 00, 00, + A0, 6A, 10, 00, 00, 00, 00, 00, 00, 00, 00, B4, 00, B4, 00, B4, 00, B4, 00 +} + +NXP_RF_CONF_BLK_2={ + 20, 02, CC, 01, + A0, 34, C8, 23, 04, 3D, 01, 02, 19, B9, 0A, 00, 00, 15, 10, 00, 00, 15, 10, 00, 00, 15, 10, 00, 00, DE, 11, 00, 00, DE, 11, 00, 00, DE, 11, 00, 00, DE, 11, 00, 00, 71, 15, 00, 00, 3B, 17, 00, 00, 3B, 17, 00, 00, 04, 19, 00, 00, 04, 19, 00, 00, 04, 19, 00, 00, 2A, 20, 00, 00, 2A, 20, 00, 00, BD, 23, 00, 00, BD, 23, 00, 00, BD, 23, 00, 00, BD, 23, 00, 00, BD, 23, 00, 00, 9C, 3A, 00, 00, 9C, 3A, 00, 00, 9C, 3A, 00, 00, 03, 19, 12, 01, 00, 00, C9, 01, 00, 00, AE, 02, 00, 00, 37, 03, 00, 00, 1C, 04, 00, 00, A5, 04, 00, 00, B8, 05, 00, 00, AF, 07, 00, 00, 5D, 0A, 00, 00, 4C, 0E, 00, 00, 71, 15, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00 +} + +NXP_RF_CONF_BLK_3={ + 20, 02, 66, 01, + A1, 0A, 62, 09, 18, 7A, 03, 00, 00, 7A, 03, 00, 00, 7A, 03, 00, 00, 7A, 03, 00, 00, 7A, 03, 00, 00, 78, 05, 00, 00, 08, 07, 00, 00, FC, 08, 00, 00, FC, 08, 00, 00, 92, 09, 00, 00, 92, 09, 00, 00, DC, 0A, 00, 00, DC, 0A, 00, 00, 48, 0D, 00, 00, 30, 11, 00, 00, 30, 11, 00, 00, 8E, 12, 00, 00, 7C, 15, 00, 00, 70, 17, 00, 00, 58, 1B, 00, 00, 40, 1F, 00, 00, 28, 23, 00, 00, 28, 23, 00, 00, 28, 23, 00, 00 +} + +NXP_RF_CONF_BLK_4={20, 02, F1, 01, A0, A9, ED, 00, 2A, FF, 01, 24, FF, 02, 1F, FF, 03, 1A, FF, 04, 16, FF, 05, 12, FF, 06, 0F, FF, 07, 0C, FF, 08, 09, FF, 09, 07, FF, 0A, 05, FF, 0B, 03, FF, 0C, 01, FF, 0D, 00, F5, 0E, 00, DC, 0F, 00, C6, 10, 00, B3, 11, 00, A2, 12, 00, 92, 13, 00, 84, 14, 00, 77, 15, 00, 6B, 16, 00, 60, 17, 00, 57, 18, 00, 4E, 19, 00, 46, 1A, 00, 3F, 1B, 00, 39, 1C, 00, 33, 1D, 00, 2E, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A} + + +NXP_RF_CONF_BLK_5={ + 20, 02, C5, 02, + A0, 0B, BB, 00, 1D, 01, 14, 6A, 2A, E8, 03, E8, 03, 06, 10, 0E, 2C, 01, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 3C, 00, 00, 00, 3C, 00, 00, 00, 3C, 00, 00, 00, 00, 00, 00, 00, + A0, A6, 03, C0, 08, 08 +} + +NXP_RF_CONF_BLK_6={ + 20, 02, E9, 05, + A0, AB, 82, 27, 1B, 33, 04, 42, 04, 55, 04, 75, 04, 9E, 04, C7, 04, F0, 04, 20, 05, 4F, 05, 7F, 05, B8, 05, F2, 05, 2B, 06, 72, 06, BA, 06, 02, 07, 49, 07, 91, 07, F0, 07, 50, 08, AF, 08, 0F, 09, 6E, 09, E1, 09, 54, 0A, C6, 0A, 56, 0B, E5, 0B, 74, 0C, 04, 0D, 93, 0D, 52, 0E, 11, 0F, D0, 0F, 8F, 10, 4F, 11, 0E, 12, 2C, 13, 4B, 14, 6A, 15, 88, 16, A7, 17, C6, 18, 44, 1A, C2, 1B, 41, 1D, BF, 1E, 9D, 20, 7B, 22, 58, 24, 96, 26, D3, 28, 11, 2B, 4E, 2D, 4B, 30, 47, 33, 44, 36, 40, 39, 3D, 3C, A2, 3F, 07, 43, 6C, 46, E6, 4A, 61, 4F, + A0, A7, 0B, 00, 02, 77, 17, 1F, 1F, 1F, 0A, FF, 19, 05, + A0, A8, 38, 00, 33, 33, 10, 00, 33, 23, 10, 00, 33, 24, 10, 4B, 23, 44, 10, CF, 22, 43, 10, CF, 22, 43, 10, CF, 22, 43, 10, CE, 22, 43, 10, CF, 22, 43, 10, CE, 22, 43, 10, 00, 33, 22, 10, C0, 22, 23, 10, 00, 33, 22, 10, C0, 22, 23, 10, + A0, 98, 08, 2F, 97, 1C, 80, 23, 2F, 2F, 2F, + A0, 9E, 0C, 0B, 97, 1C, 96, 00, 96, 00, 2B, 52, 03, 00, 00 +} + +NXP_RF_CONF_BLK_7={ + 20, 02, FB, 14, + A0, C6, 5B, 00, 00, 04, 00, 00, 00, 3C, 00, 00, 00, 20, 80, FF, 01, 00, 00, 64, 00, 00, C0, 00, 00, 00, C0, 00, 00, 00, 01, 01, 01, 20, 01, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, + A0, 0D, 06, 10, C9, 30, 00, 40, 00, + A0, 0D, 03, 24, 29, 07, + A0, 0D, 03, 24, 30, 07, + A0, 0D, 03, 25, 29, 01, + A0, 0D, 03, 25, 30, 01, + A0, 0D, 06, 40, 42, F0, C1, 37, CC, + A0, 0D, 06, 41, 45, 31, 12, 00, 00, + A0, 0D, 03, 42, 7C, 54, + A0, 0D, 06, 42, 8D, 00, A0, A4, 64, + A0, 0D, 06, 42, 8B, 00, A2, 23, 00, + A0, 0D, 06, 42, 89, 7F, 12, BD, 01, + A0, 0D, 06, 42, 44, 00, B0, 66, 01, + A0, 0D, 06, 42, 43, 24, 24, 4D, ED, + A0, 0D, 06, 42, 41, FD, FF, 5F, F0, + A0, 0D, 06, 42, 40, 20, 77, 33, 3A, + A0, 0D, 06, 42, 4A, 00, 00, 00, 00, + A0, 0D, 06, 42, 49, 00, 00, 00, 00, + A0, 0D, 06, 51, 40, 12, 77, 33, 3A, + A0, 0D, 06, 43, 44, 00, 34, 52, 01 +} + +NXP_RF_CONF_BLK_8={ + 20, 02, FD, 1C, + A0, 0D, 06, 43, 43, A5, 64, 4C, AD, + A0, 0D, 06, 43, 40, 05, 77, 33, 3D, + A0, 0D, 06, 43, 4A, 00, 00, 00, 00, + A0, 0D, 06, 43, 49, 00, 00, 00, 00, + A0, 0D, 06, 44, 44, 00, 34, 52, 01, + A0, 0D, 06, 44, 43, A5, 64, 4C, AD, + A0, 0D, 06, 44, 40, 05, 77, 33, 3D, + A0, 0D, 06, 44, 4A, 00, 00, 00, 00, + A0, 0D, 06, 44, 49, 00, 00, 00, 00, + A0, 0D, 06, 45, 44, 00, 34, 52, 01, + A0, 0D, 06, 45, 43, A5, 64, 4C, AD, + A0, 0D, 06, 45, 40, 05, 77, 33, 3D, + A0, 0D, 06, 45, 4A, 00, 00, 00, 00, + A0, 0D, 06, 45, 49, 00, 00, 00, 00, + A0, 0D, 06, 46, 45, 39, 12, 00, 00, + A0, 0D, 06, 46, 44, 00, 34, 52, 01, + A0, 0D, 06, 47, 43, A5, 64, 4C, ED, + A0, 0D, 06, 47, 40, 05, 77, 33, 3D, + A0, 0D, 06, 47, 4A, 20, AA, 0B, 81, + A0, 0D, 06, 47, 49, B5, 44, 22, 00, + A0, 0D, 06, 48, 43, A5, 64, 4C, AD, + A0, 0D, 06, 48, 40, 05, 77, 33, 3D, + A0, 0D, 06, 48, 4A, 00, 00, 00, 00, + A0, 0D, 06, 48, 49, 00, 00, 00, 00, + A0, 0D, 06, 49, 43, A5, 64, 4C, AD, + A0, 0D, 06, 49, 40, 05, 77, 33, 3D, + A0, 0D, 06, 49, 4A, 00, 00, 00, 00, + A0, 0D, 06, 49, 49, 00, 00, 00, 00 +} + +NXP_RF_CONF_BLK_9={ + 20, 02, FA, 1C, + A0, 0D, 06, 4A, 8B, 48, 02, F0, 80, + A0, 0D, 06, 4A, 43, A5, 64, 4C, AD, + A0, 0D, 06, 4A, 40, 05, 77, 33, 3D, + A0, 0D, 06, 4A, 4A, 00, 00, 00, 00, + A0, 0D, 06, 4A, 49, 00, 00, 00, 00, + A0, 0D, 06, 4B, 43, A5, 64, 4C, 6D, + A0, 0D, 06, 4C, 44, 00, 34, 52, 01, + A0, 0D, 06, 4C, 4A, 00, 00, 00, 00, + A0, 0D, 06, 4C, 49, 00, 00, 00, 00, + A0, 0D, 06, 4C, 40, 85, 51, 33, 3D, + A0, 0D, 06, 4D, 44, 00, 34, 52, 01, + A0, 0D, 06, 4D, 4A, 00, 00, 00, 00, + A0, 0D, 06, 4D, 49, 00, 00, 00, 00, + A0, 0D, 06, 4D, 40, 85, 51, 33, 3D, + A0, 0D, 06, 4E, 45, 31, 12, 00, 00, + A0, 0D, 03, 4E, 7C, 50, + A0, 0D, 06, 4E, 8D, 00, 00, 00, 06, + A0, 0D, 06, 4E, 8B, 00, A2, 24, 00, + A0, 0D, 06, 4E, 89, 7D, 84, 05, 08, + A0, 0D, 06, 4E, 44, 00, B0, 66, 01, + A0, 0D, 06, 4E, 43, A5, 64, 5C, AD, + A0, 0D, 06, 4E, 41, FD, FF, 5F, F0, + A0, 0D, 06, 4E, 40, 07, 77, 33, 3D, + A0, 0D, 06, 4E, 4A, 2A, 8E, 8D, 2A, + A0, 0D, 06, 4E, 49, 5D, 27, 27, 00, + A0, 0D, 06, 60, 4E, FF, FF, FF, 01, + A0, 0D, 06, 60, 4F, FF, FF, FF, 01, + A0, 0D, 06, 60, 50, FF, FF, FF, 3F +} + +NXP_RF_CONF_BLK_10={ + 20, 02, FD, 1C, + A0, 0D, 06, 80, 7D, A0, 00, 96, BF, + A0, 0D, 06, 80, 80, 42, 00, 04, 00, + A0, 0D, 06, 80, C9, 30, 00, 00, 00, + A0, 0D, 06, 8C, 80, 41, 00, 04, 00, + A0, 0D, 06, 90, 4F, FF, FF, F0, 01, + A0, 0D, 06, 90, 4E, FF, FF, F0, 01, + A0, 0D, 06, 90, 39, 3F, 00, 00, 61, + A0, 0D, 06, 9B, A9, 84, 00, 00, 00, + A0, 0D, 06, 9B, A1, 7F, 7F, 7F, 7F, + A0, 0D, 06, 9B, 99, 7F, 7F, 7F, 7F, + A0, 0D, 06, 9B, 95, FF, 00, 0F, 00, + A0, 0D, 06, 9B, A5, 7F, 7F, 7F, 7F, + A0, 0D, 06, 9B, 9D, 7F, 7F, 7F, 7F, + A0, 0D, 06, 9B, 97, FF, 00, 0F, 00, + A0, 0D, 06, 9B, 4F, FF, FF, FF, 01, + A0, 0D, 06, 9B, 4E, FF, FF, FF, 01, + A0, 0D, 06, 91, D4, F8, 84, EF, 03, + A0, 0D, 06, 91, D2, 4A, 4A, 4B, 38, + A0, 0D, 06, 9C, A9, 84, 00, 00, 00, + A0, 0D, 06, 9C, A1, 7F, 22, 5F, 00, + A0, 0D, 06, 9C, 99, 7F, 22, 7F, 7F, + A0, 0D, 06, 9C, 95, FF, 00, 0F, 00, + A0, 0D, 06, 9C, A5, 7F, 22, 5F, 00, + A0, 0D, 06, 9C, 9D, 7F, 22, 7F, 7F, + A0, 0D, 06, 9C, 97, FF, 00, 0F, 00, + A0, 0D, 06, 9C, 4F, 9F, 88, FF, 01, + A0, 0D, 06, 9C, 4E, 9F, 88, FF, 01, + A0, 0D, 06, 95, D4, F8, 84, 75, 00 +} + +NXP_RF_CONF_BLK_11={ + 20, 02, EC, 12, + A0, 0D, 06, 95, D2, 4A, 4B, 4B, 58, + A0, 0D, 06, 9D, A9, 84, 00, 00, 00, + A0, 0D, 06, 9D, A1, 7F, 7F, 7F, 7F, + A0, 0D, 06, 9D, 99, 7F, 7F, 7F, 7F, + A0, 0D, 06, 9D, 95, FF, 00, 0F, 00, + A0, 0D, 06, 9D, A5, 7F, 7F, 7F, 7F, + A0, 0D, 06, 9D, 9D, 7F, 7F, 7F, 7F, + A0, 0D, 06, 9D, 97, FF, 00, 0F, 00, + A0, 0D, 06, 9D, 4F, FF, FF, FF, 01, + A0, 0D, 06, 9D, 4E, FF, FF, FF, 01, + A0, 0D, 06, 99, D4, F8, 04, E4, 01, + A0, 0D, 06, 99, D2, 4A, 4B, 4B, 48, + A0, AF, 09, 11, 2F, 00, 23, 11, 2F, 00, 23, 00, + A0, 92, 28, 37, 00, 1B, 00, FC, 81, 0F, 00, 22, 80, 0F, 00, 14, 00, 20, 70, EA, 01, 43, 18, 32, 16, 78, 30, 0D, 00, 03, 55, EA, 05, 01, 04, 68, 02, 3F, 92, 04, 00, 0C, 13, + A0, 1F, 06, 63, 00, 42, 00, 14, 00, + A0, 9A, 02, 00, 00, + A0, 99, 0A, 03, 00, 80, 00, 00, 80, 00, 00, 00, 00, + A0, 68, 2A, 06, 40, 60, 03, 19, 00, 00, 00, 00, 83, 04, 00, C0, 05, C0, 00, 00, 01, 00, 01, A0, 00, A0, 00, 03, FA, 00, 00, 00, 4C, 00, 14, 00, 7D, 00, 05, 7F, 00, 00, 01, 00, 03 +} + +NXP_RF_CONF_BLK_12={ + 20, 02, 46, 08, + A0, 0D, 03, 61, 09, 7F, + A0, 0D, 06, 60, AB, FF, FF, 00, 00, + A0, 0D, 06, 60, 95, FF, FF, 0F, 00, + A0, 0D, 06, 60, 97, FF, FF, 0F, 00, + A0, 0D, 06, 82, 82, 47, 80, 00, 00, + A0, 0D, 06, 80, 82, 47, 80, 00, 00, + A0, 0D, 06, 62, 32, AE, 00, 7F, 00, + A0, 0D, 06, 67, 32, AE, 00, 1F, 00 +} +NXP_RF_CONF_MAX_NUM=12 + +############################################################################### +# Core configuration extensions +# It includes +# Wired mode settings A0ED, A0EE +# Tag Detector A040, A041, A043 +# Low Power mode A007 +# Clock settings A002, A003 +# PbF settings A008 +# Clock timeout settings A004 +# eSE (SVDD) PWR REQ settings A0F2 +# Window size A0D8 +# DWP Speed A0D5 +# How eSE connected to PN553 A012 +# UICC2 bit rate A0D1 +# SWP1A interface A0D4 +# DWP intf behavior config, SVDD Load activated by default if set to 0x31 A037 +NXP_CORE_CONF_EXTN={20, 02, 12, 04, + A0, EC, 01, 01, + A0, ED, 01, 01, + A0, 07, 01, 01, + A0, 47, 02, 00, 27 +} + +# A0, 40, 01, 00 +# A0, 41, 01, 02, +# A0, 43, 01, 04, +# } + +############################################################################### +# Core configuration settings +NXP_CORE_CONF={ 20, 02, 30, 10, + 28, 01, 00, + 21, 01, 00, + 30, 01, 04, + 31, 01, 00, + 32, 01, 60, + 38, 01, 01, + 33, 00, + 54, 01, 06, + 50, 01, 02, + 5B, 01, 00, + 80, 01, 01, + 81, 01, 01, + 82, 01, 0E, + 18, 01, 01, + 68, 01, 01, + 85, 01, 01 + } +###############################################################################