Add more permission APIs to support lib

Change-Id: I28f7a1df548b9a7af7c445d1359a7560895166dd
7 files changed