Home
last modified time | relevance | path

Searched refs:servingMode (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DConnectedClientsTrackerTest.kt79 doReturn(IpServer.STATE_TETHERED).`when`(server1).servingMode() in testUpdateConnectedClients()
80 doReturn(IpServer.STATE_TETHERED).`when`(server2).servingMode() in testUpdateConnectedClients()
86 doReturn(IpServer.STATE_LOCAL_ONLY).`when`(server1).servingMode() in testUpdateConnectedClients_LocalOnly()
87 doReturn(IpServer.STATE_LOCAL_ONLY).`when`(server2).servingMode() in testUpdateConnectedClients_LocalOnly()
158 doReturn(IpServer.STATE_LOCAL_ONLY).`when`(server1).servingMode() in testLocalOnlyAndTetheredHotspotClients()
159 doReturn(IpServer.STATE_TETHERED).`when`(server2).servingMode() in testLocalOnlyAndTetheredHotspotClients()
188 doReturn(IpServer.STATE_TETHERED).`when`(server1).servingMode() in testUpdateConnectedClients_LeaseExpiration()
189 doReturn(IpServer.STATE_TETHERED).`when`(server2).servingMode() in testUpdateConnectedClients_LeaseExpiration()
DTetheringTest.java3148 && ipSrv.servingMode() == mode) { in isIpServerActive()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java100 switch (server.servingMode()) { in updateConnectedClients()
DTethering.java2332 switch (ipServer.servingMode()) { in sendOffloadExemptPrefixes()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java399 public int servingMode() { in servingMode() method in IpServer