Commit graph

455 commits

Author SHA1 Message Date
Ankit Goyal
9569216882 Update vulkan library name to vulkan.mali
Bug: 174232579
Test: Boots to home
Change-Id: I5d16d8b6215da49db49458f277da917385ec2052
2022-02-11 00:52:54 +00:00
weichinweng
33f00feec1 Align ASHA prop with BluetoothProperties
* Modify bluetooth.profile.asha.central to
  bluetooth.profile.asha.central.enabled

Tag: #feature
Test: manual
Bug: 211570675
Bug: 218454632
Change-Id: I04be495b881bfa3ed5b7a3a05f50d33e83743e35
2022-02-10 15:16:41 +00:00
Presubmit Automerger Backend
43dc7bc652 [automerge] Partial Revert "powerhint: remove powerhint.json for separating configs" 2p: feb6fd3e0f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16811163

Bug: 215655510
Change-Id: Iee95c52a8a69a3e3ab9f5f5a11d6069052f41b59
Merged-In: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-02-08 04:53:10 +00:00
Wei Wang
feb6fd3e0f Partial Revert "powerhint: remove powerhint.json for separating configs"
Add A0/A1 config back

Test: build
Bug: 215655510
Change-Id: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
(cherry picked from commit 4a00d52966)
Merged-In: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-02-08 04:53:00 +00:00
Presubmit Automerger Backend
3569070df7 [automerge] powerhint: remove powerhint.json for separating configs 2p: eea7b26d08
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16687457

Bug: 215655510
Change-Id: Idbbc763b97de7e123769fdc53547d72a7e83ddba
Merged-In: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-02-08 04:52:33 +00:00
Jimmy Shiu
eea7b26d08 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 215655510
Change-Id: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
Merged-In: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-02-08 04:52:24 +00:00
Kelvin Zhang
803fc9b494 Enable VABC xor on p21 devices
This is expected to reduce space requirements for OTA by 25%-40%
For more details see http://go/vabc-xor

Change-Id: Icb53bd27749c960a7738311c3a9c1d60c7b72abe
Test: th
2022-02-03 20:58:47 +00:00
Wei Wang
4a00d52966 Partial Revert "powerhint: remove powerhint.json for separating configs"
Add A0/A1 config back

Test: build
Bug: 215655510
Change-Id: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-01-28 22:00:07 -08:00
Pat Tjin
a63220bcd1 Add tangor% to the pattern match
Some targets are using tangor_xxx and some use xxx_tangor,
cover both to avoid duplicate zygote props.

Test: Build
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I43b18f6b5296f7b1575a8d5e817b3f2281dc1e1c
2022-01-28 00:48:26 +00:00
Jimmy Shiu
aa7f75a6c6 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 215655510
Change-Id: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-01-27 14:18:43 +00:00
Craig Dooley
a387c0f5c0 Export TARGET_BOARD_PLATFORM for AoC
Bug: 215535889
Change-Id: I03a3cfeaadb0fe60b7a56f99fa02334167b80e35
2022-01-26 19:13:00 +00:00
Etienne Ruffieux
9acb8c9976 Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5 am: 0f06739b7f am: 0ba1150d9c
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: I7b19e99088243a48b1cd48472c78f4ee5fd8ce1d
2022-01-25 15:21:01 +00:00
Etienne Ruffieux
0ba1150d9c Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5 am: 0f06739b7f
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: Ia9b527630b51453b176ac01dd1bf867ceac9e77b
2022-01-25 15:02:13 +00:00
Etienne Ruffieux
0f06739b7f Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: Icd747ae44f7be923cef419a9d992212c3b5f3067
2022-01-25 14:44:55 +00:00
Etienne Ruffieux
1307232779 Added new vendors for Bluetooth config migration
Tag: #feature
Test: manual
Bug: 211570675
Change-Id: I4e0c211b4a176fc9161b079d2799bfefbaf4651f
2022-01-25 09:47:04 +00:00
Badhri Jagan Sridharan
3c97a6bb68 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
Bug: 199357330
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
2022-01-22 01:20:15 +00:00
Sasha Smundak
968f0e8f10 Use soong_config_ macros to set Soong config variables. am: 454cb66a74 am: db090bdc82
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1932105

Change-Id: I3d06f2ab16c451cfff5dbbc14283e9da7cdbce7f
2022-01-21 22:29:51 +00:00
Nicole Lee
920e1edc35 Separate modem logging configs for each project
As the modem logging configs have different group ID from
s5123 and s5300 platform, we need to use different config files
for each projects, move them from Pixel Logger to device
specific folders

