avicii: Import vendor from AC2003_11_F.18

This commit is contained in:
KakatkarAkshay
2023-01-25 18:39:17 +05:30
commit 41f8826940
1409 changed files with 36410 additions and 0 deletions

336
Android.bp Normal file
View File

@@ -0,0 +1,336 @@
// Automatically generated file. DO NOT MODIFY
//
// This file is generated by device/oneplus/avicii/setup-makefiles.sh
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libfastcvopt",
owner: "oneplus",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libfastcvopt.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libfastcvopt.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libthermalclient",
owner: "oneplus",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libthermalclient.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libthermalclient.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
android_app_import {
name: "CACertService",
owner: "oneplus",
apk: "proprietary/vendor/app/CACertService/CACertService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "CneApp",
owner: "oneplus",
apk: "proprietary/vendor/app/CneApp/CneApp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "IWlanService",
owner: "oneplus",
apk: "proprietary/vendor/app/IWlanService/IWlanService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "TimeService",
owner: "oneplus",
apk: "proprietary/vendor/app/TimeService/TimeService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "PowerOffAlarm",
owner: "oneplus",
apk: "proprietary/product/app/PowerOffAlarm/PowerOffAlarm.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentOKGoogleHEXAGON",
owner: "oneplus",
apk: "proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON/HotwordEnrollmentOKGoogleHEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentXGoogleHEXAGON",
owner: "oneplus",
apk: "proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON/HotwordEnrollmentXGoogleHEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "ImsRcsService",
owner: "oneplus",
apk: "proprietary/system_ext/app/ImsRcsService/ImsRcsService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "QtiTelephony",
owner: "oneplus",
apk: "proprietary/system_ext/app/QtiTelephony/QtiTelephony.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "QtiTelephonyService",
owner: "oneplus",
apk: "proprietary/system_ext/app/QtiTelephonyService/QtiTelephonyService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
system_ext_specific: true,
}
android_app_import {
name: "WfdService",
owner: "oneplus",
apk: "proprietary/system_ext/priv-app/WfdService/WfdService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "dpmserviceapp",
owner: "oneplus",
apk: "proprietary/system_ext/priv-app/dpmserviceapp/dpmserviceapp.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "ims",
owner: "oneplus",
apk: "proprietary/system_ext/priv-app/ims/ims.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "qcrilmsgtunnel",
owner: "oneplus",
apk: "proprietary/system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
dex_import {
name: "WfdCommon",
owner: "oneplus",
jars: ["proprietary/system/framework/WfdCommon.jar"],
}
dex_import {
name: "com.android.hotwordenrollment.common.util",
owner: "oneplus",
jars: ["proprietary/product/framework/com.android.hotwordenrollment.common.util.jar"],
product_specific: true,
}
dex_import {
name: "com.qti.dpmframework",
owner: "oneplus",
jars: ["proprietary/system_ext/framework/com.qti.dpmframework.jar"],
system_ext_specific: true,
}
dex_import {
name: "dpmapi",
owner: "oneplus",
jars: ["proprietary/system_ext/framework/dpmapi.jar"],
system_ext_specific: true,
}
dex_import {
name: "qcrilhook",
owner: "oneplus",
jars: ["proprietary/system_ext/framework/qcrilhook.jar"],
system_ext_specific: true,
}
dex_import {
name: "vendor.qti.hardware.alarm-V1.0-java",
owner: "oneplus",
jars: ["proprietary/system_ext/framework/vendor.qti.hardware.alarm-V1.0-java.jar"],
system_ext_specific: true,
}
dex_import {
name: "vendor.qti.ims.factory-V2.0-java",
owner: "oneplus",
jars: ["proprietary/system_ext/framework/vendor.qti.ims.factory-V2.0-java.jar"],
system_ext_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.gnss@2.1-service-qti",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti-hta",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti-hta.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_oplus_cameramdm",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/manifest_oplus_cameramdm.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_oplus_vpp",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/manifest_oplus_vpp.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.gnss@4.0-service",
owner: "oneplus",
src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.gnss@4.0-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.3-service.widevine",
owner: "oneplus",
src: "proprietary/odm/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
device_specific: true,
}
prebuilt_etc_xml {
name: "manifest_oplusSensor",
owner: "oneplus",
src: "proprietary/odm/etc/vintf/manifest/manifest_oplusSensor.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
device_specific: true,
}
prebuilt_etc_xml {
name: "manifest_oplus_fingerprint",
owner: "oneplus",
src: "proprietary/odm/etc/vintf/manifest/manifest_oplus_fingerprint.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
device_specific: true,
}

9
Android.mk Normal file
View File

@@ -0,0 +1,9 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/oneplus/avicii/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),avicii)
endif

4
BoardConfigVendor.mk Normal file
View File

@@ -0,0 +1,4 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/oneplus/avicii/setup-makefiles.sh

1413
avicii-vendor.mk Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,22 @@
#!/system/bin/sh
#16051 config
chown system:system /sys/bus/platform/devices/soc:fpc_fpc1020*/irq
chown system:system /sys/bus/platform/devices/soc:fpc_fpc1020*/irq_enable
chown system:system /sys/bus/platform/devices/soc:fpc_fpc1020*/wakelock_enable
#16037 config
chown system:system /sys/bus/platform/devices/fpc_fpc1020*/irq
chown system:system /sys/bus/platform/devices/fpc_fpc1020*/irq_enable
chown system:system /sys/bus/platform/devices/fpc_fpc1020*/wakelock_enable
#public config
chown system:system /dev/homekey
chmod 0666 /dev/homekey
chown system:system /proc/fp_unlock/lcd_status
chmod 0666 /proc/fp_unlock/lcd_status
chown system:system /proc/fp_unlock/lcdoff_status
chmod 0666 /proc/fp_unlock/lcdoff_status
#add for silead
chown system:system /dev/silead_fp
chmod 0666 /dev/silead_fp

Binary file not shown.

View File

