Home
last modified time | relevance | path

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

/hardware/interfaces/wifi/1.3/default/tests/
Dwifi_iface_util_unit_tests.cpp51 WifiIfaceUtil* iface_util_ = new WifiIfaceUtil(iface_tool_); member in android::hardware::wifi::V1_3::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_ap_iface_unit_tests.cpp50 std::shared_ptr<NiceMock<iface_util::MockWifiIfaceUtil>> iface_util_{ member in android::hardware::wifi::V1_3::implementation::WifiApIfaceTest
59 EXPECT_CALL(*iface_util_, getOrCreateRandomMacAddress()) in TEST_F()
61 EXPECT_CALL(*iface_util_, setMacAddress(testing::_, testing::_)) in TEST_F()
64 new WifiApIface(kIfaceName, legacy_hal_, iface_util_, feature_flags_); in TEST_F()
70 EXPECT_CALL(*iface_util_, getOrCreateRandomMacAddress()).Times(0); in TEST_F()
71 EXPECT_CALL(*iface_util_, setMacAddress(testing::_, testing::_)).Times(0); in TEST_F()
73 new WifiApIface(kIfaceName, legacy_hal_, iface_util_, feature_flags_); in TEST_F()
Dwifi_nan_iface_unit_tests.cpp110 std::shared_ptr<NiceMock<iface_util::MockWifiIfaceUtil>> iface_util_{ member in android::hardware::wifi::V1_3::implementation::WifiNanIfaceTest
119 EXPECT_CALL(*iface_util_, in TEST_F()
125 new WifiNanIface(kIfaceName, legacy_hal_, iface_util_); in TEST_F()
Dwifi_chip_unit_tests.cpp273 std::shared_ptr<NiceMock<iface_util::MockWifiIfaceUtil>> iface_util_{ member in android::hardware::wifi::V1_3::implementation::WifiChipTest
281 iface_util_, feature_flags_); in SetUp()
/hardware/interfaces/wifi/1.3/default/
Dwifi_ap_iface.cpp38 iface_util_(iface_util), in WifiApIface()
48 iface_util_.lock()->getOrCreateRandomMacAddress(); in WifiApIface()
49 bool status = iface_util_.lock()->setMacAddress(ifname_, randomized_mac); in WifiApIface()
Dwifi.cpp45 iface_util_(iface_util), in Wifi()
112 iface_util_, feature_flags_); in startInternal()
Dwifi_ap_iface.h67 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_; variable
Dwifi.h84 std::shared_ptr<iface_util::WifiIfaceUtil> iface_util_; variable
Dwifi_sta_iface.cpp37 iface_util_(iface_util), in WifiStaIface()
629 bool status = iface_util_.lock()->setMacAddress(ifname_, mac); in setMacAddressInternal()
639 iface_util_.lock()->getFactoryMacAddress(ifname_); in getFactoryMacAddressInternal()
Dwifi_nan_iface.h152 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_; variable
Dwifi_nan_iface.cpp37 iface_util_(iface_util), in WifiNanIface()
524 iface_util_.lock()->registerIfaceEventHandlers(ifname_, event_handlers); in WifiNanIface()
532 iface_util_.lock()->unregisterIfaceEventHandlers(ifname_); in invalidate()
Dwifi_sta_iface.h165 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_; variable
Dwifi_chip.cpp323 iface_util_(iface_util), in WifiChip()
810 new WifiApIface(ifname, legacy_hal_, iface_util_, feature_flags_); in createApIfaceInternal()
864 sp<WifiNanIface> iface = new WifiNanIface(ifname, legacy_hal_, iface_util_); in createNanIfaceInternal()
956 sp<WifiStaIface> iface = new WifiStaIface(ifname, legacy_hal_, iface_util_); in createStaIfaceInternal()
Dwifi_chip.h253 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_; variable