Commit graph

406 commits

Author SHA1 Message Date
Habib Moukalled
8efaff48bc Updating VINTF manifest for IDebugManager.
Notes:
- Adding new AIDL HAL for IDebugManager.

Bug: 249611327
Test: build test
Change-Id: I6e103a0027ab4f5705f6065d1a6c661c958976bf
2023-02-21 22:05:48 +00:00
Po-Ya Hsu
b741a63df2 Revert "Temporary turn off DSP Saliency and ESP."
This reverts commit 6191ab4e6b.

Reason for revert: Enable DSP Saliency and ESP by default.

Bug: 258342843
Test: Stability test passed (b/264671175)

Change-Id: Ib1ec0525511748567e96cbfdf830073687c85b8b
2023-02-20 03:52:33 +00:00
Nathan Huckleberry
d4aea9089b Enable HCTR2 for filenames encryption
Fix prefix-correlation weakness in filenames encryption by switching to
AES-256-HCTR2.  Enabling HCTR2 fixes a longstanding known weakness in
filenames encryption.

Also enable HCTR2 for adoptable storage.  Pixel phones don't have an SD
card slot.  So they can only have adoptable storage through the "Virtual
SD Card", which is for testing only.

Bug: 265046004
Test: Equivalent changes were tested on P21 since I don't have a P23.
Will be tested with storage-qa.

Change-Id: I0666eb07c4b93b1bab4da41e3b4f5019ac38c213
2023-02-18 02:03:15 +00:00
Adam Shih
3d012b65dd dumpstate should not be restricted to phones only
Bug: 240530709
Test: adb bugreport
Change-Id: I77d9bc3e75879293802b8d1956bfffee1513e3d7
2023-02-16 12:39:03 +08:00
Adam Shih
5f802b7e13 create cma dump
Bug: 240530709
Test: adb bugreport
Change-Id: Iadac309611bc6dd27615b087f159234d6f1b655c
2023-02-15 12:55:50 +08:00
Adam Shih
8eb00e662f move devfreq dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Ia5faaf0891a91fad1120358f38f40f6227d88d45
2023-02-15 11:11:00 +08:00
Florian Mayer
538441d7cd Merge "[Zuma] set mte_tcf_preferred to sync for little and mid cores" 2023-02-15 00:47:02 +00:00
Xiang Wang
38e184a6f0 Merge "Update USB HAL clients to use Thermal stable AIDL" 2023-02-14 22:24:31 +00:00
TreeHugger Robot
9f97f3aa68 Merge "Added libimsmedia and soong config variable (pixel specific) for improved wifi calling" 2023-02-14 13:32:15 +00:00
dhavalc
ed1065a826 Added libimsmedia and soong config variable (pixel specific) for improved wifi
calling

Fix: 265179406

Test: build(mm)
Change-Id: I0fc267624811eba5f288d70225b167ef13833ebe
2023-02-14 12:32:38 +00:00
TreeHugger Robot
eeb5af0d3f Merge "powerstats: add support of sleep duration in CPUPM data provider" 2023-02-14 08:27:10 +00:00
Adam Shih
ebf2357498 Move memory dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I579fb77c2743bae854ff10b1baf895d9df641971
2023-02-14 13:01:52 +08:00
Adam Shih
91274e75c1 Merge "Remove obsolete led dump" 2023-02-14 04:28:34 +00:00
Florian Mayer
0a55c41d15 [Zuma] set mte_tcf_preferred to sync for little and mid cores
SYNC mode increases report quality. It slightly degrades performance
over ASYNC, but for early dogfooding we value debuggability over
performance, as performance is not representative yet.

SYNC is prohibitively slow on the big core.

