Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/tests/
Dcamera_provider_tests.cc53 CameraDeviceStatus device_status = CameraDeviceStatus::kNotPresent; in TEST_F()
58 CameraDeviceStatus new_status) { in TEST_F()
67 static const std::vector<CameraDeviceStatus> kMockCameraDeviceStatus = { in TEST_F()
68 CameraDeviceStatus::kNotPresent, CameraDeviceStatus::kPresent, in TEST_F()
69 CameraDeviceStatus::kEnumerating}; in TEST_F()
Dmock_provider_hwl.h123 CameraDeviceStatus camera_device_status_ = CameraDeviceStatus::kNotPresent;
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_provider_callback.h29 std::string /*camera_id*/, CameraDeviceStatus /*new_status*/)>;
35 CameraDeviceStatus /*new_status*/)>;
Dcamera_provider.cc146 [this](uint32_t camera_id, CameraDeviceStatus new_status) { in SetCallback()
154 CameraDeviceStatus new_status) { in SetCallback()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DHWLUtils.h35 using google_camera_hal::CameraDeviceStatus;
41 typedef unordered_map<uint32_t, pair<CameraDeviceStatus, unique_ptr<HalCameraMetadata>>>
/hardware/interfaces/camera/provider/2.4/default/
DLegacyCameraProviderImpl_2_4.h35 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
121 void addDeviceNames(int camera_id, CameraDeviceStatus status = CameraDeviceStatus::PRESENT,
DLegacyCameraProviderImpl_2_4.cpp70 void LegacyCameraProviderImpl_2_4::addDeviceNames(int camera_id, CameraDeviceStatus status, bool ca… in addDeviceNames()
120 mCallbacks->cameraDeviceStatusChange(deviceNamePair.second, CameraDeviceStatus::NOT_PRESENT); in removeDeviceNames()
128 CameraDeviceStatus::NOT_PRESENT); in removeDeviceNames()
161 CameraDeviceStatus status = (CameraDeviceStatus)new_status; in sCameraDeviceStatusChange()
170 case CameraDeviceStatus::PRESENT: in sCameraDeviceStatusChange()
171 case CameraDeviceStatus::ENUMERATING: in sCameraDeviceStatusChange()
176 case CameraDeviceStatus::NOT_PRESENT: in sCameraDeviceStatusChange()
457 auto status = static_cast<CameraDeviceStatus>(statusPair.second); in setCallback()
458 if (id >= mNumberOfLegacyCameras && status != CameraDeviceStatus::NOT_PRESENT) { in setCallback()
DExternalCameraProviderImpl_2_4.h38 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
103 std::unordered_map<std::string, CameraDeviceStatus> mCameraStatusMap; // camera id -> status
DExternalCameraProviderImpl_2_4.cpp160 mCameraStatusMap[cameraDeviceName] != CameraDeviceStatus::PRESENT) { in getCameraDeviceInterface_V3_x()
225 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
227 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
279 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::NOT_PRESENT); in deviceRemoved()
/hardware/google/camera/common/hal/hwl_interface/
Dhwl_types.h119 std::function<void(uint32_t /*camera_id*/, CameraDeviceStatus /*new_status*/)>;
125 CameraDeviceStatus /*new_status*/)>;
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedCameraProviderHWLImpl.h30 using google_camera_hal::CameraDeviceStatus;
91 std::unordered_map<uint32_t, std::vector<std::pair<CameraDeviceStatus, uint32_t>>> camera_id_map_;
DEmulatedCameraProviderHWLImpl.cpp754 camera_id_map_.emplace(logical_id, std::vector<std::pair<CameraDeviceStatus, uint32_t>>()); in Initialize()
765 auto device_status = (current_physical_device < 2) ? CameraDeviceStatus::kPresent : in Initialize()
766 CameraDeviceStatus::kNotPresent; in Initialize()
795 camera_id_map_.emplace(logical_id, std::vector<std::pair<CameraDeviceStatus, uint32_t>>()); in Initialize()
838 if (physical_device.first != CameraDeviceStatus::kNotPresent) { in NotifyPhysicalCameraUnavailable()
846 CameraDeviceStatus::kNotPresent); in NotifyPhysicalCameraUnavailable()
/hardware/google/camera/common/hal/hidl_service/
Dhidl_camera_provider.cc38 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
70 google_camera_hal::CameraDeviceStatus new_status) { in Initialize()
75 CameraDeviceStatus hidl_camera_device_status; in Initialize()
96 google_camera_hal::CameraDeviceStatus in Initialize()
116 CameraDeviceStatus hidl_camera_device_status; in Initialize()
Dhidl_utils.h35 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
110 google_camera_hal::CameraDeviceStatus hal_camera_device_status,
111 CameraDeviceStatus* hidl_camera_device_status);
Dhidl_utils.cc544 google_camera_hal::CameraDeviceStatus hal_camera_device_status, in ConvertToHidlCameraDeviceStatus()
545 CameraDeviceStatus* hidl_camera_device_status) { in ConvertToHidlCameraDeviceStatus()
552 case google_camera_hal::CameraDeviceStatus::kNotPresent: in ConvertToHidlCameraDeviceStatus()
553 *hidl_camera_device_status = CameraDeviceStatus::NOT_PRESENT; in ConvertToHidlCameraDeviceStatus()
555 case google_camera_hal::CameraDeviceStatus::kPresent: in ConvertToHidlCameraDeviceStatus()
556 *hidl_camera_device_status = CameraDeviceStatus::PRESENT; in ConvertToHidlCameraDeviceStatus()
558 case google_camera_hal::CameraDeviceStatus::kEnumerating: in ConvertToHidlCameraDeviceStatus()
559 *hidl_camera_device_status = CameraDeviceStatus::ENUMERATING; in ConvertToHidlCameraDeviceStatus()
/hardware/interfaces/camera/provider/2.5/default/
DExternalCameraProviderImpl_2_5.h35 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
DLegacyCameraProviderImpl_2_5.h35 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
/hardware/interfaces/camera/provider/2.6/
DICameraProviderCallback.hal53 string physicalCameraDeviceName, CameraDeviceStatus newStatus);
/hardware/interfaces/camera/provider/2.4/
DICameraProviderCallback.hal48 CameraDeviceStatus newStatus);
/hardware/google/camera/common/hal/common/
Dhal_types.h45 enum class CameraDeviceStatus : uint32_t { enum
/hardware/interfaces/camera/common/1.0/
Dtypes.hal124 * CameraDeviceStatus
143 enum CameraDeviceStatus : uint32_t {
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp93 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
687 const hidl_string&, CameraDeviceStatus) override { in cameraDeviceStatusChange()
1709 CameraDeviceStatus newStatus) override { in getCameraDeviceNames()
1712 if (newStatus == CameraDeviceStatus::PRESENT) { in getCameraDeviceNames()
1876 CameraDeviceStatus newStatus) override { in TEST_P()
1894 CameraDeviceStatus newStatus) override { in TEST_P()
1909 CameraDeviceStatus newStatus) override { in TEST_P()