Home
last modified time | relevance | path

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

123

/packages/modules/Connectivity/staticlibs/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()
DNetUtils.java85 public static InetAddress getNetworkPart(InetAddress address, int prefixLength) { in getNetworkPart()
101 public static void maskRawAddress(byte[] array, int prefixLength) { in maskRawAddress()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSet.java94 final int prefixLength = PREFIX_TEXT.length(); in resolveTextReference() local
133 final int prefixLength = prefix.length(); in expandReference() local
/packages/modules/Connectivity/framework/src/android/net/
DNetworkUtils.java206 public static int prefixLengthToNetmaskInt(int prefixLength) in prefixLengthToNetmaskInt()
267 int prefixLength = -1; in parseIpAndMask() local
295 int prefixLength = -1; in legacyParseIpAndMask() local
DLinkAddress.java90 private int prefixLength; field in LinkAddress
187 private void init(InetAddress address, int prefixLength, int flags, int scope, in init()
DIpPrefix.java57 private final int prefixLength; field in IpPrefix
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiSubnetPreferenceController.java64 private static String ipv4PrefixLengthToSubnetMask(int prefixLength) { in ipv4PrefixLengthToSubnetMask()
/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DFastDeployTest.java75 final int prefixLength = "package:".length(); in isAppInstalled() local
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java121 private void checkAddressMasking(String expectedAddr, String addr, int prefixLength) { in checkAddressMasking()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNdOptPref64.java75 static int prefixLengthToPlc(int prefixLength) { in prefixLengthToPlc()
/packages/apps/Contacts/src/com/android/contacts/format/
DFormatUtils.java147 int prefixLength = prefix.length(); in indexOfWordPrefix() local
/packages/modules/Connectivity/Tethering/src/android/net/dhcp/
DDhcpServingParamsParcelExt.java193 public DhcpServingParamsParcelExt setLeasesSubnetPrefixLength(int prefixLength) { in setLeasesSubnetPrefixLength()
/packages/modules/DnsResolver/
DDns64Configuration.h59 uint8_t prefixLength; member
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLease.java57 @NonNull Inet4Address netAddr, int prefixLength, long expTime, in DhcpLease()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DStructNdOptPref64Test.java56 private static IpPrefix prefix(String addrString, int prefixLength) throws Exception { in prefix()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java430 final int prefixLength = ipp.getPrefixLength(); in putPio() local
460 final int prefixLength = ipp.getPrefixLength(); in putRio() local
/packages/modules/Connectivity/staticlibs/client-libs/netd/com/android/net/module/util/
DBaseNetdEventListener.java50 String prefixString, int prefixLength) { } in onNat64PrefixEvent()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DInitialConfiguration.java194 private static boolean isCompliantIPv6PrefixLength(int prefixLength) { in isCompliantIPv6PrefixLength()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_event_listener_interface/1/android/net/metrics/
DINetdEventListener.aidl25 …oid onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, int prefixLength); in onNat64PrefixEvent()
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/metrics/
DINetdEventListener.aidl127 int prefixLength); in onNat64PrefixEvent()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_event_listener_interface/2/android/net/metrics/
DINetdEventListener.aidl42 …oid onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, int prefixLength); in onNat64PrefixEvent()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_event_listener_interface/current/android/net/metrics/
DINetdEventListener.aidl26 …oid onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, int prefixLength); in onNat64PrefixEvent()
/packages/modules/NetworkStack/src/android/net/
DDhcpResults.java235 public boolean setIpAddress(String addrString, int prefixLength) { in setIpAddress()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/
DIntegrationTestUtils.java459 int prefixLength = Integer.parseInt(pieces[1]); in parseAddressLine() local
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl17 …nterfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixLength); in interfaceAddAddress()
18 …nterfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixLength); in interfaceDelAddress()

123