/test/xts/hats/hdf/camera/cameraMg/v1_0/src/ |
D | hdi_host_uttest.cpp | 45 cameraTest->rc = cameraTest->service->GetCameraIds(cameraTest->cameraIds); 47 EXPECT_LT(0, cameraTest->cameraIds.size()); 48 CAMERA_LOGE("check hdi_host: cameraIds.size() = %{public}zu", cameraTest->cameraIds.size()); 94 cameraTest->service->GetCameraIds(cameraTest->cameraIds); 96 …cameraTest->rc = cameraTest->service->OpenCamera(cameraTest->cameraIds.front(), cameraTest->device… 170 cameraTest->service->GetCameraIds(cameraTest->cameraIds); 172 …cameraTest->rc = cameraTest->service->OpenCamera(cameraTest->cameraIds.front(), cameraTest->device… 206 cameraTest->service->GetCameraIds(cameraTest->cameraIds); 208 …cameraTest->rc = cameraTest->service->SetFlashlight(cameraTest->cameraIds.front(), cameraTest->sta… 257 cameraTest->service->GetCameraIds(cameraTest->cameraIds); [all …]
|
D | common.cpp | 87 rc = service->GetCameraAbility(cameraIds.front(), abilityVec); in GetCameraMetadata() 104 service->GetCameraIds(cameraIds); in Open() 105 if (cameraIds.size() == 0) { in Open() 111 rc = service->OpenCamera(cameraIds.front(), deviceCallback, cameraDevice); in Open()
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/ |
D | hdi_host_uttest.cpp | 42 cameraTest->rc = cameraTest->service->GetCameraIds(cameraTest->cameraIds); 44 EXPECT_LT(0, cameraTest->cameraIds.size()); 45 … CAMERA_LOGE("check hdi_host: cameraIds.size() = %{public}zu", cameraTest->cameraIds.size()); 60 cameraTest->service->GetCameraIds(cameraTest->cameraIds); 62 …cameraTest->rc = cameraTest->service->SetFlashlight(cameraTest->cameraIds.front(), cameraTest->sta… 110 cameraTest->service->GetCameraIds(cameraTest->cameraIds); 112 …cameraTest->rc = cameraTest->service->SetFlashlight(cameraTest->cameraIds.front(), cameraTest->sta…
|
D | common.cpp | 88 rc = service->GetCameraAbility(cameraIds.front(), abilityVec); in GetCameraMetadata() 105 service->GetCameraIds(cameraIds); in Open() 106 if (cameraIds.size() == 0) { in Open() 112 rc = service->OpenCamera(cameraIds.front(), deviceCallback, cameraDevice); in Open()
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/ |
D | open_camera_test.cpp | 47 std::vector<std::string> cameraIds; variable 48 display_->cameraHost->GetCameraIds(cameraIds); 49 for (auto &cameraId : cameraIds) { 52 std::string cameraId = cameraIds.front(); 185 std::vector<std::string> cameraIds; variable 186 display_->cameraHost->GetCameraIds(cameraIds); 187 for (auto &cameraId : cameraIds) {
|
D | usb_camera_test.cpp | 48 std::vector<std::string> cameraIds; variable 50 display_->cameraHost->GetCameraIds(cameraIds); 51 std::cout << "==========[test log] First cameraId.size = " << cameraIds.size() << std::endl; 53 for (const auto &cameraId : cameraIds) { 62 if (cameraIds.size() == 1) { 63 cameraIds.clear(); 65 rc = display_->cameraHost->GetCameraIds(cameraIds); 67 for (const auto &cameraId : cameraIds) { 70 if (cameraIds.size() > 1) { 73 std::cout << "==========[test log] Second cameraId.size = " << cameraIds.size() << std::endl; [all …]
|
D | test_display.cpp | 408 cameraHost->GetCameraIds(cameraIds); in Init() 409 cameraHost->GetCameraAbility(cameraIds.front(), ability_); in Init() 412 rc = (CamRetCode)cameraHost->OpenCamera(cameraIds.front(), callback, cameraDevice); in Init() 446 OHOS::Camera::RetCode ret = cameraHost->GetCameraIds(cameraIds); in GetCameraAbility() 453 if (cameraIds.size() == 0) { in GetCameraAbility() 457 if (cameraIds.size() > 1) { in GetCameraAbility() 458 ret = cameraHost->GetCameraAbility(cameraIds.back(), ability_); in GetCameraAbility() 471 cameraHost->GetCameraIds(cameraIds); in OpenUsbCamera() 472 if (cameraIds.size() > 1) { in OpenUsbCamera() 473 cameraHost->GetCameraAbility(cameraIds.back(), ability_); in OpenUsbCamera() [all …]
|
D | camera_preview_test.cpp | 115 display_->cameraHost->GetCameraIds(display_->cameraIds); 116 std::cout << "cameraIds.front() = " << display_->cameraIds.front() << std::endl; 119 display_->rc = (CamRetCode)display_->cameraHost->OpenCamera(display_->cameraIds.front(), 137 display_->cameraHost->GetCameraIds(display_->cameraIds); 138 std::cout << "cameraIds.front() = " << display_->cameraIds.front() << std::endl; 141 display_->rc = (CamRetCode)display_->cameraHost->OpenCamera(display_->cameraIds.front(), 164 display_->cameraHost->GetCameraIds(display_->cameraIds); 165 std::cout << "cameraIds.front() = " << display_->cameraIds.front() << std::endl; 168 display_->rc = (CamRetCode)display_->cameraHost->OpenCamera(display_->cameraIds.front(),
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/ |
D | hdi_common_v1_2.cpp | 120 service->GetCameraIds(cameraIds); in Open() 121 EXPECT_NE(cameraIds.size(), 0); in Open() 127 rc = serviceV1_2->OpenCamera_V1_1(cameraIds[1], deviceCallback, cameraDeviceV1_1); in Open() 129 rc = serviceV1_2->OpenCamera_V1_1(cameraIds[0], deviceCallback, cameraDeviceV1_1); in Open() 142 service->GetCameraIds(cameraIds); in OpenCameraV1_2() 143 EXPECT_NE(cameraIds.size(), 0); in OpenCameraV1_2() 149 rc = serviceV1_2->OpenCamera_V1_2(cameraIds[1], deviceCallback, cameraDeviceV1_2); in OpenCameraV1_2() 151 rc = serviceV1_2->OpenCamera_V1_2(cameraIds[0], deviceCallback, cameraDeviceV1_2); in OpenCameraV1_2() 163 rc = service->GetCameraAbility(cameraIds[1], abilityVec); in GetCameraMetadata() 165 rc = service->GetCameraAbility(cameraIds[0], abilityVec); in GetCameraMetadata()
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/ |
D | benchmark_common.cpp | 98 rc = service->GetCameraAbility(cameraIds.front(), abilityVec); in GetCameraMetadata() 115 service->GetCameraIds(cameraIds); in Open() 116 if (cameraIds.size() == 0) { in Open() 119 ASSERT_TRUE(cameraIds.size() != 0); in Open() 124 rc = serviceV1_1->OpenCamera_V1_1(cameraIds.front(), deviceCallback, cameraDeviceV1_1); in Open()
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/ |
D | hdi_common_v1_1.cpp | 100 service->GetCameraIds(cameraIds); in Open() 101 if (cameraIds.size() == 0) { in Open() 104 ASSERT_TRUE(cameraIds.size() != 0); in Open() 109 rc = serviceV1_1->OpenCamera_V1_1(cameraIds.front(), deviceCallback, cameraDeviceV1_1); in Open() 122 rc = service->GetCameraAbility(cameraIds.front(), abilityVec); in GetCameraMetadata()
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/ |
D | hdi_common_v1_1.cpp | 100 service->GetCameraIds(cameraIds); in Open() 101 if (cameraIds.size() == 0) { in Open() 104 ASSERT_TRUE(cameraIds.size() != 0); in Open() 109 rc = serviceV1_1->OpenCamera_V1_1(cameraIds.front(), deviceCallback, cameraDeviceV1_1); in Open() 122 rc = service->GetCameraAbility(cameraIds.front(), abilityVec); in GetCameraMetadata()
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/ |
D | benchmark_common.cpp | 87 rc = service->GetCameraAbility(cameraIds.front(), abilityVec); in GetCameraMetadata() 104 service->GetCameraIds(cameraIds); in Open() 105 if (cameraIds.size() == 0) { in Open() 111 rc = service->OpenCamera(cameraIds.front(), deviceCallback, cameraDevice); in Open()
|
D | hdf_camera_benchmark_test.cpp | 45 cameraTest->service->GetCameraIds(cameraTest->cameraIds); in BENCHMARK_F() 48 …cameraTest->rc = cameraTest->service->OpenCamera(cameraTest->cameraIds.front(), cameraTest->device… in BENCHMARK_F() 68 cameraTest->rc = cameraTest->service->GetCameraIds(cameraTest->cameraIds); in BENCHMARK_F() 103 cameraTest->rc = cameraTest->service->GetCameraIds(cameraTest->cameraIds); in BENCHMARK_F() 105 for (int i = 0; i < cameraTest->cameraIds.size(); i++) { in BENCHMARK_F() 107 …cameraTest->rc = cameraTest->service->GetCameraAbility(cameraTest->cameraIds[i], cameraTest->abili… in BENCHMARK_F() 124 cameraTest->service->GetCameraIds(cameraTest->cameraIds); in BENCHMARK_F() 127 …cameraTest->rc = cameraTest->service->SetFlashlight(cameraTest->cameraIds.front(), cameraTest->sta… in BENCHMARK_F()
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/ |
D | test_display.h | 122 std::vector<std::string> cameraIds; variable
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/ |
D | common.h | 100 std::vector<std::string> cameraIds; variable
|
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/ |
D | common.h | 99 std::vector<std::string> cameraIds; variable
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/ |
D | hdi_common_v1_1.h | 124 std::vector<std::string> cameraIds; variable
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/ |
D | hdi_common_v1_1.h | 124 std::vector<std::string> cameraIds; variable
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/ |
D | hdi_common_v1_2.h | 178 std::vector<std::string> cameraIds; variable
|