Searched refs:TestNetwork (Results 1 – 2 of 2) sorted by relevance
121 class TestNetwork(private val privateDnsBypass: Boolean = false) : class129 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()
97 private val privateDnsBypassNetwork = TestNetwork(TEST_NETID) in getInputStream()99 private inner class TestNetwork(netId: Int) : Network(netId) { in getInputStream() class