Commit Graph

34 Commits

Author SHA1 Message Date
kdrag0n
a2c1c7fb20 msm8974-common: overlay: Compact cached app heaps in the background
* Background ART heap compaction for cached apps has been recommended for
  Android Go devices for a while, and Google has enabled it for the Pixel
  5 on RQ1A.201205.010. This feature should help fit more cached apps in
  memory

Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
2023-05-20 11:55:08 +02:00
Danny Lin
75f3e69631 msm8974-common: overlay: Offload WM shell to another thread
Android 12 added this config to offload some window management to a
dedicated thread. Enable it to improve performance when the main System
UI thread is busy.

Change-Id: I387d7f5034b43e05e79a40095d61c01bb5982fe1
2023-05-20 11:53:46 +02:00
Nolen Johnson
4f28aad667 msm8974-common: Enable Wi-Fi Display
* AOSP Wi-Fi display is back in lineage-18.1.

Change-Id: I7958fc6869a22d66ad2955f80c4ea1867bdc23fd
2021-12-23 04:41:31 +01:00
Kevin F. Haggerty
74b76dfffb
Revert "msm8974-common: overlay: Disable wifi AP MAC randomization"
* Oddly, disabling MAC randomization fully breaks AP, which really
  just points to a platform problem. But it seems that our device
  can actually handle the "randomization", which doesn't actually
  randomize anything (for us). ¯\_(ツ)_/¯

This reverts commit 1e39b786ec.

Change-Id: I8bbcdb968a08f0c700cf436cfdde453b51f96170
2021-01-22 19:27:56 -07:00
Quallenauge
5303899859 msm8974-common: wifi: Disable WPA2 -> WPA3 upgrade.
Our device doesn't simply support sae.

Change-Id: Ibf8b9e363b4677cf2ab9590cc2ea1ba2341e29ca
2020-12-15 11:38:30 -05:00
Jimmy Chen
9a1845c121
msm8974-common: overlay: p2p: add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6
2020-12-14 09:35:24 -07:00
LuK1337
543134df98
msm8974-common: overlay: Disable BPF offload for tethering
* Such is life with 3.4 kernels.

Change-Id: I1c5e3fab63271b1e3fe6c814d96edbde782f27e8
2020-12-14 09:35:24 -07:00
Kyle Harrison
33c09e88ea
msm8974-common: overlay: Move tethering overlays
Config overlay values moved from frameworks_base core to
frameworks_base packages/Tethering

https://github.com/LineageOS/android_frameworks_base/blob/lineage-18.0/packages/Tethering/res/values/config.xml

[haggertk: As part of this move, I'm consolidating these from
 {h,k}lte-common to msm8974-common. These held common values between
 the two device families.]

Original-Change-Id: Ia5a8056d6334cd78e79853c0ada4e8873a9669e0
Change-Id: I54e93e80595c243719894aa1b9ff0c5abf85d843
2020-12-12 10:00:39 -07:00
Bruno Martins
d2f16822ec
msm8974-common: overlay: Adapt to new button brightness configs
Change-Id: I564106fd2d6eead070e59d32a2a357990fddaaf1
2020-12-12 10:00:39 -07:00
Roshan Pius
9c68181e98
msm8974-common: wifi: Move wifi related overlays to new location
[haggertk: As part of this move, I'm consolidating common values from
 {h,k}lte-common to msm8974-common.]

Original-Change-Id: I747d0242422b753f4e3007ce6c4bf7f124c52c5e
Change-Id: I516b5a3b34747bd7a9efb93eacb8b597da513d54
2020-12-12 09:19:11 -07:00
Alessandro Astone
1e39b786ec
msm8974-common: overlay: Disable wifi AP MAC randomization
This is now done in framework

Change-Id: I6e8e7557ed56c5183738a1059dff8c97e91bc2b3
2020-12-12 09:19:11 -07:00
Arne Coucheron
86804b4771
msm8974-common: Remove config_disable_TelephonyManager_network_scan
Not needed in Q, as scanning works without it, and the feature
hasn't been forward ported.

