| /base/telephony/cellular_data/frameworks/native/ |
| D | cellular_data_client.cpp | 34 int32_t CellularDataClient::defaultCellularDataSlotId_ = INVALID_MAIN_CARD_SLOTID; 35 int32_t CellularDataClient::defaultCellularDataSimId_ = 0; 36 CellularDataClient::CellularDataClient() in CellularDataClient() function in OHOS::Telephony::CellularDataClient 43 CellularDataClient::~CellularDataClient() in ~CellularDataClient() 48 bool CellularDataClient::IsValidSlotId(int32_t slotId) in IsValidSlotId() 53 sptr<ICellularDataManager> CellularDataClient::GetProxy() in GetProxy() 86 void CellularDataClient::OnRemoteDied(const wptr<IRemoteObject> &remote) in OnRemoteDied() 105 bool CellularDataClient::IsConnect() in IsConnect() 111 void CellularDataClient::RegisterSimAccountCallback() in RegisterSimAccountCallback() 132 void CellularDataClient::UnregisterSimAccountCallback() in UnregisterSimAccountCallback() [all …]
|
| D | data_sim_account_call_back.cpp | 25 int32_t ret = CellularDataClient::GetInstance().UpdateDefaultCellularDataSlotId(); in OnSimAccountChanged()
|
| /base/telephony/cellular_data/interfaces/innerkits/ |
| D | cellular_data_client.h | 31 class CellularDataClient : public DelayedRefSingleton<CellularDataClient> { 32 DECLARE_DELAYED_REF_SINGLETON(CellularDataClient); 198 explicit CellularDataDeathRecipient(CellularDataClient &client) : client_(client) {} in CellularDataDeathRecipient() 206 CellularDataClient &client_;
|
| D | libtel_cellular_data_api.versionscript | 17 *OHOS::Telephony::CellularDataClient*;
|
| /base/telephony/cellular_data/test/unit_test/ |
| D | cellular_data_code_test.cpp | 202 int32_t result = CellularDataClient::GetInstance().IsCellularDataEnabled(enabled); in IsCellularDataEnabledTest() 223 CellularDataClient::GetInstance().EnableCellularData(dataEnable); in EnableCellularDataTest() 225 result = CellularDataClient::GetInstance().GetCellularDataState(); in EnableCellularDataTest() 229 CellularDataClient::GetInstance().EnableCellularData(dataEnable); in EnableCellularDataTest() 231 result = CellularDataClient::GetInstance().GetCellularDataState(); in EnableCellularDataTest() 239 result = CellularDataClient::GetInstance().EnableCellularData(enable); in EnableCellularDataTest() 245 int32_t result = CellularDataClient::GetInstance().GetCellularDataState(); in GetCellularDataStateTest() 256 …int32_t result = CellularDataClient::GetInstance().IsCellularDataRoamingEnabled(slotId, isDataRoam… in IsCellularDataRoamingEnabledTest() 271 … int32_t result = CellularDataClient::GetInstance().EnableCellularDataRoaming(slotId, enable); in EnableCellularDataRoamingTest() 279 sptr<ICellularDataManager> proxy = CellularDataClient::GetInstance().GetProxy(); in HandleApnChangedTest() [all …]
|
| /base/telephony/cellular_data/test/ |
| D | cellular_data_test.cpp | 247 int32_t result = CellularDataClient::GetInstance().SetDefaultCellularDataSlotId(slotId); in TearDownTestCase() 251 int32_t enable = CellularDataClient::GetInstance().EnableCellularData(true); in TearDownTestCase() 277 int32_t result = CellularDataClient::GetInstance().SetDefaultCellularDataSlotId(slotId); in SetUpTestCase() 281 int32_t enable = CellularDataClient::GetInstance().EnableCellularData(true); in SetUpTestCase() 291 if (CellularDataClient::GetInstance().GetCellularDataState() == status) { in WaitTestTimeout() 335 … return CellularDataClient::GetInstance().IsCellularDataRoamingEnabled(slotId, dataRoamingEnabled); in IsCellularDataRoamingEnabledTest() 340 return CellularDataClient::GetInstance().IsCellularDataEnabled(dataEnabled); in IsCellularDataEnabledTest() 345 return CellularDataClient::GetInstance().EnableCellularData(enable); in EnableCellularDataTest() 350 return CellularDataClient::GetInstance().EnableIntelligenceSwitch(enable); in EnableIntelligenceSwitchTest() 355 return CellularDataClient::GetInstance().GetCellularDataState(); in GetCellularDataStateTest() [all …]
|
| D | zero_branch_test.cpp | 457 EXPECT_GE(DelayedSingleton<CellularDataClient>::GetInstance()->GetCellularDataFlowType(), 0); 459 …std::make_shared<CellularDataClient::CellularDataDeathRecipient>(CellularDataClient::GetInstance()… 461 EXPECT_GE(DelayedSingleton<CellularDataClient>::GetInstance()->GetCellularDataFlowType(), 0);
|
| /base/location/test/location_gnss/mock/src/ |
| D | mock_i_cellular_data_manager.cpp | 23 int32_t CellularDataClient::GetDefaultCellularDataSlotId() in GetDefaultCellularDataSlotId()
|
| /base/telephony/cellular_data/frameworks/js/napi/src/ |
| D | napi_cellular_data.cpp | 41 return CellularDataClient::GetInstance().IsConnect(); in IsCellularDataManagerInited() 128 int32_t dataState = CellularDataClient::GetInstance().GetCellularDataState(); in NativeGetCellularDataState() 189 asyncContext->errorCode = CellularDataClient::GetInstance().IsCellularDataEnabled(enabled); in NativeIsCellularDataEnabled() 253 asyncContext->result = CellularDataClient::GetInstance().EnableCellularData(true); in NativeEnableCellularData() 377 asyncContext->result = CellularDataClient::GetInstance().EnableCellularData(false); in NativeDisableCellularData() 426 …asyncContext->result = CellularDataClient::GetInstance().EnableCellularDataRoaming(asyncContext->s… in NativeEnableCellularDataRoaming() 478 …asyncContext->result = CellularDataClient::GetInstance().EnableCellularDataRoaming(asyncContext->s… in NativeDisableCellularDataRoaming() 529 auto &dataManager = CellularDataClient::GetInstance(); in NativeIsCellularDataRoamingEnabled() 609 int32_t result = CellularDataClient::GetInstance().GetDefaultCellularDataSlotId(); in NativeGetDefaultCellularDataSlotId() 670 slotId = CellularDataClient::GetInstance().GetDefaultCellularDataSlotId(); in GetDefaultCellularDataSlotIdSync() [all …]
|
| /base/location/services/location_gnss/gnss/source/ |
| D | agnss_event_callback.cpp | 52 int slotId = Telephony::CellularDataClient::GetInstance().GetDefaultCellularDataSlotId(); in RequestSubscriberSetId() 101 int slotId = Telephony::CellularDataClient::GetInstance().GetDefaultCellularDataSlotId(); in GetCellRefInfo()
|
| /base/web/webview/ohos_adapter/net_connect_adapter/src/ |
| D | net_connect_callback_impl.cpp | 55 int32_t slotId = CellularDataClient::GetInstance().GetDefaultCellularDataSlotId(); in NetCapabilitiesChange()
|
| D | net_connect_adapter_impl.cpp | 94 int32_t slotId = CellularDataClient::GetInstance().GetDefaultCellularDataSlotId(); in GetDefaultNetConnect()
|
| /base/web/webview/test/unittest/net_connect_adapter_impl_test/ |
| D | net_connect_adapter_impl_test.cpp | 65 int32_t CellularDataClient::GetDefaultCellularDataSlotId() in GetDefaultCellularDataSlotId()
|
| /base/web/webview/test/unittest/net_connect_callback_impl_test/ |
| D | net_connect_callback_impl_test.cpp | 36 int32_t CellularDataClient::GetDefaultCellularDataSlotId() in GetDefaultCellularDataSlotId()
|
| /base/request/request/services/service/request/c_wrapper/source/ |
| D | network_adapter.cpp | 212 …DelayedRefSingleton<OHOS::Telephony::CellularDataClient>::GetInstance().GetDefaultCellularDataSlot… in UpdateRoaming()
|
| /base/location/frameworks/native/source/ |
| D | country_code_manager.cpp | 232 int slotId = Telephony::CellularDataClient::GetInstance().GetDefaultCellularDataSlotId(); in GetIsoCountryCode()
|