Home
last modified time | relevance | path

Searched refs:wifiInfoMac (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DMergedCarrierEntry.java91 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress() local
92 if (!TextUtils.isEmpty(wifiInfoMac) in getMacAddress()
93 && !TextUtils.equals(wifiInfoMac, DEFAULT_MAC_ADDRESS)) { in getMacAddress()
94 return wifiInfoMac; in getMacAddress()
DPasspointWifiEntry.java257 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress() local
258 if (!TextUtils.isEmpty(wifiInfoMac) in getMacAddress()
259 && !TextUtils.equals(wifiInfoMac, DEFAULT_MAC_ADDRESS)) { in getMacAddress()
260 return wifiInfoMac; in getMacAddress()
DStandardWifiEntry.java251 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress() local
252 if (!TextUtils.isEmpty(wifiInfoMac) in getMacAddress()
253 && !TextUtils.equals(wifiInfoMac, DEFAULT_MAC_ADDRESS)) { in getMacAddress()
254 return wifiInfoMac; in getMacAddress()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DPasspointWifiEntryTest.java374 final String wifiInfoMac = "11:23:45:67:89:ab"; in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress() local
383 when(wifiInfo.getMacAddress()).thenReturn(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
393 assertThat(entry.getMacAddress()).isEqualTo(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
DStandardWifiEntryTest.java515 final String wifiInfoMac = "11:23:45:67:89:ab"; in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress() local
522 when(mMockWifiInfo.getMacAddress()).thenReturn(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
535 assertThat(entry.getMacAddress()).isEqualTo(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()