/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/evaluateqos_fuzzer/ |
H A D | evaluateqos_fuzzer.cpp | 41 QosTV qosInfo[] = { in EvaluateQosTestWithNetworkId() 61 QosTV qosInfo[] = { in EvaluateQosTestWithDataType() 73 if ((data == nullptr) || (size < sizeof(QosTV))) { in EvaluateQosTestWithQosInfo() 77 size_t count = size / sizeof(QosTV); in EvaluateQosTestWithQosInfo() 82 std::unique_ptr<QosTV[]> qosInfo = std::make_unique<QosTV[]>(count); in EvaluateQosTestWithQosInfo() 83 if (memcpy_s(qosInfo.get(), sizeof(QosTV) * count, data, sizeof(QosTV) * count) != EOK) { in EvaluateQosTestWithQosInfo()
|
/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() 95 QosTV qosInfo[] = { in BindTestWithSocketId() 118 if ((data == nullptr) || (size < sizeof(QosTV))) { in BindTestWithQosInfo() 124 size_t count = size / sizeof(QosTV); in BindTestWithQosInfo() 129 std::unique_ptr<QosTV[]> qosInfo = std::make_unique<QosTV[]>(count); in BindTestWithQosInfo() 130 if (memcpy_s(qosInfo.get(), sizeof(QosTV) * count, data, sizeof(QosTV) * count) != EOK) { in BindTestWithQosInfo()
|
/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() 95 QosTV qosInfo[] = { in ListenTestWithSocketId() 118 if ((data == nullptr) || (size < sizeof(QosTV))) { in ListenTestWithQosInfo() 124 size_t count = size / sizeof(QosTV); in ListenTestWithQosInfo() 129 std::unique_ptr<QosTV[]> qosInfo = std::make_unique<QosTV[]>(count); in ListenTestWithQosInfo() 130 if (memcpy_s(qosInfo.get(), sizeof(QosTV) * count, data, sizeof(QosTV) * count) != EOK) { in ListenTestWithQosInfo()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
H A D | softbus_client.h | 55 Status Open(int32_t socket, const QosTV qos[], const ISocketListener *listener); 66 static constexpr QosTV QOS_INFOS[QOS_BUTT][QOS_COUNT] = { 68 QosTV{ .qos = QOS_TYPE_MIN_BW, .value = 0x5a5a5a5a }, 69 QosTV{ .qos = QOS_TYPE_MAX_LATENCY, .value = 15000 }, 70 QosTV{ .qos = QOS_TYPE_MIN_LATENCY, .value = 1600 } 73 QosTV{ .qos = QOS_TYPE_MIN_BW, .value = 90 * 1024 * 1024 }, 74 QosTV{ .qos = QOS_TYPE_MAX_LATENCY, .value = 10000 }, 75 QosTV{ .qos = QOS_TYPE_MIN_LATENCY, .value = 2000 }
|
/foundation/filemanagement/dfs_service/test/mock/ |
H A D | socket_mock.h | 29 virtual int32_t Listen(int32_t, const QosTV qos[], uint32_t, const ISocketListener *) = 0; 30 virtual int32_t Bind(int32_t, const QosTV qos[], uint32_t, const ISocketListener *) = 0; 39 MOCK_METHOD4(Listen, int32_t(int32_t, const QosTV qos[], uint32_t, const ISocketListener *)); 40 MOCK_METHOD4(Bind, int32_t(int32_t, const QosTV qos[], uint32_t, const ISocketListener *));
|
H A D | socket_mock.cpp | 24 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Listen() 29 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind()
|
/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 *listener);
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 *listener);
373 int32_t EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount);
|
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/ |
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 *listener); 207 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener); 312 int32_t EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount);
|
H A D | session_mock.cpp | 30 int Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Listen() 39 int Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() 87 int32_t EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in EvaluateQos()
|
H A D | trans_type.h | 131 } QosTV; typedef
|
/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 *listener) in Listen() 33 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() 81 int32_t EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in EvaluateQos()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/mock/ |
H A D | socket_mock.cpp | 24 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Listen() 33 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() 81 int32_t EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in EvaluateQos()
|
/foundation/communication/ipc/ipc/native/src/core/include/ |
H A D | dbinder_softbus_client.h | 47 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener); 48 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener); 61 using ListenFunc = int32_t (*)(int32_t, const QosTV[], uint32_t, const ISocketListener*); 62 using BindFunc = int32_t (*)(int32_t, const QosTV[], uint32_t, const ISocketListener*);
|
H A D | databus_socket_listener.h | 28 static constexpr QosTV QOS_TV[] = {
33 static constexpr uint32_t QOS_COUNT = static_cast<uint32_t>(sizeof(QOS_TV) / sizeof(QosTV));
|
/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 *listener); 29 int32_t ClientBind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener, bool isAsync);
|
H A D | client_trans_socket_manager.h | 85 int32_t GetQosValue(const QosTV *qos, uint32_t qosCount, QosType type, int32_t *value, int32_t defVal);
|
/foundation/communication/ipc/services/dbinder/dbinder_service/include/ |
H A D | dbinder_remote_listener.h | 64 static constexpr QosTV QOS_TV[] = { 70 static constexpr uint32_t QOS_COUNT = static_cast<uint32_t>(sizeof(QOS_TV) / sizeof(QosTV));
|
/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() 112 int Bind(int32_t socket, const QosTV *qos, uint32_t qosCount, const ISocketListener *listener)
in Bind()
|
/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 *listener) in Listen() 126 static int32_t StartBindWaitTimer(int32_t socket, const QosTV qos[], uint32_t qosCount) in StartBindWaitTimer() 144 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() 169 int32_t BindAsync(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in BindAsync() 202 int32_t EvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in EvaluateQos()
|
/foundation/communication/dsoftbus/core/frame/small/init/src/ |
H A D | trans_server_stub.c | 187 const QosTV *qosInfo = (QosTV *)ReadBuffer(req, sizeof(QosTV) * param->qosCount); in ReadQosInfo() 193 if (memcpy_s(param->qos, sizeof(QosTV) * QOS_TYPE_BUTT, qosInfo, sizeof(QosTV) * param->qosCount) != EOK) { in ReadQosInfo()
|
/foundation/communication/dsoftbus/sdk/transmission/ipc/include/ |
H A D | trans_server_proxy.h | 44 int32_t ServerIpcEvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount);
|
/foundation/communication/dsoftbus/core/transmission/common/include/ |
H A D | softbus_trans_def.h | 39 QosTV qos[QOS_TYPE_BUTT];
|
/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() 184 int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind()
|
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussessionobject_fuzzer/ |
H A D | softbus_session_object_fuzzer.cpp | 64 QosTV qos[] = { in SoftBusSessionFuzzTest()
|
/foundation/communication/dsoftbus/sdk/transmission/ipc/mini/ |
H A D | trans_server_proxy.c | 133 int32_t ServerIpcEvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in ServerIpcEvaluateQos()
|