INNER CODE UNIT · Java

getRoutes

moezbhatti/qksms · android-smsmms/src/main/java/android/net/DhcpInfoInternal.java:59

    public Collection<RouteInfo> getRoutes() {
        return Collections.unmodifiableCollection(mRoutes);
    }

    private int convertToInt(String addr) {
        if (addr != null) {
            try {
                InetAddress inetAddress = NetworkUtilsHelper.numericToInetAddress(addr);
                if (inetAddress instanceof Inet4Address) {
                    return NetworkUtilsHelper.inetAddressToInt(inetAddress);
                }
            } catch (IllegalArgumentException e) {
            }
        }
        return 0;
    }

    public DhcpInfo makeDhcpInfo() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…