@@ -0,0 +1 @@
20801_S_EX_20220120

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,205 @@
{
"facebeauty_version_id": 6,
"front": {
"preview":{
"default_params":{
"Annotate": "value, ratio, p_x, p_y, p_x, p_y, As, Ari, Eu, y, bl, w, br, f_e, m_e, f_y, m_y, chi, f_w_y, m_w_y",
"Deblemish": "0, 1.0, 50, 50, 100, 100, 1.0, 1.0, 0.6, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 0, 1.0, 1.0 ",
"ProtectTilak": "0, 1.0, 0, 0, 0, 0, 0, 1.0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0 ",
"Depouch": "0, 1.0, 70, 70, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 0, 1.0, 1.0 ",
"PupilContrast": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.25, 1.25",
"PupilBright": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.0, 1.0,",
"EyeWhiten": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.25, 1.25",
"EyeSharpening": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.25, 1.25",
"SkinSoften": "30, 1.0, 30, 60, 100, 90, 1.0, 1.0, 0.5, 1.0, 1.0, 1.0, 1.0, 0.5, 0.4, 1.0, 0.6, 0.5, 0.5, 0 ",
"SkinWhiten": "30, 1.0, 30, 30, 100, 100, 1.34, 1.34, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 1.0, 0.8, 0.5, 1.0, 0.8 ",
"HigherNose": "0, 1.0, 60, 60, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0 ",
"NarrowNose": "30, 1.0, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0.0, 1.0, 0.75",
"EnlargeEyes": "30, 1.0, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0.0, 1.0, 0.75",
"SlimFace": "30, 1.0, 30, 20, 100, 80, 1.0, 1.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0, 1.0, 0.75",
"SmallFace": "30, 1.0, 30, 30, 100, 100, 1.0, 1.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0, 1.0, 0.75",
"CheekBone": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0 ",
"DragChin": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0 ",
"Shadow": "30, 0.65, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0",
"MakeUp": "30, 1.0, 30, 20, 100, 60, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 0.0, 1.0, 0.0, 0.2, 1.0, 0.0 ",
"EyeBrown": "0, 0, 30, 20, 100, 60, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 1.0, 1.0 ",
"LipsPink": "0, 1.0, 30, 50, 100, 80, 1.0, 1.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.2, 1.0, 0.0 ",
"TeethWhite": "0, 0.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 "
},
"adjust_params":{
"Annotate": "f_e, m_e, f_y, m_y, chi, f_w_y, m_w_y",
"softenMin": "0, 0, 0, 0, 0, 0, 0",
"softenMax": "0, 0, 0, 0, 0, 0, 0",
"skinTypeT1": "0, 0, 0, 0, 0, 0, 0",
"skinTypeT2": "0, 0, 0, 0, 0, 0, 0",
"skinTypeT3": "0, 0, 0, 0, 0, 0, 0",
"skinTypeT4": "0, 0, 0, 0, 0, 0, 0",
"whitenMin": "0, 0, 0, 0, 0, 0, 0",
"whitenMax": "0, 0, 0, 0, 0, 0, 0",
"skinLumaT1": "0, 0, 0, 0, 0, 0, 0",
"skinLumaT2": "0, 0, 0, 0, 0, 0, 0",
"skinLumaT3": "0, 0, 0, 0, 0, 0, 0",
"skinLumaT4": "0, 0, 0, 0, 0, 0, 0"
},
"other_params":{
"outdoorIsoThreshold": "0",
"outdoorFemaleBrightThreshold": "0",
"outdoorMaleBrightThreshold": "0"
}
},
"snapshot":{
"default_params":{
"Annotate": "value, ratio, p_x, p_y, p_x, p_y, As, Ari, Eu, y, bl, w, br, f_e, m_e, f_y, m_y, chi, f_w_y, m_w_y",
"Deblemish": "50, 1.0, 50, 50, 100, 100, 1.0, 1.0, 0.6, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 0, 1.0, 1.0 ",
"ProtectTilak": "1, 1.0, 0, 0, 0, 0, 0, 1.0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0 ",
"Depouch": "70, 1.0, 70, 70, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 0, 1.0, 1.0 ",
"PupilContrast": "40, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.25, 1.25",
"PupilBright": "30, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.0, 1.0,",
"EyeWhiten": "50, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.25, 1.25",
"EyeSharpening": "40, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.25, 1.25",
"SkinSoften": "30, 0.85, 30, 60, 100, 90, 1.0, 1.0, 0.5, 1.0, 1.0, 1.0, 1.0, 0.5, 0.4, 1.0, 0.6, 0.5, 0.5, 0 ",
"SkinWhiten": "30, 1.0, 30, 30, 100, 100, 1.34, 1.34, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 1.0, 0.8, 0.5, 1.0, 0.8 ",
"HigherNose": "0, 1.0, 60, 60, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0 ",
"NarrowNose": "30, 1.0, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0.0, 1.0, 0.75",
"EnlargeEyes": "30, 1.0, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0.0, 1.0, 0.75",
"SlimFace": "30, 1.0, 30, 20, 100, 80, 1.0, 1.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0, 1.0, 0.75",
"SmallFace": "30, 1.0, 30, 30, 100, 100, 1.0, 1.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0, 1.0, 0.75",
"CheekBone": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0 ",
"DragChin": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0 ",
"Shadow": "30, 0.65, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0",
"MakeUp": "30, 1.0, 30, 20, 100, 60, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 0.0, 1.0, 0.0, 0.2, 1.0, 0.0 ",
"EyeBrown": "0, 0, 30, 20, 100, 60, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.2, 1.0, 1.0 ",
"LipsPink": "0, 1.0, 30, 50, 100, 80, 1.0, 1.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.2, 1.0, 0.0 ",
"TeethWhite": "0, 0.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 "
},
"adjust_params":{
"Annotate": "f_e, m_e, f_y, m_y, chi, f_w_y, m_w_y",
"softenMin": "0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9",
"softenMax": "1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2",
"skinTypeT1": "15, 15, 15, 15, 15, 15, 15 ",
"skinTypeT2": "25, 25, 25, 25, 25, 25, 25 ",
"skinTypeT3": "60, 60, 60, 60, 60, 60, 60 ",
"skinTypeT4": "70, 70, 70, 70, 70, 70, 70 ",
"whitenMin": "0, 0, 0, 0, 0, 0, 0 ",
"whitenMax": "1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0",
"skinLumaT1": "65, 65, 65, 65, 65, 65, 65 ",
"skinLumaT2": "75, 75, 75, 75, 75, 75, 75 ",
"skinLumaT3": "75, 75, 75, 75, 75, 75, 75 ",
"skinLumaT4": "75, 75, 75, 75, 75, 75, 75 "
},
"other_params":{
"outdoorIsoThreshold": "300",
"outdoorFemaleBrightThreshold": "0.8",
"outdoorMaleBrightThreshold": "0.75"
}
}
},
"back": {
"preview":{
"default_params":{
"Annotate": "value, ratio, p_x, p_y, p_x, p_y, As, Ari, Eu, y, bl, w, br, f_e, m_e, f_y, m_y, chi, f_w_y, m_w_y",
"Deblemish": "0, 1.0, 50, 50, 100, 100, 1.0, 1.0, 0.6, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 0, 1.0, 1.0 ",
"ProtectTilak": "0, 1.0, 0, 0, 0, 0, 0, 1.0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ",
"Depouch": "0, 1.0, 70, 70, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 0, 1.0, 1.0 ",
"PupilContrast":"0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.25, 1.25",
"PupilBright": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.0, 1.0,",
"EyeWhiten": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.25, 1.25",
"EyeSharpening":"0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.25, 1.25",
"SkinSoften": "30, 0.7, 30, 30, 100, 100, 1.0, 1.0, 0.5, 1.0, 1.0, 1.0, 1.0, 0.5, 0.4, 1.0, 0.9, 0.5, 0.5, 0 ",
"SkinWhiten": "20, 1.0, 30, 30, 100, 100, 1.34, 1.34, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 1.0, 0.8, 0.5, 1.0, 0.8 ",
"HigherNose": "0, 1.0, 60, 60, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ",
"NarrowNose": "0, 1.0, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 1.0, 1.0, 0.75",
"EnlargeEyes": "0, 1.0, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 1.0, 1.0, 0.75",
"SlimFace": "0, 1.5, 30, 30, 100, 100, 1.0, 1.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0, 1.0, 0.75",
"SmallFace": "0, 1.5, 30, 30, 100, 100, 1.0, 1.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0, 1.0, 0.75",
"CheekBone": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0 ",
"DragChin": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0 ",
"Shadow": "30, 0.65, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0",
"MakeUp": "0, 0.0, 30, 40, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0 ",
"EyeBrown": "0, 0.0, 30, 20, 100, 60, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0 ",
"LipsPink": "0, 0.0, 30, 40, 100, 80, 1.0, 1.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0 ",
"TeethWhite": "0, 0.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 "
},
"adjust_params":{
"Annotate": "f_e, m_e, f_y, m_y, chi, f_w_y, m_w_y",
"softenMin": "0, 0, 0, 0, 0, 0, 0",
"softenMax": "0, 0, 0, 0, 0, 0, 0",
"skinTypeT1": "0, 0, 0, 0, 0, 0, 0",
"skinTypeT2": "0, 0, 0, 0, 0, 0, 0",
"skinTypeT3": "0, 0, 0, 0, 0, 0, 0",
"skinTypeT4": "0, 0, 0, 0, 0, 0, 0",
"whitenMin": "0, 0, 0, 0, 0, 0, 0",
"whitenMax": "0, 0, 0, 0, 0, 0, 0",
"skinLumaT1": "0, 0, 0, 0, 0, 0, 0",
"skinLumaT2": "0, 0, 0, 0, 0, 0, 0",
"skinLumaT3": "0, 0, 0, 0, 0, 0, 0",
"skinLumaT4": "0, 0, 0, 0, 0, 0, 0"
},
"other_params":{
"outdoorIsoThreshold": "0",
"outdoorFemaleBrightThreshold": "0",
"outdoorMaleBrightThreshold": "0"
}
},
"snapshot":{
"default_params":{
"Annotate": "value, ratio, p_x, p_y, p_x, p_y, As, Ari, Eu, y, bl, w, br, f_e, m_e, f_y, m_y, chi, f_w_y, m_w_y",
"Deblemish": "0, 1.0, 50, 50, 100, 100, 1.0, 1.0, 0.6, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 0, 1.0, 1.0 ",
"ProtectTilak": "0, 1.0, 0, 0, 0, 0, 0, 1.0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ",
"Depouch": "0, 1.0, 70, 70, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 0, 1.0, 1.0 ",
"PupilContrast":"0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.25, 1.25",
"PupilBright": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.0, 1.0,",
"EyeWhiten": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.25, 1.25",
"EyeSharpening":"0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 1.25, 1.0, 1.25, 1.25, 1.25, 1.25",
"SkinSoften": "30, 0.7, 30, 30, 100, 100, 1.0, 1.0, 0.5, 1.0, 1.0, 1.0, 1.0, 0.5, 0.4, 1.0, 0.9, 0.5, 0.5, 0 ",
"SkinWhiten": "20, 1.0, 30, 30, 100, 100, 1.34, 1.34, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.8, 1.0, 0.8, 0.5, 1.0, 0.8 ",
"HigherNose": "0, 1.0, 60, 60, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ",
"NarrowNose": "0, 1.0, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 1.0, 1.0, 0.75",
"EnlargeEyes": "0, 1.0, 30, 30, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 1.0, 1.0, 0.75",
"SlimFace": "0, 1.5, 30, 30, 100, 100, 1.0, 1.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0, 1.0, 0.75",
"SmallFace": "0, 1.5, 30, 30, 100, 100, 1.0, 1.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 0.75, 1.0, 0.75, 0, 1.0, 0.75",
"CheekBone": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0 ",
"DragChin": "0, 1.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.0, 1.0 ",
"Shadow": "0, 1.0, 30, 40, 100, 80, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0, 1.25, 1.25",
"MakeUp": "0, 0.0, 30, 40, 100, 100, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0 ",
"EyeBrown": "0, 0.0, 30, 20, 100, 60, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0 ",
"LipsPink": "0, 0.0, 30, 40, 100, 80, 1.0, 1.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0 ",
"TeethWhite": "0, 0.0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 "
},
"adjust_params":{
"Annotate": "f_e, m_e, f_y, m_y, chi, f_w_y, m_w_y",
"softenMin": "0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9",
"softenMax": "1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2",
"skinTypeT1": "15, 15, 15, 15, 15, 15, 15 ",
"skinTypeT2": "25, 25, 25, 25, 25, 25, 25 ",
"skinTypeT3": "60, 60, 60, 60, 60, 60, 60 ",
"skinTypeT4": "70, 70, 70, 70, 70, 70, 70 ",
"whitenMin": "0, 0, 0, 0, 0, 0, 0 ",
"whitenMax": "1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0",
"skinLumaT1": "65, 65, 65, 65, 65, 65, 65 ",
"skinLumaT2": "75, 75, 75, 75, 75, 75, 75 ",
"skinLumaT3": "75, 75, 75, 75, 75, 75, 75 ",
"skinLumaT4": "75, 75, 75, 75, 75, 75, 75 "
},
"other_params":{
"outdoorIsoThreshold": "300",
"outdoorFemaleBrightThreshold": "0.8",
"outdoorMaleBrightThreshold": "0.75"
}
}
},
"back_portrait":{
"preview":{
"ISO": "8000, 6000, 4000, 3200, 2400, 1600, 1000, 400, 200, 0 ",
"SkinSoften": "25, 30, 35, 35, 35, 35, 30, 25, 25, 25",
"SkinWhiten": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ",
"SkinStyle": "50, 50, 50, 50, 50, 50, 50, 50, 50, 50"
},
"snapshot":{
"ISO": "8000, 6000, 4000, 3200, 2400, 1600, 1000, 400, 200, 0 ",
"SkinSoften": "35, 35, 35, 35, 35, 35, 30, 28, 25, 25",
"SkinWhiten": "26, 30, 32, 36, 38, 42, 45, 48, 50, 50",
"SkinStyle": "55, 55, 55, 50, 45, 40, 70, 70, 70, 70"
}
}
}

