[ID] Add tests of data sources

Registers the ForensicAdminReceiver as DeviceOwner to
receive network logging callbacks and authenticate security
logging.

SecurityLogging test: generates a security event, and ensures
the data reaches the BackupTransportConnection.

NetworkLogging test: generates a network event, and ensures
the data reaches the BackupTransportConnection.

Bug: 365994454
Test: atest IntrusionDetectionServiceTests
Flag: android.security.afl_api
Ignore-AOSP-First: security feature

Change-Id: I7601bc73b1f6b76225314baf5edeeafb76f4c6f9
3 files changed