android_packages_modules_Co.../tests/net/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
lucaslin 150976c603 Add annotation for Vpn#getNetwork()
- Add @VisibleForTesting & @Nullable for Vpn#getNetwork().
- Remove null check in caller side(test) of Vpn#getNetwork()
because if the code is working properly, it can never be null.

Bug: 182963397
Test: atest FrameworksNetTests
Change-Id: Ic52864003fbebd9f4e95d43fefc2e168437b0122
Merged-In: Ic52864003fbebd9f4e95d43fefc2e168437b0122
  (cherry-picked from ag/13946573)
2021-03-25 10:21:07 +00:00
..
internal Split NetworkUtils and NetworkUtilsInternal 2020-12-07 19:41:49 +09:00
server Add annotation for Vpn#getNetwork() 2021-03-25 10:21:07 +00:00