Jeff Sharkey
6b64925737
Protect usage data with OP_GET_USAGE_STATS.
...
APIs that return package usage data (such as the new StatsManager)
must ensure that callers hold both the PACKAGE_USAGE_STATS permission
and the OP_GET_USAGE_STATS app-op.
Add noteOp() method that can be called from native code.
Also add missing security checks on command interface.
Bug: 77662908, 78121728
Test: builds, boots
Change-Id: Ie0d51e4baaacd9d7d36ba0c587ec91a870b9df17
2018-04-16 12:44:32 -06:00
..
2018-02-28 17:15:21 +00:00
2018-02-28 15:13:23 +00:00
2018-02-28 17:15:21 +00:00
2018-03-16 19:08:09 +00:00
2018-03-15 21:55:45 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-03-30 14:04:48 -07:00
2018-02-28 17:15:21 +00:00
2018-03-22 13:43:25 -07:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-03-01 11:53:43 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-04-06 14:54:39 +01:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-03-01 11:53:43 +00:00
2018-02-28 17:15:21 +00:00
2018-03-05 16:59:21 -08:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-08 11:01:08 -05:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-01-25 12:44:45 +09:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-04-13 19:32:25 +00:00
2018-02-28 17:15:21 +00:00
2018-01-24 15:30:13 +09:00
2018-03-12 10:40:33 +09:00
2018-03-05 16:59:21 -08:00
2018-04-16 12:44:32 -06:00
2018-02-28 15:13:23 +00:00
2018-02-28 09:45:40 +09:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-23 21:26:02 +00:00
2018-02-28 17:15:21 +00:00
2018-03-29 21:27:47 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-08 11:01:08 -05:00
2018-03-22 13:51:57 -07:00
2018-02-28 17:15:21 +00:00
2018-04-06 14:54:39 +01:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2018-02-28 17:15:21 +00:00
2017-12-15 07:37:51 +00:00
2018-04-10 18:11:19 -07:00