[ID] Add Network Logging
Added an AdminReceiver to receive DeviceAdmin callbacks.
NetworkLogSource receives NetworkLog callbacks from the admin
receiver, and returns data to the DataAggregator.
The network log source architecture is documented at
go/forensic-datasource-docs.
Added a permission check in SecurityLog initialization to prevent
silent failures.
Bug: 365994454
Test: atest IntrusionDetectionServiceTest
Flag: android.security.afl_api
Ignore-AOSP-First: security feature
Change-Id: I4a5eaa4b6f4e2ce244f61250f39fb66bc0550326
5 files changed