Home
last modified time | relevance | path

Searched refs:createRandomUnicastAddress (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkRequestStoreDataTest.java119 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.java138 MacAddress mac1 = MacAddressUtils.createRandomUnicastAddress(); in testKeyEquivalence()
139 MacAddress mac2 = MacAddressUtils.createRandomUnicastAddress(); in testKeyEquivalence()
DWifiConfigManagerTest.java1960 MacAddress testMac = MacAddressUtils.createRandomUnicastAddress(); in testGetConfiguredNetworksMasksRandomizedMac()
2007 MacAddress testMac = MacAddressUtils.createRandomUnicastAddress(); in testGetConfiguredNetworksNotMaskMacRandomizationSetting()
2028 MacAddress testMac = MacAddressUtils.createRandomUnicastAddress(); in testGetConfiguredNetworksMasksMacRandomizationSetting()
4374 MacAddress newMac = MacAddressUtils.createRandomUnicastAddress(); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress()
DWifiNetworkSuggestionsManagerTest.java756 scanDetail.getScanResult().BSSID = MacAddressUtils.createRandomUnicastAddress().toString(); in testGetNetworkSuggestionsForScanDetailSuccessWithBssidAndWithoutBssidMultipleMatch()
2212 MacAddressUtils.createRandomUnicastAddress().toString(), -45, 0, 0, 0); in createScanDetailForNetwork()
/frameworks/libs/net/common/framework/android/net/util/
DMacAddressUtils.java62 public static @NonNull MacAddress createRandomUnicastAddress() { in createRandomUnicastAddress() method in MacAddressUtils
63 return createRandomUnicastAddress(null, new SecureRandom()); in createRandomUnicastAddress()
77 public static @NonNull MacAddress createRandomUnicastAddress(@Nullable MacAddress base, in createRandomUnicastAddress() method in MacAddressUtils
91 return createRandomUnicastAddress(base, r); in createRandomUnicastAddress()
/frameworks/base/tests/net/java/android/net/
DMacAddressTest.java161 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(); in testMacAddressConversions()
193 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(base, r); in testMacAddressRandomGeneration()
204 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(); in testMacAddressRandomGeneration()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DMacAddressUtilsTest.java67 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(); in testMacAddressRandomGeneration()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java66 config.setRandomizedMacAddress(MacAddressUtils.createRandomUnicastAddress()); in testWifiConfigurationParcel()
216 MacAddress macToChangeInto = MacAddressUtils.createRandomUnicastAddress(); in testSetRandomizedMacAddress_ChangesSavedAddress()
364 final String bSsid = MacAddressUtils.createRandomUnicastAddress().toString(); in testGetKeyIdForCredentialsForSuggestion()
/frameworks/base/core/java/android/net/
DMacAddress.java341 return MacAddressUtils.createRandomUnicastAddress(BASE_GOOGLE_MAC, new SecureRandom()); in createRandomUnicastAddressWithGoogleBase()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java237 configuration.setRandomizedMacAddress(MacAddressUtils.createRandomUnicastAddress()); in testEapWifiConfigurationSerializeDeserializeForConfigStore()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1055 mRandomizedMacAddress = MacAddressUtils.createRandomUnicastAddress(); in getOrCreateRandomizedMacAddress()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java526 result = MacAddressUtils.createRandomUnicastAddress(); in getPersistentMacAddress()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt43929 Landroid/net/MacAddress;->createRandomUnicastAddress()Landroid/net/MacAddress;
43930 Landroid/net/MacAddress;->createRandomUnicastAddress(Landroid/net/MacAddress;Ljava/util/Random;)Lan…