Searched refs:FromS (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSLocalAgentTests.kt | 85 private fun keepScore() = FromS( in keepScore() 123 lnc = FromS(LocalNetworkConfig.Builder().build())) in keepScore() 139 lnc = FromS(LocalNetworkConfig.Builder().build())) in keepScore() 170 lnc = FromS(LocalNetworkConfig.Builder().build()), in keepScore() 206 private fun createLocalAgent(name: String, localNetworkConfig: FromS<LocalNetworkConfig>): in keepScore() 212 score = FromS(NetworkScore.Builder() in keepScore() 250 val lnc = FromS(LocalNetworkConfig.Builder() in keepScore() 287 val lnc = FromS(LocalNetworkConfig.Builder() in keepScore() 327 val lnc = FromS(LocalNetworkConfig.Builder() in keepScore() 379 val lnc = FromS(LocalNetworkConfig.Builder() in keepScore() [all …]
|
D | CSKeepConnectedTest.kt | 48 val keepConnectedAgent = Agent(nc = nc, score = FromS(NetworkScore.Builder() in testKeepConnectedLocalAgent() 51 lnc = FromS(LocalNetworkConfig.Builder().build())) in testKeepConnectedLocalAgent() 53 lnc = FromS(LocalNetworkConfig.Builder().build())) in testKeepConnectedLocalAgent() 59 val keepAgent = Agent(score = FromS(NetworkScore.Builder() in testKeepConnectedForTest()
|
D | CSLocalAgentCreationTests.kt | 50 FromS(NetworkScore.Builder().setKeepConnectedReason(KEEP_CONNECTED_FOR_TEST).build()) in keepConnectedScore() 52 private fun defaultLnc() = FromS(LocalNetworkConfig.Builder().build()) in keepConnectedScore()
|
D | CSCaptivePortalAppTest.kt | 57 private fun keepScore() = FromS( in keepScore()
|
D | CSSatelliteNetworkTest.kt | 235 private fun keepScore() = FromS(
|
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/ |
D | ConnectivitySampleMetricsTest.kt | 37 import com.android.server.FromS in <lambda>() 104 val agentWifi1 = Agent(nc = wifi1Caps, score = FromS(wifi1Score)).also { it.connect() } in testSampleConnectivityState_Network() 117 val agentWifi2 = Agent(nc = wifi2Caps, score = FromS(wifi2Score)).also { it.connect() } in testSampleConnectivityState_Network() 130 val agentCell = Agent(nc = cellCaps, score = FromS(cellScore)).also { it.connect() } in testSampleConnectivityState_Network()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/ |
D | CSAgentWrapper.kt | 75 val lnc: FromS<LocalNetworkConfig>?, in ArgumentCaptor() 76 val score: FromS<NetworkScore>, in ArgumentCaptor()
|
D | CSTest.kt | 104 open class FromS<Type>(val value: Type) class 535 lnc: FromS<LocalNetworkConfig>? = null, in waitForIdle() 536 score: FromS<NetworkScore> = defaultScore(), in waitForIdle()
|
D | CSTestHelpers.kt | 83 internal fun defaultScore() = FromS(NetworkScore.Builder().build()) in <lambda>()
|