Home
last modified time | relevance | path

Searched refs:getMacAddress (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiInfoPreferenceControllerTest.java113 when(mWifiInfo.getMacAddress()).thenReturn(TEST_MAC_ADDRESS); in onResume_shouldUpdateWifiInfo()
141 when(mWifiInfo.getMacAddress()).thenReturn(null); in updateWifiInfo_nullMacWithMacRandomizationOff_setMacUnavailable()
154 when(mWifiInfo.getMacAddress()).thenReturn(WifiInfo.DEFAULT_MAC_ADDRESS); in updateWifiInfo_defaultMacWithMacRandomizationOff_setMacUnavailable()
167 when(mWifiInfo.getMacAddress()).thenReturn(TEST_MAC_ADDRESS); in updateWifiInfo_validMacWithMacRandomizationOff_setValidMac()
193 when(mWifiInfo.getMacAddress()).thenReturn(null); in updateWifiInfo_nullMacWithMacRandomizationOn_setMacUnavailable()
206 when(mWifiInfo.getMacAddress()).thenReturn(WifiInfo.DEFAULT_MAC_ADDRESS); in updateWifiInfo_defaultMacWithMacRandomizationOn_setMacRandomized()
219 when(mWifiInfo.getMacAddress()).thenReturn(TEST_MAC_ADDRESS); in updateWifiInfo_validMacWithMacRandomizationOn_setValidMac()
/packages/modules/NetworkStack/src/android/net/ip/
DIpNeighborMonitor.java224 getMacAddress(neighMsg.getLinkLayerAddress())); in evaluateRtNetlinkNeighborMessage()
236 private static MacAddress getMacAddress(byte[] linkLayerAddress) { in getMacAddress() method in IpNeighborMonitor
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiMacAddressPreferenceController.java41 preference.setDetailText(getWifiInfoProvider().getWifiInfo().getMacAddress()); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java706 String macAddress = getMacAddress(); in refreshMacAddress()
716 private String getMacAddress() { in getMacAddress() method in WifiDetailPreferenceController
719 return mWifiInfo.getMacAddress(); in getMacAddress()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java678 String macAddress = getMacAddress(); in refreshMacAddress()
688 private String getMacAddress() { in getMacAddress() method in WifiDetailPreferenceController
691 return mWifiInfo.getMacAddress(); in getMacAddress()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/details/
DWifiMacAddressPreferenceControllerTest.java80 when(mMockWifiInfo.getMacAddress()).thenReturn(MAC_ADDRESS); in onWifiChanged_shouldHaveDetailTextSet()
DWifiInfoProviderImplTest.java120 when(mMockWifiInfo.getMacAddress()).thenReturn(MAC_ADDRESS); in setUp()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiInfoPreferenceController.java103 final String macAddress = wifiInfo == null ? null : wifiInfo.getMacAddress(); in updateWifiInfo()
DWifiStatusTest.java193 mMACAddr.setText(wifiInfo.getMacAddress());
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiInfoPreferenceController.java103 final String macAddress = wifiInfo == null ? null : wifiInfo.getMacAddress(); in updateWifiInfo()
DWifiStatusTest.java193 mMACAddr.setText(wifiInfo.getMacAddress());
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java328 private String getMacAddress(NetworkInterface ni) { in getMacAddress() method in ConnectivityFragment
394 ni.mHwAddress = "HwAddress: " + getMacAddress(nIface); in getNetworkItem()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java211 return wifiInfo.getMacAddress(); in getWifiMacAddress()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java278 when(mockWifiInfo.getMacAddress()).thenReturn(MAC_ADDRESS); in setUp()