Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DConnectedClientsTrackerTest.kt41 private val server1 = mock(IpServer::class.java) constant in com.android.networkstack.tethering.ConnectedClientsTrackerTest
43 private val servers = listOf(server1, server2)
73 doReturn(emptyList<TetheredClient>()).`when`(server1).allLeases in testUpdateConnectedClients()
80 doReturn(listOf(client1)).`when`(server1).allLeases in testUpdateConnectedClients()
89 doReturn(listOf(client1, client2)).`when`(server1).allLeases in testUpdateConnectedClients()
109 doReturn(emptyList<TetheredClient>()).`when`(server1).allLeases in testUpdateConnectedClients()
118 doReturn(listOf(client1, client2)).`when`(server1).allLeases in testUpdateConnectedClients_LeaseExpiration()
/frameworks/base/services/core/java/com/android/server/location/
DGpsPsdsDownloader.java56 String server1 = properties.getProperty("XTRA_SERVER_1"); in GpsPsdsDownloader() local
59 if (server1 != null) count++; in GpsPsdsDownloader()
77 if (server1 != null) mPsdsServers[count++] = server1; in GpsPsdsDownloader()