android_packages_modules_Co.../Tethering/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 2ff42d264b Migrate Tethering#dump to use runWithScissorsForDump
This change includes:
  1. Refactor the logic in Tethering#dump into utils class.
  2. Move the utils class to a common place which could be referenced
     from other sub-modules.
  3. Add @MonitorThreadLeak annotation to enforce
     there is no thread leak problem.

Test: atest FrameworksNetTests NetworkStaticLibTests
Test: atest ConnectivityCoverageTests:com.android.networkstack.tethering.TetheringTest#testDumpTetheringLog
Test: adb shell dumpsys tethering (with hardcoded exception)
Fix: 312669345

Change-Id: Ia6fdfeeec2110afa0ec9e056e9db3843748845c3
2024-01-10 13:56:55 +08:00
..
common/android/net Add TetheredClient tests 2020-04-23 01:10:19 +00:00
src Migrate Tethering#dump to use runWithScissorsForDump 2024-01-10 13:56:55 +08:00
Android.bp Add ConfigInfrastructure stubs lib to Android.bp 2022-12-08 12:58:20 +00:00
AndroidManifest.xml TetheringServiceTest: test caller permission 2020-05-25 12:07:06 +08:00