- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getSystemService (0.13 sec)
-
okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt
} @Test fun testRequestOnNetwork() { assumeNetwork() val context = InstrumentationRegistry.getInstrumentation().context val connectivityManager = context.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager val network = connectivityManager.activeNetwork ?: throw AssumptionViolatedException("No active network") val client =
Registered: 2024-11-01 11:42 - Last Modified: 2024-01-08 01:13 - 5.7K bytes - Viewed (0)