Commit graph

654 commits

Author SHA1 Message Date
Isaac Chen
10d1134bef msm8937-common: Decommonize mixer_paths_qrd_sku1 2018-07-09 00:00:20 +08:00
ezio84
9270e5e3b3 msm8937-common: doze: use ExecutorService for listener registration
Replicate what Google did for SystemUI in this commit.
fabc743bcf

Registering a sensor seems to be an expensive operation,
and we do it on each screen-on event, so moving it to
an asynchronous task looks like a good idea anyway.

By moving all non-essential binder calls of the main thread or to the
next frame, we bring this down to 5ms, such that window animation
and Keyguard animation starts about at the same time.

The interesting part about the ExecutorService:
"Memory consistency effects: Actions in a thread prior to the submission
of a Runnable or Callable task to an ExecutorService happen-before any
actions taken by that task, which in turn happen-before the result is
retrieved via Future.get()."
(from https://developer.android.com/reference/java/util/concurrent/ExecutorService)

Change-Id: I4f37bb9a7dc9d7775d587d4ebd4b6619f3b77e81
2018-06-29 00:05:46 +08:00
Bruno Martins
3fcd6d5cc4 msm8937-common: Doze: Minor code simplification and clean up
Change-Id: Idff05f2626138c96dccd3ab4c26c4df1be40a606
2018-06-29 00:05:32 +08:00
Bruno Martins
f601f8c507 msm8937-common: Doze: Build with AAPT2
Change-Id: Iab14804817e6b90bf4d773d9359a04f1e119264a
2018-06-29 00:05:16 +08:00
Bruno Martins
e2ae78bbd7 msm8937-common: Doze: Re-integrate into Settings
* Apply the default Oreo theme and inherit the layouts
   from Google for the Settings app, in order to keep
   UI consistency.

 * Get rid of SettingsDrawerActivity as it no longer fits in
   and include the back button in the action bar.

 * Kill the icon drawable not only because is a leftover,
   but also doesn't really serve any puropose in the new UI.

Change-Id: I53b6d3bb99d63852ba34d71e16ae99f05223569e
2018-06-29 00:05:04 +08:00
Bruno Martins
24a0226499 msm8937-common: Doze: Apply LineageOS rebrand
Change-Id: I4daa1092494fdf207ef54dc79f787bcbe1d01a08
2018-06-29 00:04:52 +08:00
Isaac Chen
488a587dfd msm8937-common: doze: Import from msm8996-common
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:03:49 +08:00
Michael Bestas
4cdf8432fb msm8937-common: Set subsystem restart_level to "related" 2018-06-29 00:02:44 +08:00
Michael Bestas
002face0cc msm8937-common: Load system props on offline charger mode
* load_all_props does not exist
2018-06-29 00:02:44 +08:00
Wei Wang
3634a47c7b msm8937-common: time_daemon: use /persist to store offset to RTC
Also cleanup sepolicy files that was using /data/vendor as they are not
needed and /data is not ready by the time we start time_daemon

Bug: 62184939
Test: walleye boot with correct time in airplane mode
2018-06-29 00:02:44 +08:00
Paul Keith
8f03601238 msm8937-common: Reorder tetherable connection types
* In O, the default setting for mobile data always active was
  changed from off to on, meaning that when non-WiFi tethering
  is being attempted, more than one connection can be active
* Since the first active connection type in this overlay is used,
  reorder the values to get WiFi connections first, and then
  any type of mobile data connection, instead of vice versa
2018-06-29 00:02:44 +08:00
Bruno Martins
f26c7275e4 msm8937-common: Fix typo from CodeAurora in the QTI whitelist
* Let com.qualcomm.qcrilmsgtunnel break free
2018-06-29 00:02:44 +08:00
blunden
dcd3e6238e msm8937-common: Enforce privapp permissions whitelist 2018-06-29 00:02:44 +08:00
dianlujitao
cbffbc57ac msm8937-common: Build LiveDisplay HAL 2018-06-29 00:02:44 +08:00
rago
cce360b467 msm8937-common: Set voice call volume steps to 7
Bug: 28426597
2018-06-29 00:02:44 +08:00
Jean-Michel Trivi
a4f30d8aa1 msm8937-common: Media volume: from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
2018-06-29 00:02:44 +08:00
LuK1337
c7a441534a msm8937-common: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.

 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.
2018-06-29 00:02:44 +08:00
Bruno Martins
7d8256a304 msm8937-common: Increase cached app limit
* Frameworks support was recently added
2018-06-29 00:02:44 +08:00
oshmoun
852bf8a7c9 msm8937-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-06-29 00:02:44 +08:00
Michael Bestas
7fcaa86e0f msm8937-common: Add powerhint.xml
* Based on LA.UM.6.6.r1-07400-89xx.0, adapted for the new format.
 * Required by perf_hint in libqti-perfd-client.so.

Change-Id: Ief38dc242a92de05305452634fe2318e4de42f90
2018-06-29 00:02:44 +08:00
Bruno Martins
b6653e608a msm8937-common: Remove wificond from device makefiles
* This package is being built globally
2018-06-29 00:02:44 +08:00
Bruno Martins
81db12c07c msm8937-common: Switch to vendor.display.config 1.1
* No need to explicitly build the packages anymore,
   since they're now display HAL dependencies.

Change-Id: Ied3be4c1e5fc7e01e0426268fb219c61a4be86e9
2018-06-29 00:02:44 +08:00
Bruno Martins
d03a67e8d2 msm8937-common: Drop useless CNE related flag
* Nothing in the OSS bits takes it into account.

Change-Id: I6f949a12c643810cb1fba764bf13abb30e5dd88c
2018-06-29 00:02:44 +08:00
TheScarastic
9c2f99f800 msm8937-common: disable sco enahnced command
* Adjust flag after 540b42ceaa
2018-06-29 00:02:44 +08:00
Isaac Chen
508f70b4d8 msm8937-common: proprietary-files: Move IR HAL to vendor
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Isaac Chen
6422873dfc msm8937-common: proprietary-files: Update hvdcp to O-MR1
* vince-user 8.1.0 OPM1.171019.019 8.5.9 release-keys

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Isaac Chen
9719bbd34e msm8937-common: proprietary-files: Add more media omx blobs
* From: TA-1025_00WW 8.1.0 OPR1.170623.026

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Isaac Chen
76f2f7494b msm8937-common: proprietary-files: Use O-MR1 QTEE blobs
* vince-user 8.1.0 OPM1.171019.019 8.5.9 release-keys

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Isaac Chen
28c145f745 msm8937-common: proprietary-files: Use O-MR1 TUI blobs
* vince-user 8.1.0 OPM1.171019.019 8.5.9 release-keys

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Isaac Chen
0e4ee50127 msm8937-common: Remove fingerprint firmware symlink
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Isaac Chen
0acfb5212a msm8937-common: Regenerate compatibility_matrix&manifest
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Rashed Abdel-Tawab
ac39d12568 msm8937-common: Generate treble-compatible makefiles
Change-Id: I95fb9a2f30067c25a9d2ed3a235907959befcd90
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Isaac Chen
64fa39a612 msm8937-common: Build HIDL services
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
TheScarastic
fd39f288d4 msm8937-common: Clean up unused audio stuffs 2018-06-29 00:02:43 +08:00
Isaac Chen
c55bf49604 msm8937-common: Don't clean vendor by default
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Isaac Chen
c0b393ede3 msm8937-common: Apply lineage rebrand
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:02:43 +08:00
Bruno Martins
cf56744f55 msm8937-common: Build health HAL
Change-Id: I9609aa4dd030f2b21eafc9e4975a0fde2f9bea81
2018-06-29 00:02:43 +08:00
codeworkx
fc9805e829 msm8937-common: Add groups for tftp_server
Change-Id: I79cec555e427159a7b24f479d7ef9976495383ab
2018-06-29 00:02:43 +08:00
Dan Pasanen
652e0957cb msm8937-common: Add slpi symlinks
Change-Id: I2fd8a24c29089a92b842aeb2cea564fcca137134
2018-06-29 00:02:43 +08:00
dianlujitao
c3a2fd6486 msm8937-common: Update RFS symlinks
Change-Id: I3dd5e7d22927ed63c9a6d271c61b4dad8118338f
2018-06-29 00:02:43 +08:00
Alexander Martinz
36a87bc9ed msm8937-common: Remove CPUSETS build flags
They both got replaced by runtime checks, see system/core @ 795267d4c

Change-Id: If6a5b5d93dd327475a1e6d3b80244381b1414f99
Signed-off-by: Alexander Martinz <alex@amartinz.at>
2018-06-29 00:02:43 +08:00
Prateek Chaubey
24bacc0d4a msm8937-common: Disable ffmpeg
Change-Id: I533a0d803fc1f6d9b0f6b7f13b11be2105b3530e
2018-06-29 00:02:43 +08:00
Isaac Chen
6b668dc36b msm8937-common: Disable unsupported overlays 2018-06-29 00:02:43 +08:00
maxwen
e446e0847d msm8937-common: Hide sRGB toggle
* This is only available on Nexus/Pixel devices
 * Now expected as an array in Settings package

Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2018-06-29 00:02:43 +08:00
LuK1337
6ba538261c msm8937-common: overlay: Disable A2DP sink profile
* Our devices do not support it and that's the reason why
   A2DP does not work at all.

Change-Id: I50cb1fdc6b4ff69594fc0d10fbd043c681178e5c
2018-06-29 00:02:43 +08:00
Prateek Chaubey
aaf0974357 msm8937-common: Cleanup power script 2018-06-29 00:02:43 +08:00
Prateek Chaubey
11bd52ff6a msm8937-common: Import liblight from caf 2018-06-29 00:02:43 +08:00
Garik Badalyan
b00f55787a msm8937-common: HIDL: Enable compilation of android.hidl.manager@1.0-java
android.hidl.manager@1.0-java.jar is used by HAL clients
to register for IServiceNotification.onRegistration()
notification.
2018-06-29 00:02:43 +08:00
dianlujitao
e76868dd53 msm8937-common: Build dummy android.hidl.[base,manager]@1.0 2018-06-29 00:02:43 +08:00
padarshr
f532b37f81 msm8937-common: Update vndk-sp build mechanism and library set.
This change is to add some more libraries needed to
be present in the vndk-sp library set. Also, move towards
a better the mechanism to build vndk-sp.
2018-06-29 00:02:43 +08:00