Home
last modified time | relevance | path

Searched refs:NO_ERROR (Results 1 – 25 of 73) sorted by relevance

123

/drivers/peripheral/camera/test/fuzztest/common/src/
Dcommon.cpp58 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDeviceV1_1 == nullptr) { in Open()
71 if (rc != HDI::Camera::V1_0::NO_ERROR) { in GetCameraMetadata()
98 return HDI::Camera::V1_0::NO_ERROR; in OnCaptureStarted()
108 return HDI::Camera::V1_0::NO_ERROR; in OnCaptureEnded()
118 return HDI::Camera::V1_0::NO_ERROR; in OnCaptureError()
128 return HDI::Camera::V1_0::NO_ERROR; in OnFrameShutter()
134 return HDI::Camera::V1_0::NO_ERROR; in OnError()
144 return HDI::Camera::V1_0::NO_ERROR; in OnResult()
150 return HDI::Camera::V1_0::NO_ERROR; in OnCameraStatus()
156 return HDI::Camera::V1_0::NO_ERROR; in OnFlashlightStatus()
[all …]
/drivers/peripheral/camera/test/hdi/v1_0/src/
Dhdi_stream_uttest.cpp48 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
79 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
94 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu…
100 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
105 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
120 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu…
142 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu…
164 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu…
171 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
174 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
[all …]
Dhdi_device_uttest.cpp47 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
77 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
82 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
97 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
102 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
120 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
135 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
140 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
155 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
160 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
Dut_common.cpp88 if (rc != HDI::Camera::V1_0::NO_ERROR) { in GetCameraMetadata()
112 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDevice == nullptr) { in Open()
233 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StartStream()
259 EXPECT_EQ(false, rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
261 EXPECT_EQ(false, rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
273 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StartCapture()
274 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StartCapture()
288 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StopStream()
289 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StopStream()
299 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StopStream()
[all …]
/drivers/peripheral/camera/test/mpi/src/
Dhdi_device_test.cpp47 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
81 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
257 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
288 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
310 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
315 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
331 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
336 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
351 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
374 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
[all …]
Dpreview_test.cpp69 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
95 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
98 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
120 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR || Test_->streamOperator == nullptr);
150 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
168 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
208 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR || Test_->streamOperator == nullptr);
212 EXPECT_EQ(true, Test_->rc == Camera::NO_ERROR);
231 if (Test_->rc == Camera::NO_ERROR) {
238 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
[all …]
Dhdi_stream_test.cpp50 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
85 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
87 if (Test_->rc == Camera::NO_ERROR) {
110 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
139 if (Test_->rc == Camera::NO_ERROR) {
162 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
167 if (Test_->rc == Camera::NO_ERROR) {
189 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
190 if (Test_->rc == Camera::NO_ERROR) {
226 if (Test_->rc == Camera::NO_ERROR) {
[all …]
Ddfx_test.cpp100 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
128 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
155 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
160 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
186 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
191 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
221 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
228 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
234 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
284 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
[all …]
Dperformance_hdi_test.cpp67 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
92 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
100 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
134 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
212 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
289 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
297 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
330 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
361 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
372 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
[all …]
Dresolution_test.cpp49 EXPECT_EQ(true, Test_->rc == Camera::NO_ERROR);
50 if (Test_->rc == Camera::NO_ERROR) {
113 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR);
114 if (Test_->rc == Camera::NO_ERROR) {
120 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR);
121 if (Test_->rc == Camera::NO_ERROR) {
154 EXPECT_EQ(true, Test_->rc == Camera::NO_ERROR);
155 if (Test_->rc == Camera::NO_ERROR) {
220 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR);
221 if (Test_->rc == Camera::NO_ERROR) {
[all …]
Dcommon.cpp210 if (rc != Camera::NO_ERROR) { in GetCameraAbility()
223 if (rc != Camera::NO_ERROR) { in GetCameraMetadata()
244 if (rc != Camera::NO_ERROR || cameraDevice == nullptr) { in Open()
267 EXPECT_EQ(true, rc == Camera::NO_ERROR); in StartStream()
268 if (rc == Camera::NO_ERROR) { in StartStream()
359 EXPECT_EQ(false, rc != Camera::NO_ERROR); in StartStream()
360 if (rc == Camera::NO_ERROR) { in StartStream()
367 EXPECT_EQ(false, rc != Camera::NO_ERROR); in StartStream()
368 if (rc == Camera::NO_ERROR) { in StartStream()
384 EXPECT_EQ(true, rc == Camera::NO_ERROR); in StartCapture()
[all …]
Dflashlight_test.cpp46 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
62 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
67 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
87 if (Test_->rc != Camera::NO_ERROR) {
91 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
114 if (Test_->rc == Camera::NO_ERROR) {
148 if (Test_->rc == Camera::NO_ERROR) {
Dopen_camera_test.cpp51 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
52 if (Test_->rc== Camera::NO_ERROR) {
77 EXPECT_EQ(Test_->rc, Camera::NO_ERROR);
78 if (Test_->rc== Camera::NO_ERROR) {
/drivers/peripheral/camera/test/ut/v4l2/
Dcamera_preview_test.cpp73 EXPECT_EQ(true, cameraBase_->rc != HDI::Camera::V1_0::NO_ERROR);
74 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
118 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
122 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
123 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
171 EXPECT_EQ(false, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
172 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
214 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
215 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
222 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
[all …]
Dusb_camera_test_mult.cpp38 if (cameraBase_->rc != HDI::Camera::V1_0::NO_ERROR || cameraDevice_ == nullptr) { in SelectOpenCamera()
50 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR); in AchieveStreamOperator()
51 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) { in AchieveStreamOperator()
131 EXPECT_EQ(false, cameraBase_->rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
132 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) { in StartStream()
139 EXPECT_EQ(false, cameraBase_->rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
140 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) { in StartStream()
228 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR); in StartCapture()
229 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) { in StartCapture()
270 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR); in StopStream()
[all …]
Ddouble_preview_test.cpp81 EXPECT_EQ(result_, HDI::Camera::V1_0::NO_ERROR); in CreateStream()
82 if (result_ == HDI::Camera::V1_0::NO_ERROR) { in CreateStream()
92 EXPECT_EQ(result_, HDI::Camera::V1_0::NO_ERROR); in CommitStream()
93 if (result_ == HDI::Camera::V1_0::NO_ERROR) { in CommitStream()
107 EXPECT_EQ(result_, HDI::Camera::V1_0::NO_ERROR); in StartCapture()
108 if (result_ == HDI::Camera::V1_0::NO_ERROR) { in StartCapture()
151 EXPECT_EQ(result_, HDI::Camera::V1_0::NO_ERROR); in StopStream()
152 if (result_ == HDI::Camera::V1_0::NO_ERROR) { in StopStream()
235 EXPECT_EQ(cameraBase_->rc, HDI::Camera::V1_0::NO_ERROR);
236 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
Dcamera_capture_test.cpp123 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
199 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
200 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
207 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
208 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
246 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
247 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
253 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
254 if (cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR) {
261 EXPECT_EQ(true, cameraBase_->rc == HDI::Camera::V1_0::NO_ERROR);
[all …]
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dcamera_device/
Ddcamera_device_test.cpp98 EXPECT_EQ(true, rc == CamRetCode::NO_ERROR);
113 EXPECT_EQ(true, rc == CamRetCode::NO_ERROR);
128 EXPECT_EQ(true, rc == CamRetCode::NO_ERROR);
132 EXPECT_EQ(true, rc == CamRetCode::NO_ERROR);
147 EXPECT_EQ(true, rc == CamRetCode::NO_ERROR);
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
Ddstream_operator_test.cpp140 EXPECT_EQ(rc, CamRetCode::NO_ERROR);
167 EXPECT_EQ(rc, CamRetCode::NO_ERROR);
196 EXPECT_EQ(rc, CamRetCode::NO_ERROR);
201 EXPECT_NE(rc, CamRetCode::NO_ERROR);
229 EXPECT_EQ(rc, CamRetCode::NO_ERROR);
233 EXPECT_EQ(rc, CamRetCode::NO_ERROR);
238 EXPECT_NE(rc, CamRetCode::NO_ERROR);
263 EXPECT_EQ(rc, CamRetCode::NO_ERROR);
272 EXPECT_NE(rc, CamRetCode::NO_ERROR);
300 EXPECT_EQ(rc, CamRetCode::NO_ERROR);
[all …]
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
Dbenchmark_common.cpp88 if (rc != HDI::Camera::V1_0::NO_ERROR) { in GetCameraMetadata()
112 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDevice == nullptr) { in Open()
132 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StartStream()
225 EXPECT_EQ(false, rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
227 EXPECT_EQ(false, rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
239 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StartCapture()
240 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StartCapture()
254 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StopStream()
255 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StopStream()
265 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StopStream()
[all …]
/drivers/peripheral/camera/test/benchmarktest/v1_1/src/
Dbenchmark_common.cpp99 if (rc != HDI::Camera::V1_0::NO_ERROR) { in GetCameraMetadata()
125 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDeviceV1_1 == nullptr) { in Open()
149 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StartStream()
152 if (rc != HDI::Camera::V1_0::NO_ERROR) { in StartStream()
252 EXPECT_EQ(false, rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
254 EXPECT_EQ(false, rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
270 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StartCapture()
271 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StartCapture()
289 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StopStream()
290 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StopStream()
[all …]
/drivers/peripheral/camera/test/hdi/v1_1/src/
Dcamera_hdi_uttest_v1_1.cpp57 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
82 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
155 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
176 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
203 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
234 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
236 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
273 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
275 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
289 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
[all …]
Dhdi_common_v1_1.cpp110 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDeviceV1_1 == nullptr) { in Open()
123 if (rc != HDI::Camera::V1_0::NO_ERROR) { in GetCameraMetadata()
253 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StartStream()
256 if (rc != HDI::Camera::V1_0::NO_ERROR) { in StartStream()
288 EXPECT_EQ(false, rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
290 EXPECT_EQ(false, rc != HDI::Camera::V1_0::NO_ERROR); in StartStream()
307 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StartCapture()
308 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StartCapture()
326 EXPECT_EQ(true, rc == HDI::Camera::V1_0::NO_ERROR); in StopStream()
327 if (rc == HDI::Camera::V1_0::NO_ERROR) { in StopStream()
[all …]
/drivers/peripheral/camera/vdi_base/v4l2/src/offline_stream_operator/
Doffline_stream_operator_vdi_impl.cpp41 return VDI::Camera::V1_0::NO_ERROR; in CancelCapture()
50 return VDI::Camera::V1_0::NO_ERROR; in CancelCapture()
71 return VDI::Camera::V1_0::NO_ERROR; in ReleaseStreams()
89 return VDI::Camera::V1_0::NO_ERROR; in Release()
/drivers/peripheral/camera/hdi_service/v1_0/src/
Dcamera_host_service.cpp74 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetVdiLibList()
94 if (GetVdiLibList(vdiLibList) != OHOS::HDI::Camera::V1_0::NO_ERROR) { in GetInstance()
150 int32_t ret = OHOS::HDI::Camera::V1_0::NO_ERROR; in SetCallback()
159 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in SetCallback()
171 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in GetCameraIds()
179 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetCameraIds()
216 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in OpenCamera()
230 return OHOS::HDI::Camera::V1_0::NO_ERROR; in OpenCamera()
256 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in UpdateCameraIdMapList()
271 return OHOS::HDI::Camera::V1_0::NO_ERROR; in UpdateCameraIdMapList()

123