Home
last modified time | relevance | path

Searched refs:quotaInBytes (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/connection/manager/
H A Dsoftbus_conn_flow_control.c56 if (self->quotaInBytes <= appliedTotal) { in Apply()
62 int32_t remain = self->quotaInBytes - appliedTotal; in Apply()
89 … struct ConnSlideWindowController *self, bool active, int32_t windowInMillis, int32_t quotaInBytes) in ChangeConfiguration() argument
95 …CONN_CHECK_AND_RETURN_RET_LOGE(quotaInBytes >= MIN_QUOTA_IN_BYTES && quotaInBytes <= MAX_QUOTA_IN_… in ChangeConfiguration()
96 SOFTBUS_INVALID_PARAM, CONN_COMMON, "invalid parameter, quota=%u", quotaInBytes); in ChangeConfiguration()
103 self->quotaInBytes = quotaInBytes; in ChangeConfiguration()
111 …nt32_t Enable(struct ConnSlideWindowController *self, int32_t windowInMillis, int32_t quotaInBytes) in Enable() argument
113 return ChangeConfiguration(self, true, windowInMillis, quotaInBytes); in Enable()
129 self->quotaInBytes = -1; in ConnSlideWindowControllerConstructor()
H A Dsoftbus_conn_flow_control.h37 …_t (*enable)(struct ConnSlideWindowController *self, int32_t windowInMillis, int32_t quotaInBytes);
44 int32_t quotaInBytes; member
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/manager/
H A Dconnection_flow_control_test.cpp94 int32_t quotaInBytes = MIN_QUOTA_IN_BYTES; variable
95 ret = controller->enable(controller, windowInMillis, quotaInBytes);
98 int32_t applyValue = quotaInBytes / 2;
106 int32_t remain = quotaInBytes - got;
124 applyValue = quotaInBytes + 1;
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_conn_interface.h239 int32_t quotaInBytes; member
/ohos5.0/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_trans.c538 …owController->enable(g_flowController, configuration->windowInMillis, configuration->quotaInBytes); in ConnBrTransConfigPostLimit()
541 …public}d", configuration->active, configuration->windowInMillis, configuration->quotaInBytes, ret); in ConnBrTransConfigPostLimit()
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_trans.c502 …owController->enable(g_flowController, configuration->windowInMillis, configuration->quotaInBytes); in ConnBleTransConfigPostLimit()
505 …public}d", configuration->active, configuration->windowInMillis, configuration->quotaInBytes, ret); in ConnBleTransConfigPostLimit()