[Forensic] Add ForensicManager and permissions
The ForensicManager serves as client lib to communicate with the
ForensicService.
The following 3 permissions are introduced to guard the ForensicService:
READ_FORENSIC_STATE: Allows an application to monitor the state
of the ForensicService.
MANAGE_FORENSIC_STATE: Allows an application to change the state
of the ForensicService.
BIND_FORENSIC_BACKUP_SERVICE:Must be required by any
ForensicBackupService to ensure that only the system can bind to it.
Bug: 365994454
Test: atest ForensicServiceTest ForensicManagerTest
Flag: android.security.afl_api
Ignore-AOSP-First: security feature
Change-Id: Icc196812fd85da1c3f0b7860aab7b3c2e08e9046
16 files changed