android_packages_modules_Co.../Tethering/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Hu 26d4476007 Process all accesses to TetheringMetrics on the handler thread
Since calling NetworkStatsManager.queryDetailsForUidTagState may
be blocked for up to 20 seconds, potentially leading to enable
Tethering failure, a handler thread is added to process this task
and prevent blocking.

Furthermore, thread safety is ensured for all accesses to the class
by the internal handler thread.

Bug: 282861165
Test: atest TetheringTests
Change-Id: I38d055e5c3f8dbb22eac97f858d4f56925e8ab36
2024-09-04 06:08:38 +00:00
..
common/android/net Add TetheredClient tests 2020-04-23 01:10:19 +00:00
src Process all accesses to TetheringMetrics on the handler thread 2024-09-04 06:08:38 +00:00
Android.bp [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
AndroidManifest.xml TetheringServiceTest: test caller permission 2020-05-25 12:07:06 +08:00