/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | MacAddressUtilsTest.java | 34 private static final MacAddress DEFAULT_MAC_ADDRESS = field in MacAddressUtilsTest 74 assertFalse(mac.equals(DEFAULT_MAC_ADDRESS)); in testMacAddressRandomGeneration()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | MacAddressUtils.java | 44 private static final MacAddress DEFAULT_MAC_ADDRESS = field in MacAddressUtils 91 if (mac.equals(DEFAULT_MAC_ADDRESS)) { in createRandomUnicastAddress()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | MacAddress.java | 91 private static final MacAddress DEFAULT_MAC_ADDRESS = field in MacAddress 92 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS);
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiMacAddressPreferenceController.java | 52 if (macAddress.equals(WifiInfo.DEFAULT_MAC_ADDRESS)) { in updateState()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiInfoTest.java | 260 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getBSSID()); in assertLocationSensitiveRedaction() 272 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getMacAddress()); in assertLocationSensitiveRedaction() 336 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getMacAddress()); in assertLocalMacAddressInfoRedaction() 433 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getBSSID()); in assertLocationSensitiveAndLocalMacAddressRedaction() 437 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, info.getMacAddress()); in assertLocationSensitiveAndLocalMacAddressRedaction()
|
D | WifiConfigurationTest.java | 304 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_ChangesSavedAddress() 317 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_DoesNothingWhenNull()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiInfo.java | 99 public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in WifiInfo 271 private String mMacAddress = DEFAULT_MAC_ADDRESS; 589 ? DEFAULT_MAC_ADDRESS : source.mBSSID; in WifiInfo() 613 ? DEFAULT_MAC_ADDRESS : source.mMacAddress; in WifiInfo() 1198 return mMacAddress != null && !DEFAULT_MAC_ADDRESS.equals(mMacAddress); in hasRealMacAddress()
|
D | WifiConfiguration.java | 1956 && !MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS).equals(mac); in isValidMacAddressForRandomization() 3372 mRandomizedMacAddress = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in WifiConfiguration()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ExtendedWifiInfo.java | 50 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
|
D | WifiHealthMonitor.java | 19 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS; 756 "", MacAddress.fromString(DEFAULT_MAC_ADDRESS), l2KeySeed)); in WifiSystemInfoStats()
|
D | WifiConfigManager.java | 249 private static final MacAddress DEFAULT_MAC_ADDRESS = field in WifiConfigManager 250 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); 590 if (DEFAULT_MAC_ADDRESS.equals(result)) { in getPersistentMacAddress() 714 setRandomizedMacAddress(configuration, DEFAULT_MAC_ADDRESS); in maskRandomizedMacAddressInWifiConfiguration() 3644 if (DEFAULT_MAC_ADDRESS.equals(config.getRandomizedMacAddress())) { in generateRandomizedMacAddresses()
|
D | WifiScoreCard.java | 19 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS; 281 mPlaceholderPerBssid = new PerBssid("", MacAddress.fromString(DEFAULT_MAC_ADDRESS)); in WifiScoreCard() 1084 super(computeHashLong(ssid, MacAddress.fromString(DEFAULT_MAC_ADDRESS), mL2KeySeed)); in PerNetwork()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderTest.java | 62 private static final String MAC_ADDRESS = WifiInfo.DEFAULT_MAC_ADDRESS;
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothServiceBinder.java | 199 return BluetoothAdapter.DEFAULT_MAC_ADDRESS; in getAddress()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | WifiDetailsState.java | 228 if (WifiInfo.DEFAULT_MAC_ADDRESS.equals(macAddress)) { in updateMacAddressPref()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiDetailsFragment.java | 242 if (WifiInfo.DEFAULT_MAC_ADDRESS.equals(macAddress)) { in updateMacAddressPref()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiApConfigStoreTest.java | 731 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, firstRandomizedMAC.toString()); in randomizeBssid_randomizesNonPersistWhenEnabled() 737 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, config.getBssid().toString()); in randomizeBssid_randomizesNonPersistWhenEnabled() 752 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, config.getBssid().toString()); in randomizeBssid_fallbackPathWhenMacCalculationFails()
|
D | WifiScoreCardTest.java | 390 mWifiInfo.setBSSID(android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS); in testDurationStatistics() 442 mWifiInfo.setBSSID(android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS); in testFirmwareRoam()
|
D | WifiConfigManagerTest.java | 482 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 2568 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, macAddress); in testGetConfiguredNetworksMasksRandomizedMac() 2726 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, randMac.toString()); in testRandomizedMacUpdateAndRestore() 2862 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, randMac.toString()); in testRandomizedMacIsNotUpdatedDueToTimeConstraint() 6006 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in assertRandomizedMacAddressMaskedInWifiConfiguration()
|
D | ClientModeImplTest.java | 263 MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); 1293 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, wifiInfo.getMacAddress()); in connect() 1448 assertNotEquals(WifiInfo.DEFAULT_MAC_ADDRESS, wifiInfo.getMacAddress()); in connectWithIpProvisionTimeout() 4418 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mWifiInfo.getMacAddress()); in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization() 4433 config.setRandomizedMacAddress(MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS)); in testDoNotSetMacWhenInvalid() 5388 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mWifiInfo.getMacAddress()); in verifyWifiInfoMacUpdatedWithNetworkConnectionWhileDisconnected()
|
D | WifiServiceImplTest.java | 3030 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission() 3061 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenOnSecurityException() 3327 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, in testGetConfiguredNetworksAdmin_ReturnsNetworksWithDefaultMac() 10366 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, result.getRandomizedMacAddress().toString()); in testGetPrivilegedConnectedNetworkSuccess()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointManager.java | 21 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS; 1231 config.setRandomizedMacAddress(MacAddress.fromString(DEFAULT_MAC_ADDRESS)); in getWifiConfigsForPasspointProfiles()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2.java | 735 if (macAddress.equals(WifiInfo.DEFAULT_MAC_ADDRESS)) { in refreshMacAddress()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 23 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS; 1364 assertEquals(config.getRandomizedMacAddress(), MacAddress.fromString(DEFAULT_MAC_ADDRESS)); in getWifiConfigsForPasspointProfilesWithNonPersistentMacRandomization()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothAdapter.java | 138 public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in BluetoothAdapter
|