Snap for 10179466 from bb66e2c758
to udc-qpr1-release
Change-Id: Ia761b71c633e396db14c5758e23998e623cee697
This commit is contained in:
commit
944b969e30
8 changed files with 44 additions and 26 deletions
|
@ -365,6 +365,10 @@ on init
|
||||||
chown system system /sys/devices/platform/13120000.pcie/link_stats/link_recovery_failures
|
chown system system /sys/devices/platform/13120000.pcie/link_stats/link_recovery_failures
|
||||||
chown system system /sys/devices/platform/13120000.pcie/link_stats/link_up_failures
|
chown system system /sys/devices/platform/13120000.pcie/link_stats/link_up_failures
|
||||||
|
|
||||||
|
# Change GSA log group for dumpstate
|
||||||
|
chown root system /sys/devices/platform/16490000.gsa-ns/log_main
|
||||||
|
chown root system /sys/devices/platform/16490000.gsa-ns/log_intermediate
|
||||||
|
|
||||||
on post-fs
|
on post-fs
|
||||||
# Ensure device is ready and start storageproxyd
|
# Ensure device is ready and start storageproxyd
|
||||||
wait /dev/sg1
|
wait /dev/sg1
|
||||||
|
@ -840,14 +844,6 @@ on property:sys.boot_completed=1
|
||||||
chown root system /sys/devices/platform/19000000.aoc/reset
|
chown root system /sys/devices/platform/19000000.aoc/reset
|
||||||
chmod 0220 /sys/devices/platform/19000000.aoc/reset
|
chmod 0220 /sys/devices/platform/19000000.aoc/reset
|
||||||
|
|
||||||
# AOC UDFPS clock compensation permission
|
|
||||||
chown system system /sys/devices/platform/17000000.aoc/control/udfps_set_clock_source
|
|
||||||
chmod 220 /sys/devices/platform/17000000.aoc/control/udfps_set_clock_source
|
|
||||||
chown system system /sys/devices/platform/17000000.aoc/control/udfps_get_osc_freq
|
|
||||||
chmod 440 /sys/devices/platform/17000000.aoc/control/udfps_get_osc_freq
|
|
||||||
chown system system /sys/devices/platform/17000000.aoc/control/udfps_get_disp_freq
|
|
||||||
chmod 440 /sys/devices/platform/17000000.aoc/control/udfps_get_disp_freq
|
|
||||||
|
|
||||||
# write serialno to battery path for pairing
|
# write serialno to battery path for pairing
|
||||||
write /sys/class/power_supply/battery/dev_sn ${ro.boot.serialno}
|
write /sys/class/power_supply/battery/dev_sn ${ro.boot.serialno}
|
||||||
|
|
||||||
|
|
|
@ -227,3 +227,8 @@
|
||||||
|
|
||||||
# Wlan
|
# Wlan
|
||||||
/dev/wlan 0660 wifi wifi
|
/dev/wlan 0660 wifi wifi
|
||||||
|
|
||||||
|
# Udfps
|
||||||
|
/sys/bus/aoc/devices/control udfps_set_clock_source 0220 system system
|
||||||
|
/sys/bus/aoc/devices/control udfps_get_osc_freq 0440 system system
|
||||||
|
/sys/bus/aoc/devices/control udfps_get_disp_freq 0440 system system
|
||||||
|
|
|
@ -698,7 +698,7 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/zuma/display/display_colordata_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_cal0.pb
|
device/google/zuma/display/display_colordata_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_cal0.pb
|
||||||
|
|
||||||
# limit DPP downscale ratio
|
# limit DPP downscale ratio
|
||||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.hwc.dpp.downscale=2
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.hwc.dpp.downscale=3
|
||||||
|
|
||||||
# Cannot reference variables defined in BoardConfig.mk, uncomment this if
|
# Cannot reference variables defined in BoardConfig.mk, uncomment this if
|
||||||
# BOARD_USES_EXYNOS_DSS_FEATURE is true
|
# BOARD_USES_EXYNOS_DSS_FEATURE is true
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
<compatibility-matrix version="1.0" type="framework" level="7">
|
<compatibility-matrix version="1.0" type="framework" level="8">
|
||||||
<hal format="aidl" optional="true">
|
<hal format="hidl" optional="true">
|
||||||
<name>android.hardware.biometrics.face</name>
|
<name>android.hardware.boot</name>
|
||||||
|
<version>1.2</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IFace</name>
|
<name>IBootControl</name>
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="aidl" optional="true">
|
<hal format="hidl" optional="true">
|
||||||
<name>android.hardware.biometrics.fingerprint</name>
|
<name>android.hardware.cas</name>
|
||||||
|
<version>1.2</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IFingerprint</name>
|
<name>IMediaCasService</name>
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
|
@ -29,6 +31,14 @@
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
|
<hal format="hidl" optional="true">
|
||||||
|
<name>android.hardware.neuralnetworks</name>
|
||||||
|
<version>1.3</version>
|
||||||
|
<interface>
|
||||||
|
<name>IDevice</name>
|
||||||
|
<instance>google-armnn</instance>
|
||||||
|
</interface>
|
||||||
|
</hal>
|
||||||
<hal format="hidl" optional="true">
|
<hal format="hidl" optional="true">
|
||||||
<name>android.hardware.radio</name>
|
<name>android.hardware.radio</name>
|
||||||
<version>1.2</version>
|
<version>1.2</version>
|
||||||
|
@ -37,14 +47,6 @@
|
||||||
<instance>slot2</instance>
|
<instance>slot2</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>android.hardware.radio.config</name>
|
|
||||||
<version>1.1</version>
|
|
||||||
<interface>
|
|
||||||
<name>IRadioConfig</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="aidl" optional="true">
|
<hal format="aidl" optional="true">
|
||||||
<name>android.hardware.vibrator</name>
|
<name>android.hardware.vibrator</name>
|
||||||
<version>2</version>
|
<version>2</version>
|
||||||
|
|
|
@ -23,3 +23,9 @@ sh_binary {
|
||||||
sub_dir: "dump",
|
sub_dir: "dump",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sh_binary {
|
||||||
|
name: "dump_gsa.sh",
|
||||||
|
src: "dump_gsa.sh",
|
||||||
|
vendor: true,
|
||||||
|
sub_dir: "dump",
|
||||||
|
}
|
||||||
|
|
8
dumpstate/dump_gsa.sh
Normal file
8
dumpstate/dump_gsa.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/vendor/bin/sh
|
||||||
|
|
||||||
|
echo "--- GSA MAIN LOG"
|
||||||
|
cat /sys/devices/platform/16490000.gsa-ns/log_main
|
||||||
|
|
||||||
|
echo "--- GSA INTERMEDIATE LOG"
|
||||||
|
cat /sys/devices/platform/16490000.gsa-ns/log_intermediate
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
PRODUCT_PACKAGES += dump_wlan.sh \
|
PRODUCT_PACKAGES += dump_wlan.sh \
|
||||||
dump_power.sh
|
dump_power.sh
|
||||||
|
|
||||||
PRODUCT_PACKAGES_DEBUG += dump_cma.sh
|
PRODUCT_PACKAGES_DEBUG += dump_cma.sh \
|
||||||
|
dump_gsa.sh
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<manifest version="1.0" type="device" target-level="7">
|
<manifest version="1.0" type="device" target-level="8">
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.graphics.mapper</name>
|
<name>android.hardware.graphics.mapper</name>
|
||||||
<transport arch="32+64">passthrough</transport>
|
<transport arch="32+64">passthrough</transport>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue