Searched refs:mDhcpServer (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
H A D | IpServer.java | 263 private IDhcpServer mDhcpServer; field in IpServer 447 mDhcpServer = server; in onDhcpServerCreated() 449 mDhcpServer.startWithCallbacks(new OnHandlerStatusCallback() { in onDhcpServerCreated() 562 if (mDhcpServer != null) { in stopDhcp() 564 mDhcpServer.stop(new OnHandlerStatusCallback() { in stopDhcp() 576 mDhcpServer = null; in stopDhcp() 1026 mDhcpServer.updateParams(params, new OnHandlerStatusCallback() { in handleNewPrefixRequest()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
H A D | TetheringTest.java | 255 @Mock private IDhcpServer mDhcpServer; field in TetheringTest 377 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in makeDhcpServer() 986 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_IPv4() 1025 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_DualStack() 1041 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_MultipleUpstreams() 1066 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS).times(1)).startWithCallbacks( in workingMobileUsbTethering_v6Then464xlat() 2466 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS)).startWithCallbacks( in testUpdateConnectedClients() 2477 reset(mDhcpServer); in testUpdateConnectedClients() 2482 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS)).startWithCallbacks( in testUpdateConnectedClients() 2633 verify(mDhcpServer, timeout(DHCPSERVER_START_TIMEOUT_MS)).startWithCallbacks( in runDualStackUsbTethering() [all …]
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
H A D | IpServerTest.java | 176 @Mock private IDhcpServer mDhcpServer; field in IpServerTest 268 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in setUpDhcpServer() 714 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).startWithCallbacks( in testOnNewPrefixRequest() 753 verify(mDhcpServer).updateParams(mDhcpParamsCaptor.capture(), any()); in testOnNewPrefixRequest() 1264 verify(mDhcpServer, never()).startWithCallbacks(any(), any()); in testStopObsoleteDhcpServer() 1268 verify(mDhcpServer, never()).stop(any()); in testStopObsoleteDhcpServer() 1273 cb.onDhcpServerCreated(STATUS_SUCCESS, mDhcpServer); in testStopObsoleteDhcpServer() 1278 verify(mDhcpServer).stop(any()); in testStopObsoleteDhcpServer() 1298 verify(mDhcpServer, timeout(MAKE_DHCPSERVER_TIMEOUT_MS).times(1)).startWithCallbacks( in assertDhcpStarted()
|