• Chad Brubaker's avatar
    Refactor permission and state checking · 9489b790
    Chad Brubaker authored
    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
    9489b790
keystore.cpp 99.6 KB