Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e54239e authored by Michal Karpinski's avatar Michal Karpinski Committed by Colin Cross
Browse files

Extending DNS event reporting

This adds hostname, array of addresses, total count of IP addresses
and uid to the existing pipeline.
Currently ignores the new data it receives, further work will be
done in the subsequent CLs.

Test: for now just the benchmarking, in the future unit and CTS

Bug: 29748723
Change-Id: Ice7db208282934e74f0e1808ffbae96d476c4216
(cherry picked from commit 14c9d2d0)
parent 853427a3
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -158,7 +158,8 @@ public class NetdEventListenerServiceTest extends TestCase {


    void log(int netId, int[] latencies) {
    void log(int netId, int[] latencies) {
        for (int l : latencies) {
        for (int l : latencies) {
            mNetdEventListenerService.onDnsEvent(netId, EVENT_TYPE, RETURN_CODE, l);
            mNetdEventListenerService.onDnsEvent(netId, EVENT_TYPE, RETURN_CODE, l, null, null, 0,
                    0);
        }
        }
    }
    }