Commit graph

481 commits

Author SHA1 Message Date
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
Karthik Gopalan
10578e056a wayne-common: Swap disk creation
Create swap disks

CRs-Fixed: 2264866

Change-Id: Id57a4e8d413c7dafb49d073980f10010003f616e
2019-07-01 16:42:17 +02:00
himta ram
de7e8b274e wayne-common: Change /data/misc/fm to /data/vendor/fm
Change-Id: I369e0a858c8fddb4574dad5b54b2a3e0980ea3a6
2019-07-01 16:42:17 +02:00
dianlujitao
a0cd49dea9 wayne-common: Add custom hals to device framework compatibility matrix
Change-Id: Ic2ccd0989fe02196327861058ab22b9b58261e53
2019-07-01 16:42:17 +02:00
dianlujitao
a88eebac79 wayne-common: Rename bt props for new HAL
Change-Id: I1afd110bffed0f43b1afcbef99be8a3776d24e0b
2019-07-01 16:42:17 +02:00
Saurabh Srivastava
1aa404f46b wayne-common: Moving location sockets from /data to /dev
Keeping sockets in /data/vendor/location prevents
unmounting of /data partition after build load.

CRs-Fixed: 2175511
Change-Id: Ide726a84b6b5f8df0c18d7d7dcbc1ee469b6d934
2019-07-01 16:42:17 +02:00
Udaya Bhaskara Reddy Mallavarapu
ac0b0b363a wayne-common: Enable 64 bit DRM plugins compilation
Enable 64 bit compilation for DRM plugins.
This will generate DRM plugins, HALs & oemcrypto_test in 64 bit.

Change-Id: I451db39edea3446d9816fcaba77caa8d3b097afb
2019-07-01 16:42:17 +02:00
Rajavenu Kyatham
621c1f6b86 wayne-common: Update display config compatibility matrix
Change-Id: I188bdd6c4343d1168cf522a68cb28c4a52844e8f
2019-07-01 16:42:17 +02:00
Xu Yang
a8e2e37d10 wayne-common: Update display color 1.2 in framework compatibility matrix
Change-Id: If115b60360710bd8041ad42ff83d428c186d8c9b
2019-07-01 16:42:17 +02:00
Baili Feng
bf2eb25f98 wayne-common: Add 1.0::IGnss/gnss_vendor to compatibility matirx
ILocHidlGnss/gnss_vendor is derived from 1.0::IGnss.
So it provide a 1.0::IGnss service named gnss_vendor.

CRs-fixed: 2290565
Change-Id: I5bca0c51737e9ebf7f4ffd700f36a99c8af14073
2019-07-01 16:42:17 +02:00
Pullakavi Srinivas
52d2e18728 wayne-common: Update display config compatibility matrix
Change-Id: I8fbf71935121d3c10acb0daf6807bb4cdd3fbb55
2019-07-01 16:42:17 +02:00
Sumit Das
ecabb3c0a4 wayne-common: Update framework compatibility matrix to be compatible with IMS HALs
Updated the framework compatibility matrix so that the framework is
compatible with all the versions of IMS HALs on the device.

Change-Id: I7f85e4a370686d7cad122ed1a7138ba536f52ba4
CRs-Fixed: 2267353
2019-07-01 16:42:17 +02:00
Shantanu Jain
4c66a53315 wayne-common: Remove improveTouch HAL Entry from vendor framework manifest
Change-Id: Ibccf58dad4618cd2146916b81119c91690d803dc
2019-07-01 16:42:17 +02:00
Eric Chang
c1b88719fc wayne-common: Add vendor.qti.data.factory to framework compatibility matrix.
Change-Id: Ic68b7170917360ada7f9422990d06322029fcc96
2019-07-01 16:42:17 +02:00
Vinay Verma
173235b2fc wayne-common: Add vendor HAL entries in framework compatibility matrix
Change-Id: Ib325afd8437647ab8eaccdd03ef8f96a33215b97
2019-07-01 16:42:17 +02:00
Anjaneya Prasad Musunuri
6d05233464 wayne-common: Update compatibility matrix with Display HAL's
Update vendor frameworks compatibility matrix with
display HAL's.

CRs-Fixed: 2227449

Change-Id: I62f2ee494652ff6f3b14c791d4eeb27f056e765d
2019-07-01 16:42:17 +02:00
Vinay Verma
b4ae0e40d6 wayne-common: Add MATRIX file for vendor HAL's
Change-Id: I6c7eed54f066e61ad8039eef5ee6081e6de43560
2019-07-01 16:42:17 +02:00
Ruthwar Ambeer
c43368111d wayne-common: Move AtFwd hal from device to framework manifest.
AtFwd hal is implemented as an android service and
it stars from system partition, that is, it's not
a traditional vendor hal and hence it should be
declared in the framework manifest and not in the
device manifest.
This commit introduces new device specific framework
manifest (framework_manifest.xml) and moves AtFwd hal
from device to framework manifest.

Change-Id: Iacdb5604a682b8462d16297f4b543928bb100282
CRs-Fixed: 2287149
2019-07-01 16:42:17 +02:00
Zhen Kong
7a4da391c8 wayne-common: ueventd.qcom.rc: set permissions of /dev/qce device
To support end-to-end DRM content playback with SG List feature,
android.hardware.drm@1.0-service needs to have access permission
to /dev/qce to map & unmap ION buffer virtual address with HW Crypto
Engine. So, set /dev/qce device permission 0660 and let it be
accessible by user "system" and group "drmrpc".

Change-Id: If9c0ed70acc2bb063344692374f51441fe84eff6
2019-07-01 16:42:17 +02:00
Mahesh Lanka
59cec82aa9 wayne-common: Remove creating and accessing /data/media from vendor domain
Vendor domains can't access files outside of /data/vendor
CRs-Fixed: 2307724

Change-Id: Ied173cc6bfb2a8041c8a0feb016e9efa3b743b7f
2019-07-01 16:42:17 +02:00
Bindu Gokul
b3daa7ef81 wayne-common: Set partitions for loop device.
AdoptableHostTest in CTS uses virtual disk feature for testing.
This change is to enable partitions for virtual disk.

Change-Id: Ie03766738715ef54d4fa768033a96fdd76d3172b
2019-07-01 16:42:17 +02:00
Mohammed Javid
3d68a27814 wayne-common: rootdir: Added a permissions for ODL char devices
Added a permissions for ODL char devices

Change-Id: I1c74c060c9e9b958307a07a4dbe630d0f28b3a89
2019-07-01 16:42:17 +02:00
Brandon solis
9a6945197e wayne-common: New HAL for passing RCS configuration to modem
Desc: Permission to access QMI Settings from the Connectivity Daemon

Change-Id: I0fbb2ad5852beceacf5a9529392c750130d498f0
2019-07-01 16:42:17 +02:00
Sauvik Saha
fabf8eb6cf wayne-common: Starting imsrtpd on bootup
* starting rtpd on bootup without waiting for DATA_DAEMON
prop and restarting when property is set

Change-Id: If121089334ef2c0b335320bb561a553163042ba3
2019-07-01 16:42:17 +02:00
Devi Sandeep Endluri V V
8328551364 wayne-common: Starting imsrcsd on bootup
Starting imsrcsd on bootup without waiting for DATAD property
which will load libimsrcsbaseimpl and register HAL services

Change-Id: I17c1891583ea99baa31efec0e8ba316e4fbf25f3
2019-07-01 16:42:17 +02:00
Brandon
fb259c97ac wayne-common: 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:16 +02:00
Ramakant Singh
54cb7729fd wayne-common: Update prefix of hwcomposer service
Change-Id: Iac3abf0e50d77058548bcd232411ae9d7ff6b235
2019-07-01 16:42:16 +02:00
Subbaraman Narayanamurthy
d4d6651167 wayne-common: init: Create persist directory for hvdcp_opti
hvdcp_opti daemon stores some parameters in
/mnt/vendor/persist/hvdcp_opti directory. Create the directory.

Change-Id: I0cf17467792cc294e6ce1a7f35a356cc0e960e86
2019-07-01 16:42:16 +02:00
Umesh Vats
6c25e3baa5 wayne-common: Bluetooth: Increase number of SEPs to support SHO/Mcast
Icreased number of SEPs to support SHO/Mcast

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