Commit graph

586 commits

Author SHA1 Message Date
Andrew Chant
fe8380c456 Merge "Revert "Zuma: Hold wakelock on boot"" into udc-d1-dev 2023-02-28 21:10:32 +00:00
Sayanna Chandula
2c76893efc Merge "thermal: set dfs clock divider to 8" into udc-dev am: 359287372a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21551760

Change-Id: Ib4075d60ca4a6c185116c7ce7f0ea53a2c8360eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28 20:56:56 +00:00
Andrew Chant
cad4f138ca Revert "Zuma: Hold wakelock on boot"
This reverts commit 98f3b8a913.

Reason for revert: Fix in ag/21649593
Bug: 247032124

Change-Id: Ib7d127d835dde8c1ab9e9e66ce4fa78837947c49
2023-02-28 18:32:57 +00:00
Sayanna Chandula
359287372a Merge "thermal: set dfs clock divider to 8" into udc-dev 2023-02-28 18:12:21 +00:00
Ryan Chu
98f3b8a913 Zuma: Hold wakelock on boot
Hold wakelock on boot to mitigate suspend/resume

Bug: 247032124
Change-Id: I113862adbce70604cf184b5b1bb62fde8ab264d5
(cherry picked from commit 99e7d26840)
2023-02-28 17:46:12 +00:00
Hasini Gunasinghe
7f51fa5a41 Merge "Set the environment variable to switch the Keymint HAL service to Rust" into udc-d1-dev 2023-02-28 02:22:53 +00:00
Binhao Lin
7e0b8725de Merge "Enable new multicam framework for P23" into udc-dev am: 2fd4b02088
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21560136

Change-Id: I47707ef8e82bc6d0b12adf498a3d567cbacfe0ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-27 23:58:18 +00:00
Binhao Lin
2fd4b02088 Merge "Enable new multicam framework for P23" into udc-dev 2023-02-27 23:31:14 +00:00
Armelle Laine
35a81f6207 Enable Trusty persist storage (TDP) on block-device
- Define selinux property for /dev/block/by-name/trusty_persist
- Add symlink into init.zuma.rc

Bug: 247013568
Test: - Verify that this change is a NOP for devices with TDP already
        created on top of the legacy f2f2 partition /mnt/vendor/persist/ss
      - Verify that this change creates a valid symlink on a manually
        migrated block device
Change-Id: I231938e708e5a5d6d64818e184a92acdc0ba37de
2023-02-27 22:42:08 +00:00
Sayanna Chandula
fadc2aeb42 thermal: set dfs clock divider to 8
Increase the DFS clock divider to avoid thermal reset.
Disable CPU cluster power down during clock settings.

Bug: 268768104
Test: Build and boot on device. Check with geek bench test

Change-Id: Ic4b959a7db0c5e903d617531d449b08cc5c81d0a
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-02-27 22:33:33 +00:00
Hasini Gunasinghe
9c6d86ddaa Set the environment variable to switch the Keymint HAL service to Rust
Ref: aosp/2328294

Note:
This CL switches the Keymint HAL to the Rust implementation which can
only communicate with a Keymint TA implemented in Rust in Trusty.
go/gpar/489149 switches the Keymint TA to the Rust implementation.

Therefore, this CL is one of two CLs that needs to be synced in order
for the zuma devices to be able to boot with
Keymint Rust implementation.

Bug: 197891150
Bug: 225036046
Test: VtsAidlKeyMintTargetTest
Change-Id: I53307b3911a478d941fc2d6cc39f3d410ad050e0
2023-02-27 18:14:52 +00:00
Binhao Lin
5640a78f48 Enable new multicam framework for P23
Bug: 240167574
Test: Camera test checklist
Change-Id: Ia7c119be8ae044c827c948d6bab722dd8c03ea7d
2023-02-24 15:17:17 -08:00
Cody Heiner
061587742a Merge "Add Pixel touch service." into udc-dev am: 43cec0a541
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21574707

