Home
last modified time | relevance | path

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

/system/connectivity/wificond/tests/
Dclient_interface_impl_unittest.cpp85 if_tool_.get(), in SetUp()
97 unique_ptr<NiceMock<MockInterfaceTool>> if_tool_{ member in android::wificond::__anon6802f0150111::ClientInterfaceImplTest
114 EXPECT_CALL(*if_tool_, SetWifiUpState(false)).WillOnce(Return(false)); in TEST_F()
120 EXPECT_CALL(*if_tool_, SetWifiUpState(false)).WillOnce(Return(true)); in TEST_F()
121 EXPECT_CALL(*if_tool_, SetMacAddress(_, _)).WillOnce(Return(false)); in TEST_F()
127 EXPECT_CALL(*if_tool_, SetWifiUpState(false)).WillOnce(Return(true)); in TEST_F()
128 EXPECT_CALL(*if_tool_, SetMacAddress(_, _)).WillOnce(Return(true)); in TEST_F()
129 EXPECT_CALL(*if_tool_, SetWifiUpState(true)).WillOnce(Return(false)); in TEST_F()
135 EXPECT_CALL(*if_tool_, SetWifiUpState(false)).WillOnce(Return(true)); in TEST_F()
136 EXPECT_CALL(*if_tool_, SetMacAddress(_, _)).WillOnce(Return(true)); in TEST_F()
[all …]
Dap_interface_impl_unittest.cpp73 unique_ptr<NiceMock<MockInterfaceTool>> if_tool_{ member in android::wificond::__anona04ab4c70111::ApInterfaceImplTest
87 if_tool_.get())); in SetUp()
103 if_tool_.get())); in TEST_F()
135 if_tool_.get())); in TEST_F()
153 if_tool_.get())); in TEST_F()
175 if_tool_.get())); in TEST_F()
197 if_tool_.get())); in TEST_F()
Dserver_unittest.cpp81 ON_CALL(*if_tool_, SetUpState(_, _)).WillByDefault(Return(true)); in SetUp()
89 NiceMock<MockInterfaceTool>* if_tool_ = new NiceMock<MockInterfaceTool>; member in android::wificond::__anond5c21cac0111::ServerTest
116 Server server_{unique_ptr<InterfaceTool>(if_tool_),
230 EXPECT_CALL(*if_tool_, SetUpState(StrEq(kFakeInterfaceName), Eq(false))).Times(2); in TEST_F()
231 EXPECT_CALL(*if_tool_, SetUpState(StrEq(kFakeInterfaceName1), Eq(false))).Times(2); in TEST_F()
232 EXPECT_CALL(*if_tool_, SetUpState(StrEq(kFakeInterfaceNameP2p), Eq(false))); in TEST_F()
Dscanner_unittest.cpp110 NiceMock<MockInterfaceTool> if_tool_; member in android::wificond::ScannerTest
112 &if_tool_, &netlink_utils_, &scan_utils_};
/system/connectivity/wificond/
Dclient_interface_impl.cpp110 if_tool_(if_tool), in ClientInterfaceImpl()
149 if_tool_->SetUpState(interface_name_.c_str(), true);
157 if_tool_->SetUpState(interface_name_.c_str(), false); in ~ClientInterfaceImpl()
240 if (!if_tool_->SetWifiUpState(false)) { in SetMacAddress()
244 if (!if_tool_->SetMacAddress(interface_name_.c_str(), mac)) { in SetMacAddress()
249 if (!if_tool_->SetWifiUpState(true)) { in SetMacAddress()
Dap_interface_impl.cpp47 if_tool_(if_tool), in ApInterfaceImpl()
66 if_tool_->SetUpState(interface_name_.c_str(), false); in ~ApInterfaceImpl()
Dserver.cpp60 : if_tool_(std::move(if_tool)), in Server()
103 if_tool_.get())); in createApInterface()
135 if_tool_.get(), in createClientInterface()
238 if_tool_->SetUpState(interface.name.c_str(), false); in MarkDownAllInterfaces()
Dap_interface_impl.h65 wifi_system::InterfaceTool* const if_tool_; variable
Dclient_interface_impl.h97 android::wifi_system::InterfaceTool* const if_tool_; variable
Dserver.h113 const std::unique_ptr<wifi_system::InterfaceTool> if_tool_; variable