Snap for 8305076 from 7fc24f25a4
to udc-release
Change-Id: Id8f4223d3d1d04cd6f5f18e9965c24028e18df78
This commit is contained in:
commit
af8aed094b
5 changed files with 7 additions and 19 deletions
|
@ -35,6 +35,7 @@ TARGET_CPU_VARIANT_RUNTIME := cortex-a53
|
||||||
BOARD_KERNEL_CMDLINE += dyndbg=\"func alloc_contig_dump_pages +p\"
|
BOARD_KERNEL_CMDLINE += dyndbg=\"func alloc_contig_dump_pages +p\"
|
||||||
BOARD_KERNEL_CMDLINE += earlycon=exynos4210,0x10A00000 console=ttySAC0,115200 androidboot.console=ttySAC0 printk.devkmsg=on
|
BOARD_KERNEL_CMDLINE += earlycon=exynos4210,0x10A00000 console=ttySAC0,115200 androidboot.console=ttySAC0 printk.devkmsg=on
|
||||||
BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y
|
BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y
|
||||||
|
BOARD_KERNEL_CMDLINE += cgroup_disable=memory
|
||||||
BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs
|
BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs
|
||||||
|
|
||||||
TARGET_NO_BOOTLOADER := true
|
TARGET_NO_BOOTLOADER := true
|
||||||
|
|
|
@ -214,6 +214,8 @@ on init
|
||||||
chown system system /sys/devices/platform/10970000.hsi2c/i2c-5/5-0050/eeprom
|
chown system system /sys/devices/platform/10970000.hsi2c/i2c-5/5-0050/eeprom
|
||||||
chown system system /sys/devices/platform/10970000.hsi2c/i2c-4/4-0050/eeprom
|
chown system system /sys/devices/platform/10970000.hsi2c/i2c-4/4-0050/eeprom
|
||||||
chown system system /sys/devices/platform/10da0000.hsi2c/i2c-6/6-0050/eeprom
|
chown system system /sys/devices/platform/10da0000.hsi2c/i2c-6/6-0050/eeprom
|
||||||
|
chown system system /dev/battery_history
|
||||||
|
chmod 0644 /dev/battery_history
|
||||||
|
|
||||||
# Modem temperature driver
|
# Modem temperature driver
|
||||||
chown radio system /sys/devices/platform/cp-tm1/cp_temp
|
chown radio system /sys/devices/platform/cp-tm1/cp_temp
|
||||||
|
|
|
@ -62,15 +62,6 @@
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.renderscript</name>
|
|
||||||
<transport arch="32+64">passthrough</transport>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IDevice</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.drm</name>
|
<name>android.hardware.drm</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
|
|
@ -53,15 +53,6 @@
|
||||||
<instance>default</instance>
|
<instance>default</instance>
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.renderscript</name>
|
|
||||||
<transport arch="32+64">passthrough</transport>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IDevice</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format = "hidl">
|
<hal format = "hidl">
|
||||||
<name>android.hardware.dumpstate</name>
|
<name>android.hardware.dumpstate</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
|
|
@ -35,12 +35,14 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
||||||
.SlowioWriteCntPath = UFSHC_PATH(slowio_write_cnt),
|
.SlowioWriteCntPath = UFSHC_PATH(slowio_write_cnt),
|
||||||
.SlowioUnmapCntPath = UFSHC_PATH(slowio_unmap_cnt),
|
.SlowioUnmapCntPath = UFSHC_PATH(slowio_unmap_cnt),
|
||||||
.SlowioSyncCntPath = UFSHC_PATH(slowio_sync_cnt),
|
.SlowioSyncCntPath = UFSHC_PATH(slowio_sync_cnt),
|
||||||
|
.CycleCountBinsPath = "/sys/class/power_supply/battery/cycle_counts",
|
||||||
.UFSLifetimeA = UFSHC_PATH(health_descriptor/life_time_estimation_a),
|
.UFSLifetimeA = UFSHC_PATH(health_descriptor/life_time_estimation_a),
|
||||||
.UFSLifetimeB = UFSHC_PATH(health_descriptor/life_time_estimation_b),
|
.UFSLifetimeB = UFSHC_PATH(health_descriptor/life_time_estimation_b),
|
||||||
.UFSLifetimeC = UFSHC_PATH(health_descriptor/life_time_estimation_c),
|
.UFSLifetimeC = UFSHC_PATH(health_descriptor/life_time_estimation_c),
|
||||||
.F2fsStatsPath = "/sys/fs/f2fs/",
|
.F2fsStatsPath = "/sys/fs/f2fs/",
|
||||||
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
|
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
|
||||||
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
|
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
|
||||||
|
.EEPROMPath = "/dev/battery_history",
|
||||||
.SpeakerTemperaturePath = "/sys/devices/platform/audiometrics/speaker_temp",
|
.SpeakerTemperaturePath = "/sys/devices/platform/audiometrics/speaker_temp",
|
||||||
.SpeakerExcursionPath = "/sys/devices/platform/audiometrics/speaker_excursion",
|
.SpeakerExcursionPath = "/sys/devices/platform/audiometrics/speaker_excursion",
|
||||||
.SpeakerHeartBeatPath = "/sys/devices/platform/audiometrics/speaker_heartbeat",
|
.SpeakerHeartBeatPath = "/sys/devices/platform/audiometrics/speaker_heartbeat",
|
||||||
|
@ -57,7 +59,8 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
||||||
|
|
||||||
const struct UeventListener::UeventPaths ueventPaths = {
|
const struct UeventListener::UeventPaths ueventPaths = {
|
||||||
.AudioUevent = "/devices/virtual/amcs/amcs",
|
.AudioUevent = "/devices/virtual/amcs/amcs",
|
||||||
};
|
.WirelessChargerPtmcPath = "/sys/class/power_supply/wireless/device/ptmc_id",
|
||||||
|
.TypeCPartnerUevent = "PRODUCT_TYPE="};
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
LOG(INFO) << "starting PixelStats";
|
LOG(INFO) << "starting PixelStats";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue