Home
last modified time | relevance | path

Searched refs:allowIPv4 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java105 public boolean allowIPv4; field in VpnConfig
113 allowIPv4 = true; in updateAllowedFamilies()
167 out.writeInt(allowIPv4 ? 1 : 0); in writeToParcel()
194 config.allowIPv4 = in.readInt() != 0;
227 .append(", allowIPv4=").append(allowIPv4) in toString()
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java254 boolean allowIPv4 = false, allowIPv6 = false;
265 allowIPv4 = true;
270 if (allowIPv4) {
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java848 boolean allowIPv4 = mConfig.allowIPv4; in makeLinkProperties()
858 allowIPv4 |= address.getAddress() instanceof Inet4Address; in makeLinkProperties()
867 allowIPv4 |= address instanceof Inet4Address; in makeLinkProperties()
876 allowIPv4 |= address instanceof Inet4Address; in makeLinkProperties()
883 if (!allowIPv4) { in makeLinkProperties()
/frameworks/base/core/java/android/net/
DVpnService.java692 mConfig.allowIPv4 = true; in allowFamily()