Home
last modified time | relevance | path

Searched refs:dataRoamingEnabled (Results 1 – 17 of 17) sorted by relevance

/base/telephony/cellular_data/test/
Dcellular_data_test.cpp143 static int32_t IsCellularDataRoamingEnabledTest(int32_t slotId, bool &dataRoamingEnabled);
244 int32_t CellularDataTest::IsCellularDataRoamingEnabledTest(int32_t slotId, bool &dataRoamingEnabled) in IsCellularDataRoamingEnabledTest() argument
246 … return CellularDataClient::GetInstance().IsCellularDataRoamingEnabled(slotId, dataRoamingEnabled); in IsCellularDataRoamingEnabledTest()
452 bool dataRoamingEnabled = false; variable
453 CellularDataTest::IsCellularDataRoamingEnabledTest(DEFAULT_SIM_SLOT_ID, dataRoamingEnabled);
454 ASSERT_TRUE(dataRoamingEnabled);
458 CellularDataTest::IsCellularDataRoamingEnabledTest(DEFAULT_SIM_SLOT_ID, dataRoamingEnabled);
459 ASSERT_TRUE(!dataRoamingEnabled);
464 …ult = CellularDataTest::IsCellularDataRoamingEnabledTest(DATA_SLOT_ID_INVALID, dataRoamingEnabled);
469 …ult = CellularDataTest::IsCellularDataRoamingEnabledTest(DATA_SLOT_ID_INVALID, dataRoamingEnabled);
[all …]
Dzero_branch_test.cpp98 bool dataRoamingEnabled = false; variable
99 cellularDataHandler.IsCellularDataRoamingEnabled(dataRoamingEnabled);
100 ASSERT_FALSE(dataRoamingEnabled);
213 bool dataRoamingEnabled = false; variable
217 …E(TELEPHONY_ERR_SUCCESS, service.IsCellularDataRoamingEnabled(INVALID_SLOTID, dataRoamingEnabled));
260 bool dataRoamingEnabled = false; variable
261 controller.IsCellularDataRoamingEnabled(dataRoamingEnabled);
262 ASSERT_FALSE(dataRoamingEnabled);
/base/telephony/cellular_data/services/src/
Ddata_switch_settings.cpp31 bool dataRoamingEnabled = false; in LoadSwitchValue() local
33 IsUserDataRoamingOn(dataRoamingEnabled); in LoadSwitchValue()
85 int32_t DataSwitchSettings::SetUserDataRoamingOn(bool dataRoamingEnabled) in SetUserDataRoamingOn() argument
97 …int value = (dataRoamingEnabled ? static_cast<int>(RoamingSwitchCode::CELLULAR_DATA_ROAMING_ENABLE… in SetUserDataRoamingOn()
104 userDataRoaming_ = dataRoamingEnabled; in SetUserDataRoamingOn()
109 int32_t DataSwitchSettings::IsUserDataRoamingOn(bool &dataRoamingEnabled) in IsUserDataRoamingOn() argument
131 dataRoamingEnabled = userDataRoaming_; in IsUserDataRoamingOn()
Dcellular_data_service_stub.cpp96 bool dataRoamingEnabled = false; in OnIsCellularDataRoamingEnabled() local
97 int32_t result = IsCellularDataRoamingEnabled(slotId, dataRoamingEnabled); in OnIsCellularDataRoamingEnabled()
105 if (!reply.WriteBool(dataRoamingEnabled)) { in OnIsCellularDataRoamingEnabled()
Dcellular_data_controller.cpp118 int32_t CellularDataController::IsCellularDataRoamingEnabled(bool &dataRoamingEnabled) const in IsCellularDataRoamingEnabled()
124 return cellularDataHandler_->IsCellularDataRoamingEnabled(dataRoamingEnabled); in IsCellularDataRoamingEnabled()
127 int32_t CellularDataController::SetCellularDataRoamingEnabled(bool dataRoamingEnabled) in SetCellularDataRoamingEnabled() argument
133 return cellularDataHandler_->SetCellularDataRoamingEnabled(dataRoamingEnabled); in SetCellularDataRoamingEnabled()
Dcellular_data_handler.cpp151 int32_t CellularDataHandler::IsCellularDataRoamingEnabled(bool &dataRoamingEnabled) const in IsCellularDataRoamingEnabled()
157 return dataSwitchSettings_->IsUserDataRoamingOn(dataRoamingEnabled); in IsCellularDataRoamingEnabled()
160 int32_t CellularDataHandler::SetCellularDataRoamingEnabled(bool dataRoamingEnabled) in SetCellularDataRoamingEnabled() argument
168 if (currentDataEnabled == dataRoamingEnabled) { in SetCellularDataRoamingEnabled()
172 int32_t result = dataSwitchSettings_->SetUserDataRoamingOn(dataRoamingEnabled); in SetCellularDataRoamingEnabled()
429 bool dataRoamingEnabled = false; in CheckRoamingState() local
430 dataSwitchSettings_->IsUserDataRoamingOn(dataRoamingEnabled); in CheckRoamingState()
431 if (roamingState && !dataRoamingEnabled) { in CheckRoamingState()
1384 bool dataRoamingEnabled = false; in HandleDBSettingRoamingChanged() local
1385 dataSwitchSettings_->IsUserDataRoamingOn(dataRoamingEnabled); in HandleDBSettingRoamingChanged()
[all …]
Dcellular_data_service.cpp175 …t CellularDataService::IsCellularDataRoamingEnabled(const int32_t slotId, bool &dataRoamingEnabled) in IsCellularDataRoamingEnabled() argument
184 return cellularDataControllers_[slotId]->IsCellularDataRoamingEnabled(dataRoamingEnabled); in IsCellularDataRoamingEnabled()
/base/telephony/cellular_data/services/include/
Ddata_switch_settings.h37 int32_t IsUserDataRoamingOn(bool &dataRoamingEnabled);
38 int32_t SetUserDataRoamingOn(bool dataRoamingEnabled);
Dcellular_data_controller.h37 int32_t SetCellularDataRoamingEnabled(bool dataRoamingEnabled);
40 int32_t IsCellularDataRoamingEnabled(bool &dataRoamingEnabled) const;
Dcellular_data_handler.h50 int32_t IsCellularDataRoamingEnabled(bool &dataRoamingEnabled) const;
51 int32_t SetCellularDataRoamingEnabled(bool dataRoamingEnabled);
Dcellular_data_service.h58 int32_t IsCellularDataRoamingEnabled(const int32_t slotId, bool &dataRoamingEnabled) override;
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_dump_helper.cpp93 bool dataRoamingEnabled = false; in ShowCellularDataInfo() local
100 dataService.IsCellularDataRoamingEnabled(i, dataRoamingEnabled); in ShowCellularDataInfo()
101 result.append(GetBoolValue(dataRoamingEnabled)); in ShowCellularDataInfo()
/base/telephony/cellular_data/interfaces/innerkits/
Di_cellular_data_manager.h59 virtual int32_t IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled) = 0;
Dcellular_data_client.h70 int32_t IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled);
/base/telephony/cellular_data/frameworks/native/
Dcellular_data_service_proxy.h69 int32_t IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled);
Dcellular_data_client.cpp238 int32_t CellularDataClient::IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled) in IsCellularDataRoamingEnabled() argument
245 return proxy->IsCellularDataRoamingEnabled(slotId, dataRoamingEnabled); in IsCellularDataRoamingEnabled()
Dcellular_data_service_proxy.cpp91 …_t CellularDataServiceProxy::IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled) in IsCellularDataRoamingEnabled() argument
110 dataRoamingEnabled = reply.ReadBool(); in IsCellularDataRoamingEnabled()