Commit Graph

6350 Commits

Author SHA1 Message Date
LuK1337
f424e35f5c wahoo: Build libhidltransport/libhwbinder
* Needed for old blobs

Change-Id: I43fc0e46547dfc126a4b2ac9dcc82c7c4f2ee172
2024-06-08 22:02:38 +08:00
Isaac Chiou
b5ecf2d71f wahoo: config: Override disable firmware roaming via HAL API
Bug: 178398607
Test: Build Pass
Change-Id: Ic154acc0952b4f00a2e2ae4a3b5626df3f062358
2024-06-08 22:02:16 +08:00
linjoey
0278520526 wahoo: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: Id066d3a556551d239964d68e5b1e6ea4f35287f3
2024-06-08 22:02:16 +08:00
Alastair Donaldson
1d651bac7c wahoo: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new feature flag to record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Change-Id: I9ed8ec8af0c76962cfd77a91d806cad95de70c28
2024-06-08 22:02:16 +08:00
Chris.CC Lee
e9e2cbe383 wahoo: Update pregrant permissions for Restore APK
-. RECEIVE_SMS and READ_PHONE_NUMBERS permissions are no longer used.
-. Add the ACCESS_FINE_LOCATION permission for iOS WiFi D2D which was approved in b/188150877.

Bug: 188150877
Fix: 162937804
Test: Manual tested on Barbet.
Change-Id: I8a61258fb907bb7e1423a43536615951fb49cc5a
Merged-In: I8a61258fb907bb7e1423a43536615951fb49cc5a
2024-06-08 22:02:16 +08:00
Kurt Dresner
3a03b7b394 wahoo: Remove unneeded Top Gear permissions from Android Auto
Bug: 184195079
Change-Id: Id2b50bd8e67cc5f8ed05d87a3fbfa42dbf86b9ec
2024-06-08 22:02:16 +08:00
Kurt Dresner
74b27a4645 wahoo: Remove permissions that are now granted via role to Android Auto (Gearhead).
Bug: 134997071
Bug: 166143587
Test: Code builds
Change-Id: I223fd8690d8fb076bdf8d961a51ae090f131cfbd
2024-06-08 22:01:14 +08:00
Ruslan Tkhakokhov
c132c158bf wahoo: Swap Pixelmigrate for Restore APK in default-permissions
Bug: 186731327
Test: atest DefaultPermissionGrantPolicyTest
Change-Id: I743c11c62065d25aa3a9208b6ab42950e8f844f3
2024-06-08 22:01:14 +08:00
Gillian Lin
fad62017e9 wahoo: cts: VerifiedBootTest#testVerifiedBootSupport
android.software.verified_boot.xml should be copied to TARGET_COPY_OUT_VENDOR instead of system

Bug: 190401885
Test: run cts-on-gsi -m CtsSecurityTestCases -t android.security.cts.VerifiedBootTest#testVerifiedBootSupport
Change-Id: Ifc7818b1cef1284653d377b7bbc11bf4aaa44da0
2024-06-08 22:00:45 +08:00
Remi NGUYEN VAN
e8a4091570 wahoo: Add connectivity overlay
As resources were moved from the android package to the connectivity
resources package, migrate resources to a new overlay for the new
package.

(clean cherry-pick from downstream branch)

Bug: 185850634
Test: m
Merged-In: I2789e88adbfb912f18017bae3d37696057a4afa5
Change-Id: I86f3ea2b486aa4a47c5a5c123571d9276a4d3095
2024-06-08 22:00:45 +08:00
Nolen Johnson
e1820c162a wahoo: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2024-06-08 22:00:45 +08:00
Nolen Johnson
692cd3af99 wahoo: Remove legacy VNDK27 hacks
* We don't support building targetting this old of a VNDK
  anymore, so these are useless.

