Commit graph

4925 commits

Author SHA1 Message Date
Ray Chi
314ea30a9f Revert "usb: modify the permission of USB gadget hal" am: ef1c863453 am: cf7e9d5784
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17040828

Change-Id: I006e99fb015d33d172243f21d0a995c1fdcc744a
2022-03-01 16:31:28 +00:00
Ray Chi
cf7e9d5784 Revert "usb: modify the permission of USB gadget hal" am: ef1c863453
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17040828

Change-Id: Id9b9080694bf607ca7cb96dde401baf750094102
2022-03-01 16:10:08 +00:00
Ray Chi
bf4705d0e5 Revert "usb: modify the permission of USB gadget hal" am: ef1c863453
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17040828

Change-Id: I7d14323d15096ff7d904f1fffe7b3c33cbd1b0fb
2022-03-01 16:10:01 +00:00
Ray Chi
ef1c863453 Revert "usb: modify the permission of USB gadget hal"
This reverts commit bdd4728a17.

Reason for revert: original issue is fixed.

Bug: 206902205
Test: adb work without the error of gadget hal.
Change-Id: I3b7ab36f93e8bb7d6c23d53d4a12ed95d441fede
2022-03-01 18:33:17 +08:00
Rick Yiu
deef929635 Support SetProcessProfiles for vendor groups am: 34cad67219 am: 6d2ee75a12
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17040824

Change-Id: Ie19371c38df8be67dcaacd49d4e333e70a59169d
2022-03-01 09:39:53 +00:00
Rick Yiu
aa5e4f11ef Support SetProcessProfiles for vendor groups am: 34cad67219
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17040824

Change-Id: Ifa8ddb264cdf2394bc36fd3448641722bb5e351e
2022-03-01 09:07:07 +00:00
Rick Yiu
6d2ee75a12 Support SetProcessProfiles for vendor groups am: 34cad67219
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17040824

Change-Id: If1049cdc096e825339d287e126a480f0de7a6c3c
2022-03-01 09:05:44 +00:00
Rick Yiu
7157f770d7 Support SetProcessProfiles for vendor groups
Add ProcFilePath for vendor group change of a process.

Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
2022-03-01 08:36:00 +00:00
Wayne Lin
ccbd45c0e1 gps: update gps driver 129.20.23.528102 am: ec6aba8e3f am: 8732a0ea7a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16966271

Change-Id: I598c9376a7baeea1472e0977c97ce3321c988bc2
2022-03-01 05:11:51 +00:00
Wayne Lin
efb4c90a12 gps: update gps driver 129.20.23.528102 am: ec6aba8e3f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16966271

Change-Id: Ia91cb8cdebf00b76604b8883d94422efa9502982
2022-03-01 04:50:29 +00:00
Wayne Lin
8732a0ea7a gps: update gps driver 129.20.23.528102 am: ec6aba8e3f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16966271

Change-Id: Ib13a472adde4412e9fc3a5a0a09f8d311105a50a
2022-03-01 04:49:27 +00:00
Rick Yiu
34cad67219 Support SetProcessProfiles for vendor groups
Add ProcFilePath for vendor group change of a process.

Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
2022-03-01 04:32:22 +00:00
Wayne Lin
ec6aba8e3f gps: update gps driver 129.20.23.528102
- Rescale DBH accuracy and add timestamp
 - Enable runtime LTE filter control feature
 - Pick newest FLP location for LPPe DBH
 - Not to request DBH location for the non-emergency NI
 - Keep reqporting PPS in duty-cycle
 - Release SUPL wakelock while framework restart
 - Fix NI AGPS accuracy and hot start accuracy issue
 - Fix cts testRequestFlush issue
 - Fix gps crash issue
 - Fix re-calibration on the fly issue
 - Fix OnChip mode TTFF issue
 - Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220724315
Test: build pass and GPS verify test pass