This reverts commit 881a6b9fff.

Change-Id: Ida4d2ef429cef47178c9858082dbaae8c1207716
2020-05-15 10:43:56 -06:00
Shinru Han
200effb649
msm8974-common: Migrate gps overlay to CarrierConfig
Test: build
Bug: 122431542
Change-Id: I9bb4150522fd367a6a6895bba008eba24e238e4d
2020-04-25 14:27:00 -06:00
Lucas Dupin
a6915d5485
msm8974-common: Disable window rounded corner animations
For graphics performance reasons

Bug: 122347746
Test: visual; swipe up on overview
Change-Id: Iadc765aa72e2777f5307659a6138e9dcef1a9659
2020-04-25 09:55:57 -06:00
Kevin F. Haggerty
eb088711d4
Revert "msm8974-common: Move XTRA_SERVER entries to overlays"
* Even though the stock gps_debug.conf says that you put
  customization in fw/b overlays, Q doesn't look to those anymore.
* With XTRA_SERVERs in those overlays you get:
  GpsPsdsDownloader: No PSDS servers were specified in the GPS configuration

This reverts commit 399e9af90a.

Change-Id: Id392cf4a9b91a63a4400e546bc9ba4c32b656ef4
2020-04-25 09:55:35 -06:00
Paul Keith
eea2c37a49 Revert "msm8974-common: Don't mess with APN or CDMA CarrierConfig options"
* It turns out, this is now necessary for Sprint

This reverts commit b1352d7bec.

Change-Id: Ifaa71b0cfc0879d881a8ab9d1cb54aa8255a74d2
2020-02-15 02:49:23 +01:00
jrior001
881a6b9fff
msm8974-common: Disable network scan via TelephonyManager
Change-Id: I07ac2eee478d6edbc266447ef3209403a14285f1
2019-08-03 08:32:27 -06:00
maxwen
1ea634bce2
msm8974-common: Update overlay to hide sRGB toggle
* Now expected as an array in Settings package

Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2019-05-23 20:12:35 -06:00
dianlujitao
464acd06e1
msm8974-common: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices and we don't even
   support such color space.

Change-Id: I8343e4986d7dd8413bd8d36dfad0309a4c08026e
2019-05-23 20:12:35 -06:00
Wayne Lin
cb2941d541
Changing SUPL_ES=1 for SUPL end point control
SUPL_ES=1 ensures the GnssLocationProvider and related framework code
accepts incoming SMS SUPL_INIT messages with ES-bit=1
(which allow redirection of the ESLP
end-point e.g. to the current local emergency services provider when
you are travelling) only during an emergency call

Bug: 115331218
Bug: 112159033
Test: Build pass
Change-Id: I5075f7887a184ce18bb1815b35a2ce7acd8bca10
2018-12-16 07:59:22 -07:00
Gareth Kitchen
d3810f950a 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
2018-07-17 19:28:25 -06:00
Paul Keith
cf7ed4588b msm8974-common: Correct MCC code for Verizon CarrierConfig
* Verizon's operator numeric is 311480 not 310480

Change-Id: I0732fc277f412c151a235a4abdc27011d7ba10c7
2018-07-03 07:24:08 -06:00
Paul Keith
754d229086 msm8974-common: Add comments to explain carrier hackery
Change-Id: Id414b2daa08186f2f426f450391a8d2c0b695397
2018-07-03 07:24:08 -06:00
Paul Keith
b1352d7bec msm8974-common: Don't mess with APN or CDMA CarrierConfig options
* These should be set appropriately by carrier, and should already be
  at the correct values by default in packages/apps/CarrierConfig

Change-Id: I433b110570c2b79b15076dadf58777e0289e347a
2018-07-03 07:24:05 -06:00
Paul Keith
8e587068f7 msm8974-common: Move sprint_mwi_quirk overlay to CarrerConfig
[javelinanddart]: msm8974-common never had sprint_mwi_quirk

