android_packages_modules_Co.../Tethering/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
junyulai 9c5d40beca Fix TetheringTest crash on eng build
startTrackDefaultNetwork was allowed to called multiple times
before even though there is no one actually do it. However,
in the TetheringTest#verifyDefaultNetworkRequestFiled, a
manual invocation is used to ensure that function supports
multiple entrance.

But with aosp/1697371, startTrackDefaultNetwork is no longer
allowed to be called multiple times, it would lead to log.wtf
and crash system in eng build.

Since the manual invocation of startTrackDefaultNetwork is not
realistic and no longer valid anymore, remove the invocation
that caused the trouble.

Test: atest TetheringCoverageTests
Bug: 188613493
Merged-In: I61f6088783d521fd17ae1e87370842b4239fbe75
Change-Id: I61f6088783d521fd17ae1e87370842b4239fbe75
  (cherry-picked from aosp/1711433)
2021-06-09 01:57:37 +00:00
..
common/android/net Add TetheredClient tests 2020-04-23 01:10:19 +00:00
src Fix TetheringTest crash on eng build 2021-06-09 01:57:37 +00:00
Android.bp Merge "Test mts against last stable api level" am: a59a146b36 am: 9015e276aa am: 726b814899 2021-05-14 10:26:06 +00:00
AndroidManifest.xml TetheringServiceTest: test caller permission 2020-05-25 12:07:06 +08:00