Home
last modified time | relevance | path

Searched refs:iface_util_ (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/wifi/1.4/default/tests/
Dwifi_iface_util_unit_tests.cpp51 WifiIfaceUtil* iface_util_ = new WifiIfaceUtil(iface_tool_); member in android::hardware::wifi::V1_4::implementation::iface_util::WifiIfaceUtilTest
55 auto mac_address = iface_util_->getOrCreateRandomMacAddress(); in TEST_F()
59 ASSERT_EQ(mac_address, iface_util_->getOrCreateRandomMacAddress()); in TEST_F()
60 ASSERT_EQ(mac_address, iface_util_->getOrCreateRandomMacAddress()); in TEST_F()
79 iface_util_->registerIfaceEventHandlers(kIfaceName, event_handlers); in TEST_F()
81 ASSERT_TRUE(iface_util_->setMacAddress(kIfaceName, mac_address)); in TEST_F()
86 iface_util_->unregisterIfaceEventHandlers(kIfaceName); in TEST_F()
88 ASSERT_TRUE(iface_util_->setMacAddress(kIfaceName, mac_address)); in TEST_F()
Dwifi_nan_iface_unit_tests.cpp119 std::shared_ptr<NiceMock<iface_util::MockWifiIfaceUtil>> iface_util_{ member in android::hardware::wifi::V1_4::implementation::WifiNanIfaceTest
128 EXPECT_CALL(*iface_util_, in TEST_F()
134 new WifiNanIface(kIfaceName, false, legacy_hal_, iface_util_); in TEST_F()
Dwifi_chip_unit_tests.cpp274 std::shared_ptr<NiceMock<iface_util::MockWifiIfaceUtil>> iface_util_{ member in android::hardware::wifi::V1_4::implementation::WifiChipTest
282 iface_util_, feature_flags_); in SetUp()
783 EXPECT_CALL(*iface_util_, setUpState(testing::_, testing::_)).Times(0); in TEST_F()
790 EXPECT_CALL(*iface_util_, ifNameToIndex("aware0")) in TEST_F()
792 EXPECT_CALL(*iface_util_, setUpState("aware0", true)) in TEST_F()
796 EXPECT_CALL(*iface_util_, setUpState("aware0", false)) in TEST_F()
/hardware/interfaces/wifi/1.4/default/
Dwifi_ap_iface.cpp37 iface_util_(iface_util), in WifiApIface()
116 bool status = iface_util_.lock()->setMacAddress(ifname_, mac); in setMacAddressInternal()
126 iface_util_.lock()->getFactoryMacAddress(ifname_); in getFactoryMacAddressInternal()
Dwifi.cpp45 iface_util_(iface_util), in Wifi()
112 iface_util_, feature_flags_); in startInternal()
Dwifi_ap_iface.h72 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_; variable
Dwifi.h84 std::shared_ptr<iface_util::WifiIfaceUtil> iface_util_; variable
Dwifi_nan_iface.cpp38 iface_util_(iface_util), in WifiNanIface()
42 if (!iface_util_.lock()->setUpState(ifname_, true)) { in WifiNanIface()
533 iface_util_.lock()->registerIfaceEventHandlers(ifname_, event_handlers); in WifiNanIface()
541 iface_util_.lock()->unregisterIfaceEventHandlers(ifname_); in invalidate()
548 iface_util_.lock()->setUpState(ifname_, false); in invalidate()
Dwifi_sta_iface.cpp37 iface_util_(iface_util), in WifiStaIface()
628 bool status = iface_util_.lock()->setMacAddress(ifname_, mac); in setMacAddressInternal()
638 iface_util_.lock()->getFactoryMacAddress(ifname_); in getFactoryMacAddressInternal()
Dwifi_nan_iface.h170 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_; variable
Dwifi_sta_iface.h166 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_; variable
Dwifi_chip.cpp342 iface_util_(iface_util), in WifiChip()
828 sp<WifiApIface> iface = new WifiApIface(ifname, legacy_hal_, iface_util_); in createApIfaceInternal()
888 if (ifname.empty() || !iface_util_.lock()->ifNameToIndex(ifname)) { in createNanIfaceInternal()
895 new WifiNanIface(ifname, is_dedicated_iface, legacy_hal_, iface_util_); in createNanIfaceInternal()
997 sp<WifiStaIface> iface = new WifiStaIface(ifname, legacy_hal_, iface_util_); in createStaIfaceInternal()
Dwifi_chip.h266 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_; variable