Home
last modified time | relevance | path

Searched refs:sendRate (Results 1 - 25 of 37) sorted by relevance

12

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_flow_control_alg0.c36 if (flowControl->sendRate < minRate) { in FillpAlg0CalSendInterval()
37 flowControl->sendRate = minRate; in FillpAlg0CalSendInterval()
38 } else if (flowControl->sendRate > alg->maxRateAllowed) { in FillpAlg0CalSendInterval()
39 flowControl->sendRate = alg->maxRateAllowed; in FillpAlg0CalSendInterval()
107 pcb->send.flowControl.sendRate = FILLP_FC0_DEFAULT_RATE; in FillpAlg0FcInit()
180 flowControl->sendRate = baseSendRate; in FillpAlg0FcHandleInit()
201 flowControl->sendRate = baseSendRate; in FillpAlg0FcHandleBwProbe()
H A Dfillp_flow_control.c170 flowControl->sendRate = sock->resConf.flowControl.maxRate; in FillpCalSendInterval()
173 if (flowControl->sendRate == 0) { in FillpCalSendInterval()
181 flowControl->sendInterval = FILLP_DIV_ROUND_UP(flowControl->sendInterval, (FILLP_LLONG)flowControl->sendRate); in FillpCalSendInterval()
279 pcb->send.flowControl.sendRate = FILLP_INITIAL_RATE; in FillpFcInit()
280 FILLP_LOGDBG("slowStart:%u init_rate:%u", pcb->send.slowStart, pcb->send.flowControl.sendRate); in FillpFcInit()
284 pcb->send.flowControl.sendRate = g_resource.flowControl.maxRate; in FillpFcInit()
285 FILLP_LOGDBG("slowStart not enabled, init_rate:%u", pcb->send.flowControl.sendRate); in FillpFcInit()
/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/
H A Dprop_n_operation.h30 static bool UpdateSendRate(std::string &bundleName, int32_t sendRate);
H A Dprop_n_operation.cpp250 bool PropNOperation::UpdateSendRate(std::string &bundleName, int32_t sendRate) in UpdateSendRate() argument
259 ErrCode errCode = proxy->UpdateSendRate(bundleName, sendRate, result); in UpdateSendRate()
/foundation/filemanagement/app_file_service/tests/mock/module_ipc/
H A Dsvc_extension_proxy_mock.cpp71 ErrCode SvcExtensionProxy::UpdateFdSendRate(std::string &bundleName, int32_t sendRate) in UpdateFdSendRate() argument
H A Dservice_stub_mock.cpp259 int32_t sendRate; in CmdUpdateSendRate() local
260 if (!data.ReadInt32(sendRate)) { in CmdUpdateSendRate()
261 return BError(BError::Codes::SA_BROKEN_IPC, string("Failed to recive sendRate")); in CmdUpdateSendRate()
264 ret = UpdateSendRate(bundleName, sendRate, result); in CmdUpdateSendRate()
/foundation/filemanagement/app_file_service/services/backup_sa/include/module_ipc/
H A Dsvc_extension_proxy.h37 ErrCode UpdateFdSendRate(std::string &bundleName, int32_t sendRate) override;
/foundation/filemanagement/app_file_service/interfaces/inner_api/native/backup_kit_inner/impl/
H A Di_extension.h42 virtual ErrCode UpdateFdSendRate(std::string &bundleName, int32_t sendRate) = 0;
H A Dservice_proxy.h70 ErrCode UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) override;
H A Di_service.h87 virtual ErrCode UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) = 0;
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dext_extension_stub.cpp240 int32_t sendRate;
241 if (!data.ReadInt32(sendRate)) {
242 return BError(BError::Codes::EXT_INVAL_ARG, "Failed to receive sendRate").GetCode();
244 int ret = UpdateFdSendRate(bundleName, sendRate);
H A Dsub_ext_extension.cpp249 ErrCode BackupExtExtension::UpdateFdSendRate(std::string &bundleName, int32_t sendRate) in UpdateFdSendRate() argument
253 HILOGI("Update SendRate, bundleName:%{public}s, sendRate:%{public}d", bundleName.c_str(), sendRate); in UpdateFdSendRate()
256 sendRate_ = sendRate; in UpdateFdSendRate()
257 if (sendRate > 0) { in UpdateFdSendRate()
/foundation/filemanagement/app_file_service/tests/mock/backup_ext/src/
H A Dext_extension_mock.cpp183 ErrCode BackupExtExtension::UpdateFdSendRate(std::string &bundleName, int32_t sendRate) in UpdateFdSendRate() argument
185 return BExtExtension::extExtension->UpdateFdSendRate(bundleName, sendRate); in UpdateFdSendRate()
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsvc_extension_proxy.cpp185 ErrCode SvcExtensionProxy::UpdateFdSendRate(std::string &bundleName, int32_t sendRate) in UpdateFdSendRate() argument
195 if (!data.WriteInt32(sendRate)) { in UpdateFdSendRate()
196 BError(BError::Codes::SDK_INVAL_ARG, "Failed to send sendRate"); in UpdateFdSendRate()
H A Dservice_stub.cpp441 int32_t sendRate; in CmdUpdateSendRate() local
442 if (!data.ReadInt32(sendRate)) { in CmdUpdateSendRate()
443 return BError(BError::Codes::SA_BROKEN_IPC, string("Failed to recive sendRate")); in CmdUpdateSendRate()
446 ret = UpdateSendRate(bundleName, sendRate, result); in CmdUpdateSendRate()
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dsvc_extension_proxy_test.cpp308 int32_t sendRate = 0; in HWTEST_F() local
312 ErrCode ret = proxy_->UpdateFdSendRate(bundleName, sendRate); in HWTEST_F()
319 ret = proxy_->UpdateFdSendRate(bundleName, sendRate); in HWTEST_F()
327 ret = proxy_->UpdateFdSendRate(bundleName, sendRate); in HWTEST_F()
336 ret = proxy_->UpdateFdSendRate(bundleName, sendRate); in HWTEST_F()
345 ret = proxy_->UpdateFdSendRate(bundleName, sendRate); in HWTEST_F()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_session.c499 peerInfo->maxSendRate = dFileConfig->sendRate; in SetDFileSessionConfig()
505 peerInfo->sendRate = dFileConfig->sendRate / NSTACKX_WLAN_INIT_SPEED_DIVISOR; in SetDFileSessionConfig()
507 peerInfo->sendRate = dFileConfig->sendRate / NSTACKX_P2P_INIT_SPEED_DIVISOR; in SetDFileSessionConfig()
512 peerInfo->sendRate = (uint16_t)(NSTACKX_WLAN_INIT_RATE / MSEC_TICKS_PER_SEC * DATA_FRAME_SEND_INTERVAL_MS in SetDFileSessionConfig()
516 if (peerInfo->sendRate < NSTACKX_MIN_SENDRATE) { in SetDFileSessionConfig()
517 peerInfo->sendRate = NSTACKX_MIN_SENDRATE; in SetDFileSessionConfig()
525 connType, peerInfo->sendRate, peerInfo->maxSendRate, peerInfo->dataFrameSize); in SetDFileSessionConfig()
1043 peerInfo->amendSendRate = peerInfo->sendRate; in AmendPeerInfoSendRate()
[all...]
H A Dnstackx_dfile_config.c74 dFileConfig->sendRate = in GetFileConfigP2p()
87 dFileConfig->sendRate = in GetFileConfigWlan()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_dfile_config.h35 uint16_t sendRate; member
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/include/
H A Dext_extension_mock.h137 ErrCode UpdateFdSendRate(std::string &bundleName, int32_t sendRate) override
H A Di_service_mock.h156 ErrCode UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) override
/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/
H A Dservice_proxy_mock.cpp194 ErrCode ServiceProxy::UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) in UpdateSendRate() argument
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/session/
H A Dservice_proxy_mock.cpp175 ErrCode ServiceProxy::UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) in UpdateSendRate() argument
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_pcb.h104 FILLP_UINT32 sendRate; /* kbps */ member
/foundation/filemanagement/app_file_service/test/fuzztest/backupservicestub_fuzzer/
H A Dbackupservicestub_fuzzer.cpp598 int32_t sendRate = TypeCast<int32_t>(data, &pos); in CmdUpdateSendRateFuzzTest() local
600 msg.WriteInt32(sendRate); in CmdUpdateSendRateFuzzTest()

Completed in 16 milliseconds

12