Commit graph

897 commits

Author SHA1 Message Date
nebrassy
32f1b62062
sdm660-common: drop composer and health from compatibility matrix
these are the wrong instances anyway

Change-Id: I3488f1c12dc392195e72c15ae5f8aed478aa7e34
2019-09-27 17:13:44 +02:00
Erfan Abdi
36941cae85
sdm660-common: Setup device soong namespace
Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-27 17:13:44 +02:00
Garret Kelly
f831e05b9f
sdm660-common: Set BOOT_SECURITY_PATCH during build
This property is now used during boot to provide the TEE-backed
keymaster with the correct boot SPL.  Set it to the platform SPL until
it diverges as part of an update.

Bug: 119549677
Test: verified boot.img has property using avbtool
Change-Id: I6d96404918cf18d0fee79c701394b39baf349c53
Signed-off-by: Henrique Pereira <hlcpereira@outlook.com.br>
2019-09-27 17:13:43 +02:00
Jyotiraditya
5c8398be2c
sdm660: Don't build Xiaomi(Doze & Parts) for now
Signed-off-by: Jyotiraditya <dreadnaught02@outlook.com>
2019-09-16 10:39:53 +02:00
Volodymyr Zhdanov
7bdbd9ff91
sdm660-common: org.ifaa.android.manager: switch to blueprint
Change-Id: Ia7b977cd407e94f5f195234ecaddc6703e253675
2019-09-16 10:39:53 +02:00
Erfan Abdi
af6aca3fc6
sdm660-common: fingeprint: Add uhid group for fingerprint service
Change-Id: I318d4650a6618c10674a34691bc1b8e43af462b8
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
[adapted for oss hal]
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2019-09-16 10:39:53 +02:00
Arian
4171cb8ef0
sdm660-common: Use aosp wlan hal for now 2019-09-16 10:39:53 +02:00
Arian
607486efe3
sdm660-common: Uprev clearkey to 1.2 2019-09-16 10:39:53 +02:00
Mingshu pang
cc66284cdc
sdm660-common: Remove Dolby formats by default.
The AC3, EAC3 formats are supported only when
license and respective decoders are present.
Having these entries in policy configuration
by default will unnecessarily trigger
open_output_stream and then fail when
decoders are not present. This results in
glitches at the begining of playback of video
clips with AC3 or EAC3 audio contents.

Removed these entries to make the video playbck
smooth with out any glitches.

CRs-Fixed: 2428579
Change-Id: I41b7ef9d8e2c5f77c261067337f602d705e11c35
2019-09-16 10:39:53 +02:00
LuK1337
b0cd3e875d
sdm660-common: audio: Remove hw_acc effect
* It doesn't work at all.

Change-Id: I36008b1d40f5bed59cb67526ec662828d6e2c850
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-09-16 10:39:53 +02:00
Justin Yun
23aea2d283
sdm660-common: vndk: Add missing vndk-sp libs to the VNDK-SP list
For the Treble devices without BOARD_VNDK_VERSION, we must have a
list of vndk-sp libs.
If there are some missing vndk-sp libs in the list, add them to the
list automatically.
Bug: 72470805
Bug: 69526027
Test: build sailfish/marlin and check boot
Change-Id: Ifc30ae32b6353141954bdcb8b0e40940382eb8a4
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
cc53ae1eb7
sdm660: Make shim for camera.sdm660
P: GraphicBuffer::lock(uint32_t inUsage, void** vaddr);
Q: GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride);
Error: cannot locate symbol "_ZN7android13GraphicBuffer4lockEjPPv" referenced by "/vendor/lib/hw/camera.sdm660.so"

Change-Id: I1c1fe66f3f73149ced601eae87b970ce392d50ee
2019-09-16 10:39:53 +02:00
Peter Kalauskas
9c0b47e3e8
sdm660: Convert IMediaCasService to use vintf_fragments
Change-Id: I43366fd9e95b30948aaa97f1cd5ff8b189de6c52
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2019-09-16 10:39:53 +02:00
Jyotiraditya
5e3b9275de
sdm660: Remove depreciated libmediaextractor
maybe its moved to libstagefright and libstagefright_foundation
as per 54c8809675

i am not sure