View File

@@ -0,0 +1,95 @@
{
"default": {
"feature_cameramdm": true,
"feature_torchpkg": true,
"skip_rus_check_list": [
"android.camera.cts",
"com.android.cts.verifier",
"android",
"com.oplus.engineercamera",
"vendor.client.pid",
"com.oplus.camera"
],
"privileged_app_list": [
"com.google.android.GoogleCamera",
"com.ss.android.ugc.aweme",
"com.ss.android.ugc.trill",
"com.zhiliaoapp.musically",
"com.shopmoment.momentprocamera",
"com.blink.academy.protake",
"org.codeaurora.snapcam",
"troop.com.freedcam",
"net.sourceforge.opencamera",
"com.caddish_hedgehog.hedgecam2",
"com.filmic.filmicpro",
"com.filmic.filmicpro.test",
"com.filmic.firstlight"
],
"limitSizeListForCts": [
4000, 3000,
3840, 2160,
3000, 3000,
3264, 2448,
2880, 2160,
2592, 1944,
3280, 2464,
2328, 1748,
2160, 1080,
1920, 1080,
1600, 1200,
1440, 1080,
1280, 960,
1280, 720,
1080, 1080,
640, 640,
720, 480,
640, 480,
352, 288,
320, 240,
176, 144,
0,0
],
"limitThumbnailSizeListForCts": [
0, 0,
176, 144,
213, 160,
240, 144,
256, 144,
240, 160,
256, 154,
246, 184,
352, 160,
240, 240,
400, 180,
320, 240
]
},
"org.codeaurora.ims": {
"isFreeDomEvictionPackge": true
},
"android": {
"isFreeDomEvictionPackge": true
},
"vendor.client.pid": {
"isFreeDomEvictionPackge": true
},
"autotest.oppo.com.simulatedlivebroadcast": {
"previewSizeForAPI1MAXWidth": 2592,
"previewSizeForAPI1MAXHeight": 1168,
"preview_size_limit": true
},
"com.zing.zalo": {
"previewSizeForAPI1Width": 1920,
"previewSizeForAPI1Height": 1080
},
"com.commsource.beautyplus": {
"previewSizeForAPI1Width": 1440,
"previewSizeForAPI1Height": 1080
},
"com.instagram.android": {
"limitAPI2Width": 1584,
"limitAPI2Height": 720,
"api2_limit_size": true,
"limitAPI2Picture": false
}
}

