/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
H A D | fillp_flow_control_alg0.c | 36 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 D | fillp_flow_control.c | 170 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 D | prop_n_operation.h | 30 static bool UpdateSendRate(std::string &bundleName, int32_t sendRate);
|
H A D | prop_n_operation.cpp | 250 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 D | svc_extension_proxy_mock.cpp | 71 ErrCode SvcExtensionProxy::UpdateFdSendRate(std::string &bundleName, int32_t sendRate) in UpdateFdSendRate() argument
|
H A D | service_stub_mock.cpp | 259 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 D | svc_extension_proxy.h | 37 ErrCode UpdateFdSendRate(std::string &bundleName, int32_t sendRate) override;
|
/foundation/filemanagement/app_file_service/interfaces/inner_api/native/backup_kit_inner/impl/ |
H A D | i_extension.h | 42 virtual ErrCode UpdateFdSendRate(std::string &bundleName, int32_t sendRate) = 0;
|
H A D | service_proxy.h | 70 ErrCode UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) override;
|
H A D | i_service.h | 87 virtual ErrCode UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) = 0;
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | ext_extension_stub.cpp | 240 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 D | sub_ext_extension.cpp | 249 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 D | ext_extension_mock.cpp | 183 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 D | svc_extension_proxy.cpp | 185 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 D | service_stub.cpp | 441 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 D | svc_extension_proxy_test.cpp | 308 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 D | nstackx_dfile_session.c | 499 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 D | nstackx_dfile_config.c | 74 dFileConfig->sendRate = in GetFileConfigP2p() 87 dFileConfig->sendRate = in GetFileConfigWlan()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_dfile_config.h | 35 uint16_t sendRate; member
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/include/ |
H A D | ext_extension_mock.h | 137 ErrCode UpdateFdSendRate(std::string &bundleName, int32_t sendRate) override
|
H A D | i_service_mock.h | 156 ErrCode UpdateSendRate(std::string &bundleName, int32_t sendRate, bool &result) override
|
/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/ |
H A D | service_proxy_mock.cpp | 194 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 D | service_proxy_mock.cpp | 175 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 D | fillp_pcb.h | 104 FILLP_UINT32 sendRate; /* kbps */ member
|
/foundation/filemanagement/app_file_service/test/fuzztest/backupservicestub_fuzzer/ |
H A D | backupservicestub_fuzzer.cpp | 598 int32_t sendRate = TypeCast<int32_t>(data, &pos); in CmdUpdateSendRateFuzzTest() local 600 msg.WriteInt32(sendRate); in CmdUpdateSendRateFuzzTest()
|