Commit graph

3523 commits

Author SHA1 Message Date
Manish Sarkar
827e1a8e00
sdm660-common: init: remove lct diag
We dont need you at all

05-28 19:19:49.428     0     0 I init    : Command 'rm /data/vendor/lct_diag/client_*' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:371) took 0ms and failed: unlink() failed: No such file or directory

Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I1d25b638e9385494f7ce883bab71ddab480559e0
2020-12-13 18:37:01 +06:00
OdSazib
0127312090
sdm660-common: fix: unable to decode UID for 'sensors': getpwnam failed
No such file or directory, Yet!

Change-Id: Ibbf773b1b238c1172ea639e47ffe59db2a1112ed
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
Dan Willemsen
ee0b64d99d
sdm660-common: Still use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
OdSazib
ec64ed4b97
sdm660-common: remove unnecessary deps from vndk
Co-authored-by: Nebrassy <nebras30@gmail.com>
Co-authored-by: Anush02198 <Anush.4376@gmail.com>
Change-Id: I25982798d27a207d6b5d0343989888ecee22d457
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
e29416b670
sdm660-common: skip ELF check for vndk-ext
Change-Id: If2fcf4fa960197f071b4f1c3851dfd0974e538d9
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
9b77a78185
sdm660-common: remove libhwbinder/libhidltransport deps from usb
Change-Id: I0884bd4f4db02f1775e330879e40bf2056ede8c2
2020-12-13 18:37:01 +06:00
Dhananjay Kumar
d857ac4ea0
sdm660-common: rootdir: update audio hal service override as per latest base service definition
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
eedfe19a39
sdm660-common: init: Replace property_set() with android::base::SetProperty()
https: //android.googlesource.com/platform/system/core/+/c88d8f93cfaa8cbf368a0fa94e8bc84bc55c3ece
Change-Id: Ifa21fcb93b9070f063c64521c525ab7d75db6a6d
2020-12-13 18:37:01 +06:00
TheScarastic
1d115a0fe5
sdm660-common: libinit: include full static libbase
Change-Id: Icb67cd6b6759d8cc4fd2e7a98cea74ac68e8ad07
2020-12-13 18:37:01 +06:00
Demon000
19ff6e0599
sdm660-common: Add shim for libdpmframework
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: I5bbfcfafd3898d00b489df2cd057ca6dc043e21c
2020-12-13 18:37:01 +06:00
LuK1337
e87bdd7b32
sdm660-common: Switch vintf manifest from copy files to build targets
* Fixes:
  build/make/core/Makefile:49: error: VINTF metadata found in PRODUCT_COPY_FILES

Change-Id: I0a7ddebff54563f7901b6ce5d6af9580ea201a77
2020-12-13 18:37:01 +06:00
PIPIPIG233666
dbc4a7b0f5
sdm660-common: Patch qti-telephony-common to remove MIUI dependencies
Originally authored by Cosmin Tanislav on P (c06b5ad985dced77d08c95c326df73bbc2d4a2fb)
Adapted to R.

smali edit patch: https://gist.github.com/PIPIPIG233666/72806386c8b93729ce7f2b2c263d8889

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2020-12-13 18:37:01 +06:00
Sandeep Gutta
d5b3e3b880
sdm660-common: Update hidl-wrapper and telephony-utils jar path
Include system_ext path for both hidl-wrapper and telephony-utils jar's

Change-Id: I7cdd93c71bd4a029971188cab60ed98e401be583
CRs-Fixed: 2637090
2020-12-13 18:37:01 +06:00
Sandeep Gutta
2e9e63f853
sdm660-common: Move qti-telephony-common jar to system_ext partition
Move qti-telephony-common jar to system_ext partition.

Change-Id: Ib4c366b2c3ceeea59734902aa1825126e7fa402c
CRs-Fixed: 2608010
2020-12-13 18:37:00 +06:00
Davide Garberi
7d648ced7c
sdm660-common: Update qti-telephony-common from cmi
Change-Id: Ic31142ca3a72d29323a2c7851b84a79bcef6fc12
2020-12-13 18:37:00 +06:00
Felix
8fecc32ed8
sdm660-common: Add protobuf vendorcompat lib
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.

See https://r.android.com/1109518

The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.

See https://source.android.com/devices/tech/config/namespaces_libraries

