Home
last modified time | relevance | path

Searched refs:control_ (Results 1 – 25 of 52) sorted by relevance

123

/system/connectivity/shill/wimax/
Dwimax_unittest.cc56 manager_(&control_, &dispatcher_, &metrics_), in WiMaxTest()
57 dhcp_config_(new MockDHCPConfig(&control_, in WiMaxTest()
59 device_(new WiMax(&control_, &dispatcher_, &metrics_, &manager_, in WiMaxTest()
83 NiceMockControl control_; member in shill::WiMaxTest
99 EXPECT_CALL(control_, CreateWiMaxDeviceProxy(_)) in TEST_F()
109 new MockWiMaxService(&control_, nullptr, &metrics_, &manager_)); in TEST_F()
125 new NiceMock<MockWiMaxService>(&control_, nullptr, &metrics_, &manager_)); in TEST_F()
127 new MockWiMaxService(&control_, nullptr, &metrics_, &manager_)); in TEST_F()
161 new MockWiMaxService(&control_, nullptr, &metrics_, &manager_)); in TEST_F()
172 new MockWiMaxService(&control_, nullptr, &metrics_, &manager_)); in TEST_F()
[all …]
Dwimax_provider_unittest.cc76 manager_(&control_, nullptr, &metrics_), in WiMaxProviderTest()
77 device_info_(&control_, nullptr, &metrics_, &manager_), in WiMaxProviderTest()
78 provider_(&control_, nullptr, &metrics_, &manager_) {} in WiMaxProviderTest()
88 NiceMockControl control_; member in shill::WiMaxProviderTest
100 EXPECT_CALL(control_, CreateWiMaxManagerProxy(_, _)) in TEST_F()
187 new MockWiMax(&control_, nullptr, &metrics_, &manager_, in TEST_F()
224 EXPECT_CALL(control_, CreateWiMaxNetworkProxy(network_path)) in TEST_F()
240 new MockWiMaxService(&control_, nullptr, &metrics_, &manager_)); in TEST_F()
261 new MockWiMaxService(&control_, nullptr, &metrics_, &manager_); in TEST_F()
301 new MockWiMaxService(&control_, nullptr, &metrics_, &manager_); in TEST_F()
[all …]
Dwimax_provider.cc59 : control_(control), in WiMaxProvider()
72 control_->CreateWiMaxManagerProxy( in Start()
355 WiMaxRefPtr device(new WiMax(control_, dispatcher_, metrics_, manager_, in CreateDevice()
403 control_->CreateWiMaxNetworkProxy(path)); in RetrieveNetworkInfo()
449 new WiMaxService(control_, dispatcher_, metrics_, manager_); in CreateService()
471 if (!service->Start(control_->CreateWiMaxNetworkProxy(path))) { in StartLiveServices()
Dwimax_service_unittest.cc68 manager_(&control_, nullptr, nullptr), in WiMaxServiceTest()
70 device_(new MockWiMax(&control_, nullptr, &metrics_, &manager_, in WiMaxServiceTest()
73 service_(new WiMaxService(&control_, nullptr, &metrics_, &manager_)), in WiMaxServiceTest()
106 NiceMockControl control_; member in shill::WiMaxServiceTest
122 EXPECT_EQ(control_.NullRPCIdentifier(), service_->GetDeviceRpcId(&error)); in TEST_F()
/system/connectivity/shill/vpn/
Dvpn_provider_unittest.cc56 manager_(&control_, nullptr, &metrics_), in VPNProviderTest()
57 device_info_(&control_, nullptr, &metrics_, &manager_), in VPNProviderTest()
58 provider_(&control_, nullptr, &metrics_, &manager_) {} in VPNProviderTest()
87 NiceMockControl control_; member in shill::VPNProviderTest
201 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
210 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
216 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
225 new MockVPNService(&control_, nullptr, &metrics_, nullptr, nullptr)); in TEST_F()
227 new MockVPNService(&control_, nullptr, &metrics_, nullptr, nullptr)); in TEST_F()
229 new MockVPNService(&control_, nullptr, &metrics_, nullptr, nullptr)); in TEST_F()
[all …]
Dthird_party_vpn_driver_unittest.cc44 : device_info_(&control_, &dispatcher_, &metrics_, &manager_), in ThirdPartyVpnDriverTest()
46 manager_(&control_, &dispatcher_, &metrics_), in ThirdPartyVpnDriverTest()
47 driver_(new ThirdPartyVpnDriver(&control_, &dispatcher_, &metrics_, in ThirdPartyVpnDriverTest()
50 service_(new MockVPNService(&control_, &dispatcher_, &metrics_, in ThirdPartyVpnDriverTest()
52 device_(new MockVirtualDevice(&control_, &dispatcher_, &metrics_, in ThirdPartyVpnDriverTest()
74 NiceMockControl control_; member in shill::ThirdPartyVpnDriverTest
246 new MockVirtualDevice(&control_, &dispatcher_, &metrics_, &manager_, in TEST_F()
Dvpn_service_unittest.cc57 manager_(&control_, nullptr, nullptr), in VPNServiceTest()
59 device_info_(&control_, nullptr, nullptr, nullptr), in VPNServiceTest()
62 service_(new VPNService(&control_, nullptr, &metrics_, &manager_, in VPNServiceTest()
122 NiceMockControl control_; member in shill::VPNServiceTest
333 new MockProfile(&control_, &metrics_, &manager_)); in TEST_F()
349 new NiceMock<MockProfile>(&control_, &metrics_, &manager_)); in TEST_F()
Dl2tp_ipsec_driver_unittest.cc61 : device_info_(&control_, &dispatcher_, &metrics_, &manager_), in L2TPIPSecDriverTest()
63 manager_(&control_, &dispatcher_, &metrics_), in L2TPIPSecDriverTest()
64 driver_(new L2TPIPSecDriver(&control_, &dispatcher_, &metrics_, in L2TPIPSecDriverTest()
67 service_(new MockVPNService(&control_, &dispatcher_, &metrics_, in L2TPIPSecDriverTest()
69 device_(new MockPPPDevice(&control_, &dispatcher_, &metrics_, &manager_, in L2TPIPSecDriverTest()
197 NiceMockControl control_; member in shill::L2TPIPSecDriverTest
258 new MockExternalTask(&control_, in TEST_F()
709 new MockExternalTask(&control_, &process_manager_, in TEST_F()
/system/connectivity/shill/cellular/
Dmodem_manager_unittest.cc48 : manager_(&control_, &dispatcher_, nullptr), in ModemManagerTest()
49 modem_info_(&control_, &dispatcher_, nullptr, &manager_) {} in ModemManagerTest()
53 new StrictModem(kService, kModemPath, &modem_info_, &control_)); in SetUp()
64 MockControl control_; member in shill::ModemManagerTest
89 modem_manager_(&control_, kService, kPath, &modem_info_) {} in ModemManagerCoreTest()
146 modem_manager_(&control_, kService, kPath, &modem_info_), in ModemManagerClassicTest()
157 EXPECT_CALL(control_, CreateModemManagerProxy(_, kPath, kService, _, _)) in TEST_F()
196 modem_manager_(&control_, kService, kPath, &modem_info_), in ModemManager1Test()
226 MockControl control_; member in shill::ModemManager1Test
232 EXPECT_CALL(control_, CreateDBusObjectManagerProxy(kPath, kService, _, _)) in TEST_F()
Dcellular_bearer_unittest.cc54 : control_(new MockControl()), in CellularBearerTest()
55 bearer_(control_.get(), kBearerDBusPath, kBearerDBusService) {} in CellularBearerTest()
146 std::unique_ptr<MockControl> control_; member in shill::CellularBearerTest
159 EXPECT_CALL(*control_.get(), in TEST_F()
176 EXPECT_CALL(*control_.get(), in TEST_F()
/system/connectivity/shill/upstart/
Dupstart_unittest.cc61 : upstart_(&control_), in UpstartTest()
62 upstart_proxy_(control_.upstart_proxy()) {} in UpstartTest()
65 FakeControl control_; member in shill::UpstartTest
/system/connectivity/shill/ethernet/
Dethernet_eap_provider_unittest.cc40 manager_(&control_, &dispatcher_, &metrics_), in EthernetEapProviderTest()
41 provider_(&control_, &dispatcher_, &metrics_, &manager_) {} in EthernetEapProviderTest()
52 MockControl control_; member in shill::EthernetEapProviderTest
86 scoped_refptr<MockEthernet> device0 = new MockEthernet(&control_, in TEST_F()
102 scoped_refptr<MockEthernet> device1 = new MockEthernet(&control_, in TEST_F()
Dethernet_eap_service_unittest.cc44 manager_(&control_, &dispatcher_, &metrics_), in EthernetEapServiceTest()
45 service_(new EthernetEapService(&control_, in EthernetEapServiceTest()
56 MockControl control_; member in shill::EthernetEapServiceTest
/system/connectivity/shill/
Ddaemon_task.cc101 control_.reset(new BinderControl(dispatcher_.get())); in Init()
103 control_.reset(new ChromeosDBusControl(dispatcher_.get())); in Init()
117 manager_.reset(new Manager(control_.get(), dispatcher_.get(), metrics_.get(), in Init()
121 control_->RegisterManagerObject( in Init()
171 dhcp_provider_->Init(control_.get(), dispatcher_.get(), metrics_.get()); in Start()
Ddaemon_task_unittest.cc86 control_(new MockControl()), in DaemonTaskTest()
88 manager_(new MockManager(control_, dispatcher_, metrics_)), in DaemonTaskTest()
92 device_info_(control_, dispatcher_, metrics_, manager_) { in DaemonTaskTest()
103 daemon_.control_.reset(control_); // Passes ownership in SetUp()
134 MockControl* control_; member in shill::DaemonTaskTest
Dvirtual_device_unittest.cc46 manager_(&control_, &dispatcher_, &metrics_), in VirtualDeviceTest()
47 device_(new VirtualDevice(&control_, in VirtualDeviceTest()
62 NiceMockControl control_; member in shill::VirtualDeviceTest
Dpower_manager_unittest.cc97 power_manager_(&dispatcher_, &control_), in PowerManagerTest()
98 power_manager_proxy_(control_.power_manager_proxy()), in PowerManagerTest()
99 delegate_(control_.delegate()) { in PowerManagerTest()
179 control_.delegate()->OnSuspendImminent(suspend_id); in OnSuspendImminent()
184 control_.delegate()->OnSuspendDone(suspend_id); in OnSuspendDone()
189 control_.delegate()->OnDarkSuspendImminent(suspend_id); in OnDarkSuspendImminent()
204 FakeControl control_; member in shill::PowerManagerTest
Drpc_task_unittest.cc36 task_(&control_, this) {} in RPCTaskTest()
49 NiceMockControl control_; member in shill::RPCTaskTest
Dexternal_task.cc38 : control_(control), in ExternalTask()
64 std::unique_ptr<RPCTask> local_rpc_task(new RPCTask(control_, this)); in Start()
Dconnection_tester_unittest.cc51 new NiceMock<MockDeviceInfo>(&control_, nullptr, nullptr, nullptr)), in ConnectionTesterTest()
109 MockControl control_; member in shill::ConnectionTesterTest
Dexternal_task_unittest.cc61 new ExternalTask(&control_, &process_manager_, in ExternalTaskTest()
107 NiceMockControl control_; member in shill::ExternalTaskTest
142 external_task_->rpc_task_.reset(new TestRPCTask(&control_, this)); in FakeUpRunningProcess()
Dppp_daemon_unittest.cc55 return PPPDaemon::Start(&control_, &process_manager_, in Start()
70 MockControl control_; member in shill::PPPDaemonTest
Dconnection_unittest.cc80 &control_, in ConnectionTest()
89 &control_)), in ConnectionTest()
90 ipconfig_(new IPConfig(&control_, kTestDeviceName0)), in ConnectionTest()
91 ip6config_(new IPConfig(&control_, kTestDeviceName0)), in ConnectionTest()
219 &control_)); in GetNewConnection()
226 MockControl control_; member in shill::ConnectionTest
336 &control_, in TEST_F()
402 new MockDevice(&control_, nullptr, nullptr, nullptr, kTestDeviceName1, in TEST_F()
455 &control_, nullptr, nullptr, nullptr, kTestDeviceName0, string(), in TEST_F()
573 &control_, in TEST_F()
[all …]
/system/connectivity/shill/dhcp/
Ddhcp_provider_unittest.cc49 provider_->control_interface_ = &control_; in DHCPProviderTest()
64 MockControl control_; member in shill::DHCPProviderTest
Ddhcpv6_config_unittest.cc75 config_(new DHCPv6Config(&control_, in DHCPv6ConfigTest()
106 MockControl control_; member in shill::DHCPv6ConfigTest
117 DHCPv6ConfigRefPtr config(new DHCPv6Config(&control_, in CreateMockMinijailConfig()
129 DHCPv6ConfigRefPtr config(new DHCPv6Config(&control_, in CreateRunningConfig()

123