View File

@@ -0,0 +1,38 @@
on property:init.svc.mediadrm=running
mkdir /data/vendor/mediadrm 0770 media mediadrm
start vendor.move_data_sh
#ifndef OPLUS_FEATURE_DRM_WIDEVINEL3
#QinLing@MULTIMEDIA.MMSERVER.DRM, 2020/06/05, move move_widevine_data.sh to system_ext
#service vendor.move_data_sh /system/bin/move_widevine_data.sh
#else /* OPLUS_FEATURE_DRM_WIDEVINEL3 */
service vendor.move_data_sh /system_ext/bin/move_widevine_data.sh
#endif /* OPLUS_FEATURE_DRM_WIDEVINEL3 */
class late_start
user media
group media mediadrm system
disabled
oneshot
#ifndef OPLUS_FEATURE_DRM_WIDEVINEL3
#QinLing@MULTIMEDIA.MMSERVER.DRM, 2020/06/05, move service to odm
#service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-service.widevine
#else /* OPLUS_FEATURE_DRM_WIDEVINEL3 */
service vendor.drm-widevine-hal-1-3 /odm/bin/hw/android.hardware.drm@1.3-service.widevine
#endif /* OPLUS_FEATURE_DRM_WIDEVINEL3 */
interface android.hardware.drm@1.0::ICryptoFactory widevine
interface android.hardware.drm@1.0::IDrmFactory widevine
interface android.hardware.drm@1.1::ICryptoFactory widevine
interface android.hardware.drm@1.1::IDrmFactory widevine
interface android.hardware.drm@1.2::ICryptoFactory widevine
interface android.hardware.drm@1.2::IDrmFactory widevine
interface android.hardware.drm@1.3::ICryptoFactory widevine
interface android.hardware.drm@1.3::IDrmFactory widevine
interface android.hidl.base@1.0::IBase widevine
class hal
user media
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
capabilities SYS_NICE

