android_packages_modules_Co.../Tethering/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi 323d22a497 Pass bluetoothUseRandomAddress via RoutingCoordinator constructor
This refactoring changes how the bluetoothUseRandomAddress flag is
accessed.

PrivateAddressCoordinator is in a library used by multiple mainline
modules(Tethering, NetworkStack, CaptivePortal, WiFi) and cannot
directly read a Tethering mainline beta flag.

To fix this, the flag's value is now passed down through constructors.

An alternative solution would be to split the Java library for each module,
but with this solution, a single utility class cannot be shared.

This commit is a no-op as the passed value is hardcoded to false.

Test: TH
Flag: EXEMPT refactor
Bug: 287177081
Change-Id: I5f2174ee94b55e7a7298b9742221d6e6c3c5cac5
2025-07-15 11:20:01 +09:00
..
common/android/net Add TetheredClient tests 2020-04-23 01:10:19 +00:00
src Pass bluetoothUseRandomAddress via RoutingCoordinator constructor 2025-07-15 11:20:01 +09:00
Android.bp Merge "Use non-extended mockito for net-tests-utils" into main 2025-03-11 19:00:20 -07:00
AndroidManifest.xml TetheringServiceTest: test caller permission 2020-05-25 12:07:06 +08:00