[wight554: added libprotobuf-cpp-lite as well]

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
2020-12-13 18:37:00 +06:00
LuK1337
80d02cda27
sdm660-common: Build libhidltransport/libhwbinder
* Needed for old blobs

Change-Id: I43fc0e46547dfc126a4b2ac9dcc82c7c4f2ee172
2020-12-13 18:37:00 +06:00
dianlujitao
4c0f154250
sdm660-common: Add LOCAL_CHECK_ELF_FILES := false for libpowermanager
Signed-off-by: Aryan Gupta <guptaaryan189@gmail.com>
Change-Id: I052316f7852d775059d3a95a1f6fdf0b6cb59a31
2020-12-13 18:37:00 +06:00
Arian
eb93de8d19
sdm660-common: Load vndk 29 libprotobuf for libril-qc-hal-qmi and libwhvdil
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I14e2ceef71541003a452775e1dd7f44c8b3b2b5a
2020-12-13 18:37:00 +06:00
Jiyong Park
80a9405ac4
sdm660-common: move VNDK APEX to vendor partition
... for aosp_* targets so that we don't need to update vendor.img everytime
there is a change in the VNDK libraries

Bug: 140136207
Test: build, m
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ibfe67b4cca6ef6648ad39a50154cb539348b008a
2020-12-13 18:37:00 +06:00
Robert Shih
262f018a5e
sdm660-common: Enable v1.3 clearkey drm plugin
Bug: 139134043
Test: MediaDrmTest
Change-Id: Ie34e59947577988f75fae52d22e3f573f4b92420
Signed-off-by: Arian <arian.kulmer@web.de>
2020-12-13 18:37:00 +06:00
Ethan Chen
d1c4577c52
sdm660-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2020-12-13 18:37:00 +06:00
Ethan Chen
85f3e1c9e1
sdm660-common: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2020-12-13 18:37:00 +06:00
Manish4586
3ca41f3482
sdm660-common: remove vndk 28
Test: build
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I788354e9eacf31d1d0c8f65cfbae118e5058d708
2020-12-13 18:37:00 +06:00
Manish4586
ad54b8823c
sdm660-common: libhidl: remove libhidltransport deps
Test: Compile
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ic20a147a782f3f81e5360e36018961840e0e60da
2020-12-13 18:37:00 +06:00
Manish4586
3b747333e8
sdm660-common: boardconfig: disallow vintf metadata
Test: Compile
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I135d960a07407ebd4ef4bbf0556e13c630132d2c
2020-12-13 18:37:00 +06:00
Manish4586
cff57187a6
sdm660-common: boardconfig: disable phony targets
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I3fdf41ebef4e75872b588525edc4e2aac46d9f1d
2020-12-13 18:28:02 +06:00
Subhajeet Muhuri
8b548ce124
sdm660-common: org.ifaa.android.manager: Use new UnsupportedAppUsage annotation
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: Ic152fcc48739158c83f68037b50cfb3565d7ecc5
2020-12-13 18:27:09 +06:00
Demon000
ecae69c66c
sdm660-common: init: remove deprecated load_system_props calls
Change-Id: Iefefd50e20e3e54202b6c177891d440113993444
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:27:09 +06:00
Brad Ebinger
d6df7f9145
sdm660-common: Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2020-12-13 18:27:09 +06:00
Brad Ebinger
1a7e51cd2f
sdm660-common: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:27:09 +06:00
Steven Moreland
ecfc20eadd
sdm660-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:27:09 +06:00
Subhajeet Muhuri
046a47a631
sdm660-common: Update pinner list for new SystemUI location
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: If3c4e6978e2f28206f918d86786460cf2bb13375
2020-12-13 18:27:09 +06:00
Martin Stjernholm
1ea36658d7
sdm660-common: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: I98378100456dce927ccc253301a398d70d1b7368
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:27:08 +06:00
Nicolas Geoffray
72cea2d0f9
sdm660-common: Update in pinned files.
Remove or update paths that don't exist.

Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:27:08 +06:00
Felix
87bee85ee2
sdm660-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2020-12-13 18:25:07 +06:00
Alastair Donaldson
419ee63c8f
sdm660-common: Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: Ia70f8e432bf8b32420904587c9b45529e4045959
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:25:07 +06:00
Ilya Matyukhin
26e79af25c
sdm660-common: Use biometrics.fingerprint@2.2
Bug: 153909042
Bug: 153012763
Bug: 153830435
Test: built taimen-userdebug with a @2.2 HAL
Test: "adb shell lshal | grep fingerprint@" shows the @2.2 HAL
Change-Id: Ied411a65f482ea79d9000e2f4191dba5f8927606
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:25:07 +06:00
Mikhail Naganov
1c13a08a99
sdm660-common: Switch to Audio HAL V6
Switch sdm660-common to Audio HAL V6

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
            manual audio "smoke" test on sdm660-common

