Home
last modified time | relevance | path

Searched refs:iface_tool_ (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/wifi/1.3/default/
Dwifi_iface_util.cpp44 : iface_tool_(iface_tool), in WifiIfaceUtil()
50 return iface_tool_.lock()->GetFactoryMacAddress(iface_name.c_str()); in getFactoryMacAddress()
55 if (!iface_tool_.lock()->SetUpState(iface_name.c_str(), false)) { in setMacAddress()
59 if (!iface_tool_.lock()->SetMacAddress(iface_name.c_str(), mac)) { in setMacAddress()
63 if (!iface_tool_.lock()->SetUpState(iface_name.c_str(), true)) { in setMacAddress()
Dwifi_iface_util.h63 std::weak_ptr<wifi_system::InterfaceTool> iface_tool_; variable
Dwifi.h81 std::shared_ptr<wifi_system::InterfaceTool> iface_tool_; variable
Dwifi.cpp42 : iface_tool_(iface_tool), in Wifi()
Dwifi_legacy_hal.cpp341 iface_tool_(iface_tool) {} in WifiLegacyHal()
376 if (!iface_tool_.lock()->SetWifiUpState(true)) { in start()
412 iface_tool_.lock()->SetWifiUpState(false); in stop()
Dwifi_legacy_hal.h394 std::weak_ptr<wifi_system::InterfaceTool> iface_tool_; variable
/hardware/interfaces/wifi/1.3/default/tests/
Dwifi_iface_util_unit_tests.cpp49 std::shared_ptr<NiceMock<wifi_system::MockInterfaceTool>> iface_tool_{ member in android::hardware::wifi::V1_3::implementation::iface_util::WifiIfaceUtilTest
51 WifiIfaceUtil* iface_util_ = new WifiIfaceUtil(iface_tool_);
67 EXPECT_CALL(*iface_tool_, SetMacAddress(testing::_, testing::_)) in TEST_F()
69 EXPECT_CALL(*iface_tool_, SetUpState(testing::_, testing::_)) in TEST_F()
Dwifi_ap_iface_unit_tests.cpp46 std::shared_ptr<NiceMock<wifi_system::MockInterfaceTool>> iface_tool_{ member in android::hardware::wifi::V1_3::implementation::WifiApIfaceTest
49 new NiceMock<legacy_hal::MockWifiLegacyHal>(iface_tool_)};
51 new NiceMock<iface_util::MockWifiIfaceUtil>(iface_tool_)};
Dwifi_nan_iface_unit_tests.cpp106 std::shared_ptr<NiceMock<wifi_system::MockInterfaceTool>> iface_tool_{ member in android::hardware::wifi::V1_3::implementation::WifiNanIfaceTest
109 new NiceMock<legacy_hal::MockWifiLegacyHal>(iface_tool_)};
111 new NiceMock<iface_util::MockWifiIfaceUtil>(iface_tool_)};
Dwifi_chip_unit_tests.cpp267 std::shared_ptr<NiceMock<wifi_system::MockInterfaceTool>> iface_tool_{ member in android::hardware::wifi::V1_3::implementation::WifiChipTest
270 new NiceMock<legacy_hal::MockWifiLegacyHal>(iface_tool_)};
274 new NiceMock<iface_util::MockWifiIfaceUtil>(iface_tool_)};