commit | 90e5d549f9a2f1a95c19aed66c4b06e4ffb54687 | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Mon May 25 14:12:13 2020 +0800 |
committer | Mark Chien <markchien@google.com> | Mon May 25 07:11:59 2020 +0000 |
tree | f18d960e385ec5e683e9892ad59a0801ccf7cf9d | |
parent | 4376550b5b3247327012aa28e60b53254aed255f [diff] |
Mock IpConnectivityLog in IpClientTest IpConnectivityLog which is used to send metrics need NETWORK_STACK permission. Mock IpConnectivityLog to avoid sending metrics from tests. Also remove platform cert from the network stack unit test because it is not necessary for any signature permission anymore. Bug: 156866746 Test: NetworkStackNextTests, NetworkStackCoverageTests, TetheringTests, TetheringCoverageTests Change-Id: Ibff052b30e000de3c5a08d7265c7642d67d9b0d0