Change-Id: Ieb1cc5c7fdcc5416a328a0a5c4a1996258b81ac8
2020-12-13 18:25:07 +06:00
Aayush Gupta
b2a2736410
sdm660-common: Remove qcom.fmradio from PRODUCT_BOOT_JARS
- It's loaded as app library, hence not needed to be a boot jar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1b1357be08b511f5af7663dee256849e2f2b1b63
2020-12-13 18:25:07 +06:00
Yingjie Wang
31e059f021
sdm660-common: Remove gnss hidl entries in manifest.xml
Remove all android.hardware.gnss
entries in manifest.xml, since these manifest fragments
are moved to gps git projects.

Change-Id: Ieb3b0b4244ff075ba254d2e3ad1209c92fd3a4d6
CRs-fixed: 2548467
2020-12-13 18:25:07 +06:00
Jimmy Chen
b049da5759
sdm660-common: TetheringOverlay: revise p2p tether interface regex pattern
cheryl does not use separate interface for a group, it will share main
p2p0 interface.

Bug: 141382930
Test: run P2P with cheryl as GO
Change-Id: I061ed0ac66f8ae75c84d7683f66d4baffd3a3112
2020-12-13 18:25:07 +06:00
Jimmy Chen
26da0c2fb1
sdm660-common: TetheringOverlay: add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6
2020-12-13 18:25:07 +06:00
LuK1337
2a552a7449
sdm660-common: TetheringOverlay: Remove bnep\\d from tetherable BT interfaces
Change-Id: Iac714d2de9a4d225da6fc3463d3fb99a4bb714a7
2020-12-13 18:25:07 +06:00
LuK1337
8062c98553
sdm660-common: TetheringOverlay: Disable BPF offload
The new trafficController design is based on per-cgroup eBPF filter as well as xt_bpf netfilter module inside the kernel.
However, support for per-cgroup eBPF is available on only on kernels >=4.9 . Disable BPF offloading support completely
as without proper per-cgroup eBPF, the stats returns errors continuously.

E TetherController: Error processing tether stats from BPF maps: Get firstKey map -1 failed: Bad file descriptor

Ref:
[0]: https://source.android.com/devices/tech/datausage/ebpf-traffic-monitor
[1]: 4e0a5f13fc/server/TetherController.cpp (L1047)

Change-Id: Ic7db658130f42fc0737bfb52aef7235c6fea0db2
2020-12-13 18:25:07 +06:00
LuK1337
9614c2d4c9
sdm660-common: rro_overlays: Redo TetheringOverlay's blueprint
This now matches WifiOverlay.

Change-Id: I9e4e859b7aca75d41556ea5807e34a4eb4598266
2020-12-13 18:25:07 +06:00
Weilun Du
d008a7e9a6
sdm660-common: Add TetheringOverlay
BUG: 163800715
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-12-13 18:25:07 +06:00
Roshan Pius
9ddf8cdc12
sdm660-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-12-13 18:25:07 +06:00
Roshan Pius
f35725bd0c
sdm660-common: overlay: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I45881ed210132252b9c5c7d6be03ed845e33f971
2020-12-13 18:25:06 +06:00
Ahmed ElArabawy
5d20308705
sdm660-common: Wifi: Replace config_wifi_dual_band_support
As part of the 6GHz band support, there is now more than 2 bands and
hence config_wifi_dual_band_support is misleading.
This commit replaces this config with config_wifi5ghzSupport which is
more reflecting to the device support check.

Bug: 145936758
Bug: 139354972
Test: Builds and Wifi runs successfully.
Change-Id: I6a1a18965b8020049f9b395ae97b6d84e4f5ae94
2020-12-13 18:20:07 +06:00