Change-Id: Id5f1680c9b935e8955991f87ee8c317b0a4d17aa
2022-03-01 04:20:23 +00:00
Badhri Jagan Sridharan
a8c5da9e89 [automerger skipped] Migrate IUsb implementation to AIDL am: a1deb18dfb am: 7f749bc736 -s ours
am skip reason: Merged-In I02753af4a41916b77ce110f9531504bf8c6a4691 with SHA-1 a1deb18dfb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17008872

Change-Id: Ie2393f59df9e535ef7617c1a0d981d1458137f47
2022-03-01 04:17:17 +00:00
Badhri Jagan Sridharan
0a73ca37de [automerger skipped] Migrate IUsb implementation to AIDL am: a1deb18dfb -s ours
am skip reason: Merged-In I02753af4a41916b77ce110f9531504bf8c6a4691 with SHA-1 e975471475 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17008872

Change-Id: I83132b7089e78aa5f194ee0ac0685c46d3a315e6
2022-03-01 03:55:58 +00:00
Badhri Jagan Sridharan
7f749bc736 Migrate IUsb implementation to AIDL am: a1deb18dfb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17008872

Change-Id: Idb543fc1c1093368f2807532a33cbe769ff104bc
2022-03-01 03:55:10 +00:00
Badhri Jagan Sridharan
a1deb18dfb Migrate IUsb implementation to AIDL
Cherry-pick of <775523d1eb>

This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Bug: 200993386
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
Merged-In: I02753af4a41916b77ce110f9531504bf8c6a4691
2022-03-01 03:32:23 +00:00
YiHo Cheng
0f6631f52b dumpstate: Add tmu register dump am: 1f04eb4aa6 am: baa169f3a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17005133

Change-Id: I7e701716ec2d5e108542252ac05ac205910ed7ff
2022-03-01 02:14:19 +00:00
YiHo Cheng
baa169f3a0 dumpstate: Add tmu register dump am: 1f04eb4aa6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17005133

Change-Id: I87e63c862b36094f973ef9c5fe9f60e3ab462cff
2022-03-01 01:54:00 +00:00
YiHo Cheng
31eeaa3a61 dumpstate: Add tmu register dump am: 1f04eb4aa6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17005133

Change-Id: I22ead37de5d68e71fc69f93937498161719174db
2022-03-01 01:52:40 +00:00
YiHo Cheng
1f04eb4aa6 dumpstate: Add tmu register dump
Add tmu register dump in thermal dumpstate section

Bug: 215040856
Test: check tmu register dump output in thermal dumpstate
Change-Id: Ia71d801b28b64abefbc472be717eb4e266599964
2022-03-01 01:23:19 +00:00
Android Build Coastguard Worker
b191b1345d Snap for 8228195 from 8f6f856c33 to udc-release
Change-Id: I0f8d74513c9f0688fccfb6cacedc99346b0579ed
2022-02-26 06:06:16 +00:00
wenchangliu
8f6f856c33 update media_codecs_aosp_c2.xml am: 4c25179eca am: 73a0a1c1dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17004203

Change-Id: Ieec4a307859eccef83e55adb53836376a3b2c5c9
2022-02-25 14:33:55 +00:00
wenchangliu
73a0a1c1dd update media_codecs_aosp_c2.xml am: 4c25179eca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17004203

Change-Id: I08efae1c9df74d986346db93913a2a4c0496f45d
2022-02-25 14:08:39 +00:00
wenchangliu
4c25179eca update media_codecs_aosp_c2.xml
- add performance-point for media performance class
 - add "vq-minimum-quality" for video codec

Bug: 220249926
Test: atest android.mediapc.cts.MultiTranscoderPerfTest
Test: minimum quality test
Change-Id: I6b1db8fd918fa032678b44faf5f87ff093daab2d
2022-02-25 13:40:01 +00:00
Devin Moore
19fa2a006b [automerger skipped] Build init_boot for new devices am: 2b15c10b02 am: 375b93df52 -s ours
am skip reason: Merged-In Idbd700b17d862f48ea568d1274a6550b965763ea with SHA-1 2b15c10b02 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17007802

