Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
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
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
8eb37d439c MSM8974: Initial Common repo commit. 2014-05-18 23:33:07 -04:00