/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/src/ |
H A D | client_trans_socket_service.c | 120 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… in Listen() argument 123 return ClientListen(socket, qos, qosCount, listener); in Listen() 126 static int32_t StartBindWaitTimer(int32_t socket, const QosTV qos[], uint32_t qosCount) in StartBindWaitTimer() argument 144 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() argument 151 int32_t ret = StartBindWaitTimer(socket, qos, qosCount); in Bind() 160 ret = ClientBind(socket, qos, qosCount, listener, false); in Bind() 169 int32_t BindAsync(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *list… in BindAsync() argument 177 int32_t ret = StartBindWaitTimer(socket, qos, qosCount); in BindAsync() 186 ret = ClientBind(socket, qos, qosCount, listener, true); in BindAsync() 205 (qos == NULL && qosCount != 0) || (qosCount > QOS_TYPE_BUTT)) { in EvaluateQos() [all …]
|
H A D | client_trans_session_service.c | 254 param->qosCount = 0; in InitSessionParam() 512 .qosCount = 0, in OpenSessionSync() 1062 static int32_t GetMaxIdleTimeout(const QosTV *qos, uint32_t qosCount, uint32_t *maxIdleTimeout) in GetMaxIdleTimeout() argument 1066 …int32_t ret = GetQosValue(qos, qosCount, QOS_TYPE_MAX_IDLE_TIMEOUT, &tmpIdleTime, TRANS_DEFAULT_MA… in GetMaxIdleTimeout() 1108 int32_t ClientBind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *lis… in ClientBind() argument 1111 !IsValidAsyncBindSocketListener(listener, isAsync) || !IsValidQosInfo(qos, qosCount)) { in ClientBind() 1128 ret = GetMaxIdleTimeout(qos, qosCount, &maxIdleTimeout); in ClientBind() 1137 ret = ClientIpcOpenSession(socket, qos, qosCount, &transInfo, isAsync); in ClientBind() 1161 int32_t ClientListen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *l… in ClientListen() argument 1163 if (!IsValidSocketListener(listener, true) || !IsValidQosInfo(qos, qosCount)) { in ClientListen() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_input/common/test/mock/ |
H A D | socket_mock.cpp | 24 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… in Listen() argument 28 (void)qosCount; in Listen() 33 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() argument 37 (void)qosCount; in Bind() 81 …EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in EvaluateQos() argument 86 (void)qosCount; in EvaluateQos()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/ |
H A D | session_mock.cpp | 30 int Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Listen() argument 34 (void)qosCount; in Listen() 39 int Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() argument 43 (void)qosCount; in Bind() 87 …EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in EvaluateQos() argument 92 (void)qosCount; in EvaluateQos()
|
H A D | socket.h | 160 void (*OnQos)(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount); 188 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… 207 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener); 312 …valuateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount);
|
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/transport/ |
H A D | socket.h | 167 void (*OnQos)(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount); 229 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… 249 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener); 268 int32_t BindAsync(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *list… 373 …valuateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount);
|
/ohos5.0/foundation/filemanagement/dfs_service/test/mock/ |
H A D | socket_mock.cpp | 24 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… in Listen() argument 26 return DfsSocket::dfsSocket->Listen(socket, qos, qosCount, listener); in Listen() 29 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() argument 31 return DfsSocket::dfsSocket->Bind(socket, qos, qosCount, listener); in Bind()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | dbinder_softbus_client.cpp | 163 int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Listen() argument 167 return listenFunc_(socket, qos, qosCount, listener); in Listen() 180 return listenFunc_(socket, qos, qosCount, listener); in Listen() 184 int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() argument 188 return bindFunc_(socket, qos, qosCount, listener); in Bind() 201 return bindFunc_(socket, qos, qosCount, listener); in Bind()
|
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/softbus/ |
H A D | softbus_adapter.cpp | 61 static void DmOnQosEvent(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) in DmOnQosEvent() argument 63 SoftbusAdapter::GetInstance().OnQosEvent(socket, eventId, qos, qosCount); in DmOnQosEvent() 156 …busAdapter::OnQosEvent(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) const in OnQosEvent() 160 (void)qosCount; in OnQosEvent()
|
/ohos5.0/foundation/communication/dsoftbus/core/frame/small/init/src/ |
H A D | trans_server_stub.c | 173 if (!ReadUint32(req, ¶m->qosCount)) { in ReadQosInfo() 178 if (param->qosCount == 0) { in ReadQosInfo() 182 if (param->qosCount > QOS_TYPE_BUTT) { in ReadQosInfo() 183 TRANS_LOGE(TRANS_SDK, "read invalid qosCount=%{public}" PRIu32, param->qosCount); in ReadQosInfo() 187 const QosTV *qosInfo = (QosTV *)ReadBuffer(req, sizeof(QosTV) * param->qosCount); in ReadQosInfo() 193 …py_s(param->qos, sizeof(QosTV) * QOS_TYPE_BUTT, qosInfo, sizeof(QosTV) * param->qosCount) != EOK) { in ReadQosInfo()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_session_adapter.h | 28 int32_t ClientListen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *l… 29 int32_t ClientBind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *lis…
|
H A D | client_trans_session_manager.h | 230 int32_t sessionId, const QosTV *qos, uint32_t qosCount, TransInfo *transInfo, bool isAsync); 262 inline bool IsValidQosInfo(const QosTV qos[], uint32_t qosCount) in IsValidQosInfo() argument 264 return (qos == NULL) ? (qosCount == 0) : (qosCount <= QOS_TYPE_BUTT); in IsValidQosInfo()
|
/ohos5.0/base/security/access_token/services/tokensyncmanager/test/mock/include/ |
H A D | socket.h | 333 void (*OnQos)(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount); 361 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… 380 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener);
|
/ohos5.0/foundation/distributedhardware/device_manager/test/softbusunittest/ |
H A D | UTTest_softbus_adapter.cpp | 113 uint32_t qosCount = 1; variable 114 SoftbusAdapter::GetInstance().OnQosEvent(socket, eventId, qosInfo, qosCount); 174 uint32_t qosCount = 1; variable 175 SoftbusAdapter::GetInstance().iSocketListener_.OnQos(socket, eventId, qosInfo, qosCount);
|
/ohos5.0/foundation/communication/dsoftbus/core/frame/standard/init/src/ |
H A D | softbus_server.cpp | 380 static void ConvertQosInfo(const QosTV *qos, uint32_t qosCount, QosInfo *qosInfo) in ConvertQosInfo() argument 382 if (qos == NULL || qosCount == 0) { in ConvertQosInfo() 386 for (uint32_t i = 0; i < qosCount; i++) { in ConvertQosInfo() 404 uint32_t qosCount) in EvaluateQos() argument 407 || qosCount > QOS_TYPE_BUTT) { in EvaluateQos() 422 ConvertQosInfo(qos, qosCount, &qosInfo); in EvaluateQos()
|
/ohos5.0/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbusadapterobject_fuzzer/ |
H A D | softbus_adapter_object_fuzzer.cpp | 32 uint32_t qosCount = 3; in SoftbusAdapterFuzzTest() local 54 SoftbusAdapter::GetInstance().iSocketListener_.OnQos(socket, eventId, qos, qosCount); in SoftbusAdapterFuzzTest()
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/ |
H A D | mock_soft_bus.cpp | 104 int Listen(int32_t socket, const QosTV *qos, uint32_t qosCount, const ISocketListener *listener) in Listen() argument 112 int Bind(int32_t socket, const QosTV *qos, uint32_t qosCount, const ISocketListener *listener) in Bind() argument
|
/ohos5.0/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussessionobject_fuzzer/ |
H A D | softbus_session_object_fuzzer.cpp | 73 uint32_t qosCount = 3; in SoftBusSessionFuzzTest() local 85 softbusSession->iSocketListener_.OnQos(socket, eventId, qos, qosCount); in SoftBusSessionFuzzTest()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/ipc/small/ |
H A D | trans_server_proxy.c | 73 if (!WriteUint32(request, param->qosCount)) { in WriteQosInfo() 78 if (param->qosCount > 0) { in WriteQosInfo() 79 if (!WriteBuffer(request, param->qos, sizeof(QosTV) * param->qosCount)) { in WriteQosInfo() 448 …EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in ServerIpcEvaluateQos() argument 453 (void)qosCount; in ServerIpcEvaluateQos()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/ |
H A D | dbinder_softbus_client.h | 49 …int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listen… 50 …int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener…
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/transport/ |
H A D | dh_transport.cpp | 209 void OnQos(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) in OnQos() argument 211 if (qosCount == 0 || qosCount > MAX_ROUND_SIZE) { in OnQos() 216 socket, (int32_t)eventId, qosCount); in OnQos() 217 for (uint32_t idx = 0; idx < qosCount; idx++) { in OnQos()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/ipc/mini/ |
H A D | trans_server_proxy.c | 133 …EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in ServerIpcEvaluateQos() argument 138 (void)qosCount; in ServerIpcEvaluateQos()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/bind_fuzzer/ |
H A D | bind_fuzzer.cpp | 63 static void OnQosFuzzTest(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) in OnQosFuzzTest() argument 68 (void)qosCount; in OnQosFuzzTest()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/listen_fuzzer/ |
H A D | listen_fuzzer.cpp | 63 static void OnQosFuzzTest(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) in OnQosFuzzTest() argument 68 (void)qosCount; in OnQosFuzzTest()
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/ |
H A D | softbus_session.cpp | 53 static void OnQos(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) in OnQos() argument 56 qosCount); in OnQos() 57 for (uint32_t idx = 0; idx < qosCount; idx++) { in OnQos()
|