Lastmeal.txt may be generated from after device rebooted from IRQ
triggering. By applying limit on the time when it generates,
lastmeal.txt will not be generated after device rebooted.
Bug: 246817058
Test: Trigger brownout and confirm lastmeal.txt has correct timestamp
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I8b52f44fdc64f5ef74e0059720ed58c845e5bf60
Failed to create GPU EnergyConsumer due to invalid coefficient
size. The size of GPU coefficient list should be equal to the
size of available GPU DVFS list in uid_time_in_state.
Bug: 243455584
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I7938e3e89d8e1e9a43c49cff60249a723f76b969
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Support new IPC sitIndGpsNfwData and sitIndApEmcState for modem location privacy feature.
- sitIndGpsNfwData
Modem can report NFW data for CP non-AGNSS cases like E-CID/OTDOA to
gpsd
- sitIndApEmcState
Modem can get emergency status from gpsd
Bug: 215260323
Bug: 229463130
Bug: 230404480
Verify test: b/251369354
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I2912a3c6f0d078a17b5426c22aceccc3a0408133
Instead of relying on vendor.thermal.link_ready property to gate write
to BCL's SYSFS node, adding mitigation ready SYSFS so that writes to
BCL's SYSFS node would not cause NULL pointer dereference.
Bug: 249130916
Test: Confirm property vendor.brownout.mitigation.ready is set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic643a07ddb657cfc7e22537d5d25d0d99324e31c
Test: Tested with tablet with dock. Userspace is able to read
and clear sysfs node successfully
Bug: 218802317
Signed-off-by: Prasanna Prapancham <prapancham@google.com>
Change-Id: Ice5ec79d912f154203a548c6c40470952d806289
Add NAVIC factory test to improve the time of L5 CW test
Fix millisecond error in receivedSvTimeNanos and the corresponding pseudoranges
Add protection code when gpsd call sensor API
Fix invalid sensor availability status report in the PGLOR msg
Bug: 235192024
Bug: 236572839
Bug: 240389454
Bug: 244118456
Verify test: b/249001109
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I37ca4158e1f20f671e284ee55ced703400127b68
As part of pa/2288829, this node becomes unsupported.
Prevents -ENOTSUPP errors when trying to write to Mali's ifpo sysfs
node.
Test: Boot to homescreen
Bug: 247571932
Change-Id: I0b579728a5b2a4355d648020113dda0592f904aa
Signed-off-by: Jeremy Kemp <jeremykemp@google.com>
Notes:
- Update the HAL version in VINTF manifest from
AIDL 1.0 to AIDL 2.0
Bug: 245126454
Test: E2E auth enroll, atests
Change-Id: Id8fac0965407438d9a4195e9021fefdb56320490
(cherry picked from commit 4abe8cc283)
Include Dolby codecs for non-AOSP builds.
Bug: 244253825
Test: verify DD+ decoding is chosen by streaming app
Change-Id: Ib4f2e4fc49d8786c38234f40313ef40e4e15972f
We are too late to upgrade the latest version of libyuv in Android T
to fix color conversion (BT.709 YUV to RGB) accuracy issue in HeifWriterTest when we exposed CQ mode for H/W hevc encoder. Move CQ mode support in Android U.
Note: remove CQ mode support, HeifWriterTest will use software hevc encoder to run the test. Since software encoder only support 512x512 resolution the default color primary is using BT.601 which will not
meet color accuracy issue.
Bug: 242466144
Test: atest android.media.misc.cts.HeifWriterTest
Change-Id: Iad6524c94937bffdc061f36973ffd41a525a181e
CPU CLx-DVFS stats provided by fvp_stats are incorrect. Although
acpm stats are closer to final vote results, data accuracy is most
important. Change the data source of CPU CLx-DVFS from fvp_stats
to soc cpufreq.
Bug: 246501821
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4018f9f561d87140adfba847f2f07c672810aad0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Need a flag other than TARGET_DEVICE to identify
which WifiHal subfolder we want to use.
Bug: 246974867
Test: Build pass
Change-Id: Idf1a7af8e52a235e0491f6fb9ab09a4c37fe5713
Recent reboot reason is updated. Mitigation logger needs to be updated
per change.
Bug: 239548433
Test: Confirm lastmeal is generated.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7a9fd4225e5f3b0843e666f77296441ff44fbc4b
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