Commit graph

559 commits

Author SHA1 Message Date
Michael Bestas
c3b168d280
wayne-common: Set TARGET_PROVIDES_QTI_TELEPHONY_JAR
* Avoids the following warnings on every single rebuild of anything:
build/core/Makefile:34: warning: overriding commands for target
 `/out/lineage-16.0/target/product/wayne/system/framework/qti-telephony-common.jar'
build/core/base_rules.mk:391: warning: ignoring old commands for target
 `/out/lineage-16.0/target/product/wayne/system/framework/qti-telephony-common.jar'

Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
2019-08-14 10:04:10 +02:00
Joey
a1537efd0e
wayne-common: doze: Match Pie settings UI
Change-Id: Ia1cde37923c55faf057189f7085b69522e2802ef
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
GuaiYiHu
75629ce9e4
wayne-common: libhidl: Remove android.hidl.manager
* Also move android.hidl.base@1.0 to system

Change-Id: I06695669f988f28ebfc2016030033f419bb95191
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
razorloves
3fe1eb05d7
wayne-common: Add missing delimiter in lineage.dependencies
Change-Id: Ie4bd66c35e22aa70450f9de64691e50f5551e25d
2019-08-14 10:04:10 +02:00
PIPIPIG233666
4a6e98cb56
wayne-common: Clean up unused packages
* Drop gpio_keys.kl too since its unused.
 * Don't provide a module for qcrilhook since its not necessary.
 * Move imssettings to vendor.

Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I74d9576586c1424fae0e8fedcf6e83326ff6802e
2019-08-14 10:04:10 +02:00
GuaiYiHu
249079989c
wayne-common: media: Update media configs from MIUI 9.3.25
Change-Id: I3fd0039b3320191d33a62014f12b81398073a692
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
dianlujitao
33b0e4fac1
wayne-common: Tweak media profiles
* Remove unsupported profiles in AOSP from media_profiles_vendor.xml:
   - vga
   - 4kdci
   - timelapsevga
   - timelapse4kdci
   - highspeedcif
   - highspeedvga
   - highspeed4kdci
   - qhd
   - 2k
   - timelapseqhd
   - timelapse2k
   - lpcm
   and use it as media_profiles_V1_0.xml
 * Remove never used CAF media_profiles_V1_0.xml.

Change-Id: I8309af0804caf32ab0870a7ad754b8d41dc9b544
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
GuaiYiHu
e5b5dcfa26
wayne-common: Update GPS from LA.UM.7.2.r1-05800-sdm660.0
Change-Id: Idaec6889200d67c776222aebecdc9c0255e2b963
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
Bruno Martins
b460d319e8
wayne-common: Migrate to livedisplay 2.0
Change-Id: I513c284c534ce3abc27bf374513280171454f4d1
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
GuaiYiHu
ea9e8c475d
wayne-common: rootdir: Kill init.qti.qseecomd.sh
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I6fe31f784abd08bd4d7ca79e238f10087c16ca69
2019-08-14 10:04:10 +02:00
Ethan Chen
d37c839c72
wayne-common: Remove init.qcom.early_boot.sh
* This script doesn't do anything useful, since it tries to set a lot of
  ro.* properties, which is not allowed anyway.

Change-Id: I408cc17d0d18e81a9cf0e529e6b78622c3017a7f
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
Dan Cashman
b1f434c446
wayne-common: Add BOARD_PLAT_[PUBLIC|PRIVATE]_SEPOLICY_DIR
Move vendor policy to vendor and add a place for system extensions.
Also add such an extension: a labeling of the qti.ims.ext service.

Bug: 38151691
Bug: 62041272
Test: Policy binary identical before and after, except plat_service_contexts
has new service added.
Change-Id: Ie4e8527649787dcf2391b326daa80cf1c9bd9d2f

Change-Id: I1493c4c8876c4446a1de46b39942098bf49c79f8
2019-08-14 10:04:10 +02:00
Isaac Chen
c4214a9df8
wayne-common: Address denials for P
Signed-off-by: Isaac Chen <tingyi364@gmail.com>
2019-08-14 10:04:10 +02:00
Isaac Chen
9f3cd6824a
wayne-common: proprietary-files: Update graphics from LA.UM.7.2.r1-06900-sdm660.0
Signed-off-by: Isaac Chen <tingyi364@gmail.com>
Change-Id: Icfcb155f55201e444a4f56ce7e0a4cc2e56480f8
2019-08-14 10:04:10 +02:00
dianlujitao
81dc39d3e4
wayne-common: Update IFAA for pie blobs
Change-Id: I2801cc3633416a1552c07230b68cf1d83b484edc
2019-08-14 10:04:10 +02:00
Isaac Chen
423181d61b
wayne-common: Uprev mlipay to 1.1
Signed-off-by: Isaac Chen <tingyi364@gmail.com>
2019-08-14 10:04:10 +02:00
dianlujitao
8ff49b15bd
wayne-common: Access mlipay hal via a binder service
* Untrusted apps are no longer allowed to directly access hwbinder on
   Pie, implement a system service as a middleware between mlipay hal
   and untrusted apps.
 * Xiaomi uses similar solution for MIUI on Pie.

Change-Id: Ie52376b1f7bcd84d219fe73bceb4bdd6cc2b9980
2019-08-14 10:04:10 +02:00
dianlujitao
63ec762eee
wayne-common: Support Alipay fingerprint payment
* IFAA manager is based on OnePlusOSS, but adapted for Xiaomi's mlipay
   interface.Also hardcode model detection to pass Alipay check.
 * vendor.xiaomi.hardware.mtdservice@1.0.so is not actually used, thus
   patchelf to drop it rather than shipping a blob.
 * Modify libmlipay.so to allow load firmware from vendor

Change-Id: Idf3d3a8d40245984767f4ef5f60f9fe584e69f21
2019-08-14 10:04:10 +02:00
Joey
98494a1707
wayne-common: Build Trust HAL
Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
2019-08-14 10:04:10 +02:00
Isaac Chen
440c138626
wayne-common: Update from jasmine
* jasmine_sprout 9 PKQ1.180904.001 V10.0.9.0.PDIMIXM release-keys
 * Graphics SDM from LA.UM.7.4.r1-04100-8x98.0

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Change-Id: I457f9d446b86b856e2cebe85b698403005c58d3e
2019-08-14 10:04:10 +02:00
Nivedita Sarkar
b7a234474d
wayne-common: Add libsutilscallstack to the vndk libraries
- libutilscallstack is being dynamically loaded by
  a vndk enabled library that is available to vendor
  but lisutilscallstack is not

- To fix this, we need to add libutilscallstack to vndk libraries

- Also add any dependent libraries (libdexfile)

Change-Id: Iefb26b9d50f2cef3902a035c78fbd58b418db116
CRs-Fixed: 2191124
2019-08-14 10:04:09 +02:00
Siddeswar Aluganti
539451fbaa
wayne-common: Add libunwindstack to vndk-sp.
Change-Id: I7e30ed1aee1fdd8235820570753f8af02f8a6556
2019-08-14 10:04:09 +02:00
Divya Sharma
62f084d352
wayne-common: Migrate to versioned VNDK layout
Bug: 78605339
Test: boots

Change-Id: I43a22047d0bd21c57a2eee866799a96582aa6d70
2019-08-14 10:04:09 +02:00
Vinay Verma
f9ebba028a
wayne-common: Disable vndk-sp creation for VNDK enabled targets.
Change-Id: Idf17c7ddeab922c231fc3e9bb786c45dfa54684b
2019-08-14 10:04:09 +02:00
Naseer Ahmed
4e350e4c0c
wayne-common: Add Mapper 2.1 to VNDK SP list
Change-Id: I24cbc517877e4e7f5827556061dcb5874918fc35
2019-08-14 10:04:09 +02:00
Isaac Chen
f3b23dd109
Revert "Revert "wayne: Update vndk-sp build mechanism and library set.""
This reverts commit f40c0a7d0f.
2019-08-14 10:04:09 +02:00
Isaac Chen
84416c8761
Revert "wayne: Build with VNDK=current"
This reverts commit 92cea1314c.
2019-08-14 10:04:09 +02:00
Bruno Martins
166193ff9f
wayne-common: Move to common data-ipa-cfg-mgr
* It is now available at vendor/qcom/opensource/data-ipa-cfg-mgr

Change-Id: If66808c4bc2c02f7d253bdc1f7b34b83f559a047
2019-08-14 10:04:09 +02:00
Isaac Chen
256da7a495
wayne-common: Synchorize gps to P
* QC Tag: LA.UM.7.2.r1-04900-sdm660.0

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-08-14 10:04:09 +02:00
Isaac Chen
660f9a315c
wayne-common: Specify cache for non-AB variant device
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-08-14 10:04:06 +02:00
Isaac Chen
ae5a6d2790 wayne-common: Synchronize IPACM to P
* QC Tag: LA.UM.7.2.r1-04900-sdm660.0

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-07-01 16:42:18 +02:00
Isaac Chen
85cc63e4da wayne-common: Regenerate manifest for P compatibility
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-07-01 16:42:18 +02:00
Bruno Martins
8d1d665ec8 wayne-common: Doze: Drop useless SDK dependency
Change-Id: I74901339740b82b79f36754c7e52894a98020c3d
2019-07-01 16:42:18 +02:00
Anton Hansson
0f749157fd wayne-common: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Change-Id: Ic906adbd670c4dbfe2cdf0b71cdbeaf9ac08a27e
2019-07-01 16:42:18 +02:00
Isaac Chen
8e8480fcb5 wayne-common: proprietary-files: Commonize camera libraries
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-07-01 16:42:18 +02:00
Vatsal Bucha
0e29c95b5b wayne-common: Update mixer paths for sdm660 internal codec
Internal codec has a direct connection between
ADC1 and AMIC1. Add a switch to prevent default
powering up of AMIC1.

CRs-Fixed: 2058182
Change-Id: If00b3d239655d2ecc77654ab379bbc0bd57e5b0d
2019-07-01 16:42:18 +02:00
Preetam Singh Ranawat
ad5dc43c5c wayne-common: Remove default sampling rate and channel entries for bt a2dp
-Remove default setting of sampling rate to 48K and stereo channel
  for bt a2dp as support for multiple sampling rates and channels
  over a2dp is added and being set from hal.

