android_packages_modules_Co.../Tethering/tests/unit/src
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
..
android/net Split requestDownstreamAddress into two methods 2024-10-18 01:29:53 +00:00
com/android/networkstack/tethering Fix PrivateAddressCoordinatorTest#testReservedPrefix 2024-12-19 19:18:40 -08:00