Furquan Shaikh
3e0c3ba194
common/button: Ensure debug mode exits on timeout
...
In all states other than STATE_NONE, ensure that there is a deferred
call set after DEBUG_TIMEOUT so that debug mode exits if there is no
user activity.
BUG=b:64436180
BRANCH=None
TEST=make -j buildall. Also, verified following:
1. All combos still work fine
2. No user input for 10 seconds after entering debug mode:
++[42.318691 DEBUG MODE: Active!]
++[53.288057 DEBUG MODE: Exit!]
3. No user input for 10 seconds on sysrq path:
++[95.675863 DEBUG MODE: Active!]
+[97.200743 Button 'Volume Down' was pressed]
[97.526162 Button 'Volume Down' was released]
[107.528069 DEBUG MODE: Exit!]
4. No user input for 10 seconds on warm reset path:
+[149.374805 DEBUG MODE: Active!]
[150.863902 Button 'Volume Up' was pressed]
[151.193353 Button 'Volume Up' was released]
[161.199244 DEBUG MODE: Exit!]
5. Volup+Voldn still held down 10 seconds after entering debug mode:
+[213.704770 DEBUG MODE: Active!]
[223.705368 DEBUG MODE: Exit!]
Change-Id: I8a0aa448d31b4a746c7af2519ac6f61838bc9b99
Signed-off-by: Furquan Shaikh <furquan@chromium.org >
Reviewed-on: https://chromium-review.googlesource.com/603991
Reviewed-by: Aaron Durbin <adurbin@chromium.org >
2017-08-07 13:50:47 -07:00
..
2017-07-14 04:01:45 -07:00
2016-11-08 17:11:28 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2013-09-27 23:07:21 +00:00
2017-06-28 23:23:41 -07:00
2016-08-24 16:30:10 +00:00
2016-08-11 14:46:33 -07:00
2016-08-24 16:30:10 +00:00
2016-11-16 19:04:31 -08:00
2017-08-02 15:02:34 -07:00
2017-08-07 13:50:47 -07:00
2016-04-18 17:32:40 -07:00
2016-10-11 23:01:59 -07:00
2017-07-31 21:39:39 -07:00
2017-05-11 17:15:47 -07:00
2017-03-30 17:35:44 -07:00
2017-05-17 06:14:55 -07:00
2017-02-10 19:02:55 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2015-05-19 02:46:27 +00:00
2016-10-01 03:13:43 +00:00
2017-06-19 15:33:10 -07:00
2016-03-18 22:16:53 -07:00
2014-08-08 03:11:38 +00:00
2017-07-03 21:44:34 -07:00
2017-07-03 21:44:34 -07:00
2017-06-30 03:08:42 -07:00
2017-01-23 13:38:22 -08:00
2017-02-14 14:50:36 -08:00
2015-07-17 03:17:50 +00:00
2017-08-02 15:02:34 -07:00
2017-06-16 21:10:54 -07:00
2016-09-02 07:11:33 -07:00
2016-08-24 16:30:10 +00:00
2017-07-13 19:45:57 -07:00
2017-07-13 19:45:57 -07:00
2017-07-28 17:45:13 -07:00
2017-04-11 20:22:32 -07:00
2016-11-15 17:41:53 -08:00
2016-08-31 17:20:26 +00:00
2017-06-11 23:17:19 -07:00
2017-07-20 15:00:40 -07:00
2016-08-24 16:30:10 +00:00
2017-06-30 16:02:50 -07:00
2017-06-30 03:08:42 -07:00
2017-06-09 21:44:03 -07:00
2017-07-05 14:24:49 -07:00
2017-04-26 13:37:04 -07:00
2016-08-24 16:30:10 +00:00
2017-02-02 12:29:30 -08:00
2016-04-18 17:32:40 -07:00
2017-05-18 18:07:29 -07:00
2017-05-03 19:40:24 -07:00
2017-07-28 17:45:14 -07:00
2017-05-08 07:04:06 -07:00
2013-03-22 11:24:29 -07:00
2015-09-25 09:13:34 -07:00
2017-05-02 17:45:16 -07:00
2017-04-13 12:55:33 -07:00
2016-03-02 13:39:47 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2015-10-13 05:28:54 -07:00
2017-08-02 17:26:42 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2017-06-19 15:33:09 -07:00
2016-10-01 00:02:01 -07:00
2017-07-28 15:04:24 -07:00
2017-07-13 08:32:58 -07:00
2017-06-01 00:51:37 -07:00
2017-06-02 10:38:57 -07:00
2017-02-27 18:50:12 -08:00
2017-02-23 01:19:07 -08:00
2013-08-02 18:22:57 -07:00
2016-10-01 03:14:07 +00:00
2017-08-02 15:02:34 -07:00
2017-07-19 14:41:21 -07:00
2016-08-24 16:30:10 +00:00
2017-06-28 21:50:51 -07:00
2016-08-24 16:30:10 +00:00
2017-02-11 13:06:38 -08:00
2017-01-03 15:13:58 -08:00
2016-08-24 16:30:10 +00:00
2016-09-08 17:57:51 -07:00
2015-06-11 00:08:49 +00:00
2015-07-15 21:57:36 +00:00
2017-06-30 16:02:50 -07:00
2017-06-14 01:19:31 -07:00
2016-11-10 21:28:28 -08:00
2017-06-21 01:03:00 -07:00
2017-02-11 13:06:38 -08:00
2014-05-17 20:14:17 +00:00
2017-06-14 05:59:37 -07:00
2016-08-31 17:20:26 +00:00
2017-01-05 21:13:09 -08:00
2016-03-21 16:35:33 -07:00
2016-08-24 16:30:10 +00:00
2017-05-12 20:58:09 -07:00
2016-10-05 20:58:37 -07:00
2017-02-09 05:04:56 +00:00
2017-05-09 23:20:07 -07:00
2017-07-28 17:45:13 -07:00
2017-01-04 18:07:12 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2017-02-03 20:01:45 -08:00
2017-08-01 20:40:21 -07:00
2017-08-03 19:23:22 -07:00
2017-05-12 13:09:54 -07:00
2017-04-26 04:28:08 -07:00
2016-06-16 12:27:42 -07:00
2017-07-31 21:39:39 -07:00
2017-05-02 20:24:17 -07:00
2017-08-04 18:08:16 -07:00
2017-03-26 02:15:54 -07:00
2017-05-01 21:54:10 -07:00
2017-05-01 21:54:10 -07:00
2017-08-03 00:32:05 -07:00
2017-02-23 16:02:02 -08:00
2017-06-27 21:28:05 -07:00
2015-10-13 05:28:54 -07:00
2017-04-06 03:29:38 -07:00
2017-07-05 14:24:49 -07:00
2016-01-25 21:46:48 -08:00
2016-08-24 16:30:10 +00:00