Commit graph

37 commits

Author SHA1 Message Date
Francescodario Cuzzocrea
6dfb0a8d0e msm8226-common: initial commit of the rebased tree 2019-08-29 16:31:07 +02:00
Francescodario Cuzzocrea
fdadf8b59c Revert "msm8226-common: Pin HOME application"
This reverts commit e8586abfac.

Not supported on O.
2019-08-24 15:58:30 +02:00
Francescodario Cuzzocrea
46b679f281 msm8226-common: overlay: drop config_allowMediaUidForCameraServiceProxy 2019-08-24 15:55:18 +02:00
Adrian DC
a79afc47be msm8226-common: overlay: Disable SystemUI anti-falsing on lockscreen
* The anti-falsing implementation from HumanInteractionClassifier
    regularly prevents easy swipe to unlock or to pattern / pin
    on the keyguard lockscreen, requiring multiple attempts
    until accepted due to a hardcoded evaluation (5.0f)
    while normal usage shows better results without it

 * Another solved situation is remote device access like
    Vysor or TeamViewer were the device is almost impossible
    to swipe properly from a computer client

Change-Id: I0c2590f56e2cf6d6cd4ff3af2341a985670168e3
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: RenanQueiroz <queirozrrq@gmail.com>
2019-08-18 14:42:09 +02:00
Francescodario Cuzzocrea
f34a734c58 msm8226-common: overlay: also pin the camera application 2019-08-16 10:18:55 +02:00
Francescodario Cuzzocrea
6139a15184 msm8226-common: overlay: add operating voltage for bluetooth controller 2019-08-16 10:18:55 +02:00
Francescodario Cuzzocrea
0b2abd06a6 msm8226-common: drop config_viewConfigurationTouchSlop 2019-08-16 10:18:55 +02:00
Jorim Jaggi
1f15763182 msm8226-common: PIN critical apps and system services that get swapped
Pin critical system apps that always need to be responsive, no
mattter what:
- SystemUI for expanding the notification shade/navigation bar
- SF: Doesn't need introduction, but still gets zram'ed in certain
cases:

Total memory impact: About 5-6 MB (since regularly not all code is
loaded)
Test: Flash device with CL and make sure actions like expanding
notification shade isn't as janky under memory pressure anymore
Bug: 111132016

[aviraxp]: Original code pins the pre-odexed file of SytemUI, but we
           do not dexpreopt priv-apps. So pin the SystemUI apk as well
           just as what it is for camera pinning.

Change-Id: I3bc93204147502bec2e983f7ee37555294db308c
2019-08-16 10:18:55 +02:00
Elektroschmock
28d022c6b5 msm8226-common: Pin surfaceflinger into RAM
Prevents it getting swapped to ZRAM

Change-Id: Ie3dab04351967cc422c9b5bea316d7e062d9a1a3
Signed-off-by: Felipe Leon <fglfgl27@gmail.com>
2019-08-16 10:18:55 +02:00
Jorim Jaggi
e8586abfac msm8226-common: Pin HOME application
Test: adb shell dumpsys pinner after boot
Bug: 111132016
Bug: 78585335
Change-Id: I4ed0587ae5348bbe03ad9ac5f1c5b1726dbb8246
2019-08-16 10:18:55 +02:00
Bruno Martins
c00b62c5c6 msm8226-common: Allow media UID process to access CameraServiceProxy
* This fixes the following error on camera-in-mediaserver devices:

   E CameraService_proxy: Calling UID: 1013 doesn't match expected  camera service UID!

Change-Id: I185e34e8983b286436bfc0fe36cfdf260ef78170
2019-08-16 10:18:55 +02:00
Adithya R
afa5c36c89 msm8226-common: overlay: Extend wifi scanning interval to 40s
* Default is 15s, extend it to 40 seconds to save some juice
2019-08-16 10:18:55 +02:00
Mathieu Chartier
298bcc63ff msm8226-common: overlay: Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I313e1f53487c0a21b615f65dc64c21a1ecb4b7d5
2019-08-16 10:18:55 +02:00
Philip Cuadra
20c903cd32 msm8226-common: overlay: Pin .vdex files as well
.vdex files have been added to allow pre-verified dex.  The pinner
service needs to take this in account when pinning.  Add pinning of
appropriate system .vdex files on 8996 targets.