Change-Id: I9dcdb5791f23ca96fef8457f241ed2d4ee51ce1f
2022-02-25 06:06:16 +00:00
Devin Moore
4e3972a940 [automerger skipped] Build init_boot for new devices am: 2b15c10b02 -s ours
am skip reason: Merged-In Idbd700b17d862f48ea568d1274a6550b965763ea with SHA-1 0b97d2b20a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17007802

Change-Id: Iab47cdf6add7a9d83605cfe32deca70520608b0f
2022-02-25 05:22:03 +00:00
Devin Moore
375b93df52 Build init_boot for new devices am: 2b15c10b02
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17007802

Change-Id: I247d05db260b56957ab7c8df63213f7a3f9e02bc
2022-02-25 04:06:26 +00:00
Android Build Coastguard Worker
011e7c5305 Snap for 8221814 from fc4dfdcc85 to udc-release
Change-Id: If1cb066f8370010b0e99f4d5d0ddbde557f1db0f
2022-02-25 04:01:25 +00:00
Badhri Jagan Sridharan
e975471475 Migrate IUsb implementation to AIDL
This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Bug: 200993386
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
2022-02-25 00:51:26 +00:00
Devin Moore
0b97d2b20a Build init_boot for new devices
Builds a new init_boot.img with the ramdisk that was previously in
boot.img.
Removes the ramdisk from boot.img.
Change fstab to make sure the /dev/block/by-name/init_boot_* entries are
created in first stage init for Verified Boot.
Add init_boot.img to the list of OTA images so it is picked up for OTA
updates.

Test: unpack_bootimg --boot_img=boot.img
Test: unpack_bootimg --boot_img=init_boot.img
Test: Build and boot new device with required bootloader changes
Bug: 211823573

Change-Id: Idbd700b17d862f48ea568d1274a6550b965763ea
2022-02-25 00:26:59 +00:00
Devin Moore
2b15c10b02 Build init_boot for new devices
Builds a new init_boot.img with the ramdisk that was previously in
boot.img.
Removes the ramdisk from boot.img.
Change fstab to make sure the /dev/block/by-name/init_boot_* entries are
created in first stage init for Verified Boot.
Add init_boot.img to the list of OTA images so it is picked up for OTA
updates.

Test: unpack_bootimg --boot_img=boot.img
Test: unpack_bootimg --boot_img=init_boot.img
Test: Build and boot new device with required bootloader changes
Bug: 211823573

Merged-In: Idbd700b17d862f48ea568d1274a6550b965763ea
Change-Id: Idbd700b17d862f48ea568d1274a6550b965763ea
2022-02-24 23:32:46 +00:00
Grace Chen
fc4dfdcc85 Enable DSDS by default am: 5443c7ec01 am: 181ed92223
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16938651

Change-Id: I7211bf2c6f8d3e7b153c9daaf03632cbae14b9d0
2022-02-24 15:35:11 +00:00
Grace Chen
181ed92223 Enable DSDS by default am: 5443c7ec01
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16938651

Change-Id: I5962e92afee65aa4e775e70fb433f8625c19add9
2022-02-24 15:12:57 +00:00
Grace Chen
5443c7ec01 Enable DSDS by default
Bug: 197273281
Test: Confirm DSDS property.
Change-Id: I007ef6b81ddfdb3d9692f286bbcb85c2bae5dae5
2022-02-24 14:49:00 +00:00
Sam Dubey
404dafdca0 Make hostapd optional am: e9893b4e61 am: f03532462b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16998404

Change-Id: I2b5898a0de27ed72685ccc1947c88aa964072f4e
2022-02-24 13:18:24 +00:00
SalmaxChang
9bba96271c dumpstate: correct verbose logging property am: a04c61d42b am: d69b9018a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16998026

Change-Id: Ie8b70a0d9523077f36e58bcf5109497e75415e4b
2022-02-24 12:55:53 +00:00
Sam Dubey
1baccdcad0 Make hostapd optional am: e9893b4e61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16998404

