Commit Graph

3105 Commits

Author SHA1 Message Date
ec00ef7284 Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.
In favor of using boot control HAL under recovery.

Bug: 34254109
Test: TreeHugger

This is a combination of 2 commits.
This is the 1st commit message:

Revert^2 "Build libgptutils with Android.bp.""

This reverts commit 215189f0b9ff44d28c2b4ace0abb26854b201271.

The previous landing broke checkbuild targets due to namespace issue. As
libgptutils.msm8998 was exposed to global namespace (previously guarded
via conditionals in Android.mk), but had a missing dependency on
nonexposed msm8998 kernel headers.

The relanding adds a Soong namespace of hardware/qcom/msm8998, to ensure
modules only getting built as needed.

Bug: 34254109
Test: Sideload on taimen.
Test: `m -j checkbuild` with aosp_x86-eng
Change-Id: I4a7c4cedcf58c7735172d989912e4f7afad1eaed
Merged-In: I4a7c4cedcf58c7735172d989912e4f7afad1eaed
(cherry picked from commit e74c7611d2cbea03ec8ec1559787a7a57b2bf767)

This is the commit message #2:

Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""

This reverts commit d83c2cc22b3f037e94cd4ad7e19f5985da13a8b8.

The previous landing broke checkbuild targets due to namespace issue.
See the commit message for hardware/qcom/msm8998 change.

Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I775026345eb5fc0ec580ba4ca0282835106a1d35
Merged-In: I775026345eb5fc0ec580ba4ca0282835106a1d35
(cherry picked from commit 4fa8e490208bef42faccf204381dc35ad1cfed46)
2019-10-19 22:26:37 -07:00
1b06bf7b7f mata: Set loop.max_part
Change-Id: Ibfb9e215c53111de4e8de018ea1934405468c6c9
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-10-20 07:23:24 +02:00
27a76659cc mata: Kang walleye offsets for GPU composition
Window animations now have rounded corners, meaning that
the shader that we use is more expensive than it used to be.

Because of this, we need to adjust the SF offsets, to make sure
that we'll have enough time to finish the GPU composition without
dropping frames.

These offsets as similar to blueline's, adjusted slightly because
we were getting false "frame missed" signals if composition
starts too early.

Change-Id: I8173e12b006bc1cab6b4cb0b3a5db9f9b3489819
2019-10-20 07:23:00 +02:00
02054dd806 mata: Turn on GPU protected composition.
Change-Id: Ie385081961d8b89b81a034178d10176197b639d5
2019-10-20 07:22:41 +02:00
8c8fbb6096 mata: Bluetooth HFP: Use WBS by default
Bug: 72624793
Test: compilation
Change-Id: I78ef8705d9fd38db10a4d8f2bc0eac58bcf61d0a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-10-20 07:22:12 +02:00
caa62981e6 mata: Convert IMediaCasService to use vintf_fragments
Change-Id: I43366fd9e95b30948aaa97f1cd5ff8b189de6c52
2019-10-20 07:21:52 +02:00
c97fd73a6f mata: Enable clearkey drm plugin v1.2
test: android.media.cts.MediaDrmClearkeyTest#testOfflineKeyManagement

bug:117570956
bug:110838441
bug:116252891
Change-Id: Ie9373543ef416e718a70e75d95bf5b15a2852705
2019-10-20 07:21:16 +02:00
f401c268ac mata: hostapd(hidl): Uprev to 1.1
Change-Id: I7034121b346b68af8797cc754b1ddcfbe21abd54
2019-10-20 07:20:46 +02:00
ee136328f1 mata: Device Manifest Uprev Wifi HAL from 1.2 to 1.3
Move Wifi HAL from 1.2 to 1.3

Change-Id: If4752781057f66a189707d6b59d3c503b2383707
2019-10-20 07:20:12 +02:00
292a38a0d8 mata: Update manifest with Supplicant 1.2
Update manifest with Supplicant 1.2 to enable WPA3,
OWE and DPP Wi-Fi features.

Change-Id: Iae598248ebfe157cbc272bd5a717b58b731a7bdb
2019-10-20 07:19:16 +02:00
cdf3116b12 mata: Add supplicant 1.2 to init.qcom.rc
Add missing supplicant 1.2

Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
2019-10-20 07:18:50 +02:00
f2fd86fcc8 mata: Drop vndk version prop
* Already handled by build makefiles

