Commit graph

1016 commits

Author SHA1 Message Date
Android Build Coastguard Worker
bc2ce5734a Snap for 9200392 from 55f8dbd064 to tm-qpr2-release
Change-Id: I975c9b99de4a075cbaa980bf6a8ae499fdc069bb
2022-10-20 23:03:15 +00:00
Android Build Coastguard Worker
1a3f7a3c75 Snap for 9195661 from 83da3a8261 to tm-qpr2-release
Change-Id: Ib5b979add0fca8c8a1423f79721522381f6f0e12
2022-10-19 23:03:15 +00:00
Martin Liu
55f8dbd064 adjust watermark level
Increase watermark_scale_factor to 200 to better handle
burst memory allocation.

Bug: 251881967
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ibe663456671892f2ec0e5e20e592b80c96bd371b
2022-10-19 20:33:22 +00:00
Darren Hsu
83da3a8261 powerstats: expose data provider methods for specific configurations
Please see the bug description for more details.

Bug: 253951732
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If22930a45c2f0db6437ff57ecc6bc2985f0895e8
Merged-In: If22930a45c2f0db6437ff57ecc6bc2985f0895e8
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-19 06:38:54 +00:00
Android Build Coastguard Worker
818ca9c0fd Snap for 9190355 from 190a5de57b to tm-qpr2-release
Change-Id: Ib6b8b74debca937255d46a00a8c99a40f9305a75
2022-10-18 23:08:29 +00:00
Wayne Lin
190a5de57b gps: update gps driver 147.20.23.552120
- Fix OnChipAccMask setting is not working
 - Fix SUPL connection issue caused by incorrect DNS caching in gpsd
 - Fix ADR_STATE_HALF_CYCLE_RESOLVED is not set properly for GLONASS
 - 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: 249908120
Bug: 247476666
Bug: 247733027
Bug: 230404480

Verify test: b/253951391
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I0982fdaea2cc26f2864c9611154606f8a3af6b3c
2022-10-18 06:26:47 +00:00
Android Build Coastguard Worker
64d0b8eb26 Snap for 9185292 from 19177f8ada to tm-qpr2-release
Change-Id: Ibe9cd0836f39ead0123c9ec2432d54d5699b19a6
2022-10-17 23:07:02 +00:00
Speth Chang
19177f8ada gs201: create catpipe folder for camera useage
The folder will be used for place the necessary libraries that used by
catpipe functions.

Bug: 249274299
Test: build pass, check the folder with user build
Change-Id: Ibb54e7c0b171f355ee2b71099533afe15ba09e99
2022-10-17 06:13:42 +00:00
Android Build Coastguard Worker
8aeed7e75d Snap for 9181667 from 57282c4cc4 to tm-qpr2-release
Change-Id: Idc24f35f1796e05381ebefbc6178c73fb148ba81
2022-10-16 21:12:10 +00:00
Nicole Lee
57282c4cc4 Update pixel stability logging mask
- Enable GP_CH_COMM, GP_SMPF_TASK, GP_SMPF_UTIL

Bug: 250742408
Change-Id: I034e82502bf58ce5f492ca708028c5bfdfe10a58
2022-10-16 13:50:28 +00:00
Android Build Coastguard Worker
6f5bc983d2 Snap for 9180607 from 747f7bb6d7 to tm-qpr2-release
Change-Id: I3c05e5312e7026ec1c1cc55042b54c6c98d7bef4
2022-10-15 21:06:54 +00:00
Android Build Coastguard Worker
8ba0ed2226 Snap for 9178587 from 6ebf1dceb0 to tm-qpr2-release
Change-Id: I688c19ae5c0b25087bfecfa6f8a04914fcdfbbe2
2022-10-15 01:03:24 +00:00
Ruofei Ma
747f7bb6d7 update performance-point for AV1 decoder
AV1 decoder supports 6 instances 1080p at 30fps, so we need
to publish 180fps for 1080p performance point. Since 180fps
is not standard performance point, we also publish 120fps to
meet the requirement which requires at least one standard
performance point is published.

Bug: 242818250

Test: CtsMediaPerformanceClassTestCases
Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints

Signed-off-by: Ruofei Ma <ruofeim@google.com>
Change-Id: I3a46cd3b4856de0e6f6ecb411e47f9e8c366a79d
2022-10-15 00:12:17 +00:00
George Lee
6ebf1dceb0 pixelstats: enable mitigation stats for gs201
Corresponding change to reflect changes that enable mitigation stats.

