Searched refs:MacAddressUtils (Results 1 – 17 of 17) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkRequestStoreDataTest.java | 22 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()
|
D | WifiCandidatesTest.java | 26 import android.net.util.MacAddressUtils; 158 MacAddress mac1 = MacAddressUtils.createRandomUnicastAddress(); in testKeyEquivalence() 159 MacAddress mac2 = MacAddressUtils.createRandomUnicastAddress(); in testKeyEquivalence()
|
D | WifiNetworkSuggestionsManagerTest.java | 53 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/ |
D | MacAddressUtilsTest.java | 54 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/ |
D | MacAddress.java | 23 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/ |
D | MacAddressTest.java | 25 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/ |
D | WifiConfigurationTest.java | 35 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/ |
D | MacAddressUtils.java | 32 public final class MacAddressUtils { class
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiApConfigStore.java | 23 import android.net.util.MacAddressUtils; 345 macAddress = MacAddressUtils.createRandomUnicastAddress(); in randomizeBssidIfUnset()
|
D | WifiConfigManager.java | 33 import android.net.util.MacAddressUtils; 502 result = MacAddressUtils.createRandomUnicastAddress(); in getPersistentMacAddress() 554 internalConfig.setRandomizedMacAddress(MacAddressUtils.createRandomUnicastAddress()); in updateRandomizedMacIfNeeded() 2998 ? MacAddressUtils.createRandomUnicastAddress() in initRandomizedMacForInternalConfig()
|
D | ClientModeImpl.java | 68 import android.net.util.MacAddressUtils; 3624 mWifiNative.setMacAddress(mInterfaceName, MacAddressUtils.createRandomUnicastAddress());
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 23 import android.net.util.MacAddressUtils; 236 configuration.setRandomizedMacAddress(MacAddressUtils.createRandomUnicastAddress()); in testEapWifiConfigurationSerializeDeserializeForConfigStore()
|
/frameworks/libs/net/common/ |
D | Android.bp | 96 "src_frameworkcommon/android/net/util/MacAddressUtils.java",
|
/frameworks/base/wifi/ |
D | jarjar-rules.txt | 117 rule android.net.util.MacAddressUtils* com.android.wifi.x.@0
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 32 import android.net.util.MacAddressUtils; 1181 return mac != null && !MacAddressUtils.isMulticastAddress(mac) && mac.isLocallyAssigned() in isValidMacAddressForRandomization()
|
/frameworks/base/config/ |
D | preloaded-classes | 4418 android.net.util.MacAddressUtils
|
D | boot-image-profile.txt | 14754 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;
|