Lines Matching defs:dhBase

83 DHBase dhBase;
91 dhBase.deviceId_ = testDeviceId;
92 dhBase.dhId_ = testCameraDh;
143 dhBase.deviceId_.clear();
144 dhBase.dhId_.clear();
150 * @tc.desc : EnableDCameraDevice, dhBase.deviceId_ = "", return invalid_argument
154 dhBase.deviceId_ = "";
155 dhBase.dhId_ = testCameraDh;
156 int32_t ret = cameraProvider.EnableDCameraDevice(dhBase, testParam, hdiCallback_);
163 * @tc.desc : EnableDCameraDevice, dhBase.dhId_ = "", return invalid_argument
167 dhBase.deviceId_ = testDeviceId;
168 dhBase.dhId_ = "";
169 int32_t ret = cameraProvider.EnableDCameraDevice(dhBase, testParam, hdiCallback_);
180 dhBase.deviceId_ = testDeviceId;
181 dhBase.dhId_ = testCameraDh;
183 int32_t ret = cameraProvider.EnableDCameraDevice(dhBase, testParamNull, hdiCallback_);
194 dhBase.deviceId_ = testDeviceId;
195 dhBase.dhId_ = testCameraDh;
196 int32_t ret = cameraProvider.EnableDCameraDevice(dhBase, testParam, nullptr);
203 * @tc.desc : DisableDCameraDevice, dhBase.deviceId_ = "", return invalid_argument
207 dhBase.deviceId_.clear();
208 dhBase.dhId_ = testCameraDh;
209 int32_t ret = cameraProvider.DisableDCameraDevice(dhBase);
216 * @tc.desc : DisableDCameraDevice, dhBase.dhId_ = "", return invalid_argument
220 dhBase.deviceId_ = testDeviceId;
221 dhBase.dhId_.clear();
222 int32_t ret = cameraProvider.DisableDCameraDevice(dhBase);
229 * @tc.desc : AcquireBuffer, dhBase.deviceId_ = "", return invalid_argument
233 dhBase.deviceId_.clear();
234 dhBase.dhId_ = testCameraDh;
235 int32_t ret = cameraProvider.AcquireBuffer(dhBase, TEST_STREAMID, buffer);
242 * @tc.desc : AcquireBuffer, dhBase.dhId_ = "", return invalid_argument
246 dhBase.deviceId_ = testDeviceId;
247 dhBase.dhId_.clear();
248 int32_t ret = cameraProvider.AcquireBuffer(dhBase, TEST_STREAMID, buffer);
259 dhBase.deviceId_ = testDeviceId;
260 dhBase.dhId_ = testCameraDh;
261 int32_t ret = cameraProvider.AcquireBuffer(dhBase, -1, buffer);
272 dhBase.deviceId_ = testDeviceId;
273 dhBase.dhId_ = testCameraDh;
274 int32_t ret = cameraProvider.AcquireBuffer(dhBase, 2147483647, buffer);
285 dhBase.deviceId_ = testDeviceId;
286 dhBase.dhId_ = testCameraDh;
287 int32_t ret = cameraProvider.AcquireBuffer(dhBase, 0, buffer);
298 dhBase.deviceId_.clear();
299 dhBase.dhId_ = testCameraDh;
300 int32_t ret = cameraProvider.ShutterBuffer(dhBase, TEST_STREAMID, buffer);
311 dhBase.deviceId_ = testDeviceId;
312 dhBase.dhId_.clear();
313 int32_t ret = cameraProvider.ShutterBuffer(dhBase, TEST_STREAMID, buffer);
324 dhBase.deviceId_ = testDeviceId;
325 dhBase.dhId_ = testCameraDh;
326 int32_t ret = cameraProvider.ShutterBuffer(dhBase, -1, buffer);
337 dhBase.deviceId_ = testDeviceId;
338 dhBase.dhId_ = testCameraDh;
339 int32_t ret = cameraProvider.ShutterBuffer(dhBase, 2147483647, buffer);
350 dhBase.deviceId_ = testDeviceId;
351 dhBase.dhId_ = testCameraDh;
352 int32_t ret = cameraProvider.ShutterBuffer(dhBase, 0, buffer);
359 * @tc.desc : OnSettingsResult, dhBase.deviceId_ = "", return invalid_argument
363 dhBase.deviceId_.clear();
364 dhBase.dhId_ = testCameraDh;
365 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result);
372 * @tc.desc : OnSettingsResult, dhBase.dhId_ = "", return invalid_argument
376 dhBase.deviceId_ = testDeviceId;
377 dhBase.dhId_.clear();
378 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result);
389 dhBase.deviceId_ = testDeviceId;
390 dhBase.dhId_ = testCameraDh;
392 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result);
403 dhBase.deviceId_.clear();
404 dhBase.dhId_ = testCameraDh;
405 int32_t ret = cameraProvider.Notify(dhBase, hdiEvent);
412 * @tc.desc : Notify, dhBase.dhId_ = "", return invalid_argument
416 dhBase.deviceId_ = testDeviceId;
417 dhBase.dhId_.clear();
418 int32_t ret = cameraProvider.Notify(dhBase, hdiEvent);
425 * @tc.desc: OpenSession, dhBase.dhId_ = ""
429 dhBase.deviceId_ = testDeviceId;
430 dhBase.dhId_.clear();
431 int32_t ret = cameraProvider.OpenSession(dhBase);
438 * @tc.desc: OpenSession, dhBase.deviceId_ = ""
442 dhBase.deviceId_.clear();
443 dhBase.dhId_ = testCameraDh;
444 int32_t ret = cameraProvider.OpenSession(dhBase);
451 * @tc.desc: OpenSession, dhBase.deviceId_ = "", dhBase.dhId_ = ""
455 dhBase.deviceId_.clear();
456 dhBase.dhId_.clear();
457 int32_t ret = cameraProvider.OpenSession(dhBase);
464 * @tc.desc: CloseSession, dhBase.deviceId_ = "", dhBase.dhId_ = ""
468 dhBase.deviceId_.clear();
469 dhBase.dhId_.clear();
470 int32_t ret = cameraProvider.CloseSession(dhBase);
477 * @tc.desc: CloseSession, dhBase.deviceId_ = ""
481 dhBase.deviceId_.clear();
482 dhBase.dhId_ = testCameraDh;
483 int32_t ret = cameraProvider.CloseSession(dhBase);
490 * @tc.desc: CloseSession, dhBase.dhId_ = ""
494 dhBase.deviceId_ = testCameraDh;
495 dhBase.dhId_.clear();
496 int32_t ret = cameraProvider.CloseSession(dhBase);
507 dhBase.deviceId_ = testDeviceId;
508 dhBase.dhId_ = testCameraDh;
519 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
526 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = "", streamInfo2.encodeType_ = ENCODE_TYPE_MPEG4_ES
530 dhBase.deviceId_.clear();
531 dhBase.dhId_ = testCameraDh;
542 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
549 * @tc.desc: ConfigureStreams, dhBase.dhId_ = "", streamInfo2.encodeType_ = ENCODE_TYPE_MPEG4_ES
553 dhBase.deviceId_ = testDeviceId;
554 dhBase.dhId_.clear();
565 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
572 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = "", dhBase.dhId_ = ""
577 dhBase.deviceId_.clear();
578 dhBase.dhId_.clear();
589 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
596 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = "", dhBase.dhId_ = ""
601 dhBase.deviceId_.clear();
602 dhBase.dhId_.clear();
613 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
620 * @tc.desc: ConfigureStreams, dhBase.dhId_ = ""
625 dhBase.deviceId_ = testDeviceId;
626 dhBase.dhId_.clear();
637 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
644 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = ""
649 dhBase.deviceId_.clear();
650 dhBase.dhId_ = testCameraDh;
661 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
672 dhBase.deviceId_ = testDeviceId;
673 dhBase.dhId_ = testCameraDh;
684 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
695 dhBase.deviceId_ = testDeviceId;
696 dhBase.dhId_ = testCameraDh;
707 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
714 * @tc.desc: ConfigureStreams, dhBase.dhId_ = ""
719 dhBase.deviceId_ = testDeviceId;
720 dhBase.dhId_.clear();
731 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
738 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = ""
743 dhBase.deviceId_.clear();
744 dhBase.dhId_ = testCameraDh;
755 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
762 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = "", dhBase.dhId_ = ""
767 dhBase.deviceId_.clear();
768 dhBase.dhId_.clear();
779 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
786 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = "", dhBase.dhId_ = ""
791 dhBase.deviceId_.clear();
792 dhBase.dhId_.clear();
803 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
810 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = ""
815 dhBase.deviceId_.clear();
816 dhBase.dhId_ = testCameraDh;
827 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
834 * @tc.desc: ConfigureStreams, dhBase.dhId = ""
839 dhBase.deviceId_ = testDeviceId;
840 dhBase.dhId_.clear();
851 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
858 * @tc.desc: ConfigureStreams, dhBase.dhId = ""
863 dhBase.deviceId_ = testDeviceId;
864 dhBase.dhId_.clear();
875 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
882 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = "", dhBase.dhId = ""
887 dhBase.deviceId_.clear();
888 dhBase.dhId_ = testCameraDh;
899 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
906 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = "", dhBase.dhId = ""
911 dhBase.deviceId_.clear();
912 dhBase.dhId_.clear();
923 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
930 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = "", dhBase.dhId = ""
935 dhBase.deviceId_.clear();
936 dhBase.dhId_.clear();
947 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
954 * @tc.desc: ConfigureStreams, dhBase.deviceId_ = ""
959 dhBase.deviceId_.clear();
960 dhBase.dhId_ = testCameraDh;
971 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
978 * @tc.desc: ConfigureStreams, dhBase.dhId = ""
983 dhBase.deviceId_ = testDeviceId;
984 dhBase.dhId_.clear();
995 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1007 dhBase.deviceId_ = testDeviceId;
1008 dhBase.dhId_ = testCameraDh;
1019 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1031 dhBase.deviceId_ = testDeviceId;
1032 dhBase.dhId_ = testCameraDh;
1043 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1055 dhBase.deviceId_ = testDeviceId;
1056 dhBase.dhId_ = testCameraDh;
1067 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1079 dhBase.deviceId_ = testDeviceId;
1080 dhBase.dhId_ = testCameraDh;
1091 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1103 dhBase.deviceId_ = testDeviceId;
1104 dhBase.dhId_ = testCameraDh;
1115 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1127 dhBase.deviceId_ = testDeviceId;
1128 dhBase.dhId_ = testCameraDh;
1139 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1151 dhBase.deviceId_ = testDeviceId;
1152 dhBase.dhId_ = testCameraDh;
1163 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1175 dhBase.deviceId_ = testDeviceId;
1176 dhBase.dhId_ = testCameraDh;
1187 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1199 dhBase.deviceId_ = testDeviceId;
1200 dhBase.dhId_ = testCameraDh;
1211 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1223 dhBase.deviceId_ = testDeviceId;
1224 dhBase.dhId_ = testCameraDh;
1235 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1247 dhBase.deviceId_ = testDeviceId;
1248 dhBase.dhId_ = testCameraDh;
1259 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos1);
1270 dhBase.deviceId_ = testDeviceId;
1271 dhBase.dhId_ = testCameraDh;
1274 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1281 * @tc.desc: ReleaseStreams, dhBase.deviceId_ = ""
1285 dhBase.deviceId_.clear();
1286 dhBase.dhId_ = testCameraDh;
1287 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1294 * @tc.desc: ReleaseStreams, dhBase.dhId_ = ""
1298 dhBase.deviceId_ = testDeviceId;
1299 dhBase.dhId_.clear();
1300 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1307 * @tc.desc: ReleaseStreams, dhBase.deviceId_ = "", dhBase.dhId_ = ""
1311 dhBase.deviceId_.clear();
1312 dhBase.dhId_.clear();
1313 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1320 * @tc.desc: ReleaseStreams, dhBase.deviceId_ = "", dhBase.dhId_ = "" , streamIds.push_back(0);
1324 dhBase.deviceId_.clear();
1325 dhBase.dhId_.clear();
1328 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1335 * @tc.desc: ReleaseStreams, dhBase.dhId_ = "" , streamIds.push_back(0);
1339 dhBase.deviceId_ = testDeviceId;
1340 dhBase.dhId_.clear();
1341 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1348 * @tc.desc: ReleaseStreams, dhBase.deviceId_ = "", streamIds.push_back(0);
1352 dhBase.deviceId_.clear();
1353 dhBase.dhId_ = testCameraDh;
1354 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1361 * @tc.desc: ReleaseStreams, dhBase.deviceId_ = "", streamIds.push_back(-1)
1365 dhBase.deviceId_.clear();
1366 dhBase.dhId_ = testCameraDh;
1369 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1380 dhBase.deviceId_ = testDeviceId;
1381 dhBase.dhId_ = testCameraDh;
1382 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1389 * @tc.desc: ReleaseStreams, dhBase.dhId_ = "", streamIds.push_back(-1)
1393 dhBase.deviceId_ = testDeviceId;
1394 dhBase.dhId_.clear();
1395 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1402 * @tc.desc: ReleaseStreams, dhBase.deviceId_ = "", dhBase.dhId_ = "", streamIds.push_back(-1)
1406 dhBase.deviceId_.clear();
1407 dhBase.dhId_.clear();
1408 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1419 dhBase.deviceId_ = testDeviceId;
1420 dhBase.dhId_ = testCameraDh;
1423 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1430 * @tc.desc: ReleaseStreams, dhBase.dhId_ = "", streamIds.push_back(2147483647)
1434 dhBase.deviceId_ = testDeviceId;
1435 dhBase.dhId_.clear();
1436 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1443 * @tc.desc: ReleaseStreams, dhBase.deviceId_ = "", streamIds.push_back(2147483647)
1447 dhBase.deviceId_.clear();
1448 dhBase.dhId_ = testCameraDh;
1449 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1456 * @tc.desc: ReleaseStreams, dhBase.dhId_ = "", dhBase.deviceId_ = "", streamIds.push_back(2147483647)
1460 dhBase.deviceId_.clear();
1461 dhBase.dhId_.clear();
1462 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1469 * @tc.desc: ReleaseStreams, dhBase.dhId_ = "", dhBase.deviceId_ = "", streamIds.push_back(-2147483648)
1473 dhBase.deviceId_.clear();
1474 dhBase.dhId_.clear();
1477 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1484 * @tc.desc: ReleaseStreams, dhBase.deviceId_ = "", streamIds.push_back(-2147483648)
1488 dhBase.deviceId_.clear();
1489 dhBase.dhId_ = testCameraDh;
1490 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1497 * @tc.desc: ReleaseStreams, dhBase.dhId_ = "", streamIds.push_back(-2147483648)
1501 dhBase.deviceId_ = testDeviceId;
1502 dhBase.dhId_.clear();
1503 int32_t ret = cameraProvider.ReleaseStreams(dhBase, streamIds);
1510 * @tc.desc: StartCapture, dhBase.deviceId_ = "",
1515 dhBase.deviceId_.clear();
1516 dhBase.dhId_ = testCameraDh;
1527 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1534 * @tc.desc: StartCapture, dhBase.deviceId_ = "", dhBase.dhId_ = ""
1539 dhBase.deviceId_.clear();
1540 dhBase.dhId_.clear();
1551 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1558 * @tc.desc: StartCapture, dhBase.dhId_ = ""
1563 dhBase.deviceId_ = testDeviceId;
1564 dhBase.dhId_.clear();
1575 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1582 * @tc.desc: StartCapture, dhBase.dhId_ = ""
1587 dhBase.deviceId_ = testDeviceId;
1588 dhBase.dhId_.clear();
1599 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1606 * @tc.desc: StartCapture, dhBase.deviceId_ = ""
1611 dhBase.deviceId_.clear();
1612 dhBase.dhId_ = testCameraDh;
1623 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1630 * @tc.desc: StartCapture, dhBase.deviceId_ = "", dhBase.dhId_ = ""
1635 dhBase.deviceId_.clear();
1636 dhBase.dhId_.clear();
1647 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1654 * @tc.desc: StartCapture, dhBase.deviceId_ = "", dhBase.dhId_ = ""
1659 dhBase.deviceId_.clear();
1660 dhBase.dhId_.clear();
1671 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1678 * @tc.desc: StartCapture, dhBase.deviceId_ = ""
1683 dhBase.deviceId_.clear();
1684 dhBase.dhId_ = testCameraDh;
1695 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1702 * @tc.desc: StartCapture, dhBase.dhId_ = ""
1707 dhBase.deviceId_ = testDeviceId;
1708 dhBase.dhId_.clear();
1719 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1726 * @tc.desc: StartCapture, dhBase.deviceId_ = "", dhBase.dhId_ = ""
1731 dhBase.deviceId_.clear();
1732 dhBase.dhId_.clear();
1743 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1750 * @tc.desc: StartCapture, dhBase.deviceId_ = ""
1755 dhBase.deviceId_.clear();
1756 dhBase.dhId_ = testCameraDh;
1767 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1774 * @tc.desc: StartCapture, dhBase.dhId_ = ""
1779 dhBase.deviceId_ = testDeviceId;
1780 dhBase.dhId_.clear();
1791 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1798 * @tc.desc: StartCapture, dhBase.dhId_ = ""
1803 dhBase.deviceId_ = testDeviceId;
1804 dhBase.dhId_.clear();
1815 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1822 * @tc.desc: StartCapture, dhBase.dhId_ = "", dhBase.deviceId_ = ""
1827 dhBase.deviceId_.clear();
1828 dhBase.dhId_.clear();
1839 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1846 * @tc.desc: StartCapture, dhBase.deviceId_ = ""
1851 dhBase.deviceId_.clear();
1852 dhBase.dhId_ = testCameraDh;
1863 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1874 dhBase.deviceId_ = testDeviceId;
1875 dhBase.dhId_ = testCameraDh;
1886 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1897 dhBase.deviceId_ = testDeviceId;
1898 dhBase.dhId_ = testCameraDh;
1909 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1916 * @tc.desc: StartCapture, dhBase.deviceId_ = ""
1921 dhBase.deviceId_.clear();
1922 dhBase.dhId_ = testCameraDh;
1933 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1940 * @tc.desc: StartCapture, dhBase.deviceId_ = "", dhBase.dhId_ = ""
1945 dhBase.deviceId_.clear();
1946 dhBase.dhId_.clear();
1957 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1964 * @tc.desc: StartCapture, dhBase.dhId_ = ""
1969 dhBase.deviceId_ = testDeviceId;
1970 dhBase.dhId_.clear();
1981 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
1988 * @tc.desc: StartCapture, dhBase.dhId_ = ""
1993 dhBase.deviceId_ = testDeviceId;
1994 dhBase.dhId_.clear();
2005 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
2012 * @tc.desc: StartCapture, dhBase.deviceId_ = ""
2017 dhBase.deviceId_.clear();
2018 dhBase.dhId_ = testCameraDh;
2029 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
2036 * @tc.desc: StartCapture, dhBase.deviceId_ = "", dhBase.dhId_ = ""
2041 dhBase.deviceId_.clear();
2042 dhBase.dhId_.clear();
2053 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
2064 dhBase.deviceId_ = testDeviceId;
2065 dhBase.dhId_ = testCameraDh;
2076 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos1);
2083 * @tc.desc: StopCapture, dhBase.deviceId_ = ""
2087 dhBase.deviceId_.clear();
2088 dhBase.dhId_ = testCameraDh;
2089 int32_t ret = cameraProvider.StopCapture(dhBase, streamIds);
2096 * @tc.desc: StopCapture, dhBase.dhId_ = ""
2100 dhBase.deviceId_ = testDeviceId;
2101 dhBase.dhId_.clear();
2102 int32_t ret = cameraProvider.StopCapture(dhBase, streamIds);
2109 * @tc.desc: StopCapture, dhBase.deviceId_ = "", dhBase.dhId_ = ""
2113 dhBase.deviceId_.clear();
2114 dhBase.dhId_.clear();
2115 int32_t ret = cameraProvider.StopCapture(dhBase, streamIds);
2126 dhBase.deviceId_ = testDeviceId;
2127 dhBase.dhId_ = testCameraDh;
2130 int32_t ret = cameraProvider.StopCapture(dhBase, streamIds);
2137 * @tc.desc: StopCapture, dhBase.deviceId_ = "", dhBase.dhId_ = "", streamIds.push_back(-1)
2141 dhBase.deviceId_.clear();
2142 dhBase.dhId_.clear();
2145 int32_t ret = cameraProvider.StopCapture(dhBase, streamIds);
2156 dhBase.deviceId_ = testDeviceId;
2157 dhBase.dhId_ = testCameraDh;
2160 int32_t ret = cameraProvider.StopCapture(dhBase, streamIds);
2167 * @tc.desc: StopCapture, dhBase.deviceId_ = "", dhBase.dhId_ = "", streamIds.push_back(0)
2171 dhBase.deviceId_.clear();
2172 dhBase.dhId_.clear();
2175 int32_t ret = cameraProvider.StopCapture(dhBase, streamIds);
2182 * @tc.desc: UpdateSettings, dhBase.dhId_ = ""
2186 dhBase.deviceId_ = testDeviceId;
2187 dhBase.dhId_.clear();
2188 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2195 * @tc.desc: UpdateSettings, dhBase.deviceId_ = ""
2199 dhBase.deviceId_.clear();
2200 dhBase.dhId_ = testCameraDh;
2201 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2208 * @tc.desc: UpdateSettings, dhBase.deviceId_ = "", dhBase.dhId_ = ""
2212 dhBase.deviceId_.clear();
2213 dhBase.dhId_.clear();
2214 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2225 dhBase.deviceId_ = testDeviceId;
2226 dhBase.dhId_ = testCameraDh;
2231 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2238 * @tc.desc: UpdateSettings, dhBase.dhId_ = "", result.type_ = UPDATE_METADATA
2242 dhBase.deviceId_ = testDeviceId;
2243 dhBase.dhId_.clear();
2248 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2255 * @tc.desc: UpdateSettings, dhBase.deviceId_ = "", result.type_ = UPDATE_METADATA
2259 dhBase.deviceId_.clear();
2260 dhBase.dhId_ = testCameraDh;
2265 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2272 * @tc.desc: UpdateSettings, dhBase.deviceId_ = "", result.type_ = ENABLE_METADATA
2276 dhBase.deviceId_.clear();
2277 dhBase.dhId_ = testCameraDh;
2282 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2289 * @tc.desc: UpdateSettings, dhBase.dhId_ = "", result.type_ = ENABLE_METADATA
2293 dhBase.deviceId_ = testDeviceId;
2294 dhBase.dhId_.clear();
2299 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2310 dhBase.deviceId_ = testDeviceId;
2311 dhBase.dhId_ = testCameraDh;
2316 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2327 dhBase.deviceId_ = testDeviceId;
2328 dhBase.dhId_ = testCameraDh;
2333 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2344 dhBase.deviceId_ = testDeviceId;
2345 dhBase.dhId_ = testCameraDh;
2350 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2361 dhBase.deviceId_ = testDeviceId;
2362 dhBase.dhId_ = testCameraDh;
2367 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2378 dhBase.deviceId_ = testDeviceId;
2379 dhBase.dhId_ = testCameraDh;
2384 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);
2391 * @tc.desc: UpdateSettings, dhBase.dhId_ = "", result.type_ = UPDATE_FRAME_METADATA
2395 dhBase.deviceId_ = testDeviceId;
2396 dhBase.dhId_.clear();
2401 int32_t ret = cameraProvider.UpdateSettings(dhBase, settings);