Searched refs:serviceV1_2 (Results 1 – 4 of 4) sorted by relevance
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/ |
D | camera_flashlight_test_v1_2.cpp | 45 cameraTest->serviceV1_2 = OHOS::HDI::Camera::V1_2::ICameraHost::Get("camera_service", false); 46 EXPECT_NE(cameraTest->serviceV1_2, nullptr); 49 ret = cameraTest->serviceV1_2->SetCallback_V1_2(cameraTest->hostCallbackV1_2); 63 cameraTest->serviceV1_2 = OHOS::HDI::Camera::V1_2::ICameraHost::Get("camera_service", false); 64 EXPECT_NE(cameraTest->serviceV1_2, nullptr); 68 ret = cameraTest->serviceV1_2->SetCallback_V1_2(cameraTest->hostCallbackV1_2); 83 ret = cameraTest->serviceV1_2->SetCallback_V1_2(cameraTest->hostCallbackV1_2); 86 cameraTest->rc = cameraTest->serviceV1_2->SetFlashlight_V1_2(cameraTest->statusV1_2); 101 ret = cameraTest->serviceV1_2->SetCallback_V1_2(cameraTest->hostCallbackV1_2); 104 cameraTest->rc = cameraTest->serviceV1_2->SetFlashlight_V1_2(cameraTest->statusV1_2); [all …]
|
D | camera_prelaunch_test_v1_2.cpp | 44 cameraTest->rc = cameraTest->serviceV1_2->PreCameraSwitch(cameraId); 57 cameraTest->rc = cameraTest->serviceV1_2->PreCameraSwitch(cameraId); 70 cameraTest->rc = cameraTest->serviceV1_2->PreCameraSwitch(cameraId); 83 cameraTest->rc = cameraTest->serviceV1_2->PreCameraSwitch(cameraId); 96 cameraTest->rc = cameraTest->serviceV1_2->PreCameraSwitch(cameraId); 112 cameraTest->rc = cameraTest->serviceV1_2->PrelaunchWithOpMode( 130 cameraTest->rc = cameraTest->serviceV1_2->PrelaunchWithOpMode( 148 cameraTest->rc = cameraTest->serviceV1_2->PrelaunchWithOpMode( 166 cameraTest->rc = cameraTest->serviceV1_2->PrelaunchWithOpMode( 184 cameraTest->rc = cameraTest->serviceV1_2->PrelaunchWithOpMode( [all …]
|
D | hdi_common_v1_2.cpp | 76 if (serviceV1_2 == nullptr) { in Init() 77 serviceV1_2 = OHOS::HDI::Camera::V1_2::ICameraHost::Get("camera_service", false); in Init() 78 EXPECT_NE(serviceV1_2, nullptr); in Init() 80 ret = serviceV1_2->GetVersion(mainVer, minVer); in Init() 83 service = static_cast<OHOS::HDI::Camera::V1_0::ICameraHost *>(serviceV1_2.GetRefPtr()); in Init() 125 EXPECT_NE(serviceV1_2, nullptr); 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() 147 EXPECT_NE(serviceV1_2, nullptr); in OpenCameraV1_2() 149 rc = serviceV1_2->OpenCamera_V1_2(cameraIds[1], deviceCallback, cameraDeviceV1_2); in OpenCameraV1_2() [all …]
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/ |
D | hdi_common_v1_2.h | 115 OHOS::sptr<OHOS::HDI::Camera::V1_2::ICameraHost> serviceV1_2 = nullptr; variable
|