Change-Id: I8b34e8d48ae2643411d0ffe68f90bdc22e849424
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 22:52:20 +00:00
Cody Heiner
43cec0a541 Merge "Add Pixel touch service." into udc-dev 2023-02-24 22:20:17 +00:00
Philip Quinn
7a1c5b2ac7 Add Pixel touch service.
Bug: 270444888
Test: make on udc-dev and udc-d1-dev-plus-aosp-without-vendor
Change-Id: Iac1dee5578099dca25eee57da8e9a7eefa42adda
2023-02-24 07:59:56 +00:00
Adam Shih
c4b1ded167 Merge "Move HWC dump to gs-common" into udc-dev 2023-02-24 03:17:38 +00:00
Xiang Wang
3f8b2b92ae Merge "Move thermal utils to hardware/interfaces" into udc-dev 2023-02-23 04:29:41 +00:00
Jayachandran C
1c77cb2baf Do not compile AoC audio for aosp and factory builds
Fix: 265179406
Fix: 269273333

Test: make
Change-Id: I07a78748ff18fb8dd772bdc83e072974f12c70ac
Merged-In: I07a78748ff18fb8dd772bdc83e072974f12c70ac
(cherry picked from commit c97337e9f8)
2023-02-22 15:36:16 +00:00
Ricky Niu
704316d8ba Fix up open bugs from gs201 AIDL migration
1. Remove unused group "wakelock".
2. Correct the right return value on setCurrentUsbFunctions.

Bug: 266694076
Test: Boot to home and function work
Change-Id: If0925a61e481e4deca560dc8dfc1be80a76c148f
(cherry picked from commit 5c7e338667a7f21c27f5789c16a4781dcbbe8755)
2023-02-22 06:50:55 +00:00
Ricky Niu
400c1a9ca3 Add resetCb
Add the resetCb to complete asynchronous

Bug: 267252826
Test: Boot to home and function work
Change-Id: I9d6624cbe15c86c63e28f8f176d7c560aed8446f
(cherry picked from commit f14cbd637085145feff255b192a8031375fcdaa4)
2023-02-22 06:50:51 +00:00
Ricky Niu
1915b65459 Migrate IUsbGadget implementation to AIDL
This change migrates IUsbGadget implementation to AIDL.

Bug: 218791946
Test: USB function switch success and AIDL service is running.
Change-Id: I7cc7070d875c26bc42f99aef84d5e5a41606223f
Signed-off-by: Ricky Niu <rickyniu@google.com>
(cherry picked from aosp commit d6d0b7d2ca5066988ee90889dccd00c06d64b694)
2023-02-22 06:50:43 +00:00
Ricky Niu
4d736354f3 usb: limit the current to 1.3A when connect to accessory
For imporve USB stability, limit the current to 1.3A,
when connect to accessory.

Bug: 206635552
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I2c1091aa7111e6242cc949923fbc86f27e54e976
(cherry picked from commit e6cacbcff21d315763943469038c9ca8822a7f37)
2023-02-22 06:42:06 +00:00
Adam Shih
04ca8b59c9 Move HWC dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: I454668d8df81069fdd78bf573a428f4adb8adc6b
2023-02-22 13:54:55 +08:00
Adam Shih
bd03995252 remove gps function from header file
Bug: 240530709
Test: adb bugreport
Change-Id: I1f3eb7d3f8fc08d089c3a1a236da44082b5fbd8d
2023-02-22 04:50:33 +00:00
More Kuo
7a061bb7f5 Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,66,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 14: LE audio
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x42 -> 66 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 268583002
Test: Check COD

Change-Id: I46b62aa06296f3b565cd35da5d6742ab0b30fab8
2023-02-22 03:35:28 +00:00
Adam Shih
700b5287f8 Merge "make dumpLogSection compatible to new structure" into udc-dev 2023-02-22 03:00:42 +00:00
Cheng Chang
e0e7b8501c Merge "gps: separate sdk version" into udc-dev 2023-02-22 03:00:38 +00:00
Xiang Wang
d43341a801 Move thermal utils to hardware/interfaces
Bug: b/269370789
Test: m
Change-Id: Id813adc99746b171693f983230f9193431f25693
Merged-In: Id813adc99746b171693f983230f9193431f25693
2023-02-22 01:25:40 +00:00
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
Adam Shih
d6bd696649 make dumpLogSection compatible to new structure
Bug: 240530709
Test: adb bugreport
Change-Id: I731a7f59e327789018330c2ca7353105de1ddb8f
2023-02-21 11:07:42 +08:00
Cheng Chang
4f441a437b gps: separate sdk version
Test: sanity test at b/268167428
Test: sanity test at b/268166962
Test: atest CtsLocationGnssTestCases
Test: atest VtsHalGnssTargetTest
Bug: 268165042
Change-Id: Iadba50f626c23a01eb0643cc78b750458b5e12bf
2023-02-21 03:00:06 +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