commit | 9489b7905acfb27a99dd505364a715f4cf2ab5e6 | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Tue Apr 14 11:01:45 2015 -0700 |
committer | Chad Brubaker <cbrubaker@google.com> | Tue Apr 14 12:44:29 2015 -0700 |
tree | cfb7a4a0e1d6f7ea2fdbe0bf8607dc37747662ec | |
parent | 00300a1115ec64e4c0b427cac4d013f9c27c408b [diff] |
Refactor permission and state checking Move the permission checking code to checkBinderPermission and checkBinderPermissionOrSelf target to simplify permission checking code and clean up keystore methods. Also adds checkBinderPermissionAndKeystoreState as a helper method to check the permission and the unlock state of the keystore. Change-Id: I77c94af1593d2a7fd100c79a6364583067ffa559