Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java174 @Mock private IDhcpServer mDhcpServer; field in IpServerTest
267 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in setUpDhcpServer()
704 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).startWithCallbacks( in testOnNewPrefixRequest()
745 verify(mDhcpServer).updateParams(mDhcpParamsCaptor.capture(), any()); in testOnNewPrefixRequest()
887 verify(mDhcpServer, never()).startWithCallbacks(any(), any()); in testStopObsoleteDhcpServer()
891 verify(mDhcpServer, never()).stop(any()); in testStopObsoleteDhcpServer()
896 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in testStopObsoleteDhcpServer()
901 verify(mDhcpServer).stop(any()); in testStopObsoleteDhcpServer()
927 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).startWithCallbacks( in assertDhcpStarted()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java283 @Mock private IDhcpServer mDhcpServer; field in TetheringTest
422 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in makeDhcpServer()
1092 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_IPv4()
1134 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_DualStack()
1151 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_MultipleUpstreams()
1177 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_v6Then464xlat()
1198 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_v6Then464xlat()
1880 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingNcmTethering()
2675 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in testMultipleStartTethering()
2921 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in testHandleIpConflict()
[all …]
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java294 private IDhcpServer mDhcpServer; field in IpServer
500 mDhcpServer = server; in onDhcpServerCreated()
502 mDhcpServer.startWithCallbacks(new OnHandlerStatusCallback() { in onDhcpServerCreated()
624 if (mDhcpServer != null) { in stopDhcp()
626 mDhcpServer.stop(new OnHandlerStatusCallback() { in stopDhcp()
638 mDhcpServer = null; in stopDhcp()
1325 mDhcpServer.updateParams(params, new OnHandlerStatusCallback() { in handleNewPrefixRequest()