View File

@@ -0,0 +1,66 @@
service fps_hal /odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.
class late_start
user system
group system input uhid
service oplus_fingerprints_sh /vendor/bin/sh /odm/bin/init.oplus.fingerprints.sh
class main
user root
oneshot
on boot
#for goodix_fp.
chown system system /dev/goodix_fp
#for egis fp
chown system system /dev/esfp0
chmod 0660 /sys/bus/platform/devices/egis_input/navigation_enable
chmod 0660 /sys/bus/platform/devices/egis_input/navigation_event
chown system system /sys/bus/platform/devices/egis_input/navigation_enable
chown system system /sys/bus/platform/devices/egis_input/navigation_event
#for silead fp
chown system system /dev/silead_fp
chmod 0666 /dev/silead_fp
on post-fs-data
#ifdef OPLUS_FEATURE_FINGERPRINT
#Ran.Chen@EXP.BSP.Fingerprint.Basic, 2017/07/12, modify for fpc in TRUSTONIC
chown system system /sys/bus/platform/devices/fpc_interrupt/clk_enable
chown system system /sys/bus/platform/devices/fpc_interrupt/wakelock_enable
chown system system /sys/bus/platform/devices/fpc_interrupt/irq
chown system system /sys/bus/platform/devices/fpc_interrupt/irq_enable
chown system system /sys/bus/platform/devices/fpc_interrupt/irq_unexpected
chmod 0200 /sys/bus/platform/devices/fpc_interrupt/irq_enable
chmod 0200 /sys/bus/platform/devices/fpc_interrupt/clk_enable
chmod 0200 /sys/bus/platform/devices/fpc_interrupt/wakelock_enable
chmod 0600 /sys/bus/platform/devices/fpc_interrupt/irq
chmod 0660 /sys/bus/platform/devices/fpc_interrupt/irq_unexpected
#endif /* OPLUS_FEATURE_FINGERPRINT */
#ifdef OPLUS_FEATURE_FINGERPRINT
#zhoubo@BSP.Biometrics.Fingerprint, 2020/09/10, modify for fpc in QCOM (SM6125R Homer)
chown system system /sys/bus/platform/devices/soc:fpc_fpc1020/irq
chown system system /sys/bus/platform/devices/soc:fpc_fpc1020/irq_enable
chown system system /sys/bus/platform/devices/soc:fpc_fpc1020/wakelock_enable
#endif /* OPLUS_FEATURE_FINGERPRINT */
#----------------------- for optical sensor begin ---------------------
mkdir /data/vendor/fingerprint 0770 system system
mkdir /mnt/vendor/persist/fingerprint 0770 system system
chown system system /sys/kernel/oplus_display/hbm
#----------------------- for optical sensor end ---------------------
#add for silead_optical_fp
mkdir /data/vendor/silead 0770 system system
mkdir /mnt/vendor/persist/fingerprint/silead 0770 system system
#add for egis optical fp
mkdir /data/vendor/optical_fingerprint 0770 system system
#Ziqing.Guo@EXP.BSP.Fingerprint.Basic, 2019/08/17, modify for sdsp init fail
on property:sys.boot_completed=1
setprop vendor.oplus.biometrics.fingerprint.boot_completed 1

View File

@@ -0,0 +1,4 @@
service vendor.oplusSensor-1-0 /odm/bin/hw/vendor.oplus.hardware.oplusSensor@1.0-service
class hal
user system
group system

View File

