Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java258 private IDhcpServer mDhcpServer; field in IpServer
438 mDhcpServer = server; in onDhcpServerCreated()
440 mDhcpServer.startWithCallbacks(new OnHandlerStatusCallback() { in onDhcpServerCreated()
553 if (mDhcpServer != null) { in stopDhcp()
555 mDhcpServer.stop(new OnHandlerStatusCallback() { in stopDhcp()
567 mDhcpServer = null; in stopDhcp()
963 mDhcpServer.updateParams(params, new OnHandlerStatusCallback() { in handleNewPrefixRequest()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java201 @Mock private IDhcpServer mDhcpServer; field in TetheringTest
309 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in makeDhcpServer()
836 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_IPv4()
873 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_DualStack()
888 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_MultipleUpstreams()
905 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_v6Then464xlat()
928 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_v6Then464xlat()
959 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingNcmTethering()
1725 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in testMultipleStartTethering()
1890 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in testHandleIpConflict()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java142 @Mock private IDhcpServer mDhcpServer; field in IpServerTest
170 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in initStateMachine()
578 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).startWithCallbacks( in testOnNewPrefixRequest()
616 verify(mDhcpServer).updateParams(mDhcpParamsCaptor.capture(), any()); in testOnNewPrefixRequest()
985 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).startWithCallbacks( in assertDhcpStarted()