Change-Id: Ica772a426c0dd1ca874d8a1725b20d65ee77ad6a
2019-10-20 07:18:18 +02:00
c307613b77 mata: Inherit product api level makefile
Change-Id: I970ef7f9a0d352a286395c7cad79dcaf3245f0ab
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-10-20 07:17:55 +02:00
3070477fdc mata: Setup device soong namespace
Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-10-20 07:16:55 +02:00
93c0592602 mata: Adding Audio HAL V5: Direction API
Change-Id: I4251b3853d00308dbd988625f8e7466a66b823fa
2019-10-20 07:16:19 +02:00
ab7863eb48 mata: switch to IMapper 2.1
Change-Id: I33be48cd40457ceabc24ff5e085fa8ddaa4670e4
2019-10-20 07:16:01 +02:00
4dfb59540e mata: Remove starting servicemanagers
All servicemanagers are started in rootdir/init.rc's `on init`
trigger, so there's no need to start them manually in device specific
rc files.

Test: boot
Change-Id: Ibdea8d5289322aae49af50e325beb793936ea525
2019-10-20 07:15:11 +02:00
b23e251080 mata: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2019-10-20 07:14:40 +02:00
1ea7c0f7da mata: Generate the apex image.
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-10-20 07:14:24 +02:00
3c42e95744 mata: Switch from add_lunch_combo to COMMON_LUNCH_CHOICES
Bug: 77599627
Test: lunch  [see entries in list]
Change-Id: Id44fcfec47eeb979a745f879031f1bec7359a633
2019-10-20 07:13:48 +02:00
93368cd29e mata: Don't set CROSS_COMPILE_PREFIX
Change-Id: Ibbbddffdbcc79f89fa8fcc8fa1486f6aa17088e1
2019-10-14 03:10:07 +02:00
9950326a45 mata: Migrate to androidx
Change-Id: I9c1e9c7259bf4b65ed60efdad96222470bcb5c8f
2019-10-14 03:10:07 +02:00
776be2f0b6 mata: Move brillo_update_payload to host package
Change-Id: I1bdc8a3949107bdc7e80fc87a1897143b0768318
2019-10-14 03:10:07 +02:00
d3cdb6765b mata: No more eng tags
Change-Id: I8e728c7f2910c3552052d232b65338b996d5a569
2019-10-14 03:10:07 +02:00
4db7b82881 mata: Move product variables to product definition
Change-Id: Ibbabe14e2950a8d46caef810102e667a43cccfdc
2019-10-14 03:10:07 +02:00
7ee11377ba mata: Set fingerprint back to OPM1.180104.092
* SafetyNet and all, dontchaknow

Change-Id: Ie77117ebb4d696181f98d965c4271c140d04c94c
2019-09-18 06:47:53 -06:00
87b921948b mata: Media volume: from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
2019-09-10 01:04:09 -06:00
6beb74b363 mata: Remove hard-set of PLATFORM_SECURITY_PATCH
* This was mildly acceptable in August as a way of chasing the CTS
  match dragon, but our platform is September now and this just leads
  to confusion. We can try to find "working" fingerprint sometime
  else.

Change-Id: I99b304a958c79e8e7a7603fbbc2e8d43ed37187e
2019-09-10 01:04:08 -06:00
276db93d90 mata: set config_haveNotch overlay to true
mata has a notch, but this was never set, so users were still able to
do things like enabling the network traffic monitor or setting the clock
position to center, both of which would not be fully visible due to the
notch.

Change-Id: I2aaa0c06b23b40aac120c325ce15fb0992463520
2019-08-28 17:40:57 +02:00
4abf855480 mata: Update audio_policy_volumes.xml from PQ1A.190105.045
With PQ1A.190105.045, Essential tweaked the volume curve for music
streams playing on the phone speaker. Before, the perceived loudness
would increase far too quickly as the user increased the volume to 50%.
Now, the perceived loudness increases in a more smooth and expected way.

Change-Id: Ie67b8ea3ba28b5b2fbe77760f67fc0d46b1f9b7e
2019-08-18 21:57:10 -07:00
fbc42b1c1e mata: Update fingerprint and security level from PQ1A.190105.112
* Note: This includes a horri-bad setting of platform security level
  in order to pass a CTS profile match.

Change-Id: I957c27f2300d48b66769dec1727c6636feb460ac
2019-08-05 20:53:52 -06:00
bd0a8369cf mata: sepolicy: vendor: Add VT_CAM_INTERFCE to vendor_radio_prop group
* Also allow vendor_init to set them.
* Resolves: init: Unable to set property 'persist.radio.VT_CAM_INTERFACE' to '2' in property file '/vendor/build.prop': SELinux permission check failed

Change-Id: Ib5c667be91dadeaadae53a819faa281df561afcb
2019-08-04 16:45:27 +02:00
998a87ad1c mata: Pin updated sensors.hal.tof.so
Patched to read ABS_BRAKE for EffectiveSpadRtnCount instead of
ABS_PRESSURE

