Home
last modified time | relevance | path

Searched refs:mDhcpServer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/net/java/android/net/ip/
DIpServer.java210 private IDhcpServer mDhcpServer; field in IpServer
311 mDhcpServer = server; in onDhcpServerCreated()
313 mDhcpServer.start(new OnHandlerStatusCallback() { in onDhcpServerCreated()
357 if (mDhcpServer != null) { in stopDhcp()
359 mDhcpServer.stop(new OnHandlerStatusCallback() { in stopDhcp()
369 mDhcpServer = null; in stopDhcp()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java156 @Mock private IDhcpServer mDhcpServer; field in TetheringTest
229 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in makeDhcpServer()
576 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).start(any()); in workingMobileUsbTethering_IPv4()
611 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).start(any()); in workingMobileUsbTethering_DualStack()
625 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).start(any()); in workingMobileUsbTethering_MultipleUpstreams()
642 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).start(any()); in workingMobileUsbTethering_v6Then464xlat()
666 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).start(any()); in workingMobileUsbTethering_v6Then464xlat()
/frameworks/base/tests/net/java/android/net/ip/
DIpServerTest.java103 @Mock private IDhcpServer mDhcpServer; field in IpServerTest
123 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in initStateMachine()
431 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).start(any()); in assertDhcpStarted()