Bug 33168521
Test:  Tested manually by confirming pinning is successful

Change-Id: Ice2c3f0ec0b314963fb136793d9fa36ecba58490
2019-08-16 10:18:55 +02:00
Adam Farden
115e4caec7 msm8226-common: overlay: Enable the Pinner Service for pinning files into memory
* Pin key files into memory to prevent having to fetch from flash
  after boot. Improves system performance by preventing page cache
  thrash. Retrieves files from a device-specific overlay to allow
  specialization.

Change-Id: I53f8227c66c44d3955422b41d623e450ec2be421
2019-08-16 10:18:55 +02:00
maxwen
dc40b4d236 msm8226-common: Update overlay to hide sRGB toggle
* Now expected as an array in Settings package

Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2019-08-16 10:18:55 +02:00
dianlujitao
cdcf4f4d6d msm8226-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-08-16 10:18:55 +02:00
Wayne Lin
57e9e293db 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
2019-08-16 10:18:55 +02:00
Gareth Kitchen
a7b9a54d05 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-08-16 10:18:55 +02:00
Paul Keith
625ba1b9b2 msm8974-common: Correct MCC code for Verizon CarrierConfig
* Verizon's operator numeric is 311480 not 310480

Change-Id: I0732fc277f412c151a235a4abdc27011d7ba10c7
2019-08-16 10:18:55 +02:00
Paul Keith
526700513d msm8974-common: Add comments to explain carrier hackery
Change-Id: Id414b2daa08186f2f426f450391a8d2c0b695397
2019-08-16 10:18:55 +02:00
Paul Keith
37fe55dbcf 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
2019-08-16 10:18:55 +02:00
Paul Keith
73d078ef4d msm8974-common: Move sprint_mwi_quirk overlay to CarrerConfig
[javelinanddart]: msm8974-common never had sprint_mwi_quirk

Change-Id: I65cbdb8cb0305f41735ddcafe275250c678dda55
2019-08-16 10:18:55 +02:00
Paul Keith
2545f9ac4c msm8974-common: Import CarrierConfig overlay
* From LineageOS/android_device_samsung_klte@3ea5d5050b

Change-Id: Ifcb775aa6a1893dd3e2ad93c81b338493cd9337a
2019-08-16 10:18:55 +02:00
Kevin F. Haggerty
757b1241e0 msm8226-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
2019-08-16 10:18:55 +02:00
Kevin F. Haggerty
6a9beb962e msm8226-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
2019-08-16 10:18:55 +02:00
Francescodario Cuzzocrea
3a807be869 msm8226-common: drop MMS overlay 2019-08-14 12:40:41 +02:00
Francescodario Cuzzocrea
af77aca593 msm8226-common: move SettingsProvider overlay to device specific tree 2019-08-14 12:40:41 +02:00
Francescodario Cuzzocrea
16992f7f75 msm8226-common: move Settings overlay to device specific tree 2019-08-14 12:40:41 +02:00
Francescodario Cuzzocrea
a331860c8c msm8226-common: move snap overlay to device specific tree 2019-08-14 12:40:41 +02:00
Francescodario Cuzzocrea
11fb4817bd msm8226-common: move callrecording overlay to device specific tree 2019-08-14 12:40:41 +02:00
Nikola Majkic
3f510c8c06 Camera: Enable Snap
from http://review.cyanogenmod.org/#/c/127421/
2016-01-16 00:29:20 +01:00
Steve Kondik
1d271edc07 msm8226: Speed up scroll response
* Lower the touchslop

Change-Id: Id0a16fad5e35fe85c05637085057a1bac81bf4a1
2015-11-27 21:51:42 +01:00
Rox-
f874404f18 overlay: Enable call recording 2015-04-07 16:25:05 +02:00
Rox-
2a0886a894 msm8226-common: Remove deprecated camera2 overlay 2015-02-22 19:42:19 +01:00
Rox-
6f4d1a3785 msm8226-common: Update MMS overlay 2015-01-07 20:18:11 +01:00
Robert Rozic
b2ca1464c3 msm8226: Initial commit
Split s3ve3g device tree
2014-12-20 01:57:55 +01:00