Home
last modified time | relevance | path

Searched refs:CameraDeviceStatus (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/common/
DHalConversionsTemplated.h27 const CameraDeviceStatus& s) { in mapFrameworkToHalCameraDeviceStatus()
29 case CameraDeviceStatus::PRESENT: in mapFrameworkToHalCameraDeviceStatus()
31 case CameraDeviceStatus::NOT_PRESENT: in mapFrameworkToHalCameraDeviceStatus()
33 case CameraDeviceStatus::ENUMERATING: in mapFrameworkToHalCameraDeviceStatus()
41 CameraDeviceStatus HalToFrameworkCameraDeviceStatus( in HalToFrameworkCameraDeviceStatus()
45 return CameraDeviceStatus::PRESENT; in HalToFrameworkCameraDeviceStatus()
47 return CameraDeviceStatus::NOT_PRESENT; in HalToFrameworkCameraDeviceStatus()
49 return CameraDeviceStatus::ENUMERATING; in HalToFrameworkCameraDeviceStatus()
52 return CameraDeviceStatus::NOT_PRESENT; in HalToFrameworkCameraDeviceStatus()
DCameraProviderManager.h51 enum class CameraDeviceStatus : uint32_t { enum
212 CameraDeviceStatus newStatus) = 0;
215 CameraDeviceStatus newStatus) = 0;
609 CameraDeviceStatus mStatus;
679 mStatus(CameraDeviceStatus::PRESENT), in DeviceInfo()
797 CameraDeviceStatus status;
800 CameraDeviceStatus s) : in CameraStatusInfoT()
832 const std::string& name, CameraDeviceStatus initialStatus,
836 CameraDeviceStatus newStatus);
840 CameraDeviceStatus newStatus);
[all …]
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.h46 using ::aidl::android::frameworks::cameraservice::service::CameraDeviceStatus;
91 CameraDeviceStatus in_status, const std::string& in_cameraId,
93 ndk::ScopedAStatus onStatusChanged(CameraDeviceStatus in_status,
185 void onStatusChanged(const CameraDeviceStatus &status, const std::string &cameraId);
186 void onStatusChangedLocked(const CameraDeviceStatus &status, const std::string &cameraId);
187 void onStatusChanged(const CameraDeviceStatus &status, const std::string &cameraId,
189 void onStatusChangedLocked(const CameraDeviceStatus &status, const std::string &cameraId,
194 static bool validStatus(CameraDeviceStatus status);
195 static bool isStatusAvailable(CameraDeviceStatus status);
220 CameraDeviceStatus status = CameraDeviceStatus::STATUS_NOT_PRESENT;
[all …]
DACameraManager.cpp325 onStatusChangedLocked(CameraDeviceStatus::STATUS_NOT_PRESENT, in getCameraService()
410 CameraDeviceStatus status = pair.second.getStatus(); in registerAvailCallback()
446 CameraDeviceStatus status = deviceStatus.second.getStatus(); in getCameraIdList()
447 if (status == CameraDeviceStatus::STATUS_NOT_PRESENT || in getCameraIdList()
448 status == CameraDeviceStatus::STATUS_ENUMERATING) { in getCameraIdList()
455 bool CameraManagerGlobal::validStatus(CameraDeviceStatus status) { in validStatus()
457 case CameraDeviceStatus::STATUS_NOT_PRESENT: in validStatus()
458 case CameraDeviceStatus::STATUS_PRESENT: in validStatus()
459 case CameraDeviceStatus::STATUS_ENUMERATING: in validStatus()
460 case CameraDeviceStatus::STATUS_NOT_AVAILABLE: in validStatus()
[all …]
/frameworks/hardware/interfaces/cameraservice/service/aidl/android/frameworks/cameraservice/service/
DICameraServiceListener.aidl19 import android.frameworks.cameraservice.service.CameraDeviceStatus;
33 void onPhysicalCameraStatusChanged(in CameraDeviceStatus status, in String cameraId, in onPhysicalCameraStatusChanged()
43 void onStatusChanged(in CameraDeviceStatus status, in String cameraId); in onStatusChanged()
DCameraStatusAndId.aidl19 import android.frameworks.cameraservice.service.CameraDeviceStatus;
26 CameraDeviceStatus deviceStatus;
DCameraDeviceStatus.aidl24 enum CameraDeviceStatus { enum
/frameworks/av/services/camera/virtualcamera/tests/
DVirtualCameraProviderTest.cc40 using ::aidl::android::hardware::camera::common::CameraDeviceStatus;
63 (const std::string&, CameraDeviceStatus), (override));
67 (const std::string&, const std::string&, CameraDeviceStatus),
78 .WillByDefault([](const std::string&, CameraDeviceStatus) { in SetUp() argument
117 cameraDeviceStatusChange(_, CameraDeviceStatus::PRESENT)) in TEST_F()
136 cameraDeviceStatusChange(_, CameraDeviceStatus::PRESENT)) in TEST_F()
156 CameraDeviceStatus::NOT_PRESENT)) in TEST_F()
DVirtualCameraServiceTest.cc51 using ::aidl::android::hardware::camera::common::CameraDeviceStatus;
109 (const std::string&, CameraDeviceStatus), (override));
113 (const std::string&, const std::string&, CameraDeviceStatus),
130 .WillByDefault([](const std::string&, CameraDeviceStatus) { in SetUp() argument
/frameworks/hardware/interfaces/cameraservice/service/2.1/
Dtypes.hal19 import android.frameworks.cameraservice.service@2.0::CameraDeviceStatus;
25 * The camera Id and its corresponding CameraDeviceStatus
48 * corresponding CameraDeviceStatus.
51 CameraDeviceStatus deviceStatus;
/frameworks/hardware/interfaces/cameraservice/service/2.0/
Dtypes.hal24 * CameraDeviceStatus:
28 enum CameraDeviceStatus : int32_t {
60 * The camera id and corresponding CameraDeviceStatus.
63 CameraDeviceStatus deviceStatus;
/frameworks/hardware/interfaces/cameraservice/service/aidl/aidl_api/android.frameworks.cameraservice.service/1/android/frameworks/cameraservice/service/
DICameraServiceListener.aidl37 …calCameraStatusChanged(in android.frameworks.cameraservice.service.CameraDeviceStatus status, in S… in onPhysicalCameraStatusChanged()
38 …oneway void onStatusChanged(in android.frameworks.cameraservice.service.CameraDeviceStatus status,… in onStatusChanged()
DCameraDeviceStatus.aidl36 enum CameraDeviceStatus { enum
DCameraStatusAndId.aidl37 android.frameworks.cameraservice.service.CameraDeviceStatus deviceStatus;
/frameworks/hardware/interfaces/cameraservice/service/aidl/aidl_api/android.frameworks.cameraservice.service/current/android/frameworks/cameraservice/service/
DICameraServiceListener.aidl37 …calCameraStatusChanged(in android.frameworks.cameraservice.service.CameraDeviceStatus status, in S… in onPhysicalCameraStatusChanged()
38 …oneway void onStatusChanged(in android.frameworks.cameraservice.service.CameraDeviceStatus status,… in onStatusChanged()
DCameraDeviceStatus.aidl36 enum CameraDeviceStatus { enum
DCameraStatusAndId.aidl37 android.frameworks.cameraservice.service.CameraDeviceStatus deviceStatus;
/frameworks/hardware/interfaces/cameraservice/service/aidl/aidl_api/android.frameworks.cameraservice.service/2/android/frameworks/cameraservice/service/
DICameraServiceListener.aidl37 …calCameraStatusChanged(in android.frameworks.cameraservice.service.CameraDeviceStatus status, in S… in onPhysicalCameraStatusChanged()
38 …oneway void onStatusChanged(in android.frameworks.cameraservice.service.CameraDeviceStatus status,… in onStatusChanged()
DCameraDeviceStatus.aidl36 enum CameraDeviceStatus { enum
DCameraStatusAndId.aidl37 android.frameworks.cameraservice.service.CameraDeviceStatus deviceStatus;
/frameworks/av/services/camera/libcameraservice/common/aidl/
DAidlProviderInfo.h79 ::aidl::android::hardware::camera::common::CameraDeviceStatus newStatus);
87 ::aidl::android::hardware::camera::common::CameraDeviceStatus newStatus);
93 ::aidl::android::hardware::camera::common::CameraDeviceStatus newStatus) override;
101 ::aidl::android::hardware::camera::common::CameraDeviceStatus newStatus) override;
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraProvider.cc37 using ::aidl::android::hardware::camera::common::CameraDeviceStatus;
59 cameraName, CameraDeviceStatus::PRESENT); in setCallback()
177 CameraDeviceStatus::PRESENT); in createCamera()
209 name, CameraDeviceStatus::NOT_PRESENT); in removeCamera()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp69 using ::aidl::android::frameworks::cameraservice::service::CameraDeviceStatus;
91 std::map<std::string, CameraDeviceStatus> mCameraStatuses;
99 ndk::ScopedAStatus onStatusChanged(CameraDeviceStatus in_status, in onStatusChanged()
107 CameraDeviceStatus in_status, const std::string& in_cameraId, in onPhysicalCameraStatusChanged()
114 EXPECT_EQ(mCameraStatuses[in_cameraId], CameraDeviceStatus::STATUS_PRESENT); in onPhysicalCameraStatusChanged()
116 if (in_status == CameraDeviceStatus::STATUS_PRESENT) { in onPhysicalCameraStatusChanged()
398 if (it.deviceStatus != CameraDeviceStatus::STATUS_PRESENT) { in BasicCameraTests()
DVtsHalCameraServiceV2_0TargetTest.cpp68 using android::frameworks::cameraservice::service::V2_0::CameraDeviceStatus;
96 std::map<hidl_string, CameraDeviceStatus> mCameraStatuses;
111 std::map<hidl_string, CameraDeviceStatus> mCameraStatuses;
132 EXPECT_EQ(mCameraStatuses[statusAndId.cameraId], CameraDeviceStatus::STATUS_PRESENT); in onPhysicalCameraStatusChanged()
134 if (statusAndId.deviceStatus == CameraDeviceStatus::STATUS_NOT_PRESENT) { in onPhysicalCameraStatusChanged()
396 if (it.deviceStatus != CameraDeviceStatus::STATUS_PRESENT) { in TEST_P()
/frameworks/av/services/camera/libcameraservice/common/hidl/
DHidlProviderInfo.h74 hardware::camera::common::V1_0::CameraDeviceStatus ) override;
81 hardware::camera::common::V1_0::CameraDeviceStatus ) override;

12