Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java239 final int baseAddress = getPrefixBaseAddress(prefixRange); in chooseDownstreamAddress() local
271 randomPrefixStart, (~prefixRangeMask) + 1, baseAddress, prefixRangeMask); in chooseDownstreamAddress()
276 0, randomPrefixStart, baseAddress, prefixRangeMask); in chooseDownstreamAddress()
289 final int baseAddress, final int prefixRangeMask) { in findAvailablePrefixFromRange() argument
292 final InetAddress address = intToInet4AddressHTH(baseAddress | newSubPrefix); in findAvailablePrefixFromRange()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSpecifier.java234 @NonNull MacAddress baseAddress, @NonNull MacAddress mask) { in setBssidPattern()
235 checkNotNull(baseAddress); in setBssidPattern()
237 mBssidPatternMatcher = Pair.create(baseAddress, mask); in setBssidPattern()
693 MacAddress baseAddress = in.readParcelable(null);
696 Pair.create(baseAddress, mask);
/packages/modules/Connectivity/framework/src/android/net/
DMacAddress.java366 public boolean matches(@NonNull MacAddress baseAddress, @NonNull MacAddress mask) { in matches() argument
367 Objects.requireNonNull(baseAddress); in matches()
369 return (mAddr & mask.mAddr) == (baseAddress.mAddr & mask.mAddr); in matches()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java718 MacAddress baseAddress = bssidPatternMatcher.first; in validateBssidPattern()
720 if (baseAddress.getAddressType() != MacAddress.TYPE_UNICAST) { in validateBssidPattern()
721 Log.e(TAG, "validateBssidPatternMatcher failed : invalid base address: " + baseAddress); in validateBssidPattern()
725 && !baseAddress.equals(ALL_ZEROS_MAC_ADDRESS)) { in validateBssidPattern()
727 + baseAddress); in validateBssidPattern()