Home
last modified time | relevance | path

Searched refs:useLegacyDhcpServer (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java431 assertTrue(enableByRes.useLegacyDhcpServer()); in testNewDhcpServerDisabled()
439 assertTrue(enableByDevConfig.useLegacyDhcpServer()); in testNewDhcpServerDisabled()
451 assertFalse(cfg.useLegacyDhcpServer()); in testNewDhcpServerEnabled()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java319 public boolean useLegacyDhcpServer() { in useLegacyDhcpServer() method in TetheringConfiguration
DTethering.java1783 final String[] dhcpRanges = cfg.useLegacyDhcpServer() in turnOnMainTetherSettings()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java219 when(mTetherConfig.useLegacyDhcpServer()).thenReturn(usingLegacyDhcp); in initStateMachine()
282 when(mTetherConfig.useLegacyDhcpServer()).thenReturn(false /* default value */); in setUp()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java340 mUsingLegacyDhcp = config.useLegacyDhcpServer(); in IpServer()