Test: cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred
Bug: 239832365
Change-Id: I71f552898808ffceba13de74526b7e50538e290f
2023-02-14 00:53:27 +00:00
Xiang Wang
4964215149 Update USB HAL clients to use Thermal stable AIDL
Bug: b/264594715
Test: boot test
Change-Id: I28bd0e7fab1812c7c5f02d2b0337648f23e7f6a1
2023-02-13 14:51:27 -08:00
Jaegeuk Kim
eb83660057 Remove deprecated f2fsstat
Change-Id: If5d1bdc39109150b7d49565760e28771656988f2
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-02-13 12:58:34 -08:00
Darren Hsu
a7dca1b9c1 powerstats: add support of sleep duration in CPUPM data provider
Bug: 263276734
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If873c5d50dd12a54addd14f56aebd48fdee91415
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-02-13 22:47:41 +08:00
Adam Shih
0584dcc4b5 Remove obsolete led dump
Bug: 240530709
Test: adb bugreport
Change-Id: Ie018b028c6819fb263d39826fd462e232291df6a
2023-02-13 11:54:12 +08:00
Adam Shih
e3aae9ad7d Merge "extract misc section from dumpstate" 2023-02-13 03:24:47 +00:00
Tim Lin
d0226c5674 Merge "include ril.mk to enable ril extension service" 2023-02-11 02:33:44 +00:00
Alan Chen
b3fdc8cd90 Merge "Create RadioExt v1.6." 2023-02-11 00:22:40 +00:00
Adam Shih
6fe621f1a5 extract misc section from dumpstate
Bug: 240530709
Test: adb bugreport
Change-Id: I209101de3cc5c583bbe73fbfc29ace80c4da31d2
2023-02-10 13:21:55 +08:00
timtmlin
69ded45aae include ril.mk to enable ril extension service
Bug: 258184594
Test: make
Change-Id: I353755abc219b665570aac6b29c81acadb5aab3f
2023-02-09 12:38:49 +00:00
TreeHugger Robot
a88ab70189 Merge "Revert "support RIL extension service using IRilExt"" 2023-02-09 06:29:17 +00:00
Tim Lin
dbd0de415f Revert "support RIL extension service using IRilExt"
Revert submission 20424805-ril-extension-service

Reason for revert: BB on partner branch

Reverted changes: /q/submissionid:20424805-ril-extension-service

Change-Id: I64dc5c969ad507959f9c6349847c737279603d41
2023-02-09 04:52:27 +00:00
Adam Shih
3361456f53 Merge "migrate power section to its own script" 2023-02-09 02:51:48 +00:00
TreeHugger Robot
56a2a0c5cb Merge "support RIL extension service using IRilExt" 2023-02-08 10:17:18 +00:00
Salmax Chang
9d136a1f4a Merge "init: restorecon modem persist file" 2023-02-08 07:49:19 +00:00
Salmax Chang
ee7873d879 init: restorecon modem persist file
Re-label the SElinux context of modem persist file

Bug: 258744063

Change-Id: Ibd06a8d0eb4f8aa1762c27497e88cde9d37d14b9
2023-02-08 07:47:52 +00:00
Adam Shih
948564f82b migrate power section to its own script
Bug: 240530709
Test: adb bugreport
Change-Id: I879525a3c067de1e6e6598d7a29741fd42d2f639
2023-02-08 07:11:44 +00:00
shengchiliu
94cc9e9c99 Create a folder to store the calibration file
This folder was created previously by a factory calibration script. On some 2023 devices, auto calibration will replace factory calibration, so the folder won't be automatically created in the factory anymore. We create the folder as part of the device initialization, so it is available by the time we try to write a new calibration file into the folder.

Bug: 246991030
Test: test on device
Change-Id: I8548bc7f7058f435cf3df6734de33bed62b86469
2023-02-07 18:36:09 -08:00
TreeHugger Robot
444ac894f6 Merge "Add head tracker feature." 2023-02-07 21:13:10 +00:00
Manish Kushwaha
1d25ae3053 Add head tracker feature.
Bug: 264833502
Test: Verified that head tracker feature is set and sensor feature CTS
 test passes.