Bug: 210784859
Change-Id: I1ec4386a31e175f8dfe8404cbfc70c221e51d71c
2022-01-21 10:56:51 +00:00
Cole Faust
db339d7ccb Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"
Revert "Remove BOARD_WITHOUT_DTLS"

Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert submission 16603844-colefaust_dauntless

Reason for revert: Broke other products that didn't set BOARD_WITHOUT_DTLS
Reverted Changes:
I3b4ab3ed2:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Iee95550f4:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I1b210d8ab:Make BOARD_WITHOUT_DTLS work without an override
I80bfec988:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I5f51cf010:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
If6592aa18:Remove BOARD_WITHOUT_DTLS

Change-Id: Ibb34b7d0f36ffc1ddfa60fa8a23483891c89a78d
2022-01-14 02:43:01 +00:00
Pat Tjin
dae7d3ea02 Move tangor to 64-bit only
Bug: 213924541
Test: Build
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I8e237ab1bf387608331375bee18dbf9b4912e5c1
2022-01-12 21:44:31 +00:00
Cole Faust
a3737c7b08 Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Bug: 201700692
Test: Verified ninja files are unchanged
Change-Id: Iee95550f4cec940e1d2535ba44f89126c3b04d68
2022-01-12 20:14:30 +00:00
Ankit Goyal
97d1b5aff0 Revert^4 "Add gralloc switch"
35de89e675

Change-Id: Ib8047a3a62674b4abc8501d00dd7a1138eaae2ea
2022-01-12 18:55:58 +00:00
Terry Huang
eed4ae2a53 Revert "Revert "[s5123][device] Change vendor telephony code path""
This reverts commit 479f361d77.

Reason for revert: Restore 16405845-t-codebase-seperate

Change-Id: Id7f5e8b7e4470416da0002768c3960e554c0cf6c
2022-01-11 08:54:47 +00:00
Cyan Hsieh
35de89e675 Revert^3 "Add gralloc switch"
9f0eac1cb9

Bug: 213540102
Change-Id: I7f7fe674cfcc6641dcaa9ac54f164adeb8c9fce8
2022-01-10 07:44:50 +00:00
Ankit Goyal
9f0eac1cb9 Revert^2 "Add gralloc switch"
9d9f9a7a54

Change-Id: Ie0681839ff3c961b58668cca97100b23b24cd218
2022-01-07 19:57:37 +00:00
Shubham Dubey
9d9f9a7a54 Revert "Add gralloc switch"
Revert "Namespace gralloc"

Revert "Add gralloc switch"

Revert "Namespace gralloc"

Revert "Namespace gralloc"

Revert "Gralloc - Update build rules with namespaces"

Revert "Gralloc - Update build rules with namespaces"

Revert "Namespace gralloc"

Revert submission 16356594-pixel-gralloc-build

Reason for revert: Breaks build_test2 target on master

BUGID: b/213540102

Reverted Changes:
Ia998ca7f1:Namespace gralloc
I644f46ade:Add gralloc switch
I3689a27c2:Namespace gralloc
Iea1bf2ce2:Clone gralloc4 to GrallocHAL
I083cfa4f0:Namespace gralloc4
If8c40cd13:Namespace gralloc
I464236fea:Namespace gralloc
Icaac6d24f:Add gralloc switch
I92b7212b8:Gralloc - Update build rules with namespaces
Ic8741d4ba:Gralloc - Update build rules with namespaces
I507cbbc73:Namespace gralloc

Change-Id: If196d063b0b3a6514e8c4941e1daf7da8b2face2
2022-01-07 15:25:17 +00:00
Ankit Goyal
e9bb0f3128 Add gralloc switch
Fix: 207452098
Test: Boot to home
Change-Id: I644f46ade12e8226a1448119a25cb8ec2b06742f
2022-01-06 23:04:24 +00:00
Yifan Hong
a636457b5a Implement health AIDL HAL.
Test: VTS
Test: manual charger mode
Test: recovery
Bug: 213273090

Change-Id: Ie02d7bc1e1c6e39bbab22f008b7767c5de620a73
2022-01-06 23:01:30 +00:00
Darren Hsu
1c13f40625 powerstats: remove common data providers in specific directory
The common data providers will be moved to gs common directory. So
I removed them in this directory and used gs common library to get
the APIs.

Bug: 206576142
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ic4c1379af912fecb2e74c6c8303bf57f27e49246
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-01-05 07:32:47 +00:00
Adam Wright
479f361d77 Revert "[s5123][device] Change vendor telephony code path"
Revert "[s5300][google] Merge remote-tracking branch 'remotes/go..."