Change-Id: Ifb0de47947d87413904b32cf73a997be0418ffb0
2024-06-08 22:00:43 +08:00
Nolen Johnson
10c388cb50 wahoo: Cleanup properties
* `ro.control_privapp_permissions=enforce` - Default in LineageOS
   environments.
* `keyguard.no_require_sim=true` - Set in build/ in LineageOS
   environments.

Change-Id: I5a17e8bca9c896984f3ceca90c8ca9479540072c
2024-06-08 21:59:12 +08:00
Nolen Johnson
e0ff9243b3 wahoo: Don't build non-existant or default packages
Change-Id: I984a8d6d5175a5a894b2200e7bdc4795fbbc11c2
2024-06-08 21:59:12 +08:00
ReallySnow
68b30e2d59 wahoo: manifest: Drop android.hardware.radio.deprecated
* In Android 12, android.hardware.radio.deprecated was removed due to [1]
  So we don’t need to build this blobs and remove it from the manifest.

* Note: QTI do not pick this commit

* ref:
[1] 899ef068c6

Change-Id: Ie00e6090469b5393ac52fd4112b4bd7025815544
2024-06-08 21:59:12 +08:00
Nolen Johnson
5134fe5e32 wahoo: Include hardware/google/pixel-sepolicy/powerstats
* We build this, so lets just use to sepolicy designed for it.
* hardware/google/pixel-sepolicy/citadel declares types that
  are used in this, so lets include it too.

Change-Id: If8e8632e724693f19fa721c1c19358c6f9e282d8
2024-06-08 21:58:04 +08:00
Nolen Johnson
4987c23777 wahoo: sepolicy: vendor: Allow vendor_init to read various properties
Change-Id: I6700d6d624866c1425e58ca4f282b9d1bd03c368
2024-06-08 21:58:04 +08:00
Nolen Johnson
3ddb811689 wahoo: sepolicy: vendor: Allow vendor_misc_writer to read sysfs_dt_firmware_android
Change-Id: I5ae78196a5c22f6e42f0478987c62a1645193af7
2024-06-08 21:58:04 +08:00
Nolen Johnson
04813aff3f wahoo: sepolicy: Allow dataservice_app to read several things
* Needs both directory and file permissions.

Change-Id: I78f752e5daab7f8f39a082dc68624fa05f2668fb
2024-06-08 21:58:04 +08:00
Nolen Johnson
133d37f31f wahoo: sepolicy: vendor: Allow system_server to read sysfs_batteryinfo
* Wasn't seen on R, so lets allow it to maintain behavior.

Change-Id: I346a691115d3106d8e7202cb08cd48c6eb18b09d
2024-06-08 21:57:08 +08:00
Nolen Johnson
db9ce30add wahoo: sepolicy: private: Extend priv_app dontaudit's to proc_version
* DevicePersonalizationServices wrongly wants this (according to Google).

Change-Id: Ib4e9add1e86256fe131436d441d9b0fad6f18bd5
2024-06-08 21:57:08 +08:00
Nolen Johnson
5cbb730022 wahoo: sepolicy: vendor: Allow thermal-engine wake_alarm capabillity
* Looking at thermal-engine's needs, without this it is spammy
  during sleep, and the denial isn't seen on R, so lets allow it
  to maintain the old behavior.

Change-Id: Ie0a66addeb32d34fcfb7b90e146504477ea94c1f
2024-06-08 21:57:08 +08:00
Nolen Johnson
7e4d6f6e54 wahoo: sepolicy: vendor: Extend hal_nfc_default dontaudit
* Looking in `git log`, we can see that this isn't needed
  functionallity, and that all attempts to "read" it in any
  way can be safely ignored.

