d0bb3fe33ae2ab3ce37611a1f9a8015647c8e6c7
Unit testing for ConnectivityDiagnostics API in ConnectivityServiceTest is updated to use HandlerUtilsKt#waitForIdle. In the general case, this takes the same time to run as verify-with-timeout (used previously). However, test failures due to messages not being enqueued on the handler (backed by the ConnectivityService Thread) won't incur the timeout delay, as the thread will be idle sooner. This shortens the delay in the event of a programming error. Bug: 143187964 Test: atest FrameworksNetTests Change-Id: Iae66309501bb83449ca735dfa5e972a9852cbcd0
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%