Searched refs:dhcpInfo (Results 1 – 2 of 2) sorted by relevance
51 final DhcpInfo dhcpInfo = new DhcpInfo(); in createDhcpInfoObject() local52 dhcpInfo.ipAddress = ipToInteger(STR_ADDR1); in createDhcpInfoObject()53 dhcpInfo.gateway = ipToInteger(STR_ADDR2); in createDhcpInfoObject()54 dhcpInfo.netmask = ipToInteger(STR_ADDR3); in createDhcpInfoObject()55 dhcpInfo.dns1 = ipToInteger(STR_ADDR4); in createDhcpInfoObject()56 dhcpInfo.dns2 = ipToInteger(STR_ADDR4); in createDhcpInfoObject()57 dhcpInfo.serverAddress = ipToInteger(STR_ADDR2); in createDhcpInfoObject()58 dhcpInfo.leaseDuration = LEASE_TIME; in createDhcpInfoObject()59 return dhcpInfo; in createDhcpInfoObject()72 DhcpInfo dhcpInfo = new DhcpInfo(); in testToString() local[all …]
1608 DhcpInfo dhcpInfo = new DhcpInfo(); in testGetDhcpInfo() local1610 when(mWifiService.getDhcpInfo()).thenReturn(dhcpInfo); in testGetDhcpInfo()1611 assertEquals(dhcpInfo, mWifiManager.getDhcpInfo()); in testGetDhcpInfo()