Commit graph

672 commits

Author SHA1 Message Date
Josh Wu
49c9007fda Switch BtAudio to AIDL am: e8aabb124f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17052848

Change-Id: I23d45215198a05ddd184651d9a005602ffae18d0
2022-03-02 18:15:18 +00:00
Josh Wu
e8aabb124f Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I9668afb6549491c65ec193f707ef936c3bb519ae
Merged-In: I9668afb6549491c65ec193f707ef936c3bb519ae
2022-03-02 13:08:41 +00:00
Tim Lin
4983b42f79 enable IRadio 2.0 am: 5357ce3a42
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16972919

Change-Id: I083de0088a426f7db6736c815245ec7549aa9b7f
2022-03-02 09:44:27 +00:00
Tim Lin
5357ce3a42 enable IRadio 2.0
Bug: 206348419
Test: make
Change-Id: Iae1093aa6f7e9014fe47ae05e023922725885d03
2022-03-02 09:12:13 +00:00
Ankit Goyal
8639b13253 Include allocator AIDL service in the build am: 9e4f342440
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16982349

Change-Id: Id774b1df3f77835ac16ece13c6e83637233faa66
2022-03-02 02:24:29 +00:00
Ankit Goyal
100b4b23b8 Remove stale gralloc3 configs am: 205a0a4851
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16982348

Change-Id: I2600406998cbc6dc093d7ff7e9f59fea61cae1c0
2022-03-02 02:24:25 +00:00
Ankit Goyal
9e4f342440 Include allocator AIDL service in the build
Bug: 220910504
Test: Boots to home
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: Ie169b059d401ce58b217765dbac76b4de9eb2c96
2022-03-02 01:56:58 +00:00
Ankit Goyal
205a0a4851 Remove stale gralloc3 configs
Bug: 220910504
Test: Boots to home
Change-Id: I30a68849413b6927365773a52f543e3a032f18fa
2022-03-02 01:56:58 +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
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
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
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
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
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
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
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
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
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
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
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
SalmaxChang
a04c61d42b dumpstate: correct verbose logging property
Bug: 221173724
Change-Id: I9d525c55bed2f05e7e89d2253f7bd4f67b7cd6f3
2022-02-24 14:55:11 +08:00
Alex Hong
de5bb6f02b 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: Ie074f64056c8103f49fe3ebbd2d118469ca22ac2
2022-02-24 04:14:07 +00:00
Alex Hong
2639ce6637 Upgrade PRODUCT_SHIPPING_API_LEVEL for gs201 devices am: 9984544ec8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16972921

Change-Id: I8f3e2f5d5c57bce08bf4c100837b1fe3a772729a
2022-02-24 04:13:57 +00:00
Alex Hong
7644509be0 Remove tetheroffload service am: 592769127d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16972920

Change-Id: I8b9171944e68843c051a3c1d188f98c237a767fb
2022-02-24 04:13:56 +00:00
Alex Hong
afdf589b04 "Erase Downloaded sims" Checkbox is not visible am: 5e3ac86e93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16987276

Change-Id: Ie0d8fb332084927299c15846c698e069ccad629e
2022-02-24 04:13:11 +00:00
Alex Hong
0c20f31dd7 Upgrade PRODUCT_SHIPPING_API_LEVEL from 31 to 32 for gs201 devices
Copy ueventd.rc to /vendor/etc instead of /vendor.
/vendor is no longer a supported path for Product Shipping API 32

Test: m checkvintf
      Device boot-to-home
Bug: 207076973
Change-Id: Iac11d342854e08739e6b83e5d8134097760ccfd2
2022-02-24 12:04:54 +08:00
Alex Hong
9984544ec8 Upgrade PRODUCT_SHIPPING_API_LEVEL for gs201 devices
Update the Target FCM level from 5 to 6
Update the product FCM xml

Bug: 207076973
Test: m checkvintf
Change-Id: Ifa9c7e103671e1072496f6f76dd0c3233fb46a6e
Merged-In: Ifa9c7e103671e1072496f6f76dd0c3233fb46a6e
2022-02-24 04:03:32 +00:00
Alex Hong
592769127d Remove tetheroffload service
Test: m checkvintf
      run vts -m VtsHalTetheroffloadControlV1_0TargetTest
Bug: 207076973
Bug: 214494717
Change-Id: Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb
Merged-In: Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb
2022-02-24 04:03:32 +00:00
Michael Wright
0d7dda24aa Revert "Revert "Turn on SELinux"" am: 55730686f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16984063

Change-Id: I991e740905c7c6dd7cac5295c9d07e7c640c89d0
2022-02-23 17:24:52 +00:00
Aurimas Liutikas
f0f6c7239f Revert "Turn on SELinux" am: 077aaa107b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16982873

Change-Id: Ic9d06d07deb8b96fb3171fb3ad28db292b714126
2022-02-23 17:21:10 +00:00
Rick Chen
0411853a89 Remove sensor HAL 1.0 config am: 553ae4fd8d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16963965

Change-Id: I86b7dd28b1fc4218e9bf968975b3a0812382e0d9
2022-02-23 17:15:16 +00:00
Alex Hong
5e3ac86e93 "Erase Downloaded sims" Checkbox is not visible
Enable the masterclear.allow_retain_esim_profiles_after_fdr for
checkbox is visible

This is picked from a8acce0

Bug: 220209981
Test: build pass
Change-Id: I930c4038ceabcaa214fc5c8ad434ab3861b24acf
2022-02-23 18:36:10 +08:00
Michael Wright
55730686f5 Revert "Revert "Turn on SELinux""
This reverts commit 077aaa107b.

Reason for revert: SELinux issues are fixed

Change-Id: I90f32b8b633988ab6f79606ac8464cbb07a861dd
2022-02-23 02:41:40 +00:00
Aurimas Liutikas
077aaa107b Revert "Turn on SELinux"
This reverts commit 3923566e2c.

Reason for revert: causing com.android.pixellogger crashes

Bug: 220935985
Change-Id: If97dd3585651167762890b98c2446f3b5222f9d4
2022-02-23 02:39:55 +00:00
Rick Chen
553ae4fd8d Remove sensor HAL 1.0 config
Bug: 202249887
Test: Verify basic sampling functions on C10.
      Run VtsHalSensorsV1_0TargetTest and see no test items.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I7ce97e417ce5e8c4589845a5138010aa9288ccb3
(cherry picked from commit 1fef1eca2d)
2022-02-23 02:09:27 +00:00
Ray Chi
815448bc3c recovery: add wait for dwc3 device to probe am: 48ebc5fe18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16938659

Change-Id: I385fa9749e2ab78ac7c7ce83c7d3bfe30a324dee
2022-02-22 02:59:17 +00:00
Ray Chi
48ebc5fe18 recovery: add wait for dwc3 device to probe
If fastbootd starts before the dwc3 device probes, fastbootd
would be failed to enable USB gadget.

This patch adds a dependency on the dwc3 device probing before setting
the sys.usb.controller property.

Bug: 220393297
Test: build pass, fastboot works
Change-Id: I4e5b34354f19547f55acc53ccff0b54adce2d982
2022-02-22 02:32:17 +00:00
Adam Shih
13651d5f16 Turn on SELinux am: 3923566e2c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16939195

Change-Id: I6195f967070362d6a5ade45f7db0cdf9da4e771e
2022-02-22 01:45:26 +00:00
Adam Shih
3923566e2c Turn on SELinux
Bug: 214923175
Test: Boot to home, OTA, adb connection, wifi, phone call, SMS, Bluetooth,
LTE, camera, video, audio, GPS, lock screen, sensor, fingerprint,
bugreport, no crash loops

Change-Id: I23adacc6f3d68becd86d238046a0458baacd122d
2022-02-22 01:27:53 +00:00
Ray Chi
d49f48995d modify the path of shell binary am: 4f30e468e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16963964

Change-Id: I8975b67f3d5aa69614e0554c04a8973c1b783f14
2022-02-21 18:47:42 +00:00
Ray Chi
4f30e468e4 modify the path of shell binary
Currently, we should use the vendor shell to run irq script.
This patch will modify the shell path.

Bug: 202103325
Test: switch functions and check the value of smp_affinity_list
Change-Id: Iae572bb1ee218eb205c5e65d20ba6dfa583b9ad6
Merged-In: Iae572bb1ee218eb205c5e65d20ba6dfa583b9ad6
(cherry picked from commit e4796c373c)
2022-02-21 18:22:53 +00:00
Lais Andrade
ae53b4b420 Add default alarm and media vibration intensity settings am: 0b02e303b1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16936270

Change-Id: Id57d6a1fa35d201dc4b849535b4774d16133b8cc
2022-02-21 12:34:40 +00:00
Lais Andrade
0b02e303b1 Add default alarm and media vibration intensity settings
Change-Id: Ib5cbda371672dde8cbcd17692ecf777a3c3c95e1
Fix: 219692498
Test: manual
2022-02-21 12:08:06 +00:00