Commit graph

64 commits

Author SHA1 Message Date
David Ng
34a9f96920
config.fs: Add sys_boot cap to peripheral manager
Enable sys_boot capability to allow system reboot
to peripheral manager.

Change-Id: I04b67543c4d2e541b9699b6faa3337b2638b3257
2020-02-27 17:01:41 +01:00
Surabhi Vishnoi
3c2400960f
falcon_64: Add wowlan_triggers to wpa_supplicant conf
Add 'wowlan_triggers=magic_pkt' to wpa_supplicant_overlay.conf. With
this, wpa_supplicant will tell the linux kernel that the wifi driver
is wowlan capable, and will wakeup the host when a magic packet is
received. Most importantly, the kernel will no longer disconnect wifi
connections before suspending wifi.

CRs-Fixed: 2615975
Change-Id: I3226943940046ad98e4ab410897d4fdcb457ee5a
2020-02-27 17:01:39 +01:00
Ananthula, Madhu
8ab1a2d503
SDM660: Finetune mediacodec performance values.
Finetune mediacodec performance values as per CTS results

CR: 2584357
Change-Id: I71c75cfbfeaeb370eee8f6173520abbdf61544db
2020-02-27 17:01:39 +01:00
Vulupala Shashank Reddy
7c2620f4ca
wifi: Update ini parameters for wifi
Update ini parameters related to wifi.

Change-Id: I238eb03d721ca81cfa9994566edce0a145e76521
CRs-Fixed: 2597219
2020-02-27 17:01:39 +01:00
Dyneteve
cce384b6dd
sdm660-common: Add 2 instance support for record_24
Change-Id: Ibcdb612763a9eda2579ef7e22d9d72b8426ea2ef
2020-02-27 17:01:36 +01:00
Rajshekar Eashwarappa
65d7f445ea
sdm660_64: finetune performance xml
Fine tuned the performance xml based on the
CTS results.

Change-Id: I9bd61490d28bebdc4bc696dcbf9d1674903ae983
2020-02-10 14:15:57 +01:00
dianlujitao
8cb6811164
sdm660-common: Checkout GPS config from LA.UM.8.2.r1-05100-sdm660.0
Change-Id: I27fa3dbb4b1d301a6cd60a6a0b224e35c18c4b46
2020-02-03 16:28:25 +01:00
Bruno Martins
ca70a16e0f
sdm660-common: Fix A2DP when offload is disabled
Ensure that A2DP still works in case one disables offload in the
Developer options for whatever reason.

Change-Id: I89fd37962b2d063d6e30f84234568d552131fd97
2020-02-03 16:27:21 +01:00
Max Weffers
889f10a8d9
sdm660: priv: Add bind wallpaper permission to snapcam
Change-Id: I6bddf2c4af12ce289396c5eb057a1d3b52e60e00
2020-02-03 16:27:13 +01:00
Max Weffers
b01f670bb7
sdm660: Gps: Checkout Gps Configs from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: Id8b7ba36921ac8a656554fef8f10783c63402e8b
2020-01-13 14:34:41 +01:00
Max Weffers
b6b9f2a12e
sdm660: Checkout public.libraries from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I19586e7e2fe2276ff32f9ecd6471c9eed6dc3fa1
2020-01-13 14:34:41 +01:00
Max Weffers
233e65dbd9
sdm660: wifi: Checkout Wifi Configs from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I50abfd8d3edbd73cc3ccd2c2e9b890b56f135c93
2020-01-13 14:34:41 +01:00
Max Weffers
0a1934ac84
sdm660: keylayout: Checkout Keylayout from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: Ib6c3da158f75eb9c46f647a8a03bf9fefad946d0
2020-01-13 14:34:41 +01:00
Max Weffers
191cc97433
sdm660: media: Merge Media Changes from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I2f944c04f2aaeda22c84d8db683dc68debadb10c
2020-01-13 14:34:28 +01:00
Max Weffers
b042f43f00
sdm660: audio: Merge Audio Changes from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I4fb1053841d86af4417716677306ca1a9e97ce44
2020-01-11 17:50:03 +01:00
Vasantha Balla
2f4a719ef1
sdm660-common: media: Enter c2 encoders performance values
update xml file with c2 encoders fps results.

Change-Id: I33d6f090fa3ca33500aeee116cc623ee9090a13a
2020-01-02 12:00:21 +01:00
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