No description
Find a file
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
audio msm8937-common: audio: Disable ULL mode 2018-06-29 00:02:44 +08:00
biometrics msm8937-common: Add custom biometrics 2018-06-29 00:02:43 +08:00
bluetooth msm8937-common: disable sco enahnced command 2018-06-29 00:02:44 +08:00
board msm8937-common: Drop useless CNE related flag 2018-06-29 00:02:44 +08:00
configs msm8937-common: Fix typo from CodeAurora in the QTI whitelist 2018-06-29 00:02:44 +08:00
doze msm8937-common: doze: use ExecutorService for listener registration 2018-06-29 00:05:46 +08:00
gps msm8937-common: Update GPS stack to O-MR1 2018-06-29 00:03:00 +08:00
idc land:Blacklist FP event 2017-08-15 13:49:06 +02:00
init msm8937-common: init: Update for Oreo 2018-06-29 00:02:59 +08:00
keylayout msm8937-common: Remove obvious device specific files 2018-06-29 00:01:11 +08:00
libhidl msm8937-common: Build dummy android.hidl.[base,manager]@1.0 2018-06-29 00:02:43 +08:00
liblight msm8937-common: Import liblight from caf 2018-06-29 00:02:43 +08:00
lineagehw/org/lineageos/hardware msm8937-common: lineagehw: Apply LineageOS rebrand 2018-06-29 00:03:00 +08:00
overlay msm8937-common: Reorder tetherable connection types 2018-06-29 00:02:44 +08:00
overlay-lineage msm8937-common: Disable unsupported overlays 2018-06-29 00:02:43 +08:00
product msm8937-common: doze: Import from msm8996-common 2018-06-29 00:03:49 +08:00
rootdir msm8937-common: Set subsystem restart_level to "related" 2018-06-29 00:02:44 +08:00
seccomp msm8937-common: Adding syscalls for VPP functionality 2018-06-29 00:03:00 +08:00
sepolicy msm8937-common: Add custom biometrics 2018-06-29 00:02:43 +08:00
vndk msm8937-common: Update vndk-sp build mechanism and library set. 2018-06-29 00:02:43 +08:00
wifi msm8937-common: Update Wifi Configs from LA.UM.6.6.r1-09000-89xx.0 2018-06-29 00:01:58 +08:00
Android.mk msm8937-common: Remove fingerprint firmware symlink 2018-06-29 00:02:43 +08:00
BoardConfigCommon.mk msm8937-common: Add common config.fs AID/fs configuration file 2018-06-29 00:03:00 +08:00
compatibility_matrix.xml msm8937-common: Regenerate compatibility_matrix&manifest 2018-06-29 00:02:43 +08:00
config.fs msm8937-common: [ims-rcs]: Added wake_alarm capabiltiy 2018-06-29 00:03:00 +08:00
extract-files.sh msm8937-common: Don't clean vendor by default 2018-06-29 00:02:43 +08:00
lineage.dependencies msm8937-common: doze: Import from msm8996-common 2018-06-29 00:03:49 +08:00
manifest.xml msm8937-common: Build LiveDisplay HAL 2018-06-29 00:02:44 +08:00
msm8937.mk msm8937-common: Convert into common tree 2018-06-29 00:00:26 +08:00
proprietary-files-qc.txt msm8937-common: proprietary-files: Move IR HAL to vendor 2018-06-29 00:02:43 +08:00
README.md msm8937-common: Convert into common tree 2018-06-29 00:00:26 +08:00
setup-makefiles.sh msm8937-common: Generate treble-compatible makefiles 2018-06-29 00:02:43 +08:00

Common device configuration for Xiaomi MSM8937

#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#