/base/update/updateservice/services/utils/src/ |
D | dupdate_net_manager.cpp | 52 for (auto netType : netTypes) { in RegisterCallback() local 53 if (!IsBaseNetType(netType)) { in RegisterCallback() 55 ENGINE_LOGE("RegisterCallback unSurport netType = %{public}d", netType); in RegisterCallback() 81 bool NetManager::IsNetAvailable(NetType netType) in IsNetAvailable() argument 83 return (CAST_UINT(netType_) & CAST_UINT(netType)) > 0; in IsNetAvailable() 86 bool NetManager::OnNetChange(NetType netType) in OnNetChange() argument 88 if (!IsBaseNetType(netType)) { in OnNetChange() 89 ENGINE_LOGE("OnNetChange illegal netType = %{public}d", netType); in OnNetChange() 92 if (netType == netType_) { in OnNetChange() 95 netType_ = netType; in OnNetChange() [all …]
|
D | dupdate_net_manager_empty.cpp | 55 bool NetManager::IsNetAvailable(NetType netType) in IsNetAvailable() argument 60 bool NetManager::OnNetChange(NetType netType) in OnNetChange() argument 66 bool NetManager::IsBaseNetType(NetType netType) in IsBaseNetType() argument
|
D | dupdate_net_observer.cpp | 98 void NetObserver::OnNetChange(NetType netType) in OnNetChange() argument 100 ENGINE_LOGI("OnNetChange %{public}d", netType); in OnNetChange() 105 bool result = callback_.lock()->OnNetChange(netType); in OnNetChange()
|
/base/update/updateservice/services/startup/model/include/ |
D | schedule_task.h | 32 int netType = 0; variable 53 maxDelayTime == other.maxDelayTime && netType == other.netType && 64 .append("netType:").append(std::to_string(netType)).append(", ") in ToString()
|
/base/update/updateservice/services/utils/include/ |
D | dupdate_net_manager.h | 44 bool IsNetAvailable(NetType netType = NetType::CELLULAR_AND_WIFI); 50 bool OnNetChange(NetType netType) final; 53 bool IsBaseNetType(NetType netType);
|
D | dupdate_inet_observer.h | 36 virtual bool OnNetChange(NetType netType) = 0;
|
D | dupdate_net_observer.h | 36 void OnNetChange(NetType netType);
|
/base/telephony/sms_mms/test/gtest/ |
D | cb_gtest.cpp | 97 uint8_t netType = 1; in OpenCellBroadcastTestFuc() local 99 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc() 133 uint8_t netType = 1; in OpenCellBroadcastTestFuc2() local 135 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc2() 169 uint8_t netType = 3; in OpenCellBroadcastTestFuc3() local 171 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc3() 205 uint8_t netType = 1; in OpenCellBroadcastTestFuc4() local 207 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc4() 241 uint8_t netType = 1; in OpenCellBroadcastTestFuc5() local 243 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc5() [all …]
|
/base/update/updateservice/services/firmware/event/src/ |
D | firmware_event_listener.cpp | 41 [=](NetType netType) { in RegisterNetChangedListener() argument 42 … FIRMWARE_LOGI("FirmwareEventListener on NetChanged type: %{public}d", CAST_INT(netType)); in RegisterNetChangedListener()
|
/base/telephony/sms_mms/test/fuzztest/setgetcbconfig_fuzzer/ |
D | setgetcbconfig_fuzzer.cpp | 64 int32_t netType = static_cast<int32_t>(size % NET_COUNT); in SetCBConfigFuzz() local 70 dataParcel.WriteUint8(netType); in SetCBConfigFuzz() 81 interfaceManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfigFuzz() 88 smsMiscManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfigFuzz()
|
/base/telephony/sms_mms/test/unittest/ |
D | sms_broadcast_subscriber.cpp | 46 std::u16string netType = isCdma ? u"3gpp2" : u"3gpp"; in OnReceiveEvent() local 47 ShortMessage::CreateMessage(pdu, netType, *message); in OnReceiveEvent()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_interface_manager.cpp | 165 …msInterfaceManager::SetCBConfig(bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) in SetCBConfig() argument 171 return smsMiscManager_->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfig()
|
D | sms_misc_manager.cpp | 36 …2_t SmsMiscManager::SetCBConfig(bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) in SetCBConfig() argument 39 if ((toMsgId > RANG_MAX) || (fromMsgId > toMsgId) || (netType != GSM_TYPE)) { in SetCBConfig()
|
D | sms_service.cpp | 528 …ce::SetCBConfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) in SetCBConfig() argument 544 return interfaceManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfig()
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_interface_manager.h | 53 int32_t SetCBConfig(bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType);
|
D | sms_misc_manager.h | 58 int32_t SetCBConfig(bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType);
|
D | sms_service.h | 151 …onfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) override;
|
/base/update/updateservice/frameworks/js/napi/update/common/include/ |
D | client_helper.h | 76 static ClientStatus GetNetType(napi_env env, const napi_value arg, NetType &netType);
|
/base/telephony/ril_adapter/services/vendor/src/ |
D | at_network.c | 1793 static int32_t ParseNetTypeStr(const char *netType) in ParseNetTypeStr() argument 1796 if (netType == NULL) { in ParseNetTypeStr() 1800 TELEPHONY_LOGD("netType: [%{public}s]", netType); in ParseNetTypeStr() 1801 if (strcmp(netType, AUTO_TYPE) == 0) { in ParseNetTypeStr() 1803 } else if (strcmp(netType, GSM_TYPE) == 0) { in ParseNetTypeStr() 1805 } else if (strcmp(netType, WCDMA_TYPE) == 0) { in ParseNetTypeStr() 1807 } else if (strcmp(netType, LTE_TYPE) == 0) { in ParseNetTypeStr() 1809 } else if (strcmp(netType, LTE_WCDMA_TYPE) == 0) { in ParseNetTypeStr() 1811 } else if (strcmp(netType, LTE_WCDMA_GSM_TYPE) == 0) { in ParseNetTypeStr() 1813 } else if (strcmp(netType, WCDMA_GSM_TYPE) == 0) { in ParseNetTypeStr() [all …]
|
/base/telephony/sms_mms/interfaces/innerkits/ |
D | i_sms_service_interface.h | 234 …etCBConfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) = 0;
|
D | sms_service_proxy.h | 135 …onfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) override;
|
/base/location/services/location_gnss/gnss/source/ |
D | agnss_ni_manager.cpp | 200 std::u16string netType = isCdma ? u"3gpp2" : u"3gpp"; in CheckSmsSuplInit() local 201 Telephony::ShortMessage::CreateMessage(pdu, netType, *message); in CheckSmsSuplInit()
|
/base/telephony/cellular_call/services/control/src/ |
D | cs_control.cpp | 49 PhoneType netType = moduleServiceUtils.GetNetworkStatus(callInfo.slotId); in Dial() local 50 if (netType == PhoneType::PHONE_TYPE_IS_GSM) { in Dial() 53 if (netType == PhoneType::PHONE_TYPE_IS_CDMA) { in Dial()
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
D | sms_service_proxy.cpp | 277 int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) in SetCBConfig() argument 291 dataParcel.WriteUint8(netType); in SetCBConfig()
|
/base/update/updateservice/frameworks/js/napi/update/common/src/ |
D | client_helper.cpp | 467 ClientStatus ClientHelper::GetNetType(napi_env env, const napi_value arg, NetType &netType) in GetNetType() argument 475 netType = static_cast<NetType>(allowNetwork); in GetNetType()
|