Home
last modified time | relevance | path

Searched refs:DEFAULT_MAC_ADDRESS (Results 1 – 20 of 20) sorted by relevance

/frameworks/libs/net/common/tests/unit/src/android/net/util/
DMacAddressUtilsTest.java34 private static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in MacAddressUtilsTest
73 assertFalse(mac.equals(DEFAULT_MAC_ADDRESS)); in testMacAddressRandomGeneration()
/frameworks/libs/net/common/src_frameworkcommon/android/net/util/
DMacAddressUtils.java44 private static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in MacAddressUtils
90 if (mac.equals(DEFAULT_MAC_ADDRESS)) { in createRandomUnicastAddress()
/frameworks/base/core/java/android/net/
DMacAddress.java90 private static final MacAddress DEFAULT_MAC_ADDRESS = field in MacAddress
91 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DExtendedWifiInfo.java52 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
DWifiConfigManager.java192 private static final MacAddress DEFAULT_MAC_ADDRESS = field in WifiConfigManager
193 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS);
501 if (DEFAULT_MAC_ADDRESS.equals(result)) { in getPersistentMacAddress()
615 configuration.setRandomizedMacAddress(DEFAULT_MAC_ADDRESS); in maskRandomizedMacAddressInWifiConfiguration()
3013 if (DEFAULT_MAC_ADDRESS.equals(config.getRandomizedMacAddress())) { in generateRandomizedMacAddresses()
DWifiHealthMonitor.java19 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS;
712 "", MacAddress.fromString(DEFAULT_MAC_ADDRESS), l2KeySeed)); in WifiSystemInfoStats()
DWifiScoreCard.java19 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS;
239 mDummyPerBssid = new PerBssid("", MacAddress.fromString(DEFAULT_MAC_ADDRESS)); in WifiScoreCard()
866 super(computeHashLong(ssid, MacAddress.fromString(DEFAULT_MAC_ADDRESS), mL2KeySeed)); in PerNetwork()
DWifiServiceImpl.java2685 result.setMacAddress(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
2688 result.setBSSID(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java59 public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in WifiInfo
149 private String mMacAddress = DEFAULT_MAC_ADDRESS;
676 return mMacAddress != null && !DEFAULT_MAC_ADDRESS.equals(mMacAddress); in hasRealMacAddress()
DWifiConfiguration.java1182 && !MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS).equals(mac); in isValidMacAddressForRandomization()
2117 mRandomizedMacAddress = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in WifiConfiguration()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java175 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_ChangesSavedAddress()
188 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_DoesNothingWhenNull()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java350 mWifiInfo.setBSSID(android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS); in testDurationStatistics()
402 mWifiInfo.setBSSID(android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS); in testFirmwareRoam()
DWifiApConfigStoreTest.java509 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, config.getBssid().toString()); in randomizeBssid_fallbackPathWhenMacCalculationFails()
DWifiConfigManagerTest.java315 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
2253 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, macAddress); in testGetConfiguredNetworksMasksRandomizedMac()
2329 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, aggressiveMac.toString()); in testRandomizedMacUpdateAndRestore()
2437 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, aggressiveMac.toString()); in testRandomizedMacIsNotUpdatedDueToTimeConstraint()
4930 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in assertRandomizedMacAddressMaskedInWifiConfiguration()
DClientModeImplTest.java192 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS);
2916 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mCmi.getWifiInfo().getMacAddress()); in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()
2932 config.setRandomizedMacAddress(MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS)); in testDoNotSetMacWhenInvalid()
3528 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mCmi.getWifiInfo().getMacAddress()); in verifyWifiInfoMacUpdatedWithNetworkConnectionWhileDisconnected()
DWifiServiceImplTest.java1633 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1653 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenOnSecurityException()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java122 public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in BluetoothAdapter
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1607 return BluetoothAdapter.DEFAULT_MAC_ADDRESS; in getAddress()
/frameworks/base/wifi/api/
Dsystem-current.txt415 field public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00";
/frameworks/base/api/
Dsystem-current.txt7212 field public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00";