Bug: 253522156
Test: Local Test.
$> cmd stats print-logs
$> logcat | grep <atom id>
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia0ab4e6da0f908dbca8402db9d767577863035bd
2022-10-14 15:57:59 +00:00
GOOGLE\huangaustin
a089e44eb1 [PixelLogger][P22] Update P22 default.nprf to enable LTE_DM/DRX TC trace for Power team
bug: 246867493
Change-Id: I4600e4c285f035fea1fbde7202292a8dfb87aa43
2022-10-14 09:59:19 +00:00
Android Build Coastguard Worker
2a2c8321c4 Snap for 9173498 from 7f2a1321a2 to tm-qpr2-release
Change-Id: I6b7595c4e71da91f30df89a1bcf74843c4e6d84d
2022-10-13 23:03:29 +00:00
George Lee
7f2a1321a2 battery_mitigation: Fix lastmeal timestamp
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
2022-10-13 18:11:19 +00:00
linpeter
9afa58f656 Update IDisplay to V7
Bug: 241969007
Change-Id: I8edbf7621cc9b268ad23941366893ae979acb164
2022-10-13 08:11:53 +00:00
Darren Hsu
8112355636 powerstats: update GPU DVFS to fix GPU EnergyConsumer issue
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>
2022-10-12 18:44:50 +08:00
Android Build Coastguard Worker
37eafe1792 Snap for 9163457 from e3abb196ec to tm-qpr2-release
Change-Id: I5d6eb17090e473572fc15de428cf65fcac4ca143
2022-10-11 23:03:30 +00:00
Wayne Lin
e3abb196ec gps: update gps driver 147.20.23.551041
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
2022-10-11 13:39:24 +00:00
Kyle Tso
d0c6349927 usb: Modify the permission of additional i2c-max77759tcpc path
Bug: 251106770
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I8b9dcc4b3de7b390f752ee410022dd0d86be9c40
2022-10-11 05:48:54 +00:00
Android Build Coastguard Worker
95235ad8da Snap for 9158784 from 8a8a2c92a2 to tm-qpr2-release
Change-Id: I402e0d4c72718271338625a98bc4834cad985a28
2022-10-10 23:06:57 +00:00
George Lee
8a8a2c92a2 bcl: Add mitigation ready check
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
2022-10-10 17:37:34 +00:00
Android Build Coastguard Worker
59843006e5 Snap for 9154961 from 78841a5be9 to tm-qpr2-release
Change-Id: Ibaf11e1df03bd73504e7760f59f62ebce3153814
2022-10-08 21:06:57 +00:00
Prasanna Prapancham
78841a5be9 Change ownership of charge_stats to system for clearing
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
2022-10-08 11:30:30 +00:00
Android Build Coastguard Worker
2435e8bfb1 Snap for 9148167 from f7ffd91480 to tm-qpr2-release
Change-Id: Ib80bfc6a4a90dd761b147d131f2e93108360ce48
2022-10-06 23:03:32 +00:00
Wayne Lin
f7ffd91480 gps: update gps driver 147.20.23.550494
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
2022-10-06 05:13:32 +00:00
GOOGLE\huangaustin
6b8586ab0e [P22][M23] Replace the content of default with Pixel_default and delete Pixel_default
bug: 250787128
Change-Id: I5214255f2300d1a2a828e4eb1b5554b6ff671e96
2022-10-06 02:14:01 +00:00
Android Build Coastguard Worker
f7db3acc9b Snap for 9143244 from 3ee92877ae to tm-qpr2-release
Change-Id: I13c81adf917829e75b4a3e63e7edab8dd20c24cd
2022-10-05 23:08:20 +00:00
Cyan_Hsieh
3ee92877ae Scale the flexibility for telephony euicc settings
disable copying the xml if DISABLE_TELEPHONY_EUICC set to true

Bug: 246514347
Change-Id: I2b7c2a8f831cdf068129fd0b6f2f7efeb74e94bb
2022-10-05 15:10:33 +08:00
Android Build Coastguard Worker
bb2eb59657 Snap for 9133013 from 2307196bb8 to tm-qpr2-release
Change-Id: I62a6c7daed7028b2e837d1e2cc669424f91c3eb0
2022-10-03 23:06:41 +00:00
Kyle Tso
2307196bb8 Disable USB contaminant detection when the disable flag is true
(ported from 6b1106498e1164f46b9a895ed2258a20a0c7a7b5)

