Home
last modified time | relevance | path

Searched refs:DEFAULT_MAC_ADDRESS (Results 1 – 17 of 17) 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/framework/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/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java200 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testGetOrCreateRandomizedMacAddress_SavesAndReturnsSameAddress()
213 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_ChangesSavedAddress()
227 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress()
256 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_DoesNothingWhenNull()
/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/base/wifi/java/android/net/wifi/
DWifiInfo.java57 public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in WifiInfo
128 private String mMacAddress = DEFAULT_MAC_ADDRESS;
479 return mMacAddress != null && !DEFAULT_MAC_ADDRESS.equals(mMacAddress); in hasRealMacAddress()
DWifiConfiguration.java1042 && !MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS).equals(mac); in isValidMacAddressForRandomization()
1060 mRandomizedMacAddress = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in getOrCreateRandomizedMacAddress()
1796 mRandomizedMacAddress = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in WifiConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DExtendedWifiInfo.java42 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
DWifiScoreCard.java19 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS;
154 mDummyPerBssid = new PerBssid("", MacAddress.fromString(DEFAULT_MAC_ADDRESS)); in WifiScoreCard()
DWifiConfigManager.java232 private static final MacAddress DEFAULT_MAC_ADDRESS = field in WifiConfigManager
233 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS);
604 configuration.setRandomizedMacAddress(DEFAULT_MAC_ADDRESS); in maskRandomizedMacAddressInWifiConfiguration()
3112 if (DEFAULT_MAC_ADDRESS.equals(config.getRandomizedMacAddress())) { in generateRandomizedMacAddresses()
DWifiServiceImpl.java2257 result.setMacAddress(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
2260 result.setBSSID(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java198 mWifiInfo.setBSSID(android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS); in testDurationStatistics()
DClientModeImplTest.java2803 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mCmi.getWifiInfo().getMacAddress()); in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()
2819 .thenReturn(MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS)); in testDoNotSetMacWhenInvalid()
3259 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mCmi.getWifiInfo().getMacAddress()); in verifyWifiInfoMacUpdatedWithNetworkConnectionWhileDisconnected()
DWifiServiceImplTest.java1336 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1354 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenOnSecurityException()
DWifiConfigManagerTest.java326 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
4889 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in assertRandomizedMacAddressMaskedInWifiConfiguration()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java121 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.java1598 return BluetoothAdapter.DEFAULT_MAC_ADDRESS; in getAddress()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9901 Landroid/bluetooth/BluetoothAdapter;->DEFAULT_MAC_ADDRESS:Ljava/lang/String;