summaryrefslogtreecommitdiffstats
path: root/services/inputflinger
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Stub implementations of HAL usage callbacks."Tim Kilbourn2015-03-312-0/+13
|\ \
| * | Stub implementations of HAL usage callbacks.Tim Kilbourn2015-02-272-0/+13
| | | | | | | | | | | | Change-Id: I5c7effddb7fce85d7d33ea79ff7005d37943f520
* | | Use EPOLLWAKEUP properly.Tim Kilbourn2015-03-261-1/+4
|/ / | | | | | | | | | | | | We were trying to use it only when it wasn't supported. Bug: 19937342 Change-Id: Id35aef9ad84f101f7ada2eb87fb91e5c5e2b3357
* | Merge "Remove eng tag from input tests."Michael Wright2015-02-241-2/+1
|\ \
| * | Remove eng tag from input tests.Michael Wright2015-02-231-2/+1
| | | | | | | | | | | | | | | | | | | | | Tests always get built with the platform now anyways. Also, remove the dependency on libandroidfw since it causes issues on PDK builds. Change-Id: Ib73ec620abac3782d9fdae48778064c06b30aae0
* | | Merge "Move inputflinger process to host directory"Michael Wright2015-02-249-48/+390
|\ \ \ | |/ /
| * | Move inputflinger process to host directoryMichael Wright2015-02-239-48/+390
| | | | | | | | | | | | Change-Id: I08ee44bf8b93e7f1760ee9f8d9876a1e2e2e86c8
* | | am 7735c058: am c9aa628d: Cancel touch events when a low-level touch gesture ↵Jeff Brown2015-02-182-0/+21
|\ \ \ | |/ / |/| | | | | | | | | | | | | | occurs. * commit '7735c058869e0a7fd716054110aa6cb4eff4b075': Cancel touch events when a low-level touch gesture occurs.
| * | am c9aa628d: Cancel touch events when a low-level touch gesture occurs.Jeff Brown2015-02-182-0/+21
| |\ \ | | |/ | |/| | | | | | | * commit 'c9aa628d065eb08d6fa30f0ac21c6eca4cfbab75': Cancel touch events when a low-level touch gesture occurs.
| | * Cancel touch events when a low-level touch gesture occurs.Jeff Brown2015-02-122-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the touch firmware or driver sends a key event that is triggered by a low-level gesture such as a palm slap. For this to work, the touch device's .kl file must specify the "GESTURE" flag for each key that is produced by a gesture. Note that the "VIRTUAL" flag should also be specified for any such keys for which we would like to generate haptic feedback. eg. key 142 SLEEP VIRTUAL GESTURE Bug: 19264992 Change-Id: Ief494ec7e3ca66d2358a1001fdfae4f263ee1cd1
* | | am 23958e14: am a7dcab69: Merge "We have POSIX clocks, and we don\'t need to ↵Elliott Hughes2015-01-102-9/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | ask for the openssl headers." * commit '23958e1436565b333ce7f3022bc52a10d4732ef6': We have POSIX clocks, and we don't need to ask for the openssl headers.
| * | am a7dcab69: Merge "We have POSIX clocks, and we don\'t need to ask for the ↵Elliott Hughes2015-01-102-9/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | openssl headers." * commit 'a7dcab6954467fa3726824a099b83d0e7490d6d5': We have POSIX clocks, and we don't need to ask for the openssl headers.
| | * | We have POSIX clocks, and we don't need to ask for the openssl headers.Elliott Hughes2015-01-092-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This code doesn't need to run on the Mac, and the BoringSSL transition will be easier without references to external/openssl. Change-Id: I14ea11fa2911af0f4e95e69636e6a2c26126cbe0
* | | | am 106547c1: am 033f7e8e: Merge "InputDispatcher: Optimize count()"Narayan Kamath2014-12-242-14/+9
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '106547c1e33453b7e20b7b387087092d36aa6a72': InputDispatcher: Optimize count()
| * | | am 033f7e8e: Merge "InputDispatcher: Optimize count()"Narayan Kamath2014-12-242-14/+9
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '033f7e8e35ac76404fe823a67e07ba7c42bc357c': InputDispatcher: Optimize count()
| | * | Merge "InputDispatcher: Optimize count()"Narayan Kamath2014-12-242-14/+9
| | |\ \
| | | * | InputDispatcher: Optimize count()Jon McCaffrey2014-11-262-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Count items as they are added and removed rather than iterating over the entire list to count them. Increases performance slightly, particularly when tracing is turned on, which causes count to be queried more often, and when the number of items in the queues grow large. This can happen due to applications not responding, for example. Change-Id: I0f11f7edd46089612af910cdfabfeb3ee685d7d9
* | | | | am accddd9c: am 947a6adf: Merge "Remove comparisons that can\'t be true"Chih-hung Hsieh2014-11-181-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'accddd9ca0bef572674b895b9b2b0553b133c793': Remove comparisons that can't be true
| * | | | am 947a6adf: Merge "Remove comparisons that can\'t be true"Chih-hung Hsieh2014-11-181-2/+2
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '947a6adf97d9ba86e3ef5704d523b4971246ff1e': Remove comparisons that can't be true
| | * | | Remove comparisons that can't be trueBernhard Rosenkränzer2014-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keyBitmask and ledBitmask are arrays, "!their address" always evaluates to false. clang complains about this. Change-Id: I6aed45a203b0eeaad2093dbdebea03a2c2fc1a3d Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* | | | | am 36ec7a8b: am d72ff140: Merge "Move frameworks/native to libc++."Dan Albert2014-11-161-11/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '36ec7a8b99e287d923bfacd2ef69661818aeb85e': Move frameworks/native to libc++.
| * | | | am d72ff140: Merge "Move frameworks/native to libc++."Dan Albert2014-11-161-11/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'd72ff140e0df44106cd8539396ce686aa8f3306a': Move frameworks/native to libc++.
| | * | | Move frameworks/native to libc++.Dan Albert2014-11-151-11/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm pretty sure I had done this before... Must have been new dependencies that slipped in when L merged in. Bug: 15193147 Change-Id: Ib9b1b8a65665d25c33c6141b9476a8e13c4084e0
| | * | Clean up unused parameter warnings.Narayan Kamath2014-10-172-47/+41
| | | | | | | | | | | | | | | | | | | | | | | | Manual application of change 692018430f115343e36b0680acc659f2a731a5d7. Change-Id: I100f838d70e591a13abb198dc420000ef114a429
* | | | am 66af95fa: am 83cbc5a7: Merge "Stop consuming input on error dialogs." ↵Craig Mautner2014-11-122-31/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into lmp-mr1-dev * commit '66af95fa175baa8c0c9b9b2caa5141f66d635928': Stop consuming input on error dialogs.
| * | | am 83cbc5a7: Merge "Stop consuming input on error dialogs." into lmp-mr1-devCraig Mautner2014-11-122-31/+0
| |\ \ \ | | | |/ | | |/| | | | | | | | | * commit '83cbc5a7588793435fd986e220fe1f9b88342069': Stop consuming input on error dialogs.
| | * | Stop consuming input on error dialogs.Craig Mautner2014-11-112-31/+0
| | |/ | | | | | | | | | | | | | | | | | | This code is no longer necessary and was preventing input from reaching their desired windows. See bug 17648830. Change-Id: Ib1c026ece70e6fa98343340b89af4199d6d0ffca
* | | am 39efe3e5: Clean up unused parameter warnings.Narayan Kamath2014-10-172-47/+41
|\ \ \ | |/ / | | | | | | | | | * commit '39efe3e5bf6282a4851e0eb3b938060c8f7790ae': Clean up unused parameter warnings.
| * | Clean up unused parameter warnings.Narayan Kamath2014-10-172-47/+41
| |/ | | | | | | | | | | | | Manual application of change 692018430f115343e36b0680acc659f2a731a5d7. Change-Id: I100f838d70e591a13abb198dc420000ef114a429 (cherry picked from commit 97a3367a1b49b1761e3485765b2bd3f2293f9638)
* | am 465c8f13: am 2e5f8eaa: am ffb49774: Improve ANR diagnostics.Jeff Brown2014-10-122-51/+71
|\ \ | |/ | | | | | | * commit '465c8f1387b231133fb29bdeb0eb685c30e8da00': Improve ANR diagnostics.
| * Improve ANR diagnostics.Jeff Brown2014-10-102-51/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | Print more details about the exact reason that an ANR has occurred. Also start checking that the window actually has a registered input connection that is not in a broken state. These windows are supposed to be cleaned up by the window manager promptly as if the app had crashed but the pattern of ANRs we are observing suggests that broken windows might be sticking around longer than they should. Bug: 17721767 Change-Id: Ie2803a3fa9642381ecadc198fec15e1b70d93c20
* | am 2344006b: am 4b20d402: Merge "Only mark repeated keys as PASS_TO_USER if ↵Michael Wright2014-09-261-2/+2
|\ \ | |/ | | | | | | | | | | the original key was." into lmp-dev * commit '2344006b6e43ffd081f55228d150f26d932f15fe': Only mark repeated keys as PASS_TO_USER if the original key was.
| * Only mark repeated keys as PASS_TO_USER if the original key was.Michael Wright2014-09-251-2/+2
| | | | | | | | | | Bug: 17629695 Change-Id: Ic569aba4149c6cc321c2cf8aede7c5e8a1196234
* | am 41943dd0: am 9e24c319: Merge "Fix type for temp variable" into lmp-devMichael Wright2014-09-041-1/+1
|\ \ | |/ | | | | | | * commit '41943dd027740873180bea8d30b65d71f0077654': Fix type for temp variable
| * Fix type for temp variableMichael Wright2014-08-291-1/+1
| | | | | | | | Change-Id: I8e2d229da326e5182692f94660336169fb249da7
* | am 883fccb5: am bcbf97ef: Add logging for switch stateMichael Wright2014-09-022-5/+12
|\ \ | |/ | | | | | | * commit '883fccb5f89c005502af27a18322f9fa302ac1b3': Add logging for switch state
| * Add logging for switch stateMichael Wright2014-08-292-5/+12
| | | | | | | | | | Bug: 17004602 Change-Id: I15c9feb7b28274183742936c20e34e7fb07e0b70
| * Shelve InputFlinger for another release. DO NOT MERGEMichael Wright2014-08-184-187/+1
|/ | | | Change-Id: I0f034a2b8b1d9192f61f5001799bd3aa4b3964c7
* Revert "Revert "Add system accelerators for BACK and HOME.""Michael Wright2014-08-062-2/+58
| | | | | | This reverts commit d671f98a27f547ebcddff8dc962fe895549355e2. Change-Id: Ibec48f81653bd2f755fc59a241fa7836baf53233
* Revert "Add system accelerators for BACK and HOME."Michael Wright2014-08-062-56/+2
| | | | This reverts commit 278b525d25b852554015ec4f92862f9297b502fd.
* Add system accelerators for BACK and HOME.Michael Wright2014-08-062-2/+56
| | | | | | | | Meta+Backspace -> BACK Meta+Enter -> HOME Bug: 14066931 Change-Id: Iff1d027300fa9911626785944a6d8efe4f62235e
* Use openssl's SHA1 instead of bionic's.Dan Albert2014-06-202-7/+11
| | | | | | Bionic is removing its SHA1. Change-Id: I7d15986ebac9e0f0eb7ff93457780bd90a4f1d4f
* inputflinger: 64-bit compile issuesMark Salyzyn2014-06-101-24/+25
| | | | Change-Id: I9861f96a8234d5f57b664baead7a465771b63bd5
* Change InputMessage.motion.pointerSize to a uint32_t.Narayan Kamath2014-05-021-2/+2
| | | | | | | | This ensures it's the same size in both 32 and 64 bit processes and also brings it in line with struct MotionEntry. Change-Id: I66bb8b8d8664763e7dcbd489686051f563d5e1dc
* Merge "Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay"Conley Owens2014-04-302-0/+2
|\
| * Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlayConley Owens2014-04-232-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where a View with filterTouchesWhenObscured will have all touches filtered when in magnification accessibility mode. This is due to magnification being a separate Window over top of the running Activity. The method onFilterTouchEventForSecurity in View will then always return false when filterTouchesWhenObscured is enabled on the View. By adding the magnification Window to the list of Trusted Overlays we can ensure that touches will work properly with this property enabled. This corresponds to AOSP change I07706588a625682d05da5cb19f401139eb08a54c Change-Id: Iba095433a1f9045349d1b47a58a33b850ed31c97
* | Move key attribute information out of native.Michael Wright2014-04-222-17/+4
|/ | | | | | | | Native doesn't ever actually care about the attributes of keys, so move all of it up into the managed layer and move all of the key names down so they're defined once. Change-Id: Ic8ded13ce050b2b98744735ff50d11e8d882d7d5
* Plumb display power state through display manager.Jeff Brown2014-04-113-47/+5
| | | | | | | | Eliminated the bright here and woke here policy flags since they were unused. Simplified the input dispatch policy somewhat. Bug: 13133142 Change-Id: I74b4dc866c44c46ed43006a48a857f0da4c07cc9
* Misc. buttons aren't gamepad keys.Michael Wright2014-04-021-4/+0
| | | | | | | | | BUTTON_[1-9] are intended to be misc. buttons so the kernel will assign them to non-gamepad devices. As such, we shouldn't treat them as belonging to gamepads at all. Bug: 13432364 Change-Id: Ida52ec45dadb53df1a9d36ac3ab212a2d2b56359
* Cherry pick parts of f5df700e6ce.Narayan Kamath2014-03-273-5/+5
| | | | | | | This is logically a part of the merge conflict resolution for 22d07464 to master. These files moved across git repositories. Change-Id: Id95bfa0bf503295f2c02a201f4bec5243d169ec4