Commit graph

465 commits

Author SHA1 Message Date
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
Bruno Martins
56c5262d44 wayne-common: Use build system to create mount point symlinks
Change-Id: I2672d6cd1b644c7ba9068a563755de6fde27bc57
2019-07-01 16:42:16 +02:00
dianlujitao
efdbc19a6a wayne-common: Bind mount /mnt/vendor/persist to /persist for sensors
* Oreo sensors.qcom cannot access to persist even with the symlink

Change-Id: Ifc43515c70b51aeb8c1b5db765051fb21fddb80d
2019-07-01 16:42:16 +02:00
dianlujitao
f506b5cba3 wayne-common: Update symlinks for new mount points
* Fix wrong SLPI ramdumps symlink and remove old
   BT firmware symlinks while at it

Change-Id: I8fba4ea0a1af923f427b1ebb00ad86d6bbd81577
2019-07-01 16:42:16 +02:00
dianlujitao
78d5bbca1d wayne-common: Create mount point symlinks for backward compatibility
Change-Id: I63cdc49ea94447804c6b336d3e509b1f7967b174
2019-07-01 16:42:16 +02:00
David Ng
26891d8b8b wayne-common: config.fs: Specify firmware image files as system:system
Explicitly specify firmware image files legacy /firmware/image/*
as system:system and new /vendor/firmware_mnt/image/* as root:system

For normal boot, this is a no-op as /firmware|/vendor/firmware_mnt
is a mount point.  This change is only for development when
firmware is read-writable and allows changes via "adb push".  This
match the underlying FAT fs mount ownership of system:system or
root:system so adb push's chown will not error out.

Change-Id: I90e7528bcd21cca449cc5637d20af8dc9ccf7d3c
2019-07-01 16:42:16 +02:00
Vinay Verma
c5bd350f84 wayne-common: Mount dsp and firmware in vendor
Change fstab to mount dsp and firmware to /vendor/dsp and
/vendor/firmware_mnt.

Add classpath for firmware loading /vendor/firmware_mnt/image in
kernel command line.

Change-Id: I2dd2e7ea6334fb979ad8ff8c755648748de93ab4
2019-07-01 16:42:16 +02:00
Mohammed Javid
783972f2ab wayne-common: Change qti service name to dataqti
qti name is generic and updating it to dataqti so that no generic
context will not match

Change-Id: I186a642623f1ae46688a44f754fbe7ba421d042c
2019-07-01 16:42:16 +02:00
Vinay Verma
7f0b9ce620 wayne-common: Move /bt_firmware mount point to /vendor/bt_firmware
Change-Id: I6dbb4e19fd00861b0c50a7df6eab197e878a5d0e
2019-07-01 16:42:16 +02:00
Devi Sandeep Endluri V V
1e4e33e9db wayne-common: Add vendor prefix to data connectivity
Change-Id: I57ac8e5583f62ec585723454de4906d83a4e6dfe
2019-07-01 16:42:16 +02:00
Harikrishnan Hariharan
b44c16f9b5 wayne-common: Start loc_launcher as gps user
Start loc_launcher as gps user and set uid/gid of loc_launcher
to gps and enable SETUID and SETGID caps for loc_launcher, so
that we can start loc_launcher as gps user instead of root and
still have capabilities for SETUID and SETGID. Also remove not
required permissions groups for loc_launcher.

Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c
CRs-Fixed: 2192881
2019-07-01 16:42:16 +02:00
Saranya Chidura
46133ac465 wayne-common: Set permissions of /dev/byte-cntr device
To support ODL to read data from QDSS, create a custom group
and set permission of byte-cntr device. And also set
permission to coresight-tmc-etr/block_size to enable
byte-cntr feature.

Change-Id: Ic80156667dd7511392d5970ddcbd0fdc43ffffca
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2019-07-01 16:42:16 +02:00
Abhimanyu Garg
21ce4b32dc wayne-common: rootdir: Changing iop directory permission
Changing permission for IOP from 0770 to 0700. This is to restrict the
access for iop database file.

Change-Id: Ic3325595521d4e433d0ce9bada564fc599cf858c
2019-07-01 16:42:16 +02:00
Vinay Verma
c10b9d9723 wayne-common: Moving persist mount point to /mnt/vendor/persist
Move persist entry to fstab and mount at /mnt/vendor/persist

Apply required user, group and permissions once persist
folder is created through __mount and parititon is mounted.

Run restorecon on /mnt/vendor/persist.

Change-Id: I20a16f3669bc7abf9844525c6ba0db1521a5a8e2
2019-07-01 16:42:16 +02:00
Lucas Dupin
7d0bc64865 wayne-common: overlay: Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Icf2123d45b2b4727092103632d1bd6f024161c8a
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-07-01 16:42:16 +02:00
Artem Borisov
7f8cea7f8b wayne-common: Enable boot and system server dex-preopt
As stated in https://android.googlesource.com/platform/build/+/418258c
this is required in O-MR1 since sepolicy now prevents system server from
loading anything from /data making our system extremely slow and janky.

Change-Id: I215ec7ebe95981ef0b953fe938e12b83675795ab
2019-07-01 16:42:16 +02:00
Bruno Martins
bc8e119f75 wayne-common: Doze: Add missing preference listeners
* Otherwise, it resulted in Doze service not being activated
   when enabling one of the features for the first time after
   a clean installation.

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