android_packages_modules_Co.../Tethering/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Quang Anh Luong db7fdac6d9 Fix WifiManager.startTetheredHotspot mocking
TetheringTest has several tests that rely on starting Wifi tethering,
but do not mock WifiManager.startTetheredHotspot. This causes the
pending Wifi request to be removed, even though the test continues
thinking that the call succeeded and continues mocking Wifi AP events.

Fix this by making sure the mock returns true in setUp(), and only set
it to false when we expect that the call should fail.

Bug: 216524590
Test: atest TetheringTest
Change-Id: Iaf076b9ae64d737a8591c7f41a5552757b47999b
2025-03-17 15:18:29 +09:00
..
integration testTetherBpfOffloadUdpV4: disable on S/Sv2 with old DnsResolver 2025-03-10 15:53:48 -07:00
mts Make java_sdk_library dependencies explicit 2024-09-10 00:01:31 +00:00
privileged Rename TapPacketReader to PollPacketReader for broader applicability 2024-10-15 13:42:05 +09:00
unit Fix WifiManager.startTetheredHotspot mocking 2025-03-17 15:18:29 +09:00
Android.bp [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
jarjar-rules.txt ConnectivityCoverageTests refactoring 2022-04-06 19:35:28 +09:00