Home
last modified time | relevance | path

Searched refs:MacAddressUtils (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkRequestStoreDataTest.java22 import android.net.util.MacAddressUtils;
119 MacAddressUtils.createRandomUnicastAddress(), WifiConfiguration.SECURITY_TYPE_PSK); in serializeDeserializeSingleNetworkRequestFromSingleApp()
137 MacAddressUtils.createRandomUnicastAddress(), WifiConfiguration.SECURITY_TYPE_PSK); in serializeDeserializeSingleNetworkRequestFromMultipleApps()
145 MacAddressUtils.createRandomUnicastAddress(), WifiConfiguration.SECURITY_TYPE_PSK); in serializeDeserializeSingleNetworkRequestFromMultipleApps()
163 MacAddressUtils.createRandomUnicastAddress(), WifiConfiguration.SECURITY_TYPE_PSK); in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
166 MacAddressUtils.createRandomUnicastAddress(), WifiConfiguration.SECURITY_TYPE_OPEN); in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
175 MacAddressUtils.createRandomUnicastAddress(), WifiConfiguration.SECURITY_TYPE_SAE); in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
178 MacAddressUtils.createRandomUnicastAddress(), WifiConfiguration.SECURITY_TYPE_OPEN); in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
DWifiCandidatesTest.java26 import android.net.util.MacAddressUtils;
158 MacAddress mac1 = MacAddressUtils.createRandomUnicastAddress(); in testKeyEquivalence()
159 MacAddress mac2 = MacAddressUtils.createRandomUnicastAddress(); in testKeyEquivalence()
DWifiNetworkSuggestionsManagerTest.java53 import android.net.util.MacAddressUtils;
973 scanDetail.getScanResult().BSSID = MacAddressUtils.createRandomUnicastAddress().toString(); in testGetNetworkSuggestionsForScanDetailSuccessWithBssidAndWithoutBssidMultipleMatch()
2889 MacAddressUtils.createRandomUnicastAddress().toString(), -45, 0, 0, 0); in createScanDetailForNetwork()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DMacAddressUtilsTest.java54 assertTrue(msg, MacAddressUtils.isMulticastAddress(mac)); in testIsMulticastAddress()
58 assertFalse(msg, MacAddressUtils.isMulticastAddress(mac)); in testIsMulticastAddress()
67 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(); in testMacAddressRandomGeneration()
/frameworks/base/core/java/android/net/
DMacAddress.java23 import android.net.util.MacAddressUtils;
198 return MacAddressUtils.isMacAddress(addr); in isMacAddress()
267 return MacAddressUtils.byteAddrFromLongAddr(addr); in byteAddrFromLongAddr()
271 return MacAddressUtils.longAddrFromByteAddr(addr); in longAddrFromByteAddr()
341 return MacAddressUtils.createRandomUnicastAddress(BASE_GOOGLE_MAC, new SecureRandom()); in createRandomUnicastAddressWithGoogleBase()
/frameworks/base/tests/net/java/android/net/
DMacAddressTest.java25 import android.net.util.MacAddressUtils;
127 assertTrue(msg, MacAddressUtils.isMulticastAddress(mac)); in testIsMulticastAddress()
131 assertFalse(msg, MacAddressUtils.isMulticastAddress(mac)); in testIsMulticastAddress()
161 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(); in testMacAddressConversions()
193 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(base, r); in testMacAddressRandomGeneration()
204 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(); in testMacAddressRandomGeneration()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java35 import android.net.util.MacAddressUtils;
72 config.setRandomizedMacAddress(MacAddressUtils.createRandomUnicastAddress()); in testWifiConfigurationParcel()
178 MacAddress macToChangeInto = MacAddressUtils.createRandomUnicastAddress(); in testSetRandomizedMacAddress_ChangesSavedAddress()
269 final String bSsid = MacAddressUtils.createRandomUnicastAddress().toString(); in testGetKeyIdForCredentialsForSuggestion()
/frameworks/libs/net/common/src_frameworkcommon/android/net/util/
DMacAddressUtils.java32 public final class MacAddressUtils { class
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java23 import android.net.util.MacAddressUtils;
345 macAddress = MacAddressUtils.createRandomUnicastAddress(); in randomizeBssidIfUnset()
DWifiConfigManager.java33 import android.net.util.MacAddressUtils;
502 result = MacAddressUtils.createRandomUnicastAddress(); in getPersistentMacAddress()
554 internalConfig.setRandomizedMacAddress(MacAddressUtils.createRandomUnicastAddress()); in updateRandomizedMacIfNeeded()
2998 ? MacAddressUtils.createRandomUnicastAddress() in initRandomizedMacForInternalConfig()
DClientModeImpl.java68 import android.net.util.MacAddressUtils;
3624 mWifiNative.setMacAddress(mInterfaceName, MacAddressUtils.createRandomUnicastAddress());
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java23 import android.net.util.MacAddressUtils;
236 configuration.setRandomizedMacAddress(MacAddressUtils.createRandomUnicastAddress()); in testEapWifiConfigurationSerializeDeserializeForConfigStore()
/frameworks/libs/net/common/
DAndroid.bp96 "src_frameworkcommon/android/net/util/MacAddressUtils.java",
/frameworks/base/wifi/
Djarjar-rules.txt117 rule android.net.util.MacAddressUtils* com.android.wifi.x.@0
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java32 import android.net.util.MacAddressUtils;
1181 return mac != null && !MacAddressUtils.isMulticastAddress(mac) && mac.isLocallyAssigned() in isValidMacAddressForRandomization()
/frameworks/base/config/
Dpreloaded-classes4418 android.net.util.MacAddressUtils
Dboot-image-profile.txt14754 HSPLandroid/net/util/MacAddressUtils;->byteAddrFromLongAddr(J)[B
14755 HSPLandroid/net/util/MacAddressUtils;->isMacAddress([B)Z
14756 HSPLandroid/net/util/MacAddressUtils;->longAddrFromByteAddr([B)J
44640 Landroid/net/util/MacAddressUtils;
50720 Lcom/android/net/module/util/MacAddressUtils;