Change-Id: I1dd6c57f9cec024371cec8f9074b000531514ba9
2024-06-08 21:57:08 +08:00
Nolen Johnson
3d67983657 wahoo: sepolicy: vendor: Import vendor_persist_type attribute from coral
Change-Id: Ic042fe00c536a5e775abfde34c60e197afb33731
2024-06-08 21:57:08 +08:00
Nolen Johnson
b9309ec2d4 wahoo: sepolicy: Drop types declared in hardware/google/pixel-sepolicy
Change-Id: I3334a186bacde70881cf503fb5b6554a2d8a3f13
2024-06-08 21:57:08 +08:00
Edwin Wong
6c59de2fcf wahoo: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I406b7d3c2921d4698535421894c6eb3785eb1c0d
2024-06-08 21:57:08 +08:00
Nicolas Geoffray
5e4a204833 wahoo: Remove odex/oat files from pinner list
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: Ifead4354d29b3ce658b2f5771b778a050b0579b5
Merged-In: I6627afc390f8dcacc197680dcc4917e2ac5bc090
2024-06-08 21:57:08 +08:00
Kevin Jeon
d6f0e57483 wahoo: Update SurfaceFlinger pin
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2024-06-08 21:56:09 +08:00
Wilson Sung
08c012daf9 wahoo: Set SOC manufacturer and chipset properties
Bug: 158284209
Bug: 180589452
Change-Id: I26d4b3767d336321bd562a8d5a289ce864536f5e
2024-06-08 21:56:09 +08:00
Lunarixus
ee7b9a745a wahoo: Generate full framework matrix
* 12 requires every HAL to be explicitly listed.

Change-Id: Ic4408870bb964ecf97a9c8c109764f806aee039d
2024-06-08 21:55:23 +08:00
Lunarixus
d87c8c20c6 wahoo: Explicitly build all needed HALs
Change-Id: Ic6b8f8cf56a37fb8504e1cb57fedae2fe3fb4bc9
2024-06-08 21:55:23 +08:00
Nolen Johnson
f40d12dcb7 wahoo: Build android.frameworks.sensorservice@1.0
* System and vendor variant.
* Add ISensorManager interface to sensors HAL declaration

Change-Id: If9c2b4ecb3d57c5e68a4187a601339b3d2538d8f
2024-06-08 21:55:23 +08:00
Nolen Johnson
dfb875e053 wahoo: Uprev framework compatibility matrix to 2.0
Change-Id: I70879d119c42831579ff099cc532fc62c4f205b6
2024-06-08 21:55:23 +08:00
Erfan Abdi
58d211735b wahoo: Update to FCM level 3
Change-Id: I06a7e7939083f541280fc0136611ea2f8724eb1d
Signed-off-by: Joshua Blanchard <joshua.lee.bbg@gmail.com>
2024-06-08 21:54:49 +08:00
Nolen Johnson
7f141e56ef wahoo: Enable BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES
* The alternative to this sucks even more than this.

Change-Id: Ia0a056315f1d23c5026f428ec6063e57425d830e
2024-06-08 21:54:49 +08:00
Kyle Lin
38a2f3ff35 wahoo: Switch to use stable power HAL
Bug: 154570109
Test: build and capture the trace to check
Change-Id: I4794f44266762672ef3b6ad9bf1353f6784e34d6
2024-06-08 21:54:49 +08:00
Michael Bestas
879dd793fc wahoo: Remove android.hardware.graphics.composer@2.1-impl
It no longer exists, the service is fully binderized

Change-Id: I06ee402b50216948e0e72a2797c2edfda1c4886a
2024-06-08 21:54:49 +08:00
Danny Lin
2833b95dc1 wahoo: Remove Wi-Fi RSSI threshold overlays
These overlay values are just the default AOSP ones at the moment. We'll
change them on the system side instead.

Change-Id: I2898dec7c3c39eac604cb7f90224760869f65bbc
2024-06-08 21:54:49 +08:00
Tim Lin
89d0f09384 wahoo: qcril: Fix MT SMS sent during power off
qcril will block any further MT SMS if previous one is not ACKed.
For this bug, IMS service is not ready and resulted in qcril stuck in blocking state.
This solution will add 30s timer to reset blocking state if there is no ACK from Telephony.

