Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DMergedCarrierEntry.java87 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress() local
88 if (!TextUtils.isEmpty(wifiInfoMac) in getMacAddress()
89 && !TextUtils.equals(wifiInfoMac, DEFAULT_MAC_ADDRESS)) { in getMacAddress()
90 return wifiInfoMac; in getMacAddress()
DHotspotNetworkEntry.java292 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress() local
293 if (!TextUtils.isEmpty(wifiInfoMac) in getMacAddress()
294 && !TextUtils.equals(wifiInfoMac, DEFAULT_MAC_ADDRESS)) { in getMacAddress()
295 return wifiInfoMac; in getMacAddress()
DPasspointWifiEntry.java265 final String wifiInfoMac = mWifiInfo.getMacAddress(); in getMacAddress() local
266 if (!TextUtils.isEmpty(wifiInfoMac) in getMacAddress()
267 && !TextUtils.equals(wifiInfoMac, DEFAULT_MAC_ADDRESS)) { in getMacAddress()
268 return wifiInfoMac; in getMacAddress()
DStandardWifiEntry.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()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DPasspointWifiEntryTest.java273 final String wifiInfoMac = "11:23:45:67:89:ab"; in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress() local
277 when(mMockWifiInfo.getMacAddress()).thenReturn(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
286 assertThat(entry.getMacAddress()).isEqualTo(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
DStandardWifiEntryTest.java611 final String wifiInfoMac = "11:23:45:67:89:ab"; in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress() local
614 when(mMockWifiInfo.getMacAddress()).thenReturn(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
628 assertThat(entry.getMacAddress()).isEqualTo(wifiInfoMac); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()