Jeff Sharkey
3ac2a43455
Give StrictMode more bits to work with.
...
We're almost out of bits, and we don't really need to smash both
thread and VM policy into the same 32-bit value, so use the lower
16-bits for each policy type and the upper 16-bits for penalty.
ActivityManager is only consulting the penalty bits, so we can
remove getViolationBit() and switch CTS over to doing instanceof
checks.
Bug: 110413274
Test: atest cts/tests/tests/os/src/android/os/cts/StrictModeTest.java
Change-Id: I760e6a28f56da66dc75b7df9daf2167ff5bdff50
2018-06-26 14:12:14 -06:00
..
2018-03-02 20:06:18 +00:00
2018-06-08 16:55:43 -07:00
2018-06-26 13:20:37 -06:00
2018-04-26 16:35:38 -07:00
2018-04-11 23:47:31 +01:00
2018-01-29 11:09:14 -08:00
2018-05-22 15:02:50 -07:00
2018-02-18 22:43:13 -08:00
2018-02-16 22:11:35 +00:00
2018-06-05 22:51:58 -07:00
2018-06-07 11:04:22 -07:00
2018-01-09 12:05:39 -08:00
2018-02-16 14:17:41 -05:00
2018-05-17 15:03:00 -07:00
2018-01-29 16:52:08 +00:00
2018-04-06 14:59:07 -07:00
2018-05-23 14:17:32 -07:00
2018-04-06 14:59:07 -07:00
2018-04-11 16:37:57 -07:00
2018-05-10 18:17:50 +01:00
2018-03-26 16:54:38 -06:00
2017-11-16 22:58:45 -07:00
2018-05-18 16:05:41 -04:00
2017-12-13 13:59:04 -07:00
2018-02-26 20:55:26 -08:00
2018-03-29 15:04:14 -07:00
2018-03-29 15:04:27 -07:00
2018-03-29 15:03:59 -07:00
2018-03-29 15:03:59 -07:00
2017-11-01 18:30:04 -07:00
2018-05-04 14:50:42 -07:00
2018-03-29 15:04:20 -07:00
2018-03-29 15:04:20 -07:00
2017-12-15 15:35:34 -08:00
2018-03-16 18:15:46 -07:00
2018-06-22 21:07:41 +00:00
2018-03-30 18:58:18 +09:00
2018-04-16 12:44:32 -06:00
2018-03-20 15:59:51 -07:00
2018-04-18 13:23:24 -07:00
2018-02-05 13:04:55 -08:00
2018-04-13 17:01:13 -07:00
2018-05-06 22:25:05 -07:00
2018-01-18 14:41:41 -08:00
2018-05-23 00:08:05 +00:00
2018-02-23 15:30:04 -08:00
2018-04-27 17:15:46 -07:00
2017-12-05 10:46:59 -08:00
2018-04-03 21:20:47 +00:00
2018-06-04 12:47:45 -04:00
2018-05-30 17:57:34 +09:00
2017-11-06 16:02:49 -08:00
2017-11-09 19:40:03 +00:00
2018-01-09 12:05:39 -08:00
2018-04-16 18:50:10 +01:00
2018-03-07 18:02:55 +00:00
2017-11-01 14:49:10 -07:00
2018-04-18 16:59:26 -07:00
2018-01-22 12:25:34 -08:00
2018-06-20 14:17:51 -06:00
2018-05-21 15:55:28 +00:00
2017-12-20 10:41:12 -08:00
2017-11-14 14:31:32 -08:00
2018-05-16 12:06:41 -07:00
2017-11-21 10:17:14 -08:00
2018-04-27 14:47:32 +00:00
2018-02-16 22:11:35 +00:00
2018-01-24 13:08:19 -08:00
2018-01-24 13:08:19 -08:00
2018-02-23 10:56:03 -08:00
2018-06-26 14:12:14 -06:00
2018-03-26 15:34:24 -06:00
2018-04-06 14:59:07 -07:00
2018-01-18 14:41:41 -08:00
2017-11-01 09:43:14 +00:00
2018-04-26 11:24:39 -07:00
2017-11-28 14:11:09 +01:00
2018-02-09 11:12:56 -08:00
2018-04-26 09:40:57 -07:00
2018-06-08 14:48:54 -07:00
2018-03-07 11:04:34 +00:00
2018-05-22 18:43:48 +00:00
2018-05-30 00:21:38 +01:00
2018-02-08 20:12:02 +00:00
2018-04-09 14:45:28 -07:00
2018-05-24 13:49:41 -07:00