@@ -0,0 +1,281 @@
#########################################
# Log verbosity control for izat modules
#########################################
# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5
IZAT_DEBUG_LEVEL = 2
#ODM
##################################################
# Select WIFI Wait Timeout value in seconds for SUPL
##################################################
WIFI_WAIT_TIMEOUT_SELECT = 0
##################################################
# Time interval of injecting SRN scan data to modem
# time in seconds.
# Note: recommended value is between 1-5 sec
##################################################
LPPE_SRN_DATA_SCAN_INJECT_TIME=2
################################
# NLP Settings
################################
# NLP_MODE 1: OSNLP Only, 2: QNP Only, 3: Combo, 4: QNP preferred
# For Automotive products, please use NLP_MODE = 4 only.
# NLP_TOLERANCE_TIME_FIRST: Time in ms used in Combo mode
# to determine how much Tolerance for first position
# NLP_TOLERANCE_TIME_AFTER: Time in ms used in Combo mode
# to determine how much Tolerance for positions after first
# NLP_THRESHOLD: Sets how many failures needed before
# switching preferred NLP in Combo mode
# NLP_ACCURACY_MULTIPLE: Determines how far off the accuracy
# must be, in multiples, between two NLP location reports to
# be considered much worse accuracy. Used in switching logic
# NLP COMBO MODE USES QNP WITH NO EULA CONSENT: Determines
# whether or not to still send network location requests to
# QNP when the EULA is not consented to by the user. QNP can
# still return ZPP locations or injected locations even
# without EULA consent, but the uncertainty can be high.
# QNP preferred mode prefers QNP when there is EULA consent,
# otherwise OSNLP is used.
NLP_MODE = 1
NLP_MODE_EMERGENCY = 2
NLP_TOLERANCE_TIME_FIRST = 5000
NLP_TOLERANCE_TIME_AFTER = 20000
NLP_THRESHOLD = 3
NLP_ACCURACY_MULTIPLE = 2
NLP_COMBO_MODE_USES_QNP_WITH_NO_EULA_CONSENT = 1
#########################################
# NLP PACKAGE SETTINGS
#########################################
# OSNLP_PACKAGE: name of default NLP package
OSNLP_PACKAGE = com.google.android.gms
# REGION_OSNLP_PACKAGE:
# This value will be used as alternative
# for particular region where default NLP is not functional.
#REGION_OSNLP_PACKAGE =
###################################
# GEOFENCE SERVICES
###################################
# If set to one of the defined values below, it will override
# the responsiveness for geofence services, which implements
# the Proximity Alert API. If not set to a value defined below,
# which is default, it will not override the responsivness.
# The geofence HAL API is unaffected by this value.
# GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE Values:
# 1: LOW responsiveness
# 2: MEDIUM responsiveness
# 3: HIGH responsiveness
GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE = 0
#####################################
#GTP Opt-In app
#####################################
#GTP privacy policy version url
#https support is required
GTP_PRIVACY_VERSION_URL = https://info.izatcloud.net/privacy/version.html
#GTP privacy policy version download retry interval
#unit is second. default is 86400
GTP_PRIVACY_RETRY_INTERVAL = 86400
#####################################
# IZAT PREMIUM FEATURE SETTINGS
#####################################
#Possible states of a feature:
#DISABLED
#BASIC
#PREMIUM
#GTP_MODE valid modes:
# DISABLED
# LEGACY_WWAN
# SDK (WWAN not available for Modems before LocTech 10.0)
GTP_MODE=DISABLED
#GTP_WAA valid modes:
# DISABLED
# BASIC
GTP_WAA=DISABLED
#SAP valid modes:
# DISABLED
# BASIC
# PREMIUM
# PREMIUM_ENV_AIDING
# MODEM_DEFAULT
#ifndef OPLUS_BUG_COMPATIBILITY
#ShiMinghao@CONNECTIVITY.GPS.SAP.OPCUSTOMIZED, 2020/04/14, Modify for changing SAP mode from MODEM_DEFAULT to PREMIUM
#SAP=MODEM_DEFAULT
#else /* OPLUS_BUG_COMPATIBILITY */
SAP=PREMIUM
#endif /* OPLUS_BUG_COMPATIBILITY */
#FREE_WIFI_SCAN_INJECT valid modes:
#DISABLED
#BASIC
FREE_WIFI_SCAN_INJECT=BASIC
#SUPL_WIFI valid modes:
#DISABLED
#BASIC
SUPL_WIFI=BASIC
#WIFI_SUPPLICANT_INFO valid modes:
#DISABLED
#BASIC
WIFI_SUPPLICANT_INFO=BASIC
#####################################
# Location process launcher settings
#####################################
# DO NOT MODIFY
# Modifying below attributes without
# caution can have serious implications.
#Values for PROCESS_STATE:
# ENABLED
# DISABLED
#Values for LOW_RAM_TARGETS:
# ENABLED
# DISABLED
# Property to enable/disable processes for low ram targets. Uses ro.config.low_ram property
# to identify low ram targets.
#PROCESS_NAME
# Name of the executable file.
#FEATURE MASKS:
# GTP-WIFI 0X03
# GTP-MP-CELL 0xc00
# GTP-WAA 0x100
# SAP 0Xc0
# ODCPI 0x1000
# FREE_WIFI_SCAN_INJECT 0x2000
# SUPL_WIFI 0x4000
# WIFI_SUPPLICANT_INFO 0x8000
#Values for PLATFORMS can be:
#1. Any valid values obtained from ro.board.platform separated by single space. For example: msm8960 msm8226
#2. 'all' or 'all exclude' -> for All platforms
#3. 'all exclude XXXX' -> All platforms exclude XXXX. For example: all exclude msm8937
#Values for SOC_IDS can be:
#1. Any valid values obtained from soc_id node separated by single space. For example: 339 386 436
## soc_id value can be obtained from any one of below node:
## - /sys/devices/soc0/soc_id
## - /sys/devices/system/soc/soc0/id
#2. 'all' or 'all exclude' -> for All soc id's
#3. 'all exclude XXXX' -> All soc id's exclude XXXX. For example: all exclude 339 386
#Values for BASEBAND can be:
#1. Any valid values obtained from ro.baseband separated by single space. For example: sglte sglte2
#2. 'all' or 'all exclude' -> for all basebands
#3. 'all exclude XXXX' -> All basebands exclude XXXX. For example: all exclude sglte
PROCESS_NAME=lowi-server
PROCESS_ARGUMENT=
PROCESS_STATE=DISABLED
PROCESS_GROUPS=gps wifi inet oem_2901
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0xf303
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=0
PROCESS_NAME=xtwifi-inet-agent
PROCESS_ARGUMENT=
PROCESS_STATE=DISABLED
PROCESS_GROUPS=inet gps
PREMIUM_FEATURE=1
IZAT_FEATURE_MASK=0xc03
PLATFORMS=all
SOC_IDS=all exclude 386 436
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
PROCESS_NAME=xtwifi-client
PROCESS_ARGUMENT=
PROCESS_STATE=DISABLED
PROCESS_GROUPS=wifi inet gps system oem_2904
PREMIUM_FEATURE=1
IZAT_FEATURE_MASK=0xd03
PLATFORMS=all
SOC_IDS=all exclude 386 436
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
PROCESS_NAME=slim_daemon
PROCESS_ARGUMENT=
PROCESS_STATE=DISABLED
PROCESS_GROUPS=gps oem_2901 can plugdev diag sensors
PREMIUM_FEATURE=1
IZAT_FEATURE_MASK=0xf0
PLATFORMS=all
SOC_IDS=all exclude 386 436
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
PROCESS_NAME=xtra-daemon
PROCESS_ARGUMENT=
PROCESS_STATE=ENABLED
PROCESS_GROUPS=inet gps system
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=ENABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=0
########################################
# Engine Service which host DRE module #
# To enable DRE engine service, change #
# PROCESS_STATE=ENABLED #
########################################
PROCESS_NAME=engine-service
PROCESS_ARGUMENT=DRE-INT libloc_epDr.so
PROCESS_STATE=DISABLED
PROCESS_GROUPS=gps diag inet qwes oem_2901 system
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1
########################################
# Engine Service which host PPE module #
# To enable PPE engine service, change #
# PROCESS_STATE=ENABLED #
# and update process arugements #
# with PPE library name #
#PROCESS_ARGUMENT=PPE libepsimulator.so#
########################################
PROCESS_NAME=engine-service
PROCESS_ARGUMENT=PPE libepsimulator.so
PROCESS_STATE=DISABLED
PROCESS_GROUPS=gps diag inet qwes oem_2901 system
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
PLATFORMS=all
SOC_IDS=all
BASEBAND=all
LOW_RAM_TARGETS=DISABLED
HARDWARE_TYPE=all
VENDOR_ENHANCED_PROCESS=1

