android_packages_modules_Co.../Tethering
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
..
apex Move CronetInTetheringApexDefaults to //external/cronet 2025-03-12 10:00:42 -07:00
apishim Simplify tethering active session counting 2024-10-03 16:04:56 +08:00
common/TetheringLib [Revert^2] Reject TetheringRequests that fuzzy-match existing ones 2025-03-17 15:18:29 +09:00
jni remove dead register_com_android_networkstack_tethering_BpfUtils 2023-11-07 17:23:11 -08:00
res Import translations. DO NOT MERGE ANYWHERE 2025-01-22 15:31:38 -08:00
src Replace isTetheringWithSoftApConfig flag with B SDK check 2025-03-17 15:18:29 +09:00
tests Fix WifiManager.startTetheredHotspot mocking 2025-03-17 15:18:29 +09:00
Android.bp try-catch when calling createContextAsUser 2025-01-22 11:22:59 +08:00
AndroidManifest.xml Use MANAGE_USERS permission to check for admin user 2024-10-28 17:31:22 +08:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-19 08:56:10 +00:00
jarjar-rules.txt Fix jarjar rules for tethering apk 2022-05-31 15:20:52 +08:00
lint-baseline.xml Baseline NewApi issues 2024-01-25 02:41:58 +00:00
OWNERS Revert "Add owners block for migration" 2021-05-31 10:34:04 +00:00
proguard.flags Proguard JNI methods 2025-01-02 08:29:25 -08:00