summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-03-22 22:21:44 +0900
committerHugo Benichi <hugobenichi@google.com>2017-04-13 23:08:20 +0900
commit0699cf98042a64e41ee076c464eb115a6579be08 (patch)
treee9c2df92e3f49cd1f10da1fc8c20099963dc6db8 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentdf456e13a1127e3c8594b1d22ea4a9b3dca67a4b (diff)
Connectivity metrics: log DnsEvents in-band
This patch changes how DnsEvents are logged in IpConnectivityMetrics. The following changes are made: - DnsEventBatch are not logged after 100 queries on the same network - this allows to merge DnsEvent and DnsEventBatch into one class - DnsEventBatch are not logged after a network disconnect - this allows to remove the NetworkCallback - DnsEvent are now logged similarly to ConnectStats when statistics are flushed, in a direct call from IpConnectivityMetrics into NetdEventListenerService, in a direct call from IpConnectivityMetrics into NetdEventListenerService. - this allows to remove the Parcelable implementation of DnsEvent - transports information is added to DnsEvent. Test: - simplified NetdEventListenerServiceTest covering dns logging - updated IpConnectivityEventBuilderTest - updated IpConnectivityMetricsTest - $ runtest frameworks-net passes - manually verified $ adb shell dumpsys connmetrics list proto Bug: 34901696 Change-Id: Ia4b33fd4212741152662a2adbb0533bd1b4902ee
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions