Commit graph

460 commits

Author SHA1 Message Date
Adam Shih
d8cd6941d2 Merge "move modem operation to dump_modemlog" into udc-dev 2023-03-13 02:11:47 +00:00
Jasmine Cha
59829e247c Merge "audio: move audio hal hidl mk to gs-common." into udc-dev 2023-03-10 02:06:04 +00:00
Zac Iqbal
ee9b15b0d2 Merge "Updating VINTF manifest for IDebugManager." into udc-dev 2023-03-09 17:06:08 +00:00
Adam Shih
433e216823 move modem operation to dump_modemlog
Bug: 240530709
Test: adb bugreport
Change-Id: I3de4df39db7ee07b13e47e313bdee42598db37ba
2023-03-09 13:15:11 +08:00
Adam Shih
3d0464984f Merge "move ril dump to gs-common" into udc-dev 2023-03-09 05:10:39 +00:00
Adam Shih
b90aaae77b Merge "remove dump text section" into udc-dev 2023-03-09 05:09:26 +00:00
KRIS CHEN
1e84c90b64 Merge "Set permission for dpu hibernation sysfs node" into udc-dev 2023-03-09 03:53:46 +00:00
Jasmine Cha
918eb222b9 audio: move audio hal hidl mk to gs-common.
Bug: 259161622
Test: build pass and check audio function with HIDL service

Change-Id: I83a9f4103daccd5fd377a99b2aadaaa51544d918
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-09 10:06:20 +08:00
Adam Shih
1ba64b984e move ril dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I2784ec3414ed503b032a2268acca4e39044556f3
2023-03-08 11:41:34 +08:00
Kris Chen
ca44e39b68 Set permission for dpu hibernation sysfs node
Bug: 256947811
Bug: 251239489
Bug: 267271482
Test: Perform udfps osc compensation.
Change-Id: I0e9e48387d89cc5d51a23e659fb7e31d5a3e4d7c
2023-03-08 03:13:27 +00:00
Adam Shih
bdb4b8f669 remove dump text section
Bug: 269212897
Test: adb bugreport
Change-Id: I73d005268bd3964477a8af776362ec57f969cc0d
2023-03-07 10:54:07 +08:00
Adam Shih
608ff36086 Merge "move camera dump to gs-common" into udc-dev 2023-03-06 23:29:45 +00:00
Adam Shih
f122db3f24 Merge "Move common display dump to gs-common" into udc-dev 2023-03-06 22:27:50 +00:00
Sayanna Chandula
00064c8005 Merge "thermal: enable warm_reset on thermal shutdown" into udc-dev 2023-03-06 19:52:01 +00:00
Adam Shih
5c2d07e775 Merge "Move modem dump log to gs-common" into udc-dev 2023-03-06 07:33:19 +00:00
Adam Shih
881ed63c9e Move common display dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: Ib42ea1125b58b8a41da64b047238312b5f13bfbb
2023-03-06 06:33:30 +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
1f57994db5 thermal: enable warm_reset on thermal shutdown
Bug: 269552599
Test: Build and boot on device. Check lastlogcat on thermal shutdown

Change-Id: I39e84d7beeb19fe604b4accfcef9d9ed2240329a
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-03 11:57:26 -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
Adam Shih
5ed79e55dc move camera dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I9ffb7f1fd93462237e4610592d0589cedbc3d1ab
2023-03-02 15:09:16 +08: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