Home
last modified time | relevance | path

Searched refs:cameraFacingType (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/camera_lite/frameworks/
H A Dcamera_info_impl.cpp21 CameraInfoImpl::CameraInfoImpl(int32_t cameraType, int32_t cameraFacingType) in CameraInfoImpl() argument
24 this->cameraFacingType = cameraFacingType; in CameraInfoImpl()
39 return cameraFacingType; in GetCameraFacingType()
42 void CameraInfoImpl::SetCameraFacingType(int32_t cameraFacingType) in SetCameraFacingType() argument
44 this->cameraFacingType = cameraFacingType; in SetCameraFacingType()
H A Dcamera_info_impl.h26 CameraInfoImpl(int32_t cameraType, int32_t cameraFacingType);
30 void SetCameraFacingType(int32_t cameraFacingType);
35 int32_t cameraFacingType; member in OHOS::Media::CameraInfoImpl
/foundation/multimedia/camera_lite/frameworks/binder/src/
H A Dcamera_service_client.cpp127 int32_t cameraFacingType; in Callback() local
129 ReadInt32(reply, &cameraFacingType); in Callback()
130 CameraInfo *cameraInfo = new (nothrow) CameraInfoImpl(cameraType, cameraFacingType); in Callback()
/foundation/multimedia/camera_lite/test/unittest/
H A Dcamera_lite_test.cpp2060 int32_t cameraFacingType = cameraInfo->GetCameraFacingType(); in HWTEST_F() local
2061 EXPECT_TRUE(cameraFacingType <= 2); in HWTEST_F()
2062 EXPECT_TRUE(cameraFacingType >= 0); in HWTEST_F()

Completed in 5 milliseconds