/ohos5.0/base/telephony/sms_mms/services/sms/ |
H A D | sms_send_manager.cpp | 122 NetWorkType netWorkType = networkManager_->GetNetWorkType(); in TextBasedSmsDelivery() local 123 TELEPHONY_LOGI("netWorkType = %{public}d.", netWorkType); in TextBasedSmsDelivery() 124 if (netWorkType == NetWorkType::NET_TYPE_GSM) { in TextBasedSmsDelivery() 127 } else if (netWorkType == NetWorkType::NET_TYPE_CDMA) { in TextBasedSmsDelivery() 158 NetWorkType netWorkType = networkManager_->GetNetWorkType(); in DataBasedSmsDelivery() local 159 if (netWorkType == NetWorkType::NET_TYPE_GSM) { in DataBasedSmsDelivery() 162 } else if (netWorkType == NetWorkType::NET_TYPE_CDMA) { in DataBasedSmsDelivery() 232 NetWorkType netWorkType = networkManager_->GetNetWorkType(); in SplitMessage() local 234 switch (netWorkType) { in SplitMessage() 263 NetWorkType netWorkType = networkManager_->GetNetWorkType(); in GetSmsSegmentsInfo() local [all …]
|
H A D | sms_send_indexer.cpp | 107 void SmsSendIndexer::SetNetWorkType(NetWorkType netWorkType) in SetNetWorkType() argument 109 netWorkType_ = netWorkType; in SetNetWorkType()
|
/ohos5.0/base/telephony/core_service/frameworks/native/src/ |
H A D | signal_information.cpp | 144 int32_t netWorkType = static_cast<int32_t>(GsmSignalInformation::GetNetworkType()); in ToString() local 145 …std::string content("networkType:" + std::to_string(netWorkType) + ",gsmRxlev:" + std::to_string(g… in ToString() 270 int32_t netWorkType = static_cast<int32_t>(CdmaSignalInformation::GetNetworkType()); in ToString() local 271 …std::string content(",networkType:" + std::to_string(netWorkType) + ",cdmaRssi:" + std::to_string(… in ToString() 418 int32_t netWorkType = static_cast<int32_t>(LteSignalInformation::GetNetworkType()); in ToString() local 419 …std::string content("networkType:" + std::to_string(netWorkType) + ",lteRsrp:" + std::to_string(lt… in ToString() 579 int32_t netWorkType = static_cast<int32_t>(WcdmaSignalInformation::GetNetworkType()); in ToString() local 580 …std::string content("networkType:" + std::to_string(netWorkType) + ",wcdmaRscp:" + std::to_string(… in ToString() 715 int32_t netWorkType = static_cast<int32_t>(TdScdmaSignalInformation::GetNetworkType()); in ToString() local 846 int32_t netWorkType = static_cast<int32_t>(NrSignalInformation::GetNetworkType()); in ToString() local [all …]
|
H A D | cell_information.cpp | 179 int32_t netWorkType = static_cast<int32_t>(GsmCellInformation::GetNetworkType()); in ToString() local 180 std::string content("netWorkType:" + std::to_string(netWorkType) + ",mcc:" + mcc_ + in ToString() 482 int32_t netWorkType = static_cast<int32_t>(LteCellInformation::GetNetworkType()); in ToString() local 483 std::string content("netWorkType:" + std::to_string(netWorkType) + ",mcc:" + mcc_ + in ToString() 666 int32_t netWorkType = static_cast<int32_t>(WcdmaCellInformation::GetNetworkType()); in ToString() local 667 std::string content("netWorkType:" + std::to_string(netWorkType) + ",mcc:" + mcc_ + in ToString() 850 int32_t netWorkType = static_cast<int32_t>(TdscdmaCellInformation::GetNetworkType()); in ToString() local 851 std::string content("netWorkType:" + std::to_string(netWorkType) + ",mcc:" + mcc_ + in ToString() 1036 int32_t netWorkType = static_cast<int32_t>(CdmaCellInformation::GetNetworkType()); in ToString() local 1268 int32_t netWorkType = static_cast<int32_t>(NrCellInformation::GetNetworkType()); in ToString() local [all …]
|
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/ |
H A D | work_scheduler_ffi.cpp | 136 if (cwork.netWorkType == UNSET_INT_PARAM) { in GetNetWorkInfo() 138 } else if (cwork.netWorkType >= WorkCondition::Network::NETWORK_TYPE_ANY && in GetNetWorkInfo() 139 cwork.netWorkType <= WorkCondition::Network::NETWORK_TYPE_ETHERNET) { in GetNetWorkInfo() 140 workInfo.RequestNetworkType(WorkCondition::Network(cwork.netWorkType)); in GetNetWorkInfo() 245 cwork.netWorkType = workInfo->GetNetworkType(); in ParseWorkInfo()
|
H A D | work_scheduler_ffi.h | 31 int32_t netWorkType; member
|
/ohos5.0/foundation/filemanagement/dfs_service/test/mock/ |
H A D | device_manager_impl_mock.cpp | 319 int32_t &netWorkType) in GetNetworkTypeByNetworkId() argument 327 netWorkType = NETWORKTYPE_WITH_WIFI; in GetNetworkTypeByNetworkId() 331 netWorkType = NETWORKTYPE_NONE_WIFI; in GetNetworkTypeByNetworkId()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
H A D | device_manager_adapter.cpp | 693 DeviceManagerAdapter::NetworkType DeviceManagerAdapter::SetNet(NetworkType netWorkType) in SetNet() argument 696 …bool ready = oldNet == NONE && netWorkType != NONE && (GetTimeStamp() - netLostTime_) > NET_LOST_D… in SetNet() 697 bool offline = oldNet != NONE && netWorkType == NONE; in SetNet() 701 defaultNetwork_ = netWorkType; in SetNet() 709 return netWorkType; in SetNet()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/softbus/ |
H A D | softbus_agent_test.cpp | 65 int32_t &netWorkType) in GetNetworkTypeByNetworkId() argument 72 netWorkType = NETWORKTYPE_WITH_WIFI; in GetNetworkTypeByNetworkId() 76 netWorkType = NETWORKTYPE_NONE_WIFI; in GetNetworkTypeByNetworkId()
|
/ohos5.0/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_send_indexer.h | 74 void SetNetWorkType(NetWorkType netWorkType);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/communicator/ |
H A D | device_manager_adapter.h | 89 NetworkType SetNet(NetworkType netWorkType);
|
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_device_manager_impl.cpp | 1651 int32_t netWorkType = 0; variable 1652 …32_t ret = DeviceManager::GetInstance().GetNetworkTypeByNetworkId(pkgName, networkId, netWorkType); 1655 ret = DeviceManager::GetInstance().GetNetworkTypeByNetworkId(pkgName, networkId, netWorkType); 1659 ret = DeviceManager::GetInstance().GetNetworkTypeByNetworkId(pkgName, networkId, netWorkType); 1662 ret = DeviceManager::GetInstance().GetNetworkTypeByNetworkId(pkgName, networkId, netWorkType); 1667 ret = DeviceManager::GetInstance().GetNetworkTypeByNetworkId(pkgName, networkId, netWorkType);
|
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ |
H A D | device_manager.h | 406 const std::string &netWorkId, int32_t &netWorkType) = 0;
|
H A D | device_manager_impl.h | 339 int32_t &netWorkType) override;
|
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ |
H A D | device_manager_impl.cpp | 1451 int32_t &netWorkType) in GetNetworkTypeByNetworkId() argument 1455 "%{public}d", pkgName.c_str(), GetAnonyString(netWorkId).c_str(), netWorkType); in GetNetworkTypeByNetworkId() 1476 netWorkType = rsp->GetNetworkType(); in GetNetworkTypeByNetworkId()
|