Signed-off-by: Jyotiraditya <dreadnaught02@outlook.com>
2019-09-16 10:39:53 +02:00
Arian
f66c3a3f04
sdm660: Disable sepolicy and Add minimal sepolicy 2019-09-16 10:39:53 +02:00
mjavid
2d40c8bcf4
sdm660: ipacm: Fix compilation error for switch case
Insert fallthrough statement to fix compilation
error for unannotated fall-through between switch
labels.

Change-Id: Ibc5f3f0cdc29e8144a47059c31ce15441a90ddac
2019-09-16 10:39:53 +02:00
Jaekyun Seok
f036ce1c01
sdm660: Remove PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE
This CL will fully enable whitelisting system properties. To do that,
the following unnecessary action triggers are removed as well.

Bug: 74266614
Test: succeeded building and tested with blueline
Change-Id: I0048fd41a5bcd16dd54ba00ac40c0afbfef21d58
2019-09-16 10:39:53 +02:00
Wei Wang
3875693331
sdm660: move PRODUCT_DEXPREOPT_SPEED_APPS from BoardConfig
add SysUI to PRODUCT_DEXPREOPT_SPEED_APPS

Test: Build
Change-Id: I088938462b389e1ebe783997f773dc5946345666
2019-09-16 10:39:53 +02:00
Max Weffers
e2cc2fde08
Revert "sdm660-common: Switch to enforcing"
This reverts commit 7b8535343b.
2019-09-16 10:39:53 +02:00
Erfan Abdi
1aa843b250
sdm660-common: drop vr for now
Change-Id: Ic5f50978377c57878e13a4981465b81c37c64472
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
dee1cb1d2a
sdm660-common: set clang version for Q
Change-Id: I0c27867afb299ed54674c9aca58a0f8b2a32bfd9
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
0485118170
sdm660-common: Build broken PHONY
Change-Id: Idb8418cfb6335fa7257e084e1d135dc6fb29ebc4
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
55ddd8afc2
sdm660-common: gps: Add libprocessgroup
* needed for set_sched_policy

Change-Id: I05955753c1828afa6c6f64c00a7de8eafa53e45e
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
74c3188f8e
sdm660-common: Drop -p arg from init chmods
Change-Id: I4dbf4c3f2560974a052401d67bbb6d43f2316dd3
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Michael Wright
464dc9dc12
sdm660-common: Enable haptic text cursor.
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2019-09-16 10:39:53 +02:00
David Su
101bcfa130
sdm660-common: Enable link Probing
Change-Id: I66a5fcb3b9e4645521f1fa258eb74f563cc816a8
2019-09-16 10:39:53 +02:00
xshu
7cb966078c
sdm660-common: Enable connected MAC randomization
Change-Id: Ia3f58a44c2e072aaa6c711a9db37219626894c67
2019-09-16 10:39:46 +02:00
Nicolas Geoffray
54dfbf35b7
sdm660-common: Adjust pinned files following runtime module work.
Change-Id: Ib76cf5247a4bee15b5f638b9539cc9e3272ec290
2019-09-16 10:36:23 +02:00
xshu
766c27f202
sdm660-common: Disable BSS flush
Change-Id: I94e639fecef85107f70de8601b377c927cbe7f75
2019-09-16 10:36:23 +02:00
Ecco Park
329c01009b
sdm660-common: add parameters for Hotspot 2.0
Those parameters need to set for Hotspot 2.0 network

interworking=1 : Enable Interworking
hs20=1: Enable Hotspot 2.0
auto_interworking=0 : Do not automatically go through Interworking
                      network selection in wpa_supplicant
Bug: 118633353
Test: live test with Passpoint AP
Signed-off-by: Ecco Park <eccopark@google.com>

Change-Id: Ic2351295802265516f20466113c08e2df0796dfa
2019-09-16 10:36:23 +02:00
Roshan Pius
78d42ffc70
sdm660-common: wpa_supplicant(overlay): Increase max bss count
Qcom's driver can support a max of 512 scan results. Ensure that
wpa_supplicant is in sync with that number.