Change-Id: I65cbdb8cb0305f41735ddcafe275250c678dda55
2018-07-02 18:32:34 -06:00
Paul Keith
1d79ff94da msm8974-common: Import CarrierConfig overlay
* From LineageOS/android_device_samsung_klte@3ea5d5050b

Change-Id: Ifcb775aa6a1893dd3e2ad93c81b338493cd9337a
2018-07-02 18:32:33 -06:00
Kevin F. Haggerty
399e9af90a msm8974-common: Move XTRA_SERVER entries to overlays
* XTRA_SERVERs are important, right? Like to get the almanac data
  necessary for aGPS. Without the XTRA download, the chip needs to
  collect sufficient navigation messages from the birds to compute
  where they are in order to make sense of the ranging signals.
* Well, it seems that O doesn't like reading these entries from the
  gps.conf file.

  When in gps.conf:
  GpsXtraDownloader: No XTRA servers were specified in the GPS configuration

  When in overlay:
  <that noise doesn't exist>

* This seems to, finally, return GPS fix performance to what we had
  in N.

Change-Id: I70679835ec5dea053c5aa3750acee628906d6390
2018-03-07 06:44:43 -07:00
Paul Keith
a6a77f987c msm8974-common: Wire up mDNIe features
Change-Id: Ib5d2825bb50c90b6743157bd624e7156c6d5ad01
2018-02-22 23:27:10 +01:00
Kevin F. Haggerty
10320f7968 msm8974-common: Import GPS overlays
* Squash of:
  klte-common: Move to commonized, overlay-based GPS config
  Change-Id: I9a66eb156df69340d35c139d20f835fa8693a716

  klte-common: fw/b overlay: Change GPS capabilities bitmask
  Change-Id: I2b060a11795a97889e96b3d7de26b0ed28392841

  klte-common: Use https for XTRA download
  Change-Id: Ie16206b51e3eef729851fd5c8e3defd768581771

  klte-common: Refactor common gps configurations into gps.conf
  Change-Id: I888ef88c249cb09404336e7273088eeea4fc7d3d

  klte-common: Add GPS configuration for China
  Change-Id: I781a251bb20885c1a9e545b6678018b64ddce760

Change-Id: I2eabf59aaafec19ba5a03a7337dd5c76a7a5a031
2018-01-18 04:37:20 -07:00
Kevin F. Haggerty
946e60a172 msm8974-common: Drop obsolete overlays
Change-Id: Ia9b73c6ff3b9ae6789b690ce840c7509d0e86053
2017-12-28 15:12:32 -07:00
Matt Filetto
34d1afcabc msm8974-common: Enable multiple users
Change-Id: Ib3e8ea7d994315e78e660e7e65cd03e052f8d909
2014-11-22 21:15:55 -08:00
Ethan Chen
1b982908b9 msm8974-common: Clean up Samsung device inheritance
* Remove duplicate keylayouts
* Move media_codecs to platform tree
* Unconditionally build consumerir
* Move postrecoveryboot to qcom-common
* Move common msm8974 HAL/packages to platform tree
* Move wifi config to device trees
* Use nested cm.dependencies
* Generate firmware symlinks at compile time
* Move egl.cfg to msm8974-common
* Move QCOM_BSP to platform repos
* Move telephony permissions to device
* Move reboot to download option to qcom-common
* Move common overlay options to qcom-common

Change-Id: I493dcf24269e852e7819c045dc3afc5c47da176a
2014-08-01 13:58:26 -07:00
slayher
0c2bafbb3b msm8974: remove network modes overlay
Change-Id: I47ffd75fe0fccf85c903652b5e0789ad57510ed1
2014-06-07 23:02:47 -04:00
slayher
8eb37d439c MSM8974: Initial Common repo commit. 2014-05-18 23:33:07 -04:00