/frameworks/libs/net/common/tests/unit/src/android/net/util/ |
D | MacAddressUtilsTest.java | 34 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/ |
D | MacAddressUtils.java | 44 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/ |
D | WifiConfigurationTest.java | 200 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/ |
D | MacAddress.java | 90 private static final MacAddress DEFAULT_MAC_ADDRESS = field in MacAddress 91 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS);
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 57 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()
|
D | WifiConfiguration.java | 1042 && !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/ |
D | ExtendedWifiInfo.java | 42 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
|
D | WifiScoreCard.java | 19 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS; 154 mDummyPerBssid = new PerBssid("", MacAddress.fromString(DEFAULT_MAC_ADDRESS)); in WifiScoreCard()
|
D | WifiConfigManager.java | 232 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()
|
D | WifiServiceImpl.java | 2257 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/ |
D | WifiScoreCardTest.java | 198 mWifiInfo.setBSSID(android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS); in testDurationStatistics()
|
D | ClientModeImplTest.java | 2803 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()
|
D | WifiServiceImplTest.java | 1336 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission() 1354 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenOnSecurityException()
|
D | WifiConfigManagerTest.java | 326 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 4889 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in assertRandomizedMacAddressMaskedInWifiConfiguration()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 121 public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in BluetoothAdapter
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 1598 return BluetoothAdapter.DEFAULT_MAC_ADDRESS; in getAddress()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 9901 Landroid/bluetooth/BluetoothAdapter;->DEFAULT_MAC_ADDRESS:Ljava/lang/String;
|