Searched refs:createRandomUnicastAddress (Results 1 – 13 of 13) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkRequestStoreDataTest.java | 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 | 138 MacAddress mac1 = MacAddressUtils.createRandomUnicastAddress(); in testKeyEquivalence() 139 MacAddress mac2 = MacAddressUtils.createRandomUnicastAddress(); in testKeyEquivalence()
|
D | WifiConfigManagerTest.java | 1960 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()
|
D | WifiNetworkSuggestionsManagerTest.java | 756 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/ |
D | MacAddressUtils.java | 62 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/ |
D | MacAddressTest.java | 161 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/ |
D | MacAddressUtilsTest.java | 67 MacAddress mac = MacAddressUtils.createRandomUnicastAddress(); in testMacAddressRandomGeneration()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiConfigurationTest.java | 66 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/ |
D | MacAddress.java | 341 return MacAddressUtils.createRandomUnicastAddress(BASE_GOOGLE_MAC, new SecureRandom()); in createRandomUnicastAddressWithGoogleBase()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 237 configuration.setRandomizedMacAddress(MacAddressUtils.createRandomUnicastAddress()); in testEapWifiConfigurationSerializeDeserializeForConfigStore()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 1055 mRandomizedMacAddress = MacAddressUtils.createRandomUnicastAddress(); in getOrCreateRandomizedMacAddress()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 526 result = MacAddressUtils.createRandomUnicastAddress(); in getPersistentMacAddress()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 43929 Landroid/net/MacAddress;->createRandomUnicastAddress()Landroid/net/MacAddress; 43930 Landroid/net/MacAddress;->createRandomUnicastAddress(Landroid/net/MacAddress;Ljava/util/Random;)Lan…
|