Change-Id: I546f046485f7d21cd154835436a723be13da0379
2019-07-31 10:40:15 -07:00
5d07b838ab mata: Add missing ownership/permission changes for
/sys/class/graphics/fb3

During the folding of init.mata.hdmi.sh into init.mata.rc, a few
ownership/permission changes were accidentally excluded, resulting in DP
Alt Mode breaking.

Add these changes back in to fix DP Alt Mode.

Change-Id: I48e265ab7b2f1ecd61a1d5c88e085e36dad34df1
2019-07-31 00:24:31 -07:00
b1d09d62b7 mata: Update fingerprint and security level from PQ1A.190105.090
Change-Id: I26b37f3b3e14c85bb17c0eb2ce1d13276d588854
2019-07-01 18:32:29 -06:00
72e029937a mata: Enable bootloader unlocking reporting
Change-Id: I1af6b504f72f5626679541e8d40c0c2ba2c7956d
2019-06-25 16:48:08 +02:00
1d1192fc44 mata: Add recovery touch support
Change-Id: I9772f5c60b9cbe05d02a36ef85e9ea6306cfac40
2019-06-25 16:48:08 +02:00
f37a96c6e3 mata: Use generic configfs recovery USB config script
Change-Id: Ia82a0428bcdcfd8f6503c9a96efdf0e2e3e2d31c
2019-06-25 16:48:08 +02:00
ec281c8f7a mata: set TARGET_ENABLE_MEDIADRM_64
Use 64 bit crypto libraries for DRM

Bug: 77822369
Change-Id: Ic3309d0c3bd82a37b52c5cb765b007ab2ae2555b
2019-06-25 16:48:08 +02:00
4b5a40c325 mata: Add ADSP Hexagon vector extension callback libs
mmcamera-iface uses this

Change-Id: I02fdc8b7ff7ebe2d172c24e971c2bc0526a9ae7a
2019-06-25 16:48:08 +02:00
170e572b5e mata: Move to common data-ipa-cfg-mgr
* It is now available at vendor/qcom/opensource/data-ipa-cfg-mgr

Change-Id: If66808c4bc2c02f7d253bdc1f7b34b83f559a047
2019-06-24 07:09:04 -06:00
a807578202 mata: Use specific sound_trigger.primary prebuilt
* The library provided by the latest Essential drop does not work.
  Provide a prebuilt that does.

Change-Id: I05269fe6ca8c37ab795ef0b64995169a134a605d
2019-06-23 14:40:57 -07:00
c9199b12ae mata: hal_lineage_livedisplay_default -> hal_lineage_livedisplay_sysfs
Change-Id: If8954290c41913b7453a1cba4d67f7a63d08d2dd
2019-06-17 19:25:38 -06:00
e70852ad41 mata: Update blob list for PQ1A.190105.077
* vendor.display.config@1.0_vendor.so is a new dependency of
  liboemcrypto.so

Change-Id: I4932199f6ebc4276f13ef50a16b224583bb75938
2019-06-08 23:54:09 +02:00
c8d3316076 mata: Set TARGET_KERNEL_CROSS_COMPILE_PREFIX
* Starting with PQ1A.190105.077, we need to make sure to use the
  aarch64-linux-android- toolchain due to kernel GCC_TOOLCHAIN_DIR
  logic updates

Change-Id: Ib75c5f06b27ab8979d28a3446e36d73e29846769
2019-06-03 23:54:08 -06:00
fe711fd1e4 mata: Update fingerprint from PQ1A.190105.077
* Note: vendor security patch level not updated as Essential, yet
  again, did not set one in PQ1A.190105.077

Change-Id: I81221db992bda78222cab52521d5ca8f79ca65c2
2019-06-03 20:05:45 -06:00
2a7e27c094 mata: Enforce privapp permissions
Change-Id: I7aa9bc28806e63709d1d2a5bc4e3ca7070e26241
2019-05-28 09:17:28 +02:00
53ebe84881 health HAL: overrides healthd.
healthd should not be installed on the device

Test: lshal -i | grep IHealth/backup fails
Test: lshal debug android.hardware.health@2.0::IHealth/backup
      shows nothing
Test: vts_treble_vintf_test shows nothing about /backup
      instance
Bug: 77541952

Change-Id: I34e8585b3b702bd5eb86b7821d140c17266d0ab3
2019-05-28 09:17:28 +02:00
3eed36f3c1 mata: Update fingerprint from PQ1A.190105.058
* Note: vendor security patch level not updated as Essential did not
  set one in PQ1A.190105.058

Change-Id: I518c3f52a84d2d29b00dbdc00d71ff6a1661103f
2019-05-10 09:33:42 -06:00
dd6aca8d83 mata: Build Trust HAL
Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
Signed-off-by: Joey <joey@lineageos.org>
2019-04-13 14:28:12 -06:00