android_packages_modules_Co.../Tethering/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Handa Wang 27eed97a14 Fix PrivateAddressCoordinatorTest#testReservedPrefix
The intention of this test case is to check that the cached hotspot prefix doesn't get assigned to ethernet, even if released, so that it can be offered to the hotspot if requested again.

Therefore we should call `requestStickyDownstreamAddress` instead of `requestDownstreamAddress` when requesting the prefix for hotspot.

Bug: 375858174

Test: atest TetheringTests:com.android.networkstack.tethering.PrivateAddressCoordinatorTest#testReservedPrefix --iteration 200

Change-Id: I5d897aa958a9549f3d773bd59920906a815edb5e
2024-12-19 19:18:40 -08:00
..
common/android/net Add TetheredClient tests 2020-04-23 01:10:19 +00:00
src Fix PrivateAddressCoordinatorTest#testReservedPrefix 2024-12-19 19:18:40 -08:00
Android.bp Make java_sdk_library dependencies explicit 2024-09-10 00:01:31 +00:00
AndroidManifest.xml TetheringServiceTest: test caller permission 2020-05-25 12:07:06 +08:00