Commit graph

48 commits

Author SHA1 Message Date
Max Weffers
ab308a6727
sdm660: Treewide: Cleanup and Reorder
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move Wifi Configuration to Configs
* Cleanup Overlay and Reorder
* Move Privapp Permission to new Folder
* Reorder Properties and rename mk
* Move Xiaomi Doze to new Folder
2019-12-30 23:00:29 +01:00
sxia
5b48b605b2
Common: add email for it's targerSDK 28
add email module into the whitelist for
the targetSDK 28 upgrade

CRs-Fixed: 2552349

Change-Id: I89b405919bdbfa486b91067cbe460559e31edc7c
2019-12-16 18:20:09 +01:00
Rajshekar Eashwarappa
652dd59a4e
sdm660: finetune performance xml
Fine tuned the performance xml based on the
CTS results.

Change-Id: I9bd61490d28bebdc4bc696dcbf9d1674903ae983
2019-12-16 18:15:11 +01:00
Gareth Kitchen
26e9816c98
sdm660-common: gps: Localise NTP to improve GPS TTFF
Testing response times to time.android.com from around the globe reveals
in ms:-

Europe			 <30
Middle East		 <68
North America		<150
Johannesburg		 183
Buenos Aires		 220
Tokyo			 226
Sydney			 276
Hong Kong		 285
Brisbane		 295
Mumbai			 349
Beijing			4691
Shanghai		4906
Russia			 n/a

Whilst time.android.com is NOT used for GPS NTP, North American time servers
are, by specifying north-america.pool.ntp.org as default in the framework,
to align with pixel devices.  I am assuming similar response times to these
servers from around the world.

Great for North America and it appears Europe but it does not address the
global issue. Also, the pool.ntp.org project forbids both hardware and
software vendors from using these default zone names.
http://www.pool.ntp.org/en/vendors.html

It makes sense, therefore, to leverage the ntp.org's existing 'android' vendor
name to make the default ntp server for GPS purposes:
1.android.pool.ntp.org this will return a random but accurate NTP server in
close geopraphic proximity to the device.

Testing on my own build in the UK seems to improve hot and cold TTFF
considerably.

Change-Id: I144af45757efa35b32daf034eece6e046d2bde79
2019-12-02 17:22:37 +01:00
Sravan voleti
0e48d9c869
sdm660: Remove whitelist for BAApp.
Remove BAApp related privileged permissions

CRs-Fixed: 2523339
Change-Id: I79798e7704774769dd40f16c7902e791cf9c868d
2019-11-01 11:56:02 +01:00
Dusan Uveric
bc36bfe914
sdm660-common: update wifi irqbalance blacklist
taken from celtare21

Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-10-22 17:12:47 +02:00
Michael Bestas
3c1fe1160f
sdm660-common: Split privapp permissions for ims/qcrilmsgtunnel move
Change-Id: I5e86a415c7faac34e7d398559d09bf350b305cc3
2019-10-15 15:23:26 +02:00
Vasantha Balla
fa6eb0ea74
sdm660: update measured fps values as per latest results
Finetune and update latest fps values in xml.

Change-Id: I145463731ee4900762dca8d42d45c9e02917f724
2019-10-04 18:53:18 +02:00
Aryan Gupta
17bbd4862a
sdm660-common: clean dual permission for ims 2019-10-01 13:14:20 +02:00
Sravan Voleti
2982dceb6e
sdm660: BTTestApp : Remove HID test app
HID test app not required, same code moved to
default Bt test app, so remove from system image.

CRs-Fixed: 2425083
Change-Id: Ie35b99f7b5bbcd29716d093ce48a9027cec7c9ba
2019-09-27 17:13:45 +02:00
sxia
0a10a53f84
sdm660: add exchange for it's SDK target version 28
add into whitelist for exchange SDK target version
to 28

Change-Id: I2b8c550dc79c9a91a2645c7d85aed945b77d5684
CRs-Fixed: 2399298
2019-09-27 17:13:45 +02:00
jinwu
462f4565fa
sdm660: Fix CTS issue of MODIFY_AUDIO_ROUTING
Add MODIFY_AUDIO_ROUTING to whitelisted permissions for gallery

Change-Id: Ic5224170cc6df76e9eac8b682c8fb112df2910c8
2019-09-27 17:13:45 +02:00
xiaoxu
09e36f7d23
sdm660: Messaging: Add call_priviledge permission to priwhitelist.
To support emergency call in Messaging, add this permission

Change-Id: I3c74ba1915a49cfba1853a2e03861ed268f8af2c
2019-09-27 17:13:45 +02:00
Eric Chang
184f378941
sdm660: Allow qcrild to access new QMI service
Change-Id: I0e8e832bceecfc0b276e16e3c4a844378ab2dcb8
2019-09-27 17:13:45 +02:00
Vasantha Balla
bde1fa824d
sdm660: media: Finetune mediacodec performance values.
Add entries for c2 codecs and finetune performance
values as per Q results

Change-Id: Ibeac95e6198c9d9000051d7409ea593c1cddd43e
2019-09-27 17:13:45 +02:00
Sanjay Singh
935126c164
sdm660: media: Added performance point tag for sdm660
Q version expects publishing of performance points.

Change-Id: I32f3b720bf63ab034fcbc2bd8b91f5a54de3bbd3
2019-09-27 17:13:45 +02:00
Sujin Panicker
552a2e6e47
sdm660: media: update opus omx codec ranking
Update opus omx codec ranking to give c2 implementation
higher priority.

