/system/connectivity/shill/cellular/ |
D | subscription_state_out_of_credits_detector_unittest.cc | 42 : modem_info_(nullptr, &dispatcher_, &metrics_, &manager_), in SubscriptionStateOutOfCreditsDetectorTest() 43 device_info_(modem_info_.control_interface(), modem_info_.dispatcher(), in SubscriptionStateOutOfCreditsDetectorTest() 44 modem_info_.metrics(), modem_info_.manager()), in SubscriptionStateOutOfCreditsDetectorTest() 45 manager_(modem_info_.control_interface(), modem_info_.dispatcher(), in SubscriptionStateOutOfCreditsDetectorTest() 46 modem_info_.metrics()), in SubscriptionStateOutOfCreditsDetectorTest() 47 metrics_(modem_info_.dispatcher()), in SubscriptionStateOutOfCreditsDetectorTest() 48 cellular_(new NiceMock<MockCellular>(&modem_info_, in SubscriptionStateOutOfCreditsDetectorTest() 55 service_(new NiceMock<MockCellularService>(&modem_info_, cellular_)), in SubscriptionStateOutOfCreditsDetectorTest() 59 modem_info_.dispatcher(), modem_info_.manager(), in SubscriptionStateOutOfCreditsDetectorTest() 60 modem_info_.metrics(), service_.get())) {} in SubscriptionStateOutOfCreditsDetectorTest() [all …]
|
D | modem_info_unittest.cc | 42 modem_info_(&control_interface_, &dispatcher_, &metrics_, &manager_) {} in ModemInfoTest() 49 ModemInfo modem_info_; member in shill::ModemInfoTest 53 EXPECT_EQ(0, modem_info_.modem_managers_.size()); in TEST_F() 61 modem_info_.Start(); in TEST_F() 62 EXPECT_EQ(2, modem_info_.modem_managers_.size()); in TEST_F() 63 modem_info_.Stop(); in TEST_F() 64 EXPECT_EQ(0, modem_info_.modem_managers_.size()); in TEST_F() 72 modem_info_.RegisterModemManager( in TEST_F() 76 &modem_info_)); in TEST_F() 77 ASSERT_EQ(1, modem_info_.modem_managers_.size()); in TEST_F() [all …]
|
D | cellular_capability_universal_cdma_unittest.cc | 69 modem_info_(&control_interface_, dispatcher, nullptr, nullptr), in CellularCapabilityUniversalCDMATest() 76 cellular_(new Cellular(&modem_info_, in CellularCapabilityUniversalCDMATest() 83 service_(new MockCellularService(&modem_info_, in CellularCapabilityUniversalCDMATest() 107 cellular_->service_ = new CellularService(&modem_info_, cellular_); in SetService() 193 MockModemInfo modem_info_; member in shill::CellularCapabilityUniversalCDMATest 366 EXPECT_CALL(*modem_info_.mock_pending_activation_store(), in TEST_F() 370 EXPECT_CALL(*modem_info_.mock_pending_activation_store(), in TEST_F() 376 Mock::VerifyAndClearExpectations(modem_info_.mock_pending_activation_store()); in TEST_F() 379 EXPECT_CALL(*modem_info_.mock_pending_activation_store(), in TEST_F() 383 EXPECT_CALL(*modem_info_.mock_pending_activation_store(), in TEST_F() [all …]
|
D | modem_1_unittest.cc | 58 : modem_info_(nullptr, &dispatcher_, nullptr, nullptr), in Modem1Test() 59 device_info_(modem_info_.control_interface(), modem_info_.dispatcher(), in Modem1Test() 60 modem_info_.metrics(), modem_info_.manager()), in Modem1Test() 66 &modem_info_, in Modem1Test() 77 MockModemInfo modem_info_; member in shill::Modem1Test 95 EXPECT_CALL(*modem_info_.mock_manager(), device_info()) in SetUp()
|
D | active_passive_out_of_credits_detector_unittest.cc | 52 : modem_info_(nullptr, &dispatcher_, &metrics_, &manager_), in ActivePassiveOutOfCreditsDetectorTest() 53 device_info_(modem_info_.control_interface(), modem_info_.dispatcher(), in ActivePassiveOutOfCreditsDetectorTest() 54 modem_info_.metrics(), modem_info_.manager()), in ActivePassiveOutOfCreditsDetectorTest() 55 manager_(modem_info_.control_interface(), modem_info_.dispatcher(), in ActivePassiveOutOfCreditsDetectorTest() 56 modem_info_.metrics()), in ActivePassiveOutOfCreditsDetectorTest() 57 metrics_(modem_info_.dispatcher()), in ActivePassiveOutOfCreditsDetectorTest() 58 cellular_(new NiceMock<MockCellular>(&modem_info_, in ActivePassiveOutOfCreditsDetectorTest() 65 service_(new NiceMock<MockCellularService>(&modem_info_, cellular_)), in ActivePassiveOutOfCreditsDetectorTest() 69 modem_info_.dispatcher(), modem_info_.manager(), in ActivePassiveOutOfCreditsDetectorTest() 70 modem_info_.metrics(), service_.get())) {} in ActivePassiveOutOfCreditsDetectorTest() [all …]
|
D | modem_manager_unittest.cc | 49 modem_info_(&control_, &dispatcher_, nullptr, &manager_) {} in ModemManagerTest() 53 new StrictModem(kService, kModemPath, &modem_info_, &control_)); in SetUp() 66 MockModemInfo modem_info_; member in shill::ModemManagerTest 89 modem_manager_(&control_, kService, kPath, &modem_info_) {} in ModemManagerCoreTest() 136 ModemInfo* modem_info_) : in ModemManagerClassicMockInit() argument 137 ModemManagerClassic(control_interface, service, path, modem_info_) {} in ModemManagerClassicMockInit() 146 modem_manager_(&control_, kService, kPath, &modem_info_), in ModemManagerClassicTest() 185 ModemInfo* modem_info_) : in ModemManager1MockInit() argument 186 ModemManager1(control_interface, service, path, modem_info_) {} in ModemManager1MockInit() 196 modem_manager_(&control_, kService, kPath, &modem_info_), in ModemManager1Test()
|
D | modem_unittest.cc | 66 : modem_info_(nullptr, &dispatcher_, nullptr, nullptr), in ModemTest() 67 device_info_(modem_info_.control_interface(), modem_info_.dispatcher(), in ModemTest() 68 modem_info_.metrics(), modem_info_.manager()), in ModemTest() 73 &modem_info_, in ModemTest() 84 MockModemInfo modem_info_; member in shill::ModemTest 100 EXPECT_CALL(*modem_info_.mock_manager(), device_info()) in SetUp() 142 &modem_info_, in TEST_F() 225 &modem_info_, in TEST_F()
|
D | modem.cc | 57 modem_info_(modem_info), in Modem() 69 modem_info_->manager()->device_info()->DeregisterDevice(device_); in ~Modem() 98 return new Cellular(modem_info_, in ConstructCellular() 148 if (modem_info_->manager()->device_info()->IsDeviceBlackListed(link_name_)) { in CreateDeviceFromModemProperties() 162 modem_info_->manager()->device_info()->RegisterDevice(device_); in CreateDeviceFromModemProperties() 174 if (!modem_info_->manager()->device_info()->GetMACAddress(*interface_index, in GetDeviceParams()
|
D | cellular_capability_universal_unittest.cc | 85 modem_info_(&control_interface_, dispatcher, nullptr, nullptr), in CellularCapabilityUniversalTest() 94 cellular_(new Cellular(&modem_info_, in CellularCapabilityUniversalTest() 101 service_(new MockCellularService(&modem_info_, cellular_)), in CellularCapabilityUniversalTest() 104 modem_info_.metrics()->RegisterDevice(cellular_->interface_index(), in CellularCapabilityUniversalTest() 123 ON_CALL(*modem_info_.mock_pending_activation_store(), in SetUp() 143 auto service = new CellularService(&modem_info_, cellular_); in CreateService() 336 MockModemInfo modem_info_; member in shill::CellularCapabilityUniversalTest 689 EXPECT_TRUE(modem_info_.manager()->termination_actions_.IsEmpty()); in TEST_F() 697 EXPECT_FALSE(modem_info_.manager()->termination_actions_.IsEmpty()); in TEST_F() 700 modem_info_.manager()->RunTerminationActions(Bind( in TEST_F() [all …]
|
D | cellular_service_unittest.cc | 53 : modem_info_(nullptr, &dispatcher_, nullptr, nullptr), in CellularServiceTest() 54 device_(new MockCellular(&modem_info_, in CellularServiceTest() 61 service_(new CellularService(&modem_info_, device_)), in CellularServiceTest() 87 MockModemInfo modem_info_; member in shill::CellularServiceTest 125 EXPECT_CALL(*modem_info_.mock_manager(), HasService(_)) in TEST_F() 234 modem_info_.control_interface(), modem_info_.metrics(), in TEST_F() 235 modem_info_.manager())); in TEST_F() 265 modem_info_.control_interface(), modem_info_.metrics(), in TEST_F() 266 modem_info_.manager())); in TEST_F() 303 modem_info_.control_interface(), modem_info_.metrics(), in TEST_F() [all …]
|
D | cellular_capability_cdma_unittest.cc | 52 : modem_info_(nullptr, &dispatcher_, nullptr, nullptr), in CellularCapabilityCDMATest() 53 cellular_(new MockCellular(&modem_info_, in CellularCapabilityCDMATest() 63 modem_info_.metrics()->RegisterDevice(cellular_->interface_index(), in CellularCapabilityCDMATest() 137 cellular_->service_ = new CellularService(&modem_info_, cellular_); in SetService() 145 MockModemInfo modem_info_; member in shill::CellularCapabilityCDMATest 389 EXPECT_CALL(*modem_info_.mock_manager(), RegisterService(_)); in TEST_F()
|
D | cellular_capability_classic_unittest.cc | 57 modem_info_(&control_interface_, &dispatcher_, nullptr, nullptr), in CellularCapabilityTest() 67 cellular_(new Cellular(&modem_info_, in CellularCapabilityTest() 74 modem_info_.metrics()->RegisterDevice(cellular_->interface_index(), in CellularCapabilityTest() 107 auto service = new CellularService(&modem_info_, cellular_); in CreateService() 246 MockModemInfo modem_info_; member in shill::CellularCapabilityTest 406 modem_info_.control_interface(), modem_info_.metrics(), in TEST_F() 407 modem_info_.manager())); in TEST_F()
|
D | cellular_unittest.cc | 91 : modem_info_(control_interface(), in CellularPropertyTest() 95 device_(new Cellular(&modem_info_, in CellularPropertyTest() 105 MockModemInfo modem_info_; member in shill::CellularPropertyTest 148 modem_info_(&control_interface_, &dispatcher_, nullptr, nullptr), in CellularTest() 149 device_info_(modem_info_.control_interface(), &dispatcher_, in CellularTest() 150 modem_info_.metrics(), modem_info_.manager()), in CellularTest() 151 dhcp_config_(new MockDHCPConfig(modem_info_.control_interface(), in CellularTest() 156 device_(new Cellular(&modem_info_, in CellularTest() 164 modem_info_.metrics()->RegisterDevice(device_->interface_index(), in CellularTest() 172 EXPECT_CALL(*modem_info_.mock_manager(), device_info()) in SetUp() [all …]
|
D | cellular.cc | 116 modem_info_(modem_info), in Cellular() 352 modem_info_)); in InitCapability() 357 modem_info_)); in InitCapability() 363 modem_info_)); in InitCapability() 369 modem_info_)); in InitCapability() 622 service_ = new CellularService(modem_info_, this); in CreateService() 1046 PPPDaemon::Start(modem_info_->control_interface(), in StartPPP() 1110 DeviceInfo* device_info = modem_info_->manager()->device_info(); in OnPPPConnected() 1124 modem_info_->control_interface(), in OnPPPConnected() 1125 modem_info_->dispatcher(), in OnPPPConnected() [all …]
|
D | cellular_capability.h | 277 ModemInfo* modem_info() const { return modem_info_; } in modem_info() 304 ModemInfo* modem_info_; variable
|
D | modem_manager.h | 67 ModemInfo* modem_info() const { return modem_info_; } in modem_info() 107 ModemInfo* modem_info_; variable
|
D | cellular_capability.cc | 60 modem_info_(modem_info) {} in CellularCapability()
|
D | cellular_capability_gsm_unittest.cc | 64 modem_info_(&control_interface_, &dispatcher_, nullptr, nullptr), in CellularCapabilityGSMTest() 72 cellular_(new Cellular(&modem_info_, in CellularCapabilityGSMTest() 81 modem_info_.metrics()->RegisterDevice(cellular_->interface_index(), in CellularCapabilityGSMTest() 260 auto service = new CellularService(&modem_info_, cellular_); in CreateService() 326 MockModemInfo modem_info_; member in shill::CellularCapabilityGSMTest
|
D | modem_manager.cc | 43 modem_info_(modem_info) {} in ModemManager()
|
D | modem.h | 129 ModemInfo* modem_info_; variable
|
D | cellular.h | 544 ModemInfo* modem_info_; variable
|
/system/connectivity/shill/ |
D | manager.h | 379 virtual ModemInfo* modem_info() { return &modem_info_; } in modem_info() 801 ModemInfo modem_info_; variable
|
D | manager.cc | 138 modem_info_(control_interface, dispatcher, metrics, this), in Manager() 277 modem_info_.Start(); in Start() 320 modem_info_.Stop(); in Stop()
|