Change-Id: I8a40182af0d97b31b136a1928cbbe6f728eb950f
2019-07-01 16:42:18 +02:00
Ramjee Singh
300d8d7b98 wayne-common: Separate BT sample rate Rx and Tx backend config
Independent configuration of Rx and Tx backend sample rates
for BT usecases.

Change-Id: Ic2437531dad1e53e866100c4022e4667103f4c92
2019-07-01 16:42:18 +02:00
Samyak Jain
3f98673607 wayne-common: Support 2 instances of "primary input"
No Audio heard in FM Speaker when FM record and FM speaker are on simultaneously

With default values for maxActiveCount and maxOpenCount,
FM app is unable to record and play FM audio on speaker simultaneously
since it uses application loop back(AudioRecord->AudioTrack)
to route FM audio to non-default devices(Speaker)

Add attributes maxActiveCount="2" and maxOpenCount="2" to mixPort "primary input"

CRs-fixed: 2249758
Change-Id: I82a1cb0d5596486d531d5324b91f932f52b07f9e
2019-07-01 16:42:18 +02:00
Ramjee Singh
5b31993886 wayne-common: audio: Add microphone characteristics and snd device mapping
Populate microphone characteristics for supported microphones on
platform. Map input sound devices to specific microphone ids.

Change-Id: I9aab6ef04bb941533261740723ffcf78645d3e1e
2019-07-01 16:42:18 +02:00
Md Mansoor Ahmed
fd9c425e2a wayne-common: config: Update keep_alive to support silence playback on non-hdmi devices
Keep_alive can now handle silence playback on multiple concurrent
devices such as primary output devices as well as HDMI

Change-Id: Icdf22c9d8d1264d463b23c8f54020e792840b73c
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
2019-07-01 16:42:18 +02:00
Satya Durga Srinivasu Prabhala
1adec2f1a9 wayne-common: sec_config: Allow sensors group process to QMI Sensor services
Enable Sensors QMI services for sensors process groups.

CRs-Fixed: 431081

Change-Id: Ibbdb0e07d9497e1809e7ef817e8400d4a9e4f8c1
2019-07-01 16:42:18 +02:00
jkalsi
7ea4234792 wayne-common: Allow rfs_shared and QDMA QMI service
Change-Id: I2d065eadf051e1bff0c252891a7818e871be6bee
2019-07-01 16:42:18 +02:00
Kineret Berger
b195321f26 wayne-common: Add tloc daemon to sec_config
in order to communicate with the modem we need permission for IPC router.
adding tloc daemon group (1026) to service 0x10

Change-Id: I3ab4a37bbed3fd496a73ffa7d12f908d8d8b8c36
CRs-Fixed: 1106225
2019-07-01 16:42:18 +02:00
Baili Feng
a38915b54c wayne-common: Allow xtwifi-client to access wake alarm
Add WAKE_ALARM for xtwifi-client
CRs-Fixed: 2109587

Change-Id: If42eb7f0890d32511e5082498f8edb9c11b72d52
2019-07-01 16:42:18 +02:00
Brandon
6f9f1863cc wayne-common: Data IMS: A new HAL for passing SIP Call info headers to Clients
Desc: Permission to access the QMI and HAL from RCS Daemon

Change-Id: I45d944376179d0f6f6704563ac3da631a3fa9c64
2019-07-01 16:42:17 +02:00
dianlujitao
ac19818dc8 wayne-common: Remove power-off alarm stuff from init extension
* CAF's init.qcom.early_boot.sh checks /persist/alarm/powerOffAlarmSet
   before setting ro.alarm_boot, but on Oreo nothing writes to that
   file, thus code is never executed and the prop is never set.
 * Without ro.alarm_boot=true, the system will boot normally instead of
   boot to min framework even on rtc, and alarm will ring after boot
   completed.

Change-Id: Ie4d30358314337c229a66a16195f675198ef7d52
2019-07-01 16:42:17 +02:00
Rohit Rangwani
71ebc1623e wayne-common: Remove NFC data directory creation
Removed NFC data directory creation to fix
vendor_init access denial issue.

NFC data directoty is already being created
by system core init.rc.

Change-Id: I7ebb88dc7b2df988a8af477baa81fe9253030ffb
2019-07-01 16:42:17 +02:00
Sridhar Parasuram
b7d6af20d7 wayne-common: Address dac_override and dac_read_search issues in init.qcom.sh
init.qcom.sh accesses files owned by groups radio, system and hence
the groups have been added.

Change-Id: I535eeaf42f38532ec6de46eb57f3cc0e1d959a47
2019-07-01 16:42:17 +02:00
RAJATH R
92fd2d3603 wayne-common: Create new directory for Bluetooth SoC dump
Create new directory for Bluetooth SoC dump/logs
collection for new Android P dump format

Change-Id: I1257518fa12420a6d8d5bb66f15782ab97582f36
2019-07-01 16:42:17 +02:00