Home
last modified time | relevance | path

Searched refs:QosTV (Results 1 - 25 of 68) sorted by relevance

123

/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/evaluateqos_fuzzer/
H A Devaluateqos_fuzzer.cpp41 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 Dbind_fuzzer.cpp63 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 Dlisten_fuzzer.cpp63 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 Dsoftbus_client.h55 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 Dsocket_mock.h29 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 Dsocket_mock.cpp24 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 Dsocket.h167 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 Dsocket.h160 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 Dsession_mock.cpp30 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 Dtrans_type.h131 } QosTV; typedef
/foundation/distributedhardware/distributed_input/common/test/mock/
H A Dsocket_mock.cpp24 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 Dsocket_mock.cpp24 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 Ddbinder_softbus_client.h47 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 Ddatabus_socket_listener.h28 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 Dclient_trans_session_adapter.h28 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 Dclient_trans_socket_manager.h85 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 Ddbinder_remote_listener.h64 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 Dmock_soft_bus.cpp104 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 Dclient_trans_socket_service.c120 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 Dtrans_server_stub.c187 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 Dtrans_server_proxy.h44 int32_t ServerIpcEvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount);
/foundation/communication/dsoftbus/core/transmission/common/include/
H A Dsoftbus_trans_def.h39 QosTV qos[QOS_TYPE_BUTT];
/foundation/communication/ipc/ipc/native/src/core/source/
H A Ddbinder_softbus_client.cpp163 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 Dsoftbus_session_object_fuzzer.cpp64 QosTV qos[] = { in SoftBusSessionFuzzTest()
/foundation/communication/dsoftbus/sdk/transmission/ipc/mini/
H A Dtrans_server_proxy.c133 int32_t ServerIpcEvaluateQos(const char *peerNetworkId, TransDataType dataType, const QosTV *qos, uint32_t qosCount) in ServerIpcEvaluateQos()

Completed in 9 milliseconds

123