Change-Id: I62dbd2bd3789c454e9683320d3a58f67019ea7ee
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:36:23 +02:00
Peter Kalauskas
4b74cf1c0f
sdm660-common: Convert IMediaCasService to use vintf_fragments
Change-Id: I43366fd9e95b30948aaa97f1cd5ff8b189de6c52
2019-09-16 10:36:23 +02:00
Erfan Abdi
7d5ed49e06
sdm660-common: Force disable bluetooth audio hal 2.0
Change-Id: I217becb041395865a1c6f997b0cbc0c994d04e78
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:36:23 +02:00
Paul McLean
f53e504d2c
sdm660-common: Adding Audio HAL V5: Direction API
Change-Id: I4251b3853d00308dbd988625f8e7466a66b823fa
2019-09-16 10:36:23 +02:00
Peiyong Lin
c248538a8b
sdm660-common: Turn on GPU protected composition.
Change-Id: Ie385081961d8b89b81a034178d10176197b639d5
2019-09-16 10:36:23 +02:00
Brad Ebinger
b05b6cceb2
sdm660-common: Enable FEATURE_TELEPHONY_IMS for this device.
Change-Id: Ibdd8cfad8fa26b147d1c318eb43e4bf181ae4037
2019-09-16 10:36:23 +02:00
Jiyong Park
d0ba8cd423
sdm660-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of
APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2019-09-16 10:36:08 +02:00
Nicolas Geoffray
3a60aea53a
sdm660-common: Generate the apex image.
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-09-16 10:34:06 +02:00
Hai Shalom
42c6e1e0ad
sdm660-common: Add supplicant 1.2 to init.hardware.rc
Add missing supplicant 1.2 to init.hardware.rc to wahoo project.

Bug: 129693419
Test: lshal
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_2Host
Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
2019-09-10 07:58:33 +02:00
Hai Shalom
af6b0e3fa9
sdm660-common: 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-09-05 12:21:14 +02:00
Roshan Pius
54e09162b1
sdm660-common: hostapd(hidl): Uprev to 1.1
Change-Id: I7034121b346b68af8797cc754b1ddcfbe21abd54
2019-09-05 12:21:14 +02:00
Jong Wook Kim
96b5aa1693
sdm660-common: Device Manifest Uprev Wifi HAL from 1.2 to 1.3
Move Wifi HAL from 1.2 to 1.3

Change-Id: If4752781057f66a189707d6b59d3c503b2383707
2019-09-05 12:21:14 +02:00
Dan Willemsen
6d233d0615
sdm660-common: build have overriding commands
These products have warnings about overriding build commands, which
means that there are multiple instructions on how to build a file, and
we've just picked one of them. Which one we pick is usually stable, but
it can change.
Bug: 77611511
Test: turn default to false, walleye still uses a warning
Change-Id: I11d194863b313f64b19291f65219682b169d9ced
2019-09-05 12:21:14 +02:00
Sravan Kumar D.V.N
44e2dc0c85
sdm660-common: init: Attach mm-pp-dpps process with hwcomposer-2-1
Detach mm-pp-dpps process (ppd service) with SF and Zygote
and tie with hwcomposer-2-1.

Change-Id: Ice597126666e3368913acbd80149290e3c8005a4
2019-09-05 12:19:36 +02:00
Vachounet
c339de8739
sdm660-common: build kernel with clang
Change-Id: I13f6be472f4db2baf79d8081be3b4411bb2b9e54
2019-09-05 12:19:22 +02:00
Rashed Abdel-Tawab
621f7c3663
sdm660-common: Move privapp permissions to system
These APKs live on system (since well, they're priv-app).
Move these to system so they reside with their corresponding APKs.

Change-Id: I454f4d07cb3916fab683fdb0078cdb0fab55f612
2019-09-05 12:17:56 +02:00
celtare21
efcc3f888c
sdm660-common: Compile HWUI in Performance Mode
Signed-off-by: celtare21 <celtare21@gmail.com>
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-09-05 12:17:56 +02:00
Max Weffers
619aae8793
sdm660-common: Cleanup and properly format privapp-permissions xml 2019-09-05 12:17:56 +02:00
Arghya Chanda
85bd26a609
sdm660-common: add privapp-permissions for MiuiCamera
E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.camera: android.permission.WRITE_MEDIA_STORAGE, com.android.camera: android.permission.WRITE_SECURE_SETTINGS, com.android.camera: android.permission.INTERACT_ACROSS_USERS}

Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
2019-09-05 12:17:56 +02:00
Garik Badalyan
969a600555
sdm660-common: Whitelist org.codeaurora.ims package
org.codeaurora.ims has become a priv-app
to acquire some permissions we need to
whitelist the package.

Change-Id: I3f31f949e054cc79f8cff99e66cbcb70f5f0715f
2019-09-05 12:17:56 +02:00