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::__anon3d73c4fe0111::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.cpp70 unique_ptr<NiceMock<MockInterfaceTool>> if_tool_{ member in android::wificond::__anondb2b7d300111::ApInterfaceImplTest
84 if_tool_.get())); in SetUp()
100 if_tool_.get())); in TEST_F()
118 if_tool_.get())); in TEST_F()
141 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::__anonbaa49cb50111::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.cpp142 NiceMock<MockInterfaceTool> if_tool_; member in android::wificond::ScannerTest
144 &if_tool_, &netlink_utils_, &scan_utils_};
/system/connectivity/wificond/
Dclient_interface_impl.cpp111 if_tool_(if_tool), in ClientInterfaceImpl()
152 if_tool_->SetUpState(interface_name_.c_str(), true);
160 if_tool_->SetUpState(interface_name_.c_str(), false); in ~ClientInterfaceImpl()
243 if (!if_tool_->SetWifiUpState(false)) { in SetMacAddress()
247 if (!if_tool_->SetMacAddress(interface_name_.c_str(), mac)) { in SetMacAddress()
252 if (!if_tool_->SetWifiUpState(true)) { in SetMacAddress()
Dap_interface_impl.cpp45 if_tool_(if_tool), in ApInterfaceImpl()
65 if_tool_->SetUpState(interface_name_.c_str(), false); in ~ApInterfaceImpl()
Dap_interface_impl.h61 wifi_system::InterfaceTool* const if_tool_; variable
Dserver.cpp59 : if_tool_(std::move(if_tool)), in Server()
102 if_tool_.get())); in createApInterface()
134 if_tool_.get(), in createClientInterface()
237 if_tool_->SetUpState(interface.name.c_str(), false); in MarkDownAllInterfaces()
Dclient_interface_impl.h98 android::wifi_system::InterfaceTool* const if_tool_; variable
Dserver.h113 const std::unique_ptr<wifi_system::InterfaceTool> if_tool_; variable