[Forensic] Added Security Logging

Registers and monitors a SecurityEventCallback.

Converts the returned List<SecurityEvent> to List<ForensicEvent>.

SecurityLogSource requires a non-null context, so updated
ForensicServiceTest and DataAggregator to pass context.

Testing will be added in the follow-up commit.

Test: atest ForensicServiceTest
Bug: 365994454
Flag: android.security.afl_api
Change-Id: Ib5e1236f0da72b75cd52ef021451d29de620f6ca
6 files changed