Home
last modified time | relevance | path

Searched defs:prefixLength (Results 1 – 18 of 18) sorted by relevance

/frameworks/libs/net/common/framework/com/android/net/module/util/
DInet4AddressUtils.java90 public static int prefixLengthToV4NetmaskIntHTH(int prefixLength) in prefixLengthToV4NetmaskIntHTH()
106 public static int prefixLengthToV4NetmaskIntHTL(int prefixLength) in prefixLengthToV4NetmaskIntHTL()
121 int prefixLength = Integer.bitCount(i); in netmaskToPrefixLength() local
150 public static Inet4Address getBroadcastAddress(Inet4Address addr, int prefixLength) in getBroadcastAddress()
162 public static Inet4Address getPrefixMaskAsInet4Address(int prefixLength) in getPrefixMaskAsInet4Address()
/frameworks/base/core/java/android/net/shared/
DInet4AddressUtils.java90 public static int prefixLengthToV4NetmaskIntHTH(int prefixLength) in prefixLengthToV4NetmaskIntHTH()
106 public static int prefixLengthToV4NetmaskIntHTL(int prefixLength) in prefixLengthToV4NetmaskIntHTL()
121 int prefixLength = Integer.bitCount(i); in netmaskToPrefixLength() local
150 public static Inet4Address getBroadcastAddress(Inet4Address addr, int prefixLength) in getBroadcastAddress()
162 public static Inet4Address getPrefixMaskAsInet4Address(int prefixLength) in getPrefixMaskAsInet4Address()
/frameworks/base/core/java/android/net/
DVpnService.java301 public boolean addAddress(InetAddress address, int prefixLength) { in addAddress()
331 public boolean removeAddress(InetAddress address, int prefixLength) { in removeAddress()
457 private static void check(InetAddress address, int prefixLength) { in check()
551 public Builder addAddress(@NonNull InetAddress address, int prefixLength) { in addAddress()
574 public Builder addAddress(@NonNull String address, int prefixLength) { in addAddress()
588 public Builder addRoute(@NonNull InetAddress address, int prefixLength) { in addRoute()
617 public Builder addRoute(@NonNull String address, int prefixLength) { in addRoute()
DNetworkUtils.java203 public static int prefixLengthToNetmaskInt(int prefixLength) in prefixLengthToNetmaskInt()
252 public static void maskRawAddress(byte[] array, int prefixLength) { in maskRawAddress()
276 public static InetAddress getNetworkPart(InetAddress address, int prefixLength) { in getNetworkPart()
304 int prefixLength = -1; in parseIpAndMask() local
DLinkAddress.java89 private int prefixLength; field in LinkAddress
192 private void init(InetAddress address, int prefixLength, int flags, int scope, in init()
DINetdEventCallback.aidl59 int prefixLength); in onNat64PrefixEvent()
DIpPrefix.java55 private final int prefixLength; field in IpPrefix
DDhcpResults.java221 public boolean setIpAddress(String addrString, int prefixLength) { in setIpAddress()
DIConnectivityManager.aidl202 boolean addVpnAddress(String address, int prefixLength); in addVpnAddress()
203 boolean removeVpnAddress(String address, int prefixLength); in removeVpnAddress()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java250 int prefixLength = getPrefixLength(jsonConfig.getInt("prefix_length")); in getWifiConfiguration() local
355 private static int getPrefixLength(int prefixLength) { in getPrefixLength()
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java36 int prefixLength) { in onNat64PrefixEvent()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java119 private void checkAddressMasking(String expectedAddr, String addr, int prefixLength) { in checkAddressMasking()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java219 boolean added, String prefixString, int prefixLength) in onNat64PrefixEvent()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java398 int prefixLength = 10 * 1024; in sanitizeString() local
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java1866 final int prefixLength, final Network network) { in buildV4WifiUpstreamState()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3195 int prefixLength) { in handleNat64PrefixEvent()
7439 public boolean addVpnAddress(String address, int prefixLength) { in addVpnAddress()
7448 public boolean removeVpnAddress(String address, int prefixLength) { in removeVpnAddress()
/frameworks/av/media/libstagefright/
DACodec.cpp7798 constexpr size_t prefixLength = sizeof(prefix) - 1; in setVendorParameters() local
7939 constexpr size_t prefixLength = sizeof(prefix) - 1; in getVendorParameters() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java6751 int prefixLength = -1; in createLinkAddressFromString() local