/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | vtp_stream_socket.h | 68 bool SetOption(int type, const StreamAttr &value) override; 70 StreamAttr GetOption(int type) const override; 84 using MySetFunc = bool (VtpStreamSocket::*)(int, const StreamAttr &); 85 using MyGetFunc = StreamAttr (VtpStreamSocket::*)(int) const; 124 bool SetIpTos(int fd, const StreamAttr &tos); 125 StreamAttr GetIpTos(int type = -1) const; 126 StreamAttr GetStreamSocketFd(int type = -1) const; 127 StreamAttr GetListenSocketFd(int type = -1) const; 129 bool SetSocketBindToDevices(int type, const StreamAttr &ip); 130 bool SetVtpStackConfigDelayed(int type, const StreamAttr [all...] |
H A D | stream_manager.cpp | 64 if (!streamSocket->SetOption(SCENE, StreamAttr(scene))) { in CreateStreamClientChannel() 99 if (!streamSocket->SetOption(SCENE, StreamAttr(scene))) { in CreateStreamServerChannel() 130 bool StreamManager::SetOption(int type, const StreamAttr &value) in SetOption() 152 StreamAttr StreamManager::GetOption(int type) const in GetOption() 159 return std::move(StreamAttr()); in GetOption()
|
H A D | vtp_stream_socket.cpp | 48 void PrintOptionInfo(int type, const StreamAttr &value) in PrintOptionInfo() 64 TRANS_LOGE(TRANS_STREAM, "Wrong StreamAttr!"); in PrintOptionInfo() 621 if (!SetNonBlockMode(streamFd_, StreamAttr(false))) { in Send() 660 bool VtpStreamSocket::SetOption(int type, const StreamAttr &value) in SetOption() 698 StreamAttr VtpStreamSocket::GetOption(int type) const in GetOption() 700 StreamAttr attr {}; in GetOption() 706 return std::move(StreamAttr()); in GetOption() 999 if (!SetNonBlockMode(fd, StreamAttr(true))) { in SetSocketEpollMode() 1204 if (!SetIpTos(fd, StreamAttr(static_cast<int>(IPTOS_LOWDELAY)))) { in SetDefaultConfig() 1221 if (!SetOption(RECV_BUF_SIZE, StreamAttr(static_cas in SetDefaultConfig() [all...] |
H A D | stream_manager.h | 91 bool SetOption(int type, const StreamAttr &value) override; 93 StreamAttr GetOption(int type) const override;
|
H A D | i_stream_socket.h | 77 virtual bool SetOption(int type, const StreamAttr &value) = 0; 79 virtual StreamAttr GetOption(int type) const = 0;
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/include/ |
H A D | stream_common.h | 130 struct StreamAttr { struct 132 StreamAttr() = default; 133 ~StreamAttr() = default; 134 explicit StreamAttr(bool flag) : type_(BOOL_TYPE), boolVal_(flag) {} in StreamAttr() function 135 explicit StreamAttr(int value) : type_(INT_TYPE), intVal_(value) {} in StreamAttr() function 136 explicit StreamAttr(std::string str) : type_(STRING_TYPE), strVal_(str) {} in StreamAttr() function
|
H A D | i_stream_manager.h | 66 virtual bool SetOption(int type, const StreamAttr &value) = 0; 68 virtual StreamAttr GetOption(int type) const = 0;
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/vtp_stream_socket_test/ |
H A D | vtp_stream_socket_test.cpp | 218 StreamAttr *value = (StreamAttr*)SoftBusMalloc(sizeof(StreamAttr)); in HWTEST_F() 220 (void)memset_s(value, sizeof(StreamAttr), 0, sizeof(StreamAttr)); in HWTEST_F() 251 StreamAttr *value = (StreamAttr*)SoftBusMalloc(sizeof(StreamAttr)); in HWTEST_F() 253 (void)memset_s(value, sizeof(StreamAttr), 0, sizeof(StreamAttr)); in HWTEST_F() [all...] |
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/stream_manager_test/ |
H A D | stream_manager_test.cpp | 170 Communication::SoftBus::StreamAttr *value = in HWTEST_F() 171 (Communication::SoftBus::StreamAttr*)SoftBusMalloc(sizeof(Communication::SoftBus::StreamAttr)); in HWTEST_F() 172 (void)memset_s(value, sizeof(Communication::SoftBus::StreamAttr), 0, sizeof(Communication::SoftBus::StreamAttr)); in HWTEST_F() 174 Communication::SoftBus::StreamAttr *values = in HWTEST_F() 175 (Communication::SoftBus::StreamAttr*)SoftBusMalloc(sizeof(Communication::SoftBus::StreamAttr)); in HWTEST_F() 176 (void)memset_s(values, sizeof(Communication::SoftBus::StreamAttr), 0, sizeof(Communication::SoftBus::StreamAttr)); in HWTEST_F() [all...] |
/foundation/multimedia/media_utils_lite/hals/ |
H A D | hal_camera.h | 80 } StreamAttr;
typedef 155 StreamAttr attr;
224 int32_t HalCameraStreamCreate(uint32_t cameraId, const StreamAttr *stream, uint32_t *streamId);
|
/foundation/multimedia/camera_lite/services/impl/src/ |
H A D | camera_device.cpp | 97 StreamAttr stream, in CameraCreateVideoEnc() 235 static int32_t CameraCreateJpegEnc(FrameConfig &fc, StreamAttr stream, uint32_t srcDev, CODEC_HANDLETYPE *codecHdl) in CameraCreateJpegEnc() 295 static void StreamAttrInitialize(StreamAttr *streamAttr, Surface *surface, in StreamAttrInitialize() 301 (void)memset_s(streamAttr, sizeof(StreamAttr), 0, sizeof(StreamAttr)); in StreamAttrInitialize() 444 StreamAttr stream = {}; in SetFrameConfig() 553 StreamAttr stream = {}; in SetFrameConfig() 619 StreamAttr stream = {}; in SetFrameConfig() 725 StreamAttr stream = {}; in SetFrameConfig()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/vtpstreamsocket_fuzzer/ |
H A D | vtpstreamsocket_fuzzer.cpp | 81 Communication::SoftBus::StreamAttr tmp; in VtpSetOptionTest()
|
/foundation/distributedhardware/device_manager/test/unittest/mock/ |
H A D | session.h | 99 struct StreamAttr { struct
|
/foundation/communication/dsoftbus/interfaces/kits/transport/ |
H A D | session.h | 124 struct StreamAttr { struct
|