Change-Id: If0180602903114016ef538b7a383b92f473cdb59
2023-02-07 19:25:29 +00:00
Jenny Ho
5059368362 dumpstate: dump battery defend logbuffer
Bug: 242679204
Change-Id: I85b1b7917445b0c53cff66d51a1af0e00ab488ec
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-02-05 14:03:30 +08:00
neoyu
3a6c284055 zuma: Enable SET_SCREEN_STATE request
Bug: 263081412
Test: build pass
Change-Id: I17cd92b248e6e111560caad8991b955251428e8f
2023-02-03 02:27:40 +08:00
Jack Wu
cadef9557f init: add permission for charging_policy access
Bug: 251425963
Test: write charging_policy sysfs node successfully
Change-Id: I2ee0788c5983bccd85d6e01aa6ea826b9addac41
Signed-off-by: Jack Wu <wjack@google.com>
2023-02-02 12:20:50 +00:00
alanblc
fad67dba1d Create RadioExt v1.6.
Bug: 264969235
Test: Manual
Change-Id: I3861f2a9e8dac1e19aca821bbf3c8d4293651e09
2023-02-02 14:52:06 +08:00
Doug Zobel
9b6a17e071 Merge "pixelstats: Configure PCIe link stats pathnames and access" 2023-02-01 15:04:04 +00:00
Sajid Dalvi
c649651b04 Merge "init: add dumpstate for pcie" 2023-01-31 19:53:26 +00:00
timtmlin
6af1a74ac0 support RIL extension service using IRilExt
Bug: 258184594
Test: make
Change-Id: I84b4d98e6f8874689ea84acff1b55e7c73ff9972
2023-01-31 15:14:15 +00:00
Dai Li
7914cd2f1a Merge "Blow AR upon boot success in zuma" 2023-01-30 22:16:21 +00:00
Florian Mayer
63a58603a2 Remove MTE user toggle from Zuma.
Change-Id: If62af28429b20cb38288ad86f452acf250088c19
2023-01-27 01:06:32 +00:00
Peter Collingbourne
0035373279 Merge "Temporarily disable KASAN until bugfix is merged into Shusky kernel." 2023-01-26 03:41:03 +00:00
Peter Collingbourne
3174340456 Temporarily disable KASAN until bugfix is merged into Shusky kernel.
Bug: 265863271
Change-Id: Ifdc9f910767406c4c37600a0b14f502e90bab0aa
2023-01-25 16:59:53 -08:00
Dai Li
35b3e91c75 Blow AR upon boot success in zuma
With otp driver migrated to trusty in zuma, use tipc to blow AR in
Android.

Bug: 232277507
Change-Id: I6908502244e96bf86f026596a395419eb3b9b877
2023-01-25 20:44:53 +00:00
Doug Zobel
ecb02c9cc0 pixelstats: Configure PCIe link stats pathnames and access
Test: adb logcat "pixelstats-vendor:D *:S"
Bug: 266689144
Change-Id: Ie528c3273e43e0a3401449a057eeb9c7e6004ecf
Signed-off-by: Doug Zobel <zobel@google.com>
2023-01-25 09:57:06 -06:00
Sajid Dalvi
9d79164804 init: add dumpstate for pcie
Add logbuffer support to pcie driver to reduce dmesg spam.

Bug: 228870318
Change-Id: I714110a83bd04972db1017fae7dd08ea61b7a31c
Signed-off-by: Sajid Dalvi <sdalvi@google.com>
2023-01-24 18:56:37 -06:00
Mahesh Sivasubramanian
5cb0ef1f4a zuma: Enable SICD after boot
Bug: 238226940
Change-Id: I43a00d12d97a8c5f86e6163c0fcf0160f9b5791f
Signed-off-by: Mahesh Sivasubramanian <msivasub@google.com>
2023-01-24 00:22:07 +00:00
TreeHugger Robot
7f59f49e22 Merge changes I9465cf81,Ic7c048e1
* changes:
  Set pKVM to enabled in /misc on A0 chips
  Set pKVM metrics tag
2023-01-23 17:57:00 +00:00
David Brazdil
f347cd224d Set pKVM to enabled in /misc on A0 chips
pKVM provides a workaround for A0 hardware issue. Signal to tests that
an A0 device should not be run without it by enabling it in /misc on
first boot. We only do this on debug builds.

Bug: 266183966
Test: flash, boot, reboot to bootloader, check 'fastboot oem pkvm'
Change-Id: I9465cf816c65943cba6e04b1d939b0bb5af4395d
2023-01-23 14:48:26 +00:00