Bug: 244658328
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I9d17748d24f3c402deaddb8a9bca89f8ef606056
Merged-In: I9d17748d24f3c402deaddb8a9bca89f8ef606056
2022-09-30 08:56:59 +00:00
Ray Chi
bfb57fd23f usb: remove redundant changes for USB nodes
Bug: 248982089
Test: build pass
Change-Id: Ic93017c26aada15cb04fc2d5cbeb9c9b07c999fa
2022-09-30 08:35:05 +00:00
Kyle Tso
a83716ff8d usb: Remove the permission change of unused nodes
Bug: 248982089
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I4707e3bbd7fa1d42e08577edba8d9bb52cc7c061
2022-09-30 08:35:05 +00:00
Doreen Wang
96b8020d7f RESTRICT AUTOMERGE: [3A] Update LOCAL_TARGET_PRODUCT for T6Pro
Update LOCAL_TARGET_PRODUCT for T6Pro.
Bug: 246290120
Test: build pass

Change-Id: If0fa3f4437f5fced9b48dffff04ebfad93d56c53
2022-09-28 17:48:56 +00:00
Doreen Wang
18a733b2cc Revert "RESTRICT AUTOMERGE: [3A] Update LOCAL_TARGET_PRODUCT for T6Pro"
This reverts commit bdfa409901.

Reason for revert: broken build

Change-Id: I01203f3389eeef7ea331cc4ee240148007dd75a7
2022-09-27 00:28:16 +00:00
Doreen Wang
bdfa409901 RESTRICT AUTOMERGE: [3A] Update LOCAL_TARGET_PRODUCT for T6Pro
Update LOCAL_TARGET_PRODUCT for T6Pro.
Bug:246290120
Test: build pass
Change-Id: Ifcda3fd12f634a331f1f0f5859bf16f48a83a7bf

Change-Id: I5c021728dcfb6a55691684b6fdc966be6f4cf4e5
2022-09-24 18:10:02 +00:00
Sayanna Chandula
dd651b1bfe pixelstats: add thermal stats paths
Add thermal metrics paths in sysfs paths list

Bug: 228247740
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ibcdef9a10dea7698cbb511015ea2835994ddbf89
2022-09-23 19:48:41 +00:00
Jeremy Kemp
6ef57bda36 GPU: Remove write to ifpo sysfs node.
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>
2022-09-23 16:55:20 +00:00
Sean.JS Tsai
6e2913695d Add notification pregrant for WfcActivation
Bug: 241721849
Bug: 246485672

Change-Id: I3d8e4c167bac36e9d5ae921cd6b382a0f38a08f7
2022-09-23 03:50:08 +00:00
Carter Hsu
1979e0bcf9 audio: remove CCA default setting from common
Bug: 248151108
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia48b5ef5829cb347f79b555f8c5d3edfb13acff9
2022-09-23 00:49:19 +00:00
Habib Moukalled
4002a1139d Upgrade device VINTF manifest for IDebugHost
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)
2022-09-22 12:39:56 +00:00
Jean-Michel Trivi
65b6f92788 Include Dolby codecs
Include Dolby codecs for non-AOSP builds.

Bug: 244253825
Test: verify DD+ decoding is chosen by streaming app
Change-Id: Ib4f2e4fc49d8786c38234f40313ef40e4e15972f
2022-09-21 14:16:31 +00:00
wenchangliu
d89cff2fdb [DO NOT MERGE] temporal remove CQ mode for HEVC encoder
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
2022-09-21 10:00:14 +00:00
Darren Hsu
e4c0888a1e powerstats: change data source for CPU CLx-DVFS
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>
2022-09-21 08:37:33 +00:00
Jenny Ho
47adfbe5fa init: add permission to adjust wlc fan alarm level
Bug: 246486657
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Id02b6e415aad9f5dae081c45e4db667c27966130
2022-09-20 12:42:38 +08:00
Sayanna Chandula
45618a6723 Revert "thermal: Fix misalignment from removal of gxp cdev"
This reverts commit baedb92abf.

Re-enable gxp cooling device

Bug: 238273184
Test: build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I341636bc5e7d8feced4593fdbd2638c244051499
Merged-In: I341636bc5e7d8feced4593fdbd2638c244051499
2022-09-19 20:33:36 +00:00
Sayanna Chandula
b8acf39ef0 Revert "thermal: remove gxp cooling device dependency"
This reverts commit 617f8719f5.

Re-enable gxp cooling device

Bug: 238273184
Test: build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I3787c11e674b6781b81d01aad2abc88d99c1d1d0
Merged-In: I3787c11e674b6781b81d01aad2abc88d99c1d1d0
2022-09-19 20:33:20 +00:00
Hsiu-Chang Chen
d1b167f396 wifi: Add flag BOARD_WLAN_CHIP
Need a flag other than TARGET_DEVICE to identify
which WifiHal subfolder we want to use.

Bug: 246974867
Test: Build pass
Change-Id: Idf1a7af8e52a235e0491f6fb9ab09a4c37fe5713
2022-09-16 11:31:17 +08:00