Home
last modified time | relevance | path

Searched refs:serving_operator (Results 1 – 8 of 8) sorted by relevance

/system/connectivity/shill/cellular/
Dcellular_service_unittest.cc188 const Stringmap& serving_operator = service_->serving_operator(); in TEST_F() local
189 ASSERT_NE(serving_operator.end(), serving_operator.find(kOperatorCodeKey)); in TEST_F()
190 ASSERT_NE(serving_operator.end(), serving_operator.find(kOperatorNameKey)); in TEST_F()
191 EXPECT_EQ(kCode, serving_operator.find(kOperatorCodeKey)->second); in TEST_F()
192 EXPECT_EQ(kName, serving_operator.find(kOperatorNameKey)->second); in TEST_F()
196 service_->set_serving_operator(serving_operator); in TEST_F()
Dcellular_capability_classic_unittest.cc111 Stringmap serving_operator; in CreateService() local
112 serving_operator[kOperatorCodeKey] = kOperatorCode; in CreateService()
113 serving_operator[kOperatorNameKey] = kOperatorName; in CreateService()
114 serving_operator[kOperatorCountryKey] = kOperatorCountry; in CreateService()
116 service->set_serving_operator(serving_operator); in CreateService()
117 cellular_->set_home_provider(serving_operator); in CreateService()
Dcellular_service.h86 void set_serving_operator(const Stringmap& serving_operator);
87 const Stringmap& serving_operator() const { return serving_operator_; } in serving_operator() function
Dcellular_capability_gsm_unittest.cc264 Stringmap serving_operator; in CreateService() local
265 serving_operator[kOperatorCodeKey] = kOperatorCode; in CreateService()
266 serving_operator[kOperatorNameKey] = kOperatorName; in CreateService()
267 serving_operator[kOperatorCountryKey] = kOperatorCountry; in CreateService()
269 service->set_serving_operator(serving_operator); in CreateService()
270 cellular_->set_home_provider(serving_operator); in CreateService()
Dcellular_service.cc464 void CellularService::set_serving_operator(const Stringmap& serving_operator) { in set_serving_operator() argument
465 if (serving_operator_ == serving_operator) in set_serving_operator()
468 serving_operator_ = serving_operator; in set_serving_operator()
Dcellular.cc1524 Stringmap serving_operator; in UpdateServingOperator() local
1526 serving_operator[kOperatorCodeKey] = operator_info->sid(); in UpdateServingOperator()
1529 serving_operator[kOperatorCodeKey] = operator_info->nid(); in UpdateServingOperator()
1532 serving_operator[kOperatorCodeKey] = operator_info->mccmnc(); in UpdateServingOperator()
1535 serving_operator[kOperatorNameKey] = operator_info->operator_name(); in UpdateServingOperator()
1538 serving_operator[kOperatorCountryKey] = operator_info->country(); in UpdateServingOperator()
1540 service()->set_serving_operator(serving_operator); in UpdateServingOperator()
Dcellular_unittest.cc939 Stringmap serving_operator; in TEST_F() local
952 serving_operator = device_->service_->serving_operator(); in TEST_F()
953 VerifyOperatorMap(serving_operator, "", "", ""); in TEST_F()
979 serving_operator = device_->service_->serving_operator(); in TEST_F()
980 VerifyOperatorMap(serving_operator, in TEST_F()
1009 serving_operator = device_->service_->serving_operator(); in TEST_F()
1010 VerifyOperatorMap(serving_operator, in TEST_F()
1045 serving_operator = device_->service_->serving_operator(); in TEST_F()
1046 VerifyOperatorMap(serving_operator, in TEST_F()
Dcellular_capability_universal_unittest.cc147 Stringmap serving_operator; in CreateService() local
148 serving_operator[kOperatorCodeKey] = kOperatorCode; in CreateService()
149 serving_operator[kOperatorNameKey] = kOperatorName; in CreateService()
150 serving_operator[kOperatorCountryKey] = kOperatorCountry; in CreateService()
151 service->set_serving_operator(serving_operator); in CreateService()
152 cellular_->set_home_provider(serving_operator); in CreateService()