Searched refs:mDhcpServer (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 261 private IDhcpServer mDhcpServer; field in IpServer 445 mDhcpServer = server; in onDhcpServerCreated() 447 mDhcpServer.startWithCallbacks(new OnHandlerStatusCallback() { in onDhcpServerCreated() 560 if (mDhcpServer != null) { in stopDhcp() 562 mDhcpServer.stop(new OnHandlerStatusCallback() { in stopDhcp() 574 mDhcpServer = null; in stopDhcp() 970 mDhcpServer.updateParams(params, new OnHandlerStatusCallback() { in handleNewPrefixRequest()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 143 @Mock private IDhcpServer mDhcpServer; field in IpServerTest 223 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in setUpDhcpServer() 584 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).startWithCallbacks( in testOnNewPrefixRequest() 622 verify(mDhcpServer).updateParams(mDhcpParamsCaptor.capture(), any()); in testOnNewPrefixRequest() 982 verify(mDhcpServer, never()).startWithCallbacks(any(), any()); in testStopObsoleteDhcpServer() 986 verify(mDhcpServer, never()).stop(any()); in testStopObsoleteDhcpServer() 991 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in testStopObsoleteDhcpServer() 996 verify(mDhcpServer).stop(any()); in testStopObsoleteDhcpServer() 1016 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).startWithCallbacks( in assertDhcpStarted()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 201 @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 …]
|