Commit graph

443 commits

Author SHA1 Message Date
Chris Paulo
ccefd63fa7 BoardConfig: Add haptics actuator model config and adaptive haptics
config

Add soong config definition for haptics actuator model to support pwle
characterization, and support adaptive haptics compilation

Bug: 264682582
Bug: 198239103
Test: Manual test to confirm proper characterization
Change-Id: I2c792ee5c6acd4ef102a81c4e524c6739ddb05e5
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-03-06 20:58:15 +00:00
Adam Shih
5c2d07e775 Merge "Move modem dump log to gs-common" into udc-dev 2023-03-06 07:33:19 +00:00
Jack Wu
5d02637b59 Revert "Revert "zuma: update AIDL IGoogleBattery manifest version to 2""
Bug: 271224032
Test: TH
This reverts commit 6cd2eb1735.

Change-Id: If33832486305b5e7df8ae96f2888dfd3b5f4ef97
2023-03-04 13:10:36 +08:00
Sayanna Chandula
cba4a82603 Merge "thermal: allow disp_therm trip point change by system" into udc-dev 2023-03-03 18:02:25 +00:00
Sayanna Chandula
5bfd0dfe4b thermal: allow disp_therm trip point change by system
Bug: 268735739
Test: Build and boot on device

Change-Id: I255c97f6155cdbad79209f96d7a16c5580635ead
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-03 18:00:32 +00:00
Jack Wu
6cd2eb1735 Revert "zuma: update AIDL IGoogleBattery manifest version to 2"
Bug: 271224032
Test: TH
Reason for revert: Build Breakage on redfin

This reverts commit 172a3c5167.

Change-Id: Ibe1eedbe5ebc604f6f022716b9f34059adb85186
2023-03-03 19:17:47 +08:00
Midas Chien
7b4da9ab73 Merge "BoardConfig: support SKIP_VALIDATE by default" into udc-dev 2023-03-03 03:48:40 +00:00
Jack Wu
172a3c5167 zuma: update AIDL IGoogleBattery manifest version to 2
Bug: 271224032
Test: TH
Change-Id: I5db4e189fc537c15b9cbb7afb3b30874823309d2
Signed-off-by: Jack Wu <wjack@google.com>
2023-03-02 11:44:03 +00:00
Ernie Hsu
fe78132e16 Merge "Include mediacodec_samsung setting from gs-common" into udc-dev 2023-03-02 08:38:54 +00:00
Chien Kun Niu
7946bd55e7 Merge changes If0925a61,I9d6624cb,I7cc7070d,I2c1091aa into udc-dev
* changes:
  Fix up open bugs from gs201 AIDL migration
  Add resetCb
  Migrate IUsbGadget implementation to AIDL
  usb: limit the current to 1.3A when connect to accessory
2023-03-02 06:59:25 +00:00
Adam Shih
e305d69c78 Move modem dump log to gs-common
Bug: 240530709
Test: adb bugreport
and the following file got to dumpstate_board.bin:
extended_log_uim.txt
extended_log_os.txt
nv_normal.bin
nv_protected.bin

Change-Id: I4994cdef97805aa54dbf54b218beea796a6b7969
2023-03-02 14:10:49 +08:00
Adam Shih
a759a55943 Merge "move gxp dump to gs-common" into udc-dev 2023-03-02 02:45:46 +00:00
Adam Shih
cb302d9794 move gxp dump to gs-common
ag/21644929 is where the operation lives in the future.
Bug: 240530709
Test: adb bugreport
Change-Id: I6e621228a1964ec0b83afe02cd0059c7ee361b20
2023-03-01 21:58:41 +00:00
Ernie Hsu
6fb95110c4 Include mediacodec_samsung setting from gs-common
Bug: 263444717
Test: build pass, camera record, youtube
Change-Id: If553375d51d038627ed8d5fb0900e9e676f6015f
2023-03-01 11:41:46 +00:00
Midas Chien
a9fb23b80d BoardConfig: support SKIP_VALIDATE by default
Bug: 270479799
Test: VtsHalGraphicsComposer3_TargetTest
Change-Id: I7fbcdbaa793389b2fc70010e3ae69d018d74f12f
2023-03-01 15:56:09 +08:00
Armelle Laine
ef7ce3877c Merge "Enable Trusty persist storage (TDP) on block-device" into udc-dev 2023-03-01 03:41:09 +00:00
Sayanna Chandula
359287372a Merge "thermal: set dfs clock divider to 8" into udc-dev 2023-02-28 18:12:21 +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
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
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
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