Home
last modified time | relevance | path

Searched refs:TestNetwork (Results 1 – 2 of 2) sorted by relevance

/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt121 class TestNetwork(private val privateDnsBypass: Boolean = false) : class
129 val CREATOR = object : Parcelable.Creator<TestNetwork> {
130 override fun createFromParcel(source: Parcel?) = TestNetwork() in createFromParcel()
131 override fun newArray(size: Int) = emptyArray<TestNetwork>() in createFromParcel()
150 return TestNetwork(privateDnsBypass = true) in createFromParcel()
227 TestNetwork.sTestConnection = connection in setUp()
458 TestNetwork(), in startDownloadTask()
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DTestNetworkStackService.kt97 private val privateDnsBypassNetwork = TestNetwork(TEST_NETID) in getInputStream()
99 private inner class TestNetwork(netId: Int) : Network(netId) { in getInputStream() class