Home
last modified time | relevance | path

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

/base/telephony/cellular_data/services/src/
Ddata_switch_settings.cpp30 bool dataEnabled = false; in LoadSwitchValue() local
32 IsUserDataOn(dataEnabled); in LoadSwitchValue()
66 int32_t DataSwitchSettings::IsUserDataOn(bool &dataEnabled) in IsUserDataOn() argument
81 dataEnabled = userDataOn_; in IsUserDataOn()
Dcellular_data_service_stub.cpp56 bool dataEnabled = false; in OnIsCellularDataEnabled() local
57 int32_t result = IsCellularDataEnabled(dataEnabled); in OnIsCellularDataEnabled()
65 if (!reply.WriteBool(dataEnabled)) { in OnIsCellularDataEnabled()
Dcellular_data_handler.cpp130 bool dataEnabled = false; in SetCellularDataEnable() local
131 int32_t result = dataSwitchSettings_->IsUserDataOn(dataEnabled); in SetCellularDataEnable()
135 if (dataEnabled == userDataOn) { in SetCellularDataEnable()
142 int32_t CellularDataHandler::IsCellularDataEnabled(bool &dataEnabled) const in IsCellularDataEnabled()
148 return dataSwitchSettings_->IsUserDataOn(dataEnabled); in IsCellularDataEnabled()
219 bool dataEnabled = false; in ClearAllConnections() local
220 dataSwitchSettings_->IsUserDataOn(dataEnabled); in ClearAllConnections()
221 if (!dataEnabled) { in ClearAllConnections()
1068 bool dataEnabled = false; in PsDataRatChanged() local
1069 IsCellularDataEnabled(dataEnabled); in PsDataRatChanged()
[all …]
Dcellular_data_controller.cpp91 int32_t CellularDataController::IsCellularDataEnabled(bool &dataEnabled) const in IsCellularDataEnabled()
97 return cellularDataHandler_->IsCellularDataEnabled(dataEnabled); in IsCellularDataEnabled()
Dcellular_data_service.cpp127 int32_t CellularDataService::IsCellularDataEnabled(bool &dataEnabled) in IsCellularDataEnabled() argument
136 return cellularDataControllers_[DEFAULT_SIM_SLOT_ID]->IsCellularDataEnabled(dataEnabled); in IsCellularDataEnabled()
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_dump_helper.cpp105 bool dataEnabled = false; in ShowCellularDataInfo() local
107 dataService.IsCellularDataEnabled(dataEnabled); in ShowCellularDataInfo()
108 result.append(GetBoolValue(dataEnabled)); in ShowCellularDataInfo()
/base/telephony/cellular_data/test/
Dcellular_data_test.cpp140 static int32_t IsCellularDataEnabledTest(bool &dataEnabled);
249 int32_t CellularDataTest::IsCellularDataEnabledTest(bool &dataEnabled) in IsCellularDataEnabledTest() argument
251 return CellularDataClient::GetInstance().IsCellularDataEnabled(dataEnabled); in IsCellularDataEnabledTest()
309 bool dataEnabled = false; variable
310 CellularDataTest::IsCellularDataEnabledTest(dataEnabled);
311 ASSERT_TRUE(dataEnabled >= static_cast<int32_t>(DataSwitchCode::CELLULAR_DATA_DISABLED));
597 bool dataEnabled = false; variable
598 CellularDataTest::IsCellularDataEnabledTest(dataEnabled);
599 if (dataEnabled) {
632 bool dataEnabled = false; variable
[all …]
Dzero_branch_test.cpp212 bool dataEnabled = false; variable
214 ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.IsCellularDataEnabled(dataEnabled));
254 bool dataEnabled = false; variable
255 controller.IsCellularDataEnabled(dataEnabled);
256 ASSERT_FALSE(dataEnabled);
/base/telephony/cellular_data/services/include/
Ddata_switch_settings.h35 int32_t IsUserDataOn(bool &dataEnabled);
Dcellular_data_controller.h36 int32_t IsCellularDataEnabled(bool &dataEnabled) const;
Dcellular_data_service.h55 int32_t IsCellularDataEnabled(bool &dataEnabled) override;
Dcellular_data_handler.h49 int32_t IsCellularDataEnabled(bool &dataEnabled) const;
/base/telephony/cellular_data/interfaces/innerkits/
Di_cellular_data_manager.h31 virtual int32_t IsCellularDataEnabled(bool &dataEnabled) = 0;
Dcellular_data_client.h54 int32_t IsCellularDataEnabled(bool &dataEnabled);
/base/telephony/cellular_data/frameworks/native/
Dcellular_data_service_proxy.h42 virtual int32_t IsCellularDataEnabled(bool &dataEnabled);
Dcellular_data_client.cpp218 int32_t CellularDataClient::IsCellularDataEnabled(bool &dataEnabled) in IsCellularDataEnabled() argument
225 return proxy->IsCellularDataEnabled(dataEnabled); in IsCellularDataEnabled()
Dcellular_data_service_proxy.cpp26 int32_t CellularDataServiceProxy::IsCellularDataEnabled(bool &dataEnabled) in IsCellularDataEnabled() argument
44 dataEnabled = reply.ReadBool(); in IsCellularDataEnabled()