Bug: 169549852
Test: MT SMS during power off
Change-Id: I6f52170654925143aeb55f8bc0cf4c379717e718
2024-06-08 21:54:49 +08:00
Anton Hansson
cb6ffa76e5 wahoo: Enforce RRO for all resource overlays
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2024-06-08 21:54:12 +08:00
PixelBoot
cd83091edb wahoo: Build NowPlaying service (NowPlayingOverlay)
Now Playing is supported as from the wahoo device series.
2024-06-08 21:54:12 +08:00
razorloves
5129999687 wahoo: Use CarrierSettings app instead of CarrierConfig
The CarrierSettings app enables/disables carrier apps based on sim
inserted, so use it instead of CarrierConfig.

Change-Id: I163dd615e9d8268c5f94a28ae234a30f74c7e83b
2024-06-08 21:54:12 +08:00
Max Bires
dd3f6a61a1 wahoo: Add VENDOR_SECURITY_PATCH level definition
Change-Id: I0d923d4eb67ddef3be81409676472fe520bbacf5
2024-06-08 21:52:56 +08:00
Eamon Powell
2eb4aefb2e wahoo: Generate symlinks
This is a squash of the following:

Author: Eamon Powell <eamonpowell@outlook.com>
Date:   Tue Mar 31 10:20:49 2020 +1100

    wahoo: Add EGL symlinks

    Change-Id: I292a6180ba08d5a1a3ed9efb8aab6329e7f89fc8

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Sat Sep 30 21:14:38 2017 +0300

    wahoo: Create RFS symlinks

    Change-Id: Ie9bc8ec251ee0cd0dcc8caab230662b6e93b72a5

Author: Christopher N. Hesse <raymanfx@gmail.com>
Date:   Sun Nov 26 00:24:41 2017 +0100

    wahoo: Add IMS + DMService symbolic links

    Change-Id: I105ce0e92533e478df66186f3b0fb59b420365c5

Change-Id: Ic81e0fd5e1435120b3b8ada94c51ab2f91ec1aa2
2024-06-08 21:52:56 +08:00
Eamon Powell
1b8550bf71 wahoo: Add missing properties and packages
Now that we are building our own vendor image, some necessary
packages aren't being built and some props aren't being set.

Change-Id: I3e91822b336761cdecf3f6ebe416276dc0585785
2024-06-08 21:52:56 +08:00
razorloves
1e0f0b574b wahoo: Build the vendor image
* Updated for R. Google moved AB_OTA_PARTITIONS to boardconfig.

Change-Id: I6e77335985526162433b1b879775a6fd89163c5e
2024-06-08 21:52:56 +08:00
beanstown106
8a6b51d85f wahoo: Enable battery led and multicolor notif/battery leds
* Updated comments with latest lights capabilities.

Change-Id: I445277aeebccd8bf6b0897d51d6a0c29d173828c
2024-06-08 21:52:56 +08:00
Abhisek Devkota
1bb665ec7b wahoo: Enable sound trigger
Change-Id: Id5c8572a7297df73b119ff8f0ac4888e235c76b6
(cherry picked from commit e55bed9a5eaa937dd94bb10649eccb8f0102bb49)
2024-06-08 21:52:56 +08:00
razorloves
892f8b1284 wahoo: Hide user facing crash dialog for EUICC app
The GoogleParts app disables the EUICC app when there's no GMS, but it
doesn't happen quick enough. The crash dialog pops up a few times right
after initial boot up. There's no need to alarm the user, so hide it.

Change-Id: Ia06b336b30a8886bae522c6e8a76a1ca15da5edd
2024-06-08 21:52:06 +08:00
Danny Lin
8018eea76e wahoo: Define embedded eUICC slot
Extracted from the RP1A.200720.009 stock ROM.

Change-Id: I88a9b5605914369f2c262dec53571dd638504cfb
2024-06-08 21:52:06 +08:00