Change-Id: Ibd2cb20a7ae85754c5d5ab9e9c833c3b16c899e4
2022-02-24 10:48:51 +00:00
SalmaxChang
362c474a5d dumpstate: correct verbose logging property am: a04c61d42b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16998026

Change-Id: Ie769aa07f79b7ba4d195f51787c8b0d27f9752c4
2022-02-24 10:48:28 +00:00
Sam Dubey
f03532462b Make hostapd optional am: e9893b4e61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16998404

Change-Id: Id2589db3d1bd5fe547c2d93ff86885a773553fd5
2022-02-24 10:45:57 +00:00
Sam Dubey
e9893b4e61 Make hostapd optional
This is to mitigate build breakage.

Fix: 221164554
Bug: 207076973
Change-Id: Iaa6a79ea7a313356806c77575302c7b10e22e3fa
2022-02-24 10:41:15 +00:00
SalmaxChang
d69b9018a7 dumpstate: correct verbose logging property am: a04c61d42b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16998026

Change-Id: I00ce1ad600ae9d92d15fe224eab730c26d2e9404
2022-02-24 10:35:59 +00:00
Alex Hong
464b222e74 Upgrade PRODUCT_SHIPPING_API_LEVEL from 31 to 32 for gs201 devices am: 0c20f31dd7 am: de5bb6f02b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16973863

Change-Id: I2b6a44a6c6ce30c3869972458a9bae4ae1dbb323
2022-02-24 07:16:34 +00:00
SalmaxChang
a04c61d42b dumpstate: correct verbose logging property
Bug: 221173724
Change-Id: I9d525c55bed2f05e7e89d2253f7bd4f67b7cd6f3
2022-02-24 14:55:11 +08:00
Alex Hong
db583dd5f8 [automerger skipped] Upgrade PRODUCT_SHIPPING_API_LEVEL for gs201 devices am: 9984544ec8 am: 2639ce6637 -s ours
am skip reason: Merged-In Ifa9c7e103671e1072496f6f76dd0c3233fb46a6e with SHA-1 9984544ec8 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16972921

Change-Id: I7b590a8d943529bed35a415c4cd7029865dd140e
2022-02-24 06:54:53 +00:00
Alex Hong
0d55e71beb [automerger skipped] Remove tetheroffload service am: 592769127d am: 7644509be0 -s ours
am skip reason: Merged-In Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb with SHA-1 592769127d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16972920

Change-Id: Ib381d01a3011259efe2abef4608497534de111c2
2022-02-24 06:54:51 +00:00
Alex Hong
1f3420b249 "Erase Downloaded sims" Checkbox is not visible am: 5e3ac86e93 am: afdf589b04
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16987276

Change-Id: Ia864cbeecf5d3d38a85297a29b78a0b5b0402031
2022-02-24 05:33:30 +00:00
Alex Hong
9f950c14a0 Upgrade PRODUCT_SHIPPING_API_LEVEL from 31 to 32 for gs201 devices am: 0c20f31dd7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16973863

Change-Id: I0ba0d650f1fcac2e1b596357f00911b0e64bc1db
2022-02-24 04:46:38 +00:00
Yi-Yo Chiang
5353fe7961 Add alternative ext4 system mount line to facilitate compliance testing
During compliance testing, the system partition image is replaced with
GSI. However GSI is ext4, so we need an ext4 mount line for GSI to
fallback to, since the first erofs line would fail to mount.

Bug: 220074274
Test: Boot with GSI
Change-Id: Id69fab591feb9cfd378de432c51f3058a3ab8b9c
2022-02-24 04:43:56 +00:00
Alex Hong
33510b21be [automerger skipped] Upgrade PRODUCT_SHIPPING_API_LEVEL for gs201 devices am: 9984544ec8 -s ours
am skip reason: Merged-In Ifa9c7e103671e1072496f6f76dd0c3233fb46a6e with SHA-1 6bcf8bcf9a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16972921

Change-Id: Id8df853ba306595529dcb9784bc90e21bea78cd7
2022-02-24 04:34:36 +00:00