Home
last modified time | relevance | path

Searched refs:CellularDataService (Results 1 – 10 of 10) sorted by relevance

/base/telephony/cellular_data/services/src/
Dcellular_data_service.cpp35 …esult = SystemAbility::MakeAndRegisterAbility(&DelayedRefSingleton<CellularDataService>::GetInstan…
36 CellularDataService::CellularDataService() in CellularDataService() function in OHOS::Telephony::CellularDataService
41 CellularDataService::~CellularDataService() = default;
43 void CellularDataService::OnStart() in OnStart()
63 void CellularDataService::OnStop() in OnStop()
74 int32_t CellularDataService::Dump(std::int32_t fd, const std::vector<std::u16string> &args) in Dump()
99 bool CellularDataService::Init() in Init()
109 bool ret = Publish(DelayedRefSingleton<CellularDataService>::GetInstance().AsObject()); in Init()
126 int32_t CellularDataService::IsCellularDataEnabled(bool &dataEnabled) in IsCellularDataEnabled()
138 int32_t CellularDataService::EnableCellularData(bool enable) in EnableCellularData()
[all …]
Ddata_connection_monitor.cpp110 … int32_t ret = DelayedRefSingleton<CellularDataService>::GetInstance().ClearAllConnections( in HandleRecovery()
126 … int32_t ret = DelayedRefSingleton<CellularDataService>::GetInstance().ClearAllConnections( in HandleRecovery()
/base/telephony/cellular_data/test/fuzztest/getcellulardatastate_fuzzer/
Dgetcellulardatastate_fuzzer.cpp34 DelayedSingleton<CellularDataService>::GetInstance()->OnStart(); in IsServiceInited()
35 if (DelayedSingleton<CellularDataService>::GetInstance()->GetServiceRunningState() == in IsServiceInited()
59 …DelayedSingleton<CellularDataService>::GetInstance()->OnRemoteRequest(code, dataMessageParcel, rep… in OnRemoteRequest()
72 …DelayedSingleton<CellularDataService>::GetInstance()->OnEnableCellularData(dataMessageParcel, repl… in EnableCellularData()
85 …DelayedSingleton<CellularDataService>::GetInstance()->OnGetCellularDataState(dataMessageParcel, re… in GetCellularDataState()
98 …DelayedSingleton<CellularDataService>::GetInstance()->OnIsCellularDataEnabled(dataMessageParcel, r… in IsCellularDataEnabled()
114 …DelayedSingleton<CellularDataService>::GetInstance()->OnIsCellularDataRoamingEnabled(dataMessagePa… in IsCellularDataRoamingEnabled()
127 …DelayedSingleton<CellularDataService>::GetInstance()->OnGetDefaultCellularDataSlotId(dataMessagePa… in GetDefaultCellularDataSlotId()
143 …DelayedSingleton<CellularDataService>::GetInstance()->OnEnableCellularDataRoaming(dataMessageParce… in EnableCellularDataRoaming()
159 …DelayedSingleton<CellularDataService>::GetInstance()->OnSetDefaultCellularDataSlotId(dataMessagePa… in SetDefaultCellularDataSlotId()
[all …]
/base/telephony/cellular_data/services/src/utils/
Dnetwork_search_callback.cpp26 …int32_t result = DelayedRefSingleton<CellularDataService>::GetInstance().HasInternetCapability(slo… in HasInternetCapability()
36 …int32_t result = DelayedRefSingleton<CellularDataService>::GetInstance().ClearCellularDataConnecti… in ClearCellularDataConnections()
Dnet_manager_call_back.cpp34 int32_t result = DelayedRefSingleton<CellularDataService>::GetInstance().RequestNet(request); in RequestNetwork()
47 int32_t result = DelayedRefSingleton<CellularDataService>::GetInstance().ReleaseNet(request); in ReleaseNetwork()
Dcellular_data_dump_helper.cpp70 CellularDataService &dataService = DelayedRefSingleton<CellularDataService>::GetInstance(); in ShowCellularDataInfo()
Dnet_manager_tactics_call_back.cpp43 …int32_t result = DelayedRefSingleton<CellularDataService>::GetInstance().StrategySwitch(i, enable); in NetStrategySwitch()
/base/telephony/cellular_data/services/include/
Dcellular_data_service.h36 class CellularDataService : public SystemAbility, public CellularDataServiceStub {
37 DECLARE_DELAYED_REF_SINGLETON(CellularDataService)
38 DECLARE_SYSTEM_ABILITY(CellularDataService)
/base/telephony/cellular_data/test/
Dcellular_data_test.cpp806 …EXPECT_EQ(DelayedSingleton<CellularDataService>::GetInstance()->Dump(-1, args), TELEPHONY_ERR_FAIL…
807 EXPECT_EQ(DelayedSingleton<CellularDataService>::GetInstance()->Dump(0, emptyArgs), 0);
808 EXPECT_EQ(DelayedSingleton<CellularDataService>::GetInstance()->Dump(0, args), 0);
Dzero_branch_test.cpp205 CellularDataService service;