[IntrusionLogging] Add DNS receiver for DNSConnection event

Added receiver to the IntrusionLogging TestApp to
check that Network events have been received.

Added bugfix: when IntrusionDetectionService was
closed while transporting data, transport()
threw an uncaught exception. Added fix to
catch error.

Added bugfix:  disable fix to the NetworkLogSource

Bug: 419087380
Test: atest android.security.cts.IntrusionDetectionManagerTest
Ignore-AOSP-First: security feature
Flag: EXEMPT: bugfix in localized component
Change-Id: Ifc8efb934a9b1be9ababb965a2eb5172e10f96f8
3 files changed