View File

@@ -0,0 +1,18 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<Data>
<Color_Temp>
2931,3024,3153,3310,3467,3642,3830,4041,4538,4730,4978,5063,5162,5282,5422,5587,5767,5982,6097,6214,6348,6510,6640,6782,6961,7105,7232,7460,7633,7854,8115,8352,8653,8955,9302,9628,9861,10072
</Color_Temp>
<Red>
1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,990,980,970,960,948,936,924,912,900,891,882,873
</Red>
<Green>
791,798,810,822,834,846,858,870,893,904,915,920,925,930,935,940,950,960,965,970,975,980,985,990,995,1000,995,990,985,980,971,962,953,944,935,932,929,926
</Green>
<Blue>
484,505,540,575,610,645,680,715,778,804,830,840,850,860,870,880,900,920,930,940,950,960,970,980,990,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000
</Blue>
<Default>
7105
</Default>
</Data>

View File

@@ -0,0 +1,18 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<Data>
<Color_Temp>
3489,3525,3701,3899,4250,4435,4653,4885,5097,5378,5601,5815,5988,6175,6357,6575,6776,6910,7055,7180,7328,7570,7826,8117,8461,8739,8983,9161,9371,9638,9889,10120
</Color_Temp>
<Red>
1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,990,975,960,945,930,915,905,895,882,869,860,854
</Red>
<Green>
794,795,810,825,850,860,870,881,893,905,915,930,940,950,960,970,980,986,993,1000,993,980,967,954,941,928,925,922,917,912,910,907
</Green>
<Blue>
586,595,625,660,715,739,768,799,827,855,875,895,910,925,940,955,970,980,990,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000
</Blue>
<Default>
7230
</Default>
</Data>

View File

@@ -0,0 +1,180 @@
################################
# Sensor Settings
################################
#The following parameters are optional.
#Internal defaults support MEMS sensors
#native to most handset devices.
#Device specific sensor characterization
#for improved performance is possible as
#described in SAP application notes.
#GYRO_BIAS_RANDOM_WALK=
#ACCEL_RANDOM_WALK_SPECTRAL_DENSITY=
#ANGLE_RANDOM_WALK_SPECTRAL_DENSITY=
#RATE_RANDOM_WALK_SPECTRAL_DENSITY=
#VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY=
# Hache out.
#ODM file
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 0
# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
# used in loc_eng_reinit
SENSOR_ACCEL_BATCHES_PER_SEC=2
SENSOR_ACCEL_SAMPLES_PER_BATCH=5
SENSOR_GYRO_BATCHES_PER_SEC=2
SENSOR_GYRO_SAMPLES_PER_BATCH=5
# Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0)
SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4
SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25
SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4
SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
# Sensor Control Mode (0=AUTO, 1=FORCE_ON, 2=MODEM_DEFAULT)
# used in loc_eng_reinit
SENSOR_CONTROL_MODE=2
#ODM
# Bit mask used to define which sensor algorithms are used.
# Setting each bit has the following definition:
# 0x1 - DISABLE_INS_POSITIONING_FILTER
# 0x0 - ENABLE_INS_POSITIONING_FILTER
SENSOR_ALGORITHM_CONFIG_MASK=0x0
#Vehicle Network Provider configuration
#Service configuration strings
#The number before colon in VN_X items defines version of the format of the rest of the string
#VN_ACCEL_CFG=0:5
#VN_GYRO_CFG=0:5.5
#VN_ODOMETRY_CFG=0:2,4.5
################################################
# QDR3 configurations #
################################################
#VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
#VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
VN_SPEED_CFG=1:777,0,0,1,3,1,0.002778,0,40,8,32,8
VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
################################################
# QDR2-Gyro configurations #
################################################
#VN_GYRO_CFG=1:555,0,1,0,0,0,0,-6.5,6.6066,-6.5,-1.00,2,6.607,6.6068,0,0,16,0.0002,0,16,0.0002,0,16,0.0002
#VN_SPEED_CFG=1:555,0,0,1,2,1,0.01,0,56,8,48,8
#VN_GEAR_CFG=1:555,16,4,0,1,1,9,0,1,2,3,4,5,6,7,8
################################################
# QDR2-DWT configurations #
################################################
#VN_SPEED_CFG=1:555,22,1,2,1,1,1,0,8,8,23,1,2,0,1,0,8,8,23,1
#VN_GEAR_CFG=1:555,12,4,16,14,16,8,1,2,3,4,5,6,7,8
#VN_DWS_CFG=1:555,0,0,1,3,1,1,0,0,8,0,0,8,8,0,0,16,8,0,0,24,8,0,0
#VN_GYRO_CFG=1:555,40,16,1.0,40,16,1.0,40,16,1.0
#####################################################################################
# VNW service batching configuration strings #
# VNW provider will initialize default type as Time based batching #
# Each service batch value is configured to be 100 #
# VN_ACCEL_CFG_BATCH_VALUE will be treated as time in Ms if VN_CFG_BATCH_TYPE #
# is set to time based batching #
# VN_ACCEL_CFG_BATCH_VALUE will be treated as sample count if VN_CFG_BATCH_TYPE #
# is set to count based batching #
# Uncomment and update batch time /sample count as per selected batching type #
#####################################################################################
# Batching type
# 1 - Time based (default)
# 2 - Count based
VN_CFG_BATCH_TYPE=1
#Vehicle Accel batching value, it can either accept time in milli seconds or sample count
#VN_ACCEL_CFG_BATCH_VALUE=100
#Vehicle Gyro batching value, it can either accept time in milli seconds or sample count
VN_GYRO_CFG_BATCH_VALUE=50
#Vehicle Odo batching value, it can either accept time in milli seconds or sample count
#VN_ODOMETRY_CFG_BATCH_VALUE=100
#Vehicle Speed batching value, it can either accept time in milli seconds or sample count
VN_SPEED_CFG_BATCH_VALUE=50
#Vehicle Gear batching value, it can either accept time in milli seconds or sample count
VN_GEAR_CFG_BATCH_VALUE=50
#Vehicle DWS batching value, it can either accept time in milli seconds or sample count
#VN_DWS_CFG_BATCH_VALUE=100
####################################################################################
#Procesors clock ratio: AP and CAN bus microcontroller
################################################
# QDR3 configurations #
################################################
VN_PROC_CLOCK_RATIO=1.0
################################################
# QDR2-DWT OR QDR2-Gyro configurations #
################################################
#VN_PROC_CLOCK_RATIO = 1.0
# Time source used by Sensor HAL
# Setting this value controls accuracy of location sensor services.
# 0 - Unknown
# 1 - CLOCK_BOOTTIME
# 2 - CLOCK_MONOTONIC
# 3 - CLOCK_REALTIME
# 4 - CLOCK_BOOTTIME using Alarm timer interface
NDK_PROVIDER_TIME_SOURCE=1
# Sensor Batching Configuration
# 0 - Time based
# 1 - Fixed count based
# 2 - Variable count based
COUNT_BASED_BATCHING=1
SYNC_ONCE=0
# Vehicle Network Data optimization
# Default value: 0
# Value 0x40000 - Speed(bit 18 eSLIM_SERVICE_VEHICLE_SPEED)
# Value 0x80000 - Speed(bit 19 eSLIM_SERVICE_VEHICLE_DWS)
# Value 0x100000 - Speed(bit 20 eSLIM_SERVICE_VEHICLE_GEAR)
VN_ENABLE_DATA_OPTIMIZATION=0x100000
# Vehicle Network Data Routing time interval
# This is applicable only if VN_ENABLE_DATA_OPTIMIZATION value is set
# Default value: 5000 msec
VN_DATA_ROUTING_TIME_INTERVAL_MSEC=3000
#Sensor HAL Provider Configuration HAL Library name including path
################################################
# #
# Configuration for BMI 160 Sensor #
# #
################################################
#SENSOR_TYPE=2
#SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1
################################################
# #
# Configuration for ASM330 Sensor #
# #
################################################
SENSOR_TYPE=1
SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1
################################################
# #
# Configuration for IAM20680 Sensor #
# #
################################################
#SENSOR_TYPE=3
#SENSOR_HAL_LIB_PATH=/usr/lib/libiam20680sensors.so.1
################################################
# #
# Configuration for SMI130 Sensor #
# #
################################################
#SENSOR_TYPE=4
#SENSOR_HAL_LIB_PATH=/usr/lib/libsmi130sensors.so.1

View File

@@ -0,0 +1,91 @@
{
"20801_20803":{
"platform_config":{
"sensor_arch":"qcom_sensor_see"
},
"sensor_config":{
"android.sensor.accelerometer":{
"type":1,
"support":"true",
"module":"bmi26x|icm4x6xx",
"bmi26x":{
"mode":"batch_cali|factory_cali",
"offset_x": 0.0,
"offset_y": 0.0,
"offset_z": 0.0
},
"icm4x6xx":{
"mode":"batch_cali|factory_cali",
"offset_x": 0.0,
"offset_y": 0.0,
"offset_z": 0.0
}
},
"android.sensor.magnetic_field":{
"type":2,
"support":"true",
"module":"ak0991x|mmc5603x",
"ak0991x": {
"mode": "batch_cali"
},
"mmc5603x": {
"mode": "batch_cali"
}
},
"android.sensor.gyroscope":{
"type":4,
"support":"true",
"module":"bmi26x|icm4x6xx",
"bmi26x":{
"mode":"batch_cali|factory_cali",
"radian_threshold":0.05,
"offset_x": 0.0,
"offset_y": 0.0,
"offset_z": 0.0
},
"icm4x6xx":{
"mode":"batch_cali|factory_cali",
"radian_threshold":0.05,
"offset_x": 0.0,
"offset_y": 0.0,
"offset_z": 0.0
}
},
"android.sensor.light":{
"type":5,
"support":"true",
"module":"stk33502",
"stk33502":{
"mode":"factory_cali|micro_gap",
"cali_para": 1000
}
},
"android.sensor.proximity":{
"type":8,
"support":"true",
"module":"stk33502",
"stk33502":{
"mode":"ignore_mean|micro_gap|factory_cali",
"delta_threshold":150,
"ps0_offset": 0,
"ps0_distance_delta": 110,
"ps1_offset": 0,
"ps1_distance_delta": 0
}
},
"android.sensor.step_counter":{
"type":19,
"support":"true",
"module":"module_ignore",
"module_ignore":{
"mode":"virtual_sensor"
}
},
"qti.sensor.sensor_logger":{
"type":33171024,
"support":"true",
"module":"module_ignore"
}
}
}
}

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.drm</name>
<transport>hwbinder</transport>
<fqname>@1.3::ICryptoFactory/widevine</fqname>
<fqname>@1.3::IDrmFactory/widevine</fqname>
</hal>
</manifest>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*************************************************************
** Copyright (C), 2008-2020, OPLUS Mobile Comm Corp., Ltd
**
** Description : 1.0
** This is a common file
**
** Version: 1.0
** Date created: 12:00, 2020/05/26
** Author: tangjh@PSW.BSP.SENSOR
**
*************************************************************/
-->
<manifest version="1.0" type="device">
<hal format="hidl">
<name>vendor.oplus.hardware.oplusSensor</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>ISensorFeature</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*************************************************************
** OPLUS_FEATURE_FINGERPRINT
** Copyright (C), 2008-2021, OPLUS Mobile Comm Corp., Ltd
**
** Description : 1.0
** This is a hidl manifest for fingerprint
**
** Version: 1.0
** Date created: 12:00, 2021/05/31
** Author: Qijia.Zhou@BSP.Fingerprint.Basic
**
*************************************************************/
-->
<manifest version="1.0" type="device">
<hal override="true" format="hidl">
<name>android.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<version>2.3</version>
<interface>
<name>IBiometricsFingerprint</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oplus.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>IBiometricsFingerprint</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More