Change-Id: I5fb0c91fe0f8c691868c92eb50536495b31132e2
2019-09-27 17:13:45 +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
Quallenauge
400509afa4
sdm660-common: Add dummy perf profile.
Since lineageos 15.1 the power hal doesn't use the
perf_lock_use_profile() method anymore.
It was used to apply performance profiles.
On startup the perfd daemon is looking for at least
one profile which is used as default.
So there is only a perf-profiles0.conf to make the
daemon happy.
Removes log spam:
E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
Signed-off-by: Atman <masteratman@gmail.com>
2019-09-05 12:17:56 +02:00
Max Weffers
4aa87b11f2
sdm660-common: fingerprint: remove unneed permission for fingerdown_wait 2019-09-05 12:16:58 +02:00
Max Weffers
14c0b2a75e
sdm660-common: keylayout: Move keylayout for headset buttons to device
*needed because mi a2 and 6x have diffrent button layout then mi pad 4 

* headphone jack vs. usb typ c
2019-09-05 12:16:58 +02:00
ZeeLog
e96b8011d3
sdm660-common: GPS: reduce LOWI debug level
Change-Id: I7193a1e8988463487c31aaca99bd7fee97174e4c
2019-08-21 08:57:36 +02:00
Christian Oder
30e7fa4873
sdm660-common: Add basic permission file for HotwordEnrollment
Change-Id: I2986ba3599fe65a8da27649d98d70cd548257aa8
2019-08-15 15:31:33 +02:00
pythonlimited
a42d8f3ff2
sdm660-common: media: move specific media_profiles_V1_0 to device 2019-08-14 10:04:14 +02:00
Dusan Uveric
1c184ff28c
sdm660-common: add glink_lpass to ignored irqs
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-08-14 10:04:11 +02:00
TheStrix
83e704c74e
sdm660-common: gps: Disable unused location services
* Disable gpsone_daemon
* Disable XTWIFI

Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I1dee715fc4c8c7506b31a26ab9cdaf5e62bd0d29
2019-08-14 10:04:11 +02:00
GuaiYiHu
6848dbe509
sdm660-common: Update GPS configs from Mi8 Lite
Change-Id: Ib7e7c0032739fcf4ef189ef23be16292235f4006
2019-08-14 10:04:11 +02:00
guaiyihu
80acfca42f
sdm660-common: keylayout: Add keylayout for MI PAD 4 Plus Home button
Change-Id: I37da2a43035d2556ce3be7699a3cb616a14bdbd1
2019-08-14 10:04:11 +02:00
coderzstas
823c11d4b6
sdm660-common: Add FP Navigation Gestures and enable SystemNavigationKeys overlay
* useing jasmine keylayouts from android on pie
2019-08-14 10:04:10 +02:00
Rashed Abdel-Tawab
7f9b60c7fa
sdm660-common: Don't balance mdss or kgsl IRQs
While IRQ balancing is generally a good idea, MDSS and KGSL
are critical for UX and shouldn't be migrated between cores.

Change-Id: Ic8ae88f5ea75715f3cd6bfec118380f65ea9e4d1
2019-08-14 10:04:10 +02:00
GuaiYiHu
9ab0b5b9bb
sdm660-common: Update qti configs from caf
* Also move them to system

Change-Id: I561da9ac4019c20a9413d3046f24db413f7c3153
2019-08-14 10:04:10 +02:00
Sneh Bansal
568051d3d9
sdm660-common: 5G: Whitelist permissions for nrNetworkSettingApp
The package 'org.codeaurora.qti.nrNetworkSettingApp' is a priv-app, and
uses the MODIFY_PHONE_STATE permission. This permission needs to be
whitelisted for the package. Otherwise, a CTS failure will occur.

Change-Id: Iedfce95014b97deb55f24a98233000e552e4d518
CRs-Fixed: 2341511
2019-08-14 10:04:10 +02:00
Kevin Tang
a9684f1600
sdm660-common: Adding com.skyhook.blp into the whitelist
Adding com.skyhook.blp into whitelist to avoid it being killed by
doze. Also adding INTERACT_ACROSS_USERS permission to be able to
run as single user.

Change-Id: I245965c87e7a5029eb8a308af24484d64a3fcb87
CRs-Fixed: 2294320
2019-08-14 10:04:10 +02:00
dianlujitao
650a22b1a6
sdm660-common: Update QTI whitelist and priv-app permissions
Change-Id: Idd082a9b6fc0671e6594f6761feb44fc4ff773c4
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
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
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
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
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
oshmoun
c858ca4529 wayne-common: Add public.libraries.txt
Android needs this text file to know what libraries are allowed to be loaded by apps directly.
For now, add:
libOpenCL.so to the list, in order to get OpenCL to function properly.
adsprpc related libraries, since they were also declared public in stock.

Change-Id: I15ef7a7ab7d1f1a0cc6b484cd2ca9993f40de23b
2018-12-05 00:36:35 +08:00
Bruno Martins
38501bbfd1 wayne: Fix typo from CodeAurora in the QTI whitelist
* Let com.qualcomm.qcrilmsgtunnel break free

Change-Id: I6243a6d21da7709bf6612270d7638f1231b9f601
2018-07-19 00:00:09 +00:00
Isaac Chen
71ad0c9e53 wayne: Initial bringup
Change-Id: I211da5781d8c7a16199fd8a18e1b00cfc9e01944
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:01:25 +00:00
Isaac Chen
e1db0f8a9c wayne: configs: Move config files to specified dir
Change-Id: I6bea25b73d4e0396aaefc831feb34c1c6639e347
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00