History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/EventLogger.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6fc35c068765471d0acb99ad9c343503cb1bbe77 25-Oct-2017 Philip P. Moltmann <moltmann@google.com> Use multi-field logs to log permissions

Before this change each permission+action combo had it's own ID. This
was very fragile and did not work for non-system permissions.

Now the action is the log-type and the permission is just a field in the
log.

Removed EventLogger test as all this test was supposed to do was
prevent issues with permission-action not having the proper IDs. This
obviously did not help.

Test: Used API 23 and API 26 apps to grant and revoke permission and
confirmed logs are as expected

Change-Id: Id35e3250fcf875bde34953aa57c95ccd0880548a
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/EventLogger.java
51c1a694d6e7e96e3de7171a27b2208f27a70ebd 31-Mar-2017 Chad Brubaker <cbrubaker@google.com> Track rename of READ_PHONE_NUMBERS

Bug: 35853790
Test: See framework CL
Change-Id: Id3b95c9a33610714a0fd66f8ef6f515a862d94f7
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/EventLogger.java
7d57b3879833b28e2f23cb577f0acc54e2ac40f7 15-Mar-2017 Philip P. Moltmann <moltmann@google.com> Log AppOps permissions via EventLogger

Change-Id: I37ead7724ac54ac462d3e49e155f211b45e15205
Fixes: 36212313
Test: Added and ran new EventLoggerTest-case. Installed and ran MobilIron Go app (like in the bug-report)
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/EventLogger.java
5562fc57a523c80b191d0d0856626bd94b56ba21 03-Feb-2017 Eugene Susla <eugenesusla@google.com> Introduce ANSWER_PHONE_CALLS permission

See I4c33fcea6b95a30469fa6c0c37090be32b0ad52e

Test: Grant the permission and ensure the call gets answered.
Deny the permission, and ensure that the API call throws an exception.
Bug: 30932767
Change-Id: I267d60b3fd04ee4d31cdd5e622441a79883caab7
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/EventLogger.java
838290be803aecca2d77c39e8beaf9032e9f6900 06-Dec-2016 Chad Brubaker <cbrubaker@google.com> Reorder READ_PHONE_NUMBER

Test: m
Change-Id: Ibbe179e5f8dd3ade7aeaef6cb6de1d2bb26ba5e5
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/EventLogger.java
d60b6cd2eb3cf7b44731922e63094030b08019ce 06-Dec-2016 Chad Brubaker <cbrubaker@google.com> Add READ_PHONE_NUMBER to the list of dangerous permissions.

Test: system_server no longer crahes when granting READ_PHONE_NUMBER
Change-Id: I8a6bf0166277fd018dd07519100c4dcf6ad7564b
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/EventLogger.java
475856df8fae4c328253a087921a2e565b7d5c58 09-Nov-2016 Philip P. Moltmann <moltmann@google.com> Log individual permission grants, denials via TRON

Test: - Changed permissions via GrantPermissions and Settings and looked
at event log
- Ran newly added robo-tests

Change-Id: Id2cb037b6fde8ca62cd9eac1a90a3c38b858238a
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/EventLogger.java