Searched refs:DEFAULT_MAC_ADDRESS (Results 1 – 13 of 13) sorted by relevance
198 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testGetOrCreateRandomizedMacAddress_SavesAndReturnsSameAddress()211 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_ChangesSavedAddress()225 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress()254 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_DoesNothingWhenNull()
42 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
19 import static android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS;154 mDummyPerBssid = new PerBssid("", MacAddress.fromString(DEFAULT_MAC_ADDRESS)); in WifiScoreCard()
2210 result.setMacAddress(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()2213 result.setBSSID(WifiInfo.DEFAULT_MAC_ADDRESS); in getConnectionInfo()
520 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in maskRandomizedMacAddressInWifiConfiguration()
57 public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in WifiInfo128 private String mMacAddress = DEFAULT_MAC_ADDRESS;479 return mMacAddress != null && !DEFAULT_MAC_ADDRESS.equals(mMacAddress); in hasRealMacAddress()
1041 && !MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS).equals(mac); in isValidMacAddressForRandomization()1059 mRandomizedMacAddress = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in getOrCreateRandomizedMacAddress()1795 mRandomizedMacAddress = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in WifiConfiguration()
198 mWifiInfo.setBSSID(android.net.wifi.WifiInfo.DEFAULT_MAC_ADDRESS); in testDurationStatistics()
2667 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mCmi.getWifiInfo().getMacAddress()); in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()2683 .thenReturn(MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS)); in testDoNotSetMacWhenInvalid()3065 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, mCmi.getWifiInfo().getMacAddress()); in verifyWifiInfoMacUpdatedWithNetworkConnectionWhileDisconnected()
1197 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission()1215 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenOnSecurityException()
4794 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in assertRandomizedMacAddressMaskedInWifiConfiguration()
120 public static final String DEFAULT_MAC_ADDRESS = "02:00:00:00:00:00"; field in BluetoothAdapter
1462 return BluetoothAdapter.DEFAULT_MAC_ADDRESS; in getAddress()