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()
456 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()
4001 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()
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()
1607 public MacAddress getFactoryMacAddress(@NonNull String interfaceName) { in getFactoryMacAddress() method in WifiNative1608 return mWifiVendorHal.getFactoryMacAddress(interfaceName); in getFactoryMacAddress()
1317 public MacAddress getFactoryMacAddress(@NonNull String ifaceName) { in getFactoryMacAddress() method in WifiVendorHal1327 ifaceV13.getFactoryMacAddress((status, macBytes) -> { in getFactoryMacAddress()
3423 MacAddress factoryMac = mWifiNative.getFactoryMacAddress(mInterfaceName); in setCurrentMacToFactoryMac()6442 public String getFactoryMacAddress() { in getFactoryMacAddress() method in ClientModeImpl6443 MacAddress macAddress = mWifiNative.getFactoryMacAddress(mInterfaceName); in getFactoryMacAddress()
3406 final String mac = mClientModeImpl.getFactoryMacAddress(); in getFactoryMacAddresses()