/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::__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 …]
|
D | ap_interface_impl_unittest.cpp | 70 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()
|
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::__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()
|
D | scanner_unittest.cpp | 142 NiceMock<MockInterfaceTool> if_tool_; member in android::wificond::ScannerTest 144 &if_tool_, &netlink_utils_, &scan_utils_};
|
/system/connectivity/wificond/ |
D | client_interface_impl.cpp | 111 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()
|
D | ap_interface_impl.cpp | 45 if_tool_(if_tool), in ApInterfaceImpl() 65 if_tool_->SetUpState(interface_name_.c_str(), false); in ~ApInterfaceImpl()
|
D | ap_interface_impl.h | 61 wifi_system::InterfaceTool* const if_tool_; variable
|
D | server.cpp | 59 : 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()
|
D | client_interface_impl.h | 98 android::wifi_system::InterfaceTool* const if_tool_; variable
|
D | server.h | 113 const std::unique_ptr<wifi_system::InterfaceTool> if_tool_; variable
|