Fix wifi-service coverage.sh
coverage.sh previously used tapas
to build FrameworksWifiTests. tapas
builds against prebuilt system-current,
which can become outdated, causing
the build to fail due to missing APIs.
Instead build against the platform,
which always has the most up-to-date
system-current stubs.
Also update the jacoco include_filter
while here.
Bug: 148969938
Test: frameworks/opt/net/wifi/tests/wifitests/coverage.sh /tmp/junk
Test: alternate between `coverage.sh` and `atest FrameworksWifiTests`
to ensure that they don't trample over each other's output
directories.
Change-Id: I4229fdbfb6cf62a1760d12e91b20ab386cb6298e
2 files changed