This is done by conditionally including the makefile under vendor so
that AOSP builds where vendor is not present do not faile.
(cherry picked from commit a3a42642f3)
Bug: 203234558
Test: data wipe in Android recovery mode on raven
Test: data wipe in Android recovery mode on c10
Test: data wipe in user mode fastbootd mode on raven
Test: data wipe in user mode fastbootd mode on c10
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: I0ef9dd1ea9eae90ed4feabd19bf9edc7434a572b
Since we have tablet project and its COD device class should not
be same as phone, we need to add tag for each tablet project so
that when we build project, we can use different COD setting toward
different projects.
Bug: 244403430
Test: build project and check EIR
tablet should have ComputeR/handheld PC/PDA class and phone should
have Phone/Smartphone class
Change-Id: I044d93b3c2200ad2025ae44319f0836b079f2584
Move lhd.conf, scd.conf to device folder and maintain them separately by project requirement
Bug: 244258007
Test: confirm the configurations are correct
Change-Id: I8cd14eea3d805c77dfe863285548f090d5fed538
Bug: 244359848
Test: Confirm SOC based throttling removed
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ideac2224be741b8bb1cc179f27fea0f634a03921
GPU EnergyConsumer should include both S8S_VDD_G3D_L2 and
S2S_VDD_G3D channels.
Bug: 243455584
Test: verified both channels are included
Change-Id: Ia63c89ff5ba24d026a4f0b1e368141521e47b611
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Revert "move digital car key wiping to gs-common"
Revert "clear secure element of Digital Car Keys during factory ..."
Revert "dck: switch to gs--common implementation of digital car ..."
Revert submission 19734547-b203234558-qpr1
Reason for revert: see b/243864778
Reverted Changes:
I53967a5e8:dck: pick up recovery mode library for digital car...
I8fd944c60:dck: switch to gs--common implementation of digita...
I6e8c80818:move digital car key wiping to gs-common
I60052ca58:Support calling WipeKeys with out a ui object
I459d81800:clear secure element of Digital Car Keys during fa...
Change-Id: Ic3f42d0d2c6c78be47cacf9794e7727e6ee5475f
USF saves a stat buffer to the filesystem periodically. Dump this as
part of bugreports.
Bug: 242320914
Test: Stats are visible in a bugreport.
Change-Id: I2020f48026fcad19e41c8959e404e0a0783a2ef0
This is done by pick optionally including a Makefile so that aosp builds
in which the library is not present will pass.
Bug: 203234558
Test: adb reboot recovery; wipe data via menu; verify keys removed
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: I53967a5e8ea0327d6467623929902b90eb2c85da
Move charger pixel-thermal-symlink from common to project folder
to prevent the GKI version dependencies from blocking init.
Bug: 240897207
Test: thermal_symlinks worked properly in charging mode
Change-Id: I46a4fe59fe62845f8197d3a59b18af0945a163f4
Dump the touch information and rawdata when bugreport is triggered.
Bug: 214118904
Test: adb bugreport
Change-Id: I08834cf0176be69359264189b703486e33925f2b
Signed-off-by: Wendly Li <wendlyli@google.com>
Change the value so that it will map to 910 MHz on mid cores, which
aligns the result of P21.
Bug: 234561004
Test: build pass
Change-Id: I372462d240c5de295959878322c62cc3657cce7c
Support to exclude baro, HIFI, prox sensor features
Bug: 240652154
Test: adb shell pm list features
Change-Id: Ia1a14acc208f04e2264d3ee03a1cef958fd829af
Reduce /sys/power/pm_freeze_timeout to 1s from default of 20s.
Data shows that the 20s timeout is rarely hit before suspend is aborted
due to a wakeup/interrupt. Reducing the timeout will help with
diagnosing task freezing issues and will reduce time spent attempting
suspend.
Bug: 239743579
Test: Successfuly boot to home, verify change in node
Signed-off-by: Ananth Raghavan Subramanian <ananthrs@google.com>
Change-Id: I839764dd06ebd66110c11953baf13c06e598dd80
Merged-In: I839764dd06ebd66110c11953baf13c06e598dd80
(cherry picked from commit e84f3603d1)
Copy files in persist/.*
Don't leave md5sums file in the persist folder.
Bug: 239632964
Signed-off-by: Andrew Chant <achant@google.com>
Change-Id: I7d351806f95ccc28fcfec4d45ecf3bda488e7e15
Add TARGET_PRODUCT variable to aoc daemon build. This will be useful for
including/excluding certain features depending on product type, e.g.
T6 hotword AP offload.
BUG: 240748763
Change-Id: I412309789279830e2380764bb475a9c65b39c355
The specific device uses QC solution on wifi. Include WLAN state
residency data provider in PowerStatsHAL for the device.
Bug: 231397821
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I268dd007c9998c9453107a7ff9507203aee0f87c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Bug: 232461104
Test: Ensure Adaptive Charging/Battery health flags works as expected
Change-Id: I8266f622641ca42672685ce3869f03b433cadbe6
Merged-In: I8266f622641ca42672685ce3869f03b433cadbe6
The specific device uses QC solution on Bluetooth. Remove support
of Bluetooth state residency data provider in PowerStatsHAL on the
specific device.
Bug: 231395549
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ic94d9ca2ddefa5ac09bc83bf156a4972562506ea
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Let clients determine the configuration of camera flash/autofocus
features. Copy the rule by conditions:
- android.hardware.camera.xml for a non auto-focus camera.
- android.hardware.camera.flash-autofocus.xml for an auto-focus camera.
Bug: 239142680
Test: adb shell pm list features
Change-Id: I82fc7284743453712b6468efbb348c25b8c2ca88
User will enable/disable this feature from UI setting
Bug: 239889098
Test: dock-defend is disabled by default
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I1b0dd49208f345d4edeee81f9b07d2de93f97d45