Home
last modified time | relevance | path

Searched refs:DH_SUCCESS (Results 1 – 25 of 49) sorted by relevance

12

/foundation/distributedhardware/distributed_screen/services/screentransport/screensinktrans/src/
Dscreen_sink_trans.cpp32 if (ret != DH_SUCCESS) { in SetUp()
38 if (ret != DH_SUCCESS) { in SetUp()
44 return DH_SUCCESS; in SetUp()
56 if (ret != DH_SUCCESS) { in Release()
64 if (ret != DH_SUCCESS) { in Release()
70 return DH_SUCCESS; in Release()
82 if (ret != DH_SUCCESS) { in Start()
88 return DH_SUCCESS; in Start()
101 if (ret != DH_SUCCESS) { in Stop()
109 if (ret != DH_SUCCESS && ret != ERR_DH_SCREEN_TRANS_SESSION_NOT_OPEN) { in Stop()
[all …]
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
Dsession_mock.cpp23 constexpr int32_t DH_SUCCESS = 0; variable
53 return DH_SUCCESS; in CreateSessionServer()
60 return DH_SUCCESS; in RemoveSessionServer()
84 listener_.OnSessionOpened(MOCK_SESSION_ID, DH_SUCCESS); in OpenSessionResult()
97 return DH_SUCCESS; in SendBytes()
105 return DH_SUCCESS; in SendMessage()
114 return DH_SUCCESS; in SendStream()
122 return DH_SUCCESS; in GetMySessionName()
135 return DH_SUCCESS; in GetPeerSessionName()
146 return DH_SUCCESS; in GetPeerDeviceId()
[all …]
Dsession_bus_center.cpp18 constexpr int32_t DH_SUCCESS = 0; variable
27 return DH_SUCCESS; in GetLocalNodeDeviceInfo()
/foundation/distributedhardware/distributed_screen/services/screentransport/screensinkprocessor/src/
Dimage_sink_processor.cpp36 if (ret != DH_SUCCESS) { in ConfigureImageProcessor()
41 return DH_SUCCESS; in ConfigureImageProcessor()
56 if (ret != DH_SUCCESS) { in ReleaseImageProcessor()
62 return DH_SUCCESS; in ReleaseImageProcessor()
77 if (ret != DH_SUCCESS) { in StartImageProcessor()
83 return DH_SUCCESS; in StartImageProcessor()
98 if (ret != DH_SUCCESS) { in StopImageProcessor()
104 return DH_SUCCESS; in StopImageProcessor()
117 if (ret != DH_SUCCESS) { in SetImageSurface()
123 return DH_SUCCESS; in SetImageSurface()
[all …]
/foundation/distributedhardware/distributed_screen/services/screentransport/screensourcetrans/src/
Dscreen_source_trans.cpp34 if (ret != DH_SUCCESS) { in SetUp()
40 if (ret != DH_SUCCESS) { in SetUp()
46 return DH_SUCCESS; in SetUp()
58 if (ret != DH_SUCCESS) { in Release()
66 if (ret != DH_SUCCESS) { in Release()
77 return DH_SUCCESS; in Release()
90 if (ret != DH_SUCCESS) { in Start()
106 return DH_SUCCESS; in Start()
119 if (ret != DH_SUCCESS) { in Stop()
127 if (ret != DH_SUCCESS) { in Stop()
[all …]
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/src/
Dscreenregion.cpp115 if (ret != DH_SUCCESS) { in SetUpWindow()
129 return DH_SUCCESS; in SetUpWindow()
137 if (ret != DH_SUCCESS) { in SetUp()
149 if (ret != DH_SUCCESS) { in SetUp()
154 return DH_SUCCESS; in SetUp()
166 if (ret != DH_SUCCESS) { in Start()
171 return DH_SUCCESS; in Start()
179 return DH_SUCCESS; in Stop()
188 if (ret != DH_SUCCESS) { in Stop()
194 if (ret != DH_SUCCESS) { in Stop()
[all …]
Dscreenregionmgr.cpp59 if (ret != DH_SUCCESS) { in ReleaseAllRegions()
65 return DH_SUCCESS; in ReleaseAllRegions()
155 int32_t ret = DH_SUCCESS; in HandleNotifySetUp()
162 if (ret != DH_SUCCESS) { in HandleNotifySetUp()
172 if (ret != DH_SUCCESS) { in HandleNotifySetUp()
179 if (ret != DH_SUCCESS) { in HandleNotifySetUp()
187 NotifyRemoteSourceSetUpResult(remoteDevId, dhId, DH_SUCCESS, ""); in HandleNotifySetUp()
219 if (ret != DH_SUCCESS) { in NotifyRemoteScreenService()
225 return DH_SUCCESS; in NotifyRemoteScreenService()
/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/src/
Dimage_source_processor.cpp32 if (ret != DH_SUCCESS) { in ConfigureImageProcessor()
39 return DH_SUCCESS; in ConfigureImageProcessor()
54 if (ret != DH_SUCCESS) { in ReleaseImageProcessor()
60 return DH_SUCCESS; in ReleaseImageProcessor()
75 if (ret != DH_SUCCESS) { in StartImageProcessor()
81 return DH_SUCCESS; in StartImageProcessor()
96 if (ret != DH_SUCCESS) { in StopImageProcessor()
102 return DH_SUCCESS; in StopImageProcessor()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenservice/src/
Ddscreen_source_service.cpp56 if (ret != DH_SUCCESS) { in OnStop()
81 if (ret != DH_SUCCESS) { in InitSource()
87 return DH_SUCCESS; in InitSource()
94 if (ret != DH_SUCCESS) { in ReleaseSource()
100 return DH_SUCCESS; in ReleaseSource()
108 if (ret != DH_SUCCESS) { in RegisterDistributedHardware()
115 return DH_SUCCESS; in RegisterDistributedHardware()
122 if (ret != DH_SUCCESS) { in UnregisterDistributedHardware()
129 return DH_SUCCESS; in UnregisterDistributedHardware()
139 return DH_SUCCESS; in ConfigDistributedHardware()
/foundation/distributedhardware/distributed_screen/services/screentransport/screendatachannel/src/
Dscreen_data_channel_impl.cpp38 if (ret != DH_SUCCESS) { in CreateSession()
45 if (ret != DH_SUCCESS) { in CreateSession()
52 return DH_SUCCESS; in CreateSession()
59 if (ret != DH_SUCCESS) { in ReleaseSession()
65 if (ret != DH_SUCCESS) { in ReleaseSession()
71 return DH_SUCCESS; in ReleaseSession()
87 return DH_SUCCESS; in OpenSession()
99 if (ret != DH_SUCCESS) { in CloseSession()
106 return DH_SUCCESS; in CloseSession()
122 if (ret != DH_SUCCESS) { in SendData()
[all …]
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/src/
Ddscreen.cpp54 int32_t ret = DH_SUCCESS; in ~DScreen()
58 if (ret != DH_SUCCESS) { in ~DScreen()
66 if (ret != DH_SUCCESS) { in ~DScreen()
131 return DH_SUCCESS; in AddTask()
188 … dscreenCallback_->OnRegResult(shared_from_this(), taskId, DH_SUCCESS, "dscreen enable success."); in HandleEnable()
199 if (ret != DH_SUCCESS) { in HandleEnable()
213 if (ret != DH_SUCCESS) { in HandleEnable()
233 … dscreenCallback_->OnRegResult(shared_from_this(), taskId, DH_SUCCESS, "dscreen enable success."); in HandleEnable()
250 return DH_SUCCESS; in CheckJsonData()
298 return DH_SUCCESS; in NegotiateCodecType()
[all …]
Dscreen_manager_adapter.cpp78 return DH_SUCCESS; in RegisterScreenGroupListener()
86 return DH_SUCCESS; in RegisterScreenGroupListener()
94 return DH_SUCCESS; in UnregisterScreenGroupListener()
102 return DH_SUCCESS; in UnregisterScreenGroupListener()
121 return DH_SUCCESS; in RemoveVirtualScreen()
128 return DH_SUCCESS; in SetImageSurface()
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/dscreenservice/src/
Ddscreen_sink_stub_test.cpp44 return DH_SUCCESS; in InitSink()
49 return DH_SUCCESS; in ReleaseSink()
57 return DH_SUCCESS; in SubscribeLocalHardware()
63 return DH_SUCCESS; in UnsubscribeLocalHardware()
86 EXPECT_EQ(DH_SUCCESS, ret);
104 EXPECT_EQ(DH_SUCCESS, ret);
119 EXPECT_EQ(DH_SUCCESS, ret);
146 EXPECT_EQ(DH_SUCCESS, ret);
/foundation/distributedhardware/distributed_screen/services/screentransport/screensinkprocessor/decoder/src/
Dimage_sink_decoder.cpp32 if (ret != DH_SUCCESS) { in ConfigureDecoder()
38 if (ret != DH_SUCCESS) { in ConfigureDecoder()
43 return DH_SUCCESS; in ConfigureDecoder()
62 return DH_SUCCESS; in ReleaseDecoder()
86 return DH_SUCCESS; in StartDecoder()
110 return DH_SUCCESS; in StopDecoder()
143 return DH_SUCCESS; in InitVideoDecoder()
197 return DH_SUCCESS; in SetDecoderFormat()
214 return DH_SUCCESS; in SetOutputSurface()
228 return DH_SUCCESS; in InputScreenData()
[all …]
/foundation/distributedhardware/distributed_screen/common/src/
Ddscreen_hisysevent.cpp34 if (res != DH_SUCCESS) { in ReportSaFail()
50 if (res != DH_SUCCESS) { in ReportRegisterFail()
66 if (res != DH_SUCCESS) { in ReportUnRegisterFail()
79 if (res != DH_SUCCESS) { in ReportOptFail()
92 if (res != DH_SUCCESS) { in ReportSaEvent()
107 if (res != DH_SUCCESS) { in ReportRegisterScreenEvent()
122 if (res != DH_SUCCESS) { in ReportUnRegisterScreenEvent()
137 if (res != DH_SUCCESS) { in ReportScreenMirrorEvent()
/foundation/distributedhardware/distributed_screen/services/screenclient/src/
Dscreen_client.cpp56 if (DH_SUCCESS != ret) { in ShowWindow()
75 if (DH_SUCCESS != ret) { in HideWindow()
94 if (DH_SUCCESS != ret) { in MoveWindow()
130 if (ret != DH_SUCCESS) { in RemoveWindow()
135 return DH_SUCCESS; in RemoveWindow()
142 if (ret != DH_SUCCESS) { in DestroyAllWindow()
149 return DH_SUCCESS; in DestroyAllWindow()
/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/
Dsoftbus_adapter.cpp95 return DH_SUCCESS; in RegisterSoftbusListener()
106 return DH_SUCCESS; in UnRegisterSoftbusListener()
116 if (ret != DH_SUCCESS) { in CreateSoftbusSessionServer()
126 return DH_SUCCESS; in CreateSoftbusSessionServer()
143 if (ret != DH_SUCCESS) { in RemoveSoftbusSessionServer()
153 return DH_SUCCESS; in RemoveSoftbusSessionServer()
202 return DH_SUCCESS; in CloseSoftbusSession()
209 if (ret != DH_SUCCESS) { in SendSoftbusBytes()
214 return DH_SUCCESS; in SendSoftbusBytes()
222 if (ret != DH_SUCCESS) { in SendSoftbusStream()
[all …]
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenservice/src/
Ddscreen_source_stub_test.cpp46 return DH_SUCCESS; in InitSource()
51 return DH_SUCCESS; in ReleaseSource()
61 return DH_SUCCESS; in RegisterDistributedHardware()
70 return DH_SUCCESS; in UnregisterDistributedHardware()
80 return DH_SUCCESS; in ConfigDistributedHardware()
111 EXPECT_EQ(DH_SUCCESS, ret);
125 EXPECT_EQ(DH_SUCCESS, ret);
172 EXPECT_EQ(DH_SUCCESS, ret);
208 EXPECT_EQ(DH_SUCCESS, ret);
244 EXPECT_EQ(DH_SUCCESS, ret);
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinkprocessor/src/
Dimage_sink_decoder_test.cpp58 EXPECT_EQ(DH_SUCCESS, imageDecoder_->ConfigureDecoder(param_));
93 EXPECT_EQ(DH_SUCCESS, imageDecoder_->ReleaseDecoder());
151 EXPECT_EQ(DH_SUCCESS, imageDecoder_->InitVideoDecoder(param_));
163 EXPECT_EQ(DH_SUCCESS, imageDecoder_->InitVideoDecoder(param_));
187 EXPECT_EQ(DH_SUCCESS, imageDecoder_->InitVideoDecoder(param_));
198 EXPECT_EQ(DH_SUCCESS, imageDecoder_->SetDecoderFormat(param_));
211 EXPECT_EQ(DH_SUCCESS, imageDecoder_->SetDecoderFormat(param_));
261 EXPECT_EQ(DH_SUCCESS, imageDecoder_->SetDecoderFormat(param_));
274 EXPECT_EQ(DH_SUCCESS, imageDecoder_->SetDecoderFormat(param_));
299 int32_t errorCode = DH_SUCCESS;
[all …]
/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/src/
Dimage_source_encoder.cpp32 if (ret != DH_SUCCESS) { in ConfigureEncoder()
38 if (ret != DH_SUCCESS) { in ConfigureEncoder()
49 return DH_SUCCESS; in ConfigureEncoder()
68 return DH_SUCCESS; in ReleaseEncoder()
91 return DH_SUCCESS; in StartEncoder()
113 return DH_SUCCESS; in StopEncoder()
146 return DH_SUCCESS; in InitVideoEncoder()
198 return DH_SUCCESS; in SetEncoderFormat()
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screentranstestutils/include/
Dscreentrans_test_utils.h87 return DH_SUCCESS; in CreateSession()
91 return DH_SUCCESS; in ReleaseSession()
95 return DH_SUCCESS; in OpenSession()
104 return DH_SUCCESS; in SendData()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/dscreenservice/src/
Ddscreen_sink_service.cpp75 return DH_SUCCESS; in InitSink()
84 return DH_SUCCESS; in ReleaseSink()
92 return DH_SUCCESS; in SubscribeLocalHardware()
99 return DH_SUCCESS; in UnsubscribeLocalHardware()
Ddscreen_sink_stub.cpp62 return DH_SUCCESS; in InitSinkInner()
70 return DH_SUCCESS; in ReleaseSinkInner()
84 return DH_SUCCESS; in SubscribeDistributedHardwareInner()
97 return DH_SUCCESS; in UnsubscribeDistributedHardwareInner()
112 return DH_SUCCESS; in DScreenNotifyInner()
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinktrans/src/
Dscreen_sink_trans_test.cpp76 EXPECT_EQ(DH_SUCCESS, trans_->RegisterProcessorListener(param_, param_, peerDevId_));
87 EXPECT_EQ(DH_SUCCESS, trans_->Release());
135 EXPECT_EQ(DH_SUCCESS, trans_->RegisterStateCallback(callback));
159 EXPECT_EQ(DH_SUCCESS, trans_->SetImageSurface(surface));
204 EXPECT_EQ(DH_SUCCESS, trans_->CheckTransParam(param_, param_, peerDevId_));
239 int32_t state = DH_SUCCESS;
252 int32_t state = DH_SUCCESS;
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensourceprocessor/src/
Dimage_source_encoder_test.cpp104 EXPECT_EQ(DH_SUCCESS, actual);
171 EXPECT_EQ(DH_SUCCESS, actual);
201 EXPECT_EQ(DH_SUCCESS, actual);
216 EXPECT_EQ(DH_SUCCESS, actual);
262 EXPECT_EQ(DH_SUCCESS, actual);
279 EXPECT_EQ(DH_SUCCESS, actual);
296 EXPECT_EQ(DH_SUCCESS, actual);
313 EXPECT_EQ(DH_SUCCESS, actual);

12