Searched refs:getFactoryMacAddress (Results 1 – 8 of 8) sorted by relevance
678 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()
447 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()
3844 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()
833 }).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()
1606 public MacAddress getFactoryMacAddress(@NonNull String interfaceName) { in getFactoryMacAddress() method in WifiNative1607 return mWifiVendorHal.getFactoryMacAddress(interfaceName); in getFactoryMacAddress()
1317 public MacAddress getFactoryMacAddress(@NonNull String ifaceName) { in getFactoryMacAddress() method in WifiVendorHal1327 ifaceV13.getFactoryMacAddress((status, macBytes) -> { in getFactoryMacAddress()
3397 MacAddress factoryMac = mWifiNative.getFactoryMacAddress(mInterfaceName); in setCurrentMacToFactoryMac()6350 public String getFactoryMacAddress() { in getFactoryMacAddress() method in ClientModeImpl6351 MacAddress macAddress = mWifiNative.getFactoryMacAddress(mInterfaceName); in getFactoryMacAddress()
3346 final String mac = mClientModeImpl.getFactoryMacAddress(); in getFactoryMacAddresses()