Home
last modified time | relevance | path

Searched refs:getFactoryMacAddress (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java678 when(mWifiVendorHal.getFactoryMacAddress(any())).thenReturn(MacAddress.BROADCAST_ADDRESS); in testGetFactoryMacAddress()
679 assertNotNull(mWifiNative.getFactoryMacAddress(WIFI_IFACE_NAME)); in testGetFactoryMacAddress()
680 verify(mWifiVendorHal).getFactoryMacAddress(any()); in testGetFactoryMacAddress()
DClientModeImplTest.java447 when(mWifiNative.getFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn( in setUp()
3429 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getFactoryMacAddress()); in testGetFactoryMacAddressSuccess()
3430 verify(mWifiNative).getFactoryMacAddress(WIFI_IFACE_NAME); in testGetFactoryMacAddressSuccess()
3440 when(mWifiNative.getFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn(null); in testGetFactoryMacAddressFail()
3441 assertNull(mCmi.getFactoryMacAddress()); in testGetFactoryMacAddressFail()
3442 verify(mWifiNative).getFactoryMacAddress(WIFI_IFACE_NAME); in testGetFactoryMacAddressFail()
3455 when(mWifiNative.getFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn(null); in testGetFactoryMacAddressFailWithNoMacRandomizationSupport()
3456 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getFactoryMacAddress()); in testGetFactoryMacAddressFailWithNoMacRandomizationSupport()
3457 verify(mWifiNative).getFactoryMacAddress(anyString()); in testGetFactoryMacAddressFailWithNoMacRandomizationSupport()
DWifiServiceImplTest.java3844 when(mClientModeImpl.getFactoryMacAddress()).thenReturn(TEST_FACTORY_MAC); in testGetFactoryMacAddresses()
3849 verify(mClientModeImpl).getFactoryMacAddress(); in testGetFactoryMacAddresses()
3863 verify(mClientModeImpl, never()).getFactoryMacAddress(); in testGetFactoryMacAddressesPostFail()
3872 when(mClientModeImpl.getFactoryMacAddress()).thenReturn(null); in testGetFactoryMacAddressesFail()
3875 verify(mClientModeImpl).getFactoryMacAddress(); in testGetFactoryMacAddressesFail()
3885 when(mClientModeImpl.getFactoryMacAddress()).thenReturn(TEST_FACTORY_MAC); in testGetFactoryMacAddressesFailNoNetworkSettingsPermission()
DWifiVendorHalTest.java833 }).when(mIWifiStaIfaceV13).getFactoryMacAddress(any( in testGetFactoryMacWithHalV1_3()
837 mWifiVendorHal.getFactoryMacAddress(TEST_IFACE_NAME).toString()); in testGetFactoryMacWithHalV1_3()
838 verify(mIWifiStaIfaceV13).getFactoryMacAddress(any()); in testGetFactoryMacWithHalV1_3()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1606 public MacAddress getFactoryMacAddress(@NonNull String interfaceName) { in getFactoryMacAddress() method in WifiNative
1607 return mWifiVendorHal.getFactoryMacAddress(interfaceName); in getFactoryMacAddress()
DWifiVendorHal.java1317 public MacAddress getFactoryMacAddress(@NonNull String ifaceName) { in getFactoryMacAddress() method in WifiVendorHal
1327 ifaceV13.getFactoryMacAddress((status, macBytes) -> { in getFactoryMacAddress()
DClientModeImpl.java3397 MacAddress factoryMac = mWifiNative.getFactoryMacAddress(mInterfaceName); in setCurrentMacToFactoryMac()
6350 public String getFactoryMacAddress() { in getFactoryMacAddress() method in ClientModeImpl
6351 MacAddress macAddress = mWifiNative.getFactoryMacAddress(mInterfaceName); in getFactoryMacAddress()
DWifiServiceImpl.java3346 final String mac = mClientModeImpl.getFactoryMacAddress(); in getFactoryMacAddresses()