/system/connectivity/wificond/tests/ |
D | client_interface_impl_unittest.cpp | 85 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 …]
|
D | ap_interface_impl_unittest.cpp | 73 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()
|
D | server_unittest.cpp | 81 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()
|
D | scanner_unittest.cpp | 110 NiceMock<MockInterfaceTool> if_tool_; member in android::wificond::ScannerTest 112 &if_tool_, &netlink_utils_, &scan_utils_};
|
/system/connectivity/wificond/ |
D | client_interface_impl.cpp | 110 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()
|
D | ap_interface_impl.cpp | 47 if_tool_(if_tool), in ApInterfaceImpl() 66 if_tool_->SetUpState(interface_name_.c_str(), false); in ~ApInterfaceImpl()
|
D | server.cpp | 60 : 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()
|
D | ap_interface_impl.h | 65 wifi_system::InterfaceTool* const if_tool_; variable
|
D | client_interface_impl.h | 97 android::wifi_system::InterfaceTool* const if_tool_; variable
|
D | server.h | 113 const std::unique_ptr<wifi_system::InterfaceTool> if_tool_; variable
|