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.java456 when(mWifiNative.getFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn( in setUp()
3633 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getFactoryMacAddress()); in testGetFactoryMacAddressSuccess()
3634 verify(mWifiNative).getFactoryMacAddress(WIFI_IFACE_NAME); in testGetFactoryMacAddressSuccess()
3644 when(mWifiNative.getFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn(null); in testGetFactoryMacAddressFail()
3645 assertNull(mCmi.getFactoryMacAddress()); in testGetFactoryMacAddressFail()
3646 verify(mWifiNative).getFactoryMacAddress(WIFI_IFACE_NAME); in testGetFactoryMacAddressFail()
3659 when(mWifiNative.getFactoryMacAddress(WIFI_IFACE_NAME)).thenReturn(null); in testGetFactoryMacAddressFailWithNoMacRandomizationSupport()
3660 assertEquals(TEST_GLOBAL_MAC_ADDRESS.toString(), mCmi.getFactoryMacAddress()); in testGetFactoryMacAddressFailWithNoMacRandomizationSupport()
3661 verify(mWifiNative).getFactoryMacAddress(anyString()); in testGetFactoryMacAddressFailWithNoMacRandomizationSupport()
DWifiServiceImplTest.java4001 when(mClientModeImpl.getFactoryMacAddress()).thenReturn(TEST_FACTORY_MAC); in testGetFactoryMacAddresses()
4006 verify(mClientModeImpl).getFactoryMacAddress(); in testGetFactoryMacAddresses()
4020 verify(mClientModeImpl, never()).getFactoryMacAddress(); in testGetFactoryMacAddressesPostFail()
4029 when(mClientModeImpl.getFactoryMacAddress()).thenReturn(null); in testGetFactoryMacAddressesFail()
4032 verify(mClientModeImpl).getFactoryMacAddress(); in testGetFactoryMacAddressesFail()
4042 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.java1607 public MacAddress getFactoryMacAddress(@NonNull String interfaceName) { in getFactoryMacAddress() method in WifiNative
1608 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.java3423 MacAddress factoryMac = mWifiNative.getFactoryMacAddress(mInterfaceName); in setCurrentMacToFactoryMac()
6442 public String getFactoryMacAddress() { in getFactoryMacAddress() method in ClientModeImpl
6443 MacAddress macAddress = mWifiNative.getFactoryMacAddress(mInterfaceName); in getFactoryMacAddress()
DWifiServiceImpl.java3406 final String mac = mClientModeImpl.getFactoryMacAddress(); in getFactoryMacAddresses()