/base/telephony/cellular_data/test/ |
D | cellular_data_test.cpp | 143 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 …]
|
D | zero_branch_test.cpp | 98 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/ |
D | data_switch_settings.cpp | 31 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()
|
D | cellular_data_service_stub.cpp | 96 bool dataRoamingEnabled = false; in OnIsCellularDataRoamingEnabled() local 97 int32_t result = IsCellularDataRoamingEnabled(slotId, dataRoamingEnabled); in OnIsCellularDataRoamingEnabled() 105 if (!reply.WriteBool(dataRoamingEnabled)) { in OnIsCellularDataRoamingEnabled()
|
D | cellular_data_controller.cpp | 118 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()
|
D | cellular_data_handler.cpp | 151 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 …]
|
D | cellular_data_service.cpp | 175 …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/ |
D | data_switch_settings.h | 37 int32_t IsUserDataRoamingOn(bool &dataRoamingEnabled); 38 int32_t SetUserDataRoamingOn(bool dataRoamingEnabled);
|
D | cellular_data_controller.h | 37 int32_t SetCellularDataRoamingEnabled(bool dataRoamingEnabled); 40 int32_t IsCellularDataRoamingEnabled(bool &dataRoamingEnabled) const;
|
D | cellular_data_handler.h | 50 int32_t IsCellularDataRoamingEnabled(bool &dataRoamingEnabled) const; 51 int32_t SetCellularDataRoamingEnabled(bool dataRoamingEnabled);
|
D | cellular_data_service.h | 58 int32_t IsCellularDataRoamingEnabled(const int32_t slotId, bool &dataRoamingEnabled) override;
|
/base/telephony/cellular_data/services/src/utils/ |
D | cellular_data_dump_helper.cpp | 93 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/ |
D | i_cellular_data_manager.h | 59 virtual int32_t IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled) = 0;
|
D | cellular_data_client.h | 70 int32_t IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled);
|
/base/telephony/cellular_data/frameworks/native/ |
D | cellular_data_service_proxy.h | 69 int32_t IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled);
|
D | cellular_data_client.cpp | 238 int32_t CellularDataClient::IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled) in IsCellularDataRoamingEnabled() argument 245 return proxy->IsCellularDataRoamingEnabled(slotId, dataRoamingEnabled); in IsCellularDataRoamingEnabled()
|
D | cellular_data_service_proxy.cpp | 91 …_t CellularDataServiceProxy::IsCellularDataRoamingEnabled(int32_t slotId, bool &dataRoamingEnabled) in IsCellularDataRoamingEnabled() argument 110 dataRoamingEnabled = reply.ReadBool(); in IsCellularDataRoamingEnabled()
|