Revert "[s5123][shannon-rcs] Rename shannon_rcs_version"

Revert "[s5123][shannon-iwlan] Seperate source code by platform"

Revert "[s5123][google_device] Vendor telephony code assignment"

Revert "Add extra folders on vendor telephony codebase"

Revert "[modem-logging] Change vendor code folder path"

Revert "[s5300][device] Change vendor telephony code path"

Revert "[s5123][common] Seperate source code by platform"

Revert "[s5300][exynos-ril] Merge remote-tracking branch 'remote..."

Revert "Disable USE_LASSEN_OEMHOOK"

Revert "[s5300][shannon-iwlan] Merge remote-tracking branch 'rem..."

Revert "[zebu_zuma] Disable USE_LASSEN_OEMHOOK"

Revert "[s5123][packetrouter] Seperate source code by platform"

Revert "[s5300][common] Merge remote-tracking branch 'remotes/go..."

Revert "[s5300][shannon-ims] Merge remote-tracking branch 'remot..."

Revert submission 16405845-t-codebase-seperate

Reason for revert: Manifest changes have broken master builds
Reverted Changes:
I9bdd0eb06:[zebu_zuma] Disable USE_LASSEN_OEMHOOK
Ia811a3a06:[s5300][shannon-ims] Merge remote-tracking branch ...
I5b403ac84:[s5300][google] Merge remote-tracking branch 'remo...
I846bff687:[s5300][common] Merge remote-tracking branch 'remo...
I1f2977519:[s5300][packetrouter] Merge remote-tracking branch...
Ie9bf8d56a:[s5300][shannon-rcs] Merge remote-tracking branch ...
If09bed38e:[s5300][shannon-iwlan] Merge remote-tracking branc...
Ib05d1e76c:[s5300][exynos-ril] Merge remote-tracking branch '...
I678984712:Disable USE_LASSEN_OEMHOOK
I40370edcf:Add extra folders on vendor telephony codebase
I27bfb046d:[s5123][google_device] Vendor telephony code assig...
Ie41ecb085:[s5300][google_device] Vendor telephony code assig...
I666871fc7:[s5300][shannon-iwlan] Rename iwlan_version
Ibb5874125:[s5300][shannon-iwlan] Seperate source code by pla...
I93ef81871:[s5300][packetrouter] Seperate source code by plat...
Id664fdd7a:[s5123][shannon-rcs] Rename shannon_rcs_version
I62caeeb78:[s5123][shannon-iwlan] Rename iwlan_version
Ib72d6f2ff:[s5300][exynos-ril] Seperate source code by platfo...
Ibc7e7221d:[modem-logging] Change vendor code folder path
If822ecef2:[s5123][packetrouter] Seperate source code by plat...
Ia86317fd0:[s5123][common] Seperate source code by platform
I9e047c89e:[s5123][device] Change vendor telephony code path
I7b08ed2c3:[cat] Change vendor code folder path
I42a4a0e46:[s5123][shannon-iwlan] Seperate source code by pla...
I66360e4e1:[s5300][common] Seperate source code by platform
I58fc8ce33:[s5300][shannon-rcs] Rename shannon_rcs_version
Ibbcb2254a:[s5123][exynos-ril] Seperate source code by platfo...
I4a88242ce:[s5300][device] Change vendor telephony code path

Change-Id: I6df01ee6419c50a52f77fd97973b6b8a54897399
2022-01-04 13:35:29 +00:00
Terry Huang
f0e200b9f9 [s5123][device] Change vendor telephony code path
Add extra folder for different platforms

Bug: 199954706
Test: Build pass

Change-Id: I9e047c89e8ae4db5854ac00a1c7fcdc1319af19d
2022-01-04 01:36:35 +00:00
Roger Liao
5467fac081 Scale the flexibility for camera flash/autofocus settings
Let clients determine the configuration of camera flash/autofocus
features.

Bug: b/211840489
Change-Id: Id52529ea8985c02a8a93ebea0dbd2f619cf0cca9
2021-12-30 07:34:03 +00:00
Ocean Chen
c90627420b gs101: new Android.bp for non-modem projects
Separating fstab to avoid boottime regression

Bug: 210551190
Test: reboot and compare TotalBootTime

Change-Id: I2ad92d8640b2cc25383c5cf5755001f73a5f8861
2021-12-28 10:12:44 +00:00
Albert Wang
98b1199f80 device.mk: usb: remove redundant property
This property is found no used and causes a SELinux avc denial error,
so remove it accordingly.

auditd  : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied { set } for
property=dev.usbsetting.embedded pid=1 uid=0 gid=0

Bug: 184103246
Test: forrest test build
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I746fc21d8520b69312d90b9ae0ee447d297b4b35
2021-12-23 06:12:24 +00:00
Sasha Smundak
6c7267518e Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: If913e8165d8e1a51386c82cc57190890093ab3f2
2021-12-22 16:50:04 -08:00
Sasha Smundak
454cb66a74 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
Merged-In: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
2021-12-22 14:33:16 -08:00
Cyan_Hsieh
c1227aa062 Include gs common in makefile build flow
Bug: 211723080
Change-Id: I8e1cefa396d494e73634da8620153c7a9a5693ee
2021-12-22 11:30:36 +00:00
Sasha Smundak
05823dde05 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
Merged-In: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
2021-12-20 10:52:28 -08:00
Sasha Smundak
b44a662861 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
2021-12-16 18:03:47 +00:00
Adlai Holler
35230cc1af Remove redundant build property for reduceOpsTaskSplitting
This flag is true for everyone now. No need for it here. Change has no effect.

Bug: 183612348
Bug: 185920634
Change-Id: Ia264cfceb5cea4230a1c459fbd3c3f8c99a35bdf
(cherry picked from commit 8661e6ae13af04eb4aa299327134d7185b563e24)
2021-12-15 08:16:49 +00:00
matthuang
db2723b1b5 Don't copy unsupported sensor xml.
Use findstring to filter the factory target.

Bug: 209918222
Test: Verify the unsupported  xml files are not in the device.
Change-Id: I1383b18825ad06e88dedc9b4950bc5e5f676ecb8
2021-12-14 17:20:08 +00:00
Ocean Chen
c9cde396de gs101: create fstab.modem for project with modem
Non-modem project does't inlucde the fstab.modem
It can avoid long boot time from fs_mgr mount fail

Bug: 209694809
Test: reboot test

Change-Id: I3f1499f0c3767ba61895699e618856e41844b4bf
Signed-off-by: Ocean Chen <oceanchen@google.com>
2021-12-13 22:24:16 +00:00
Alex Hong
c2c3cc6240 Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices
ueventd.rc now can only placed to /vendor/etc when
PRODUCT_SHIPPING_API_LEVEL equals to 32.
Now correct the destination path of ueventd.rc.

Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I1dcda5472278c03c546f3cf1eec26c92d138f2bb
Signed-off-by: Alex Hong <rurumihong@google.com>
2021-12-10 11:28:55 +08:00
Alex Hong
70ee94b740 [DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices
ueventd.rc now can only placed to /vendor/etc when
PRODUCT_SHIPPING_API_LEVEL equals to 32.
Now correct the destination path of ueventd.rc.

Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I1dcda5472278c03c546f3cf1eec26c92d138f2bb
Signed-off-by: Alex Hong <rurumihong@google.com>
2021-12-09 17:33:12 +00:00
neoyu
8b443b6912 Remove cdma feature because not all gs101 based devices support it am: e6bb2caf47 am: 001cf7c36e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16373218

Change-Id: I2c27550a1528767da8f4af4bd145a3f2312f97c4
2021-12-02 05:42:10 +00:00
neoyu
e6bb2caf47 Remove cdma feature because not all gs101 based devices support it
Bug: 207398695
Test: inspect build artifacts - result is expected
Change-Id: Ic8098e036d5e58ec1b1cd0fcd13ef64a4d12b668
2021-12-02 05:06:33 +00:00
Carter Hsu
5cc978ea98 audio: run audio hardware as 64bit
Bug: 205240941
Test: regression test is passed. (b/207432169)
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ieb6ff80aa61108e18fed65ad02f9754f59a2812c
2021-12-01 08:19:52 +00:00
Alice Kuo
29c5d3a71a Default disable LE audio policy in gs101
Bug: 205514628
Test: connect with the LE audio headset, play music
Change-Id: I711898a6b3443a29d354edd1b0424b9864dc4dd8
2021-11-29 00:21:06 +00:00
Jakub Pawlowski
cfda47b843 Use bluetooth audio policy with LE Audio on gs101
Bug: 205103681
Test: play music using LE Audio device
Change-Id: I3e2787251c6aa3d59a18e945fbb6b82b79485d81
2021-11-05 00:39:32 +00:00
Krzysztof Kosiński
1be9cf8a51 Add Lyric camera IQ tuning configuration.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
Merged-In: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
2021-11-04 21:58:06 +00:00