/hardware/google/camera/common/hal/tests/ |
D | camera_provider_tests.cc | 53 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()
|
D | mock_provider_hwl.h | 123 CameraDeviceStatus camera_device_status_ = CameraDeviceStatus::kNotPresent;
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | camera_provider_callback.h | 29 std::string /*camera_id*/, CameraDeviceStatus /*new_status*/)>; 35 CameraDeviceStatus /*new_status*/)>;
|
D | camera_provider.cc | 146 [this](uint32_t camera_id, CameraDeviceStatus new_status) { in SetCallback() 154 CameraDeviceStatus new_status) { in SetCallback()
|
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/ |
D | HWLUtils.h | 35 using google_camera_hal::CameraDeviceStatus; 41 typedef unordered_map<uint32_t, pair<CameraDeviceStatus, unique_ptr<HalCameraMetadata>>>
|
/hardware/interfaces/camera/provider/2.4/default/ |
D | LegacyCameraProviderImpl_2_4.h | 35 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus; 121 void addDeviceNames(int camera_id, CameraDeviceStatus status = CameraDeviceStatus::PRESENT,
|
D | LegacyCameraProviderImpl_2_4.cpp | 70 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()
|
D | ExternalCameraProviderImpl_2_4.h | 38 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus; 103 std::unordered_map<std::string, CameraDeviceStatus> mCameraStatusMap; // camera id -> status
|
D | ExternalCameraProviderImpl_2_4.cpp | 160 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/ |
D | hwl_types.h | 119 std::function<void(uint32_t /*camera_id*/, CameraDeviceStatus /*new_status*/)>; 125 CameraDeviceStatus /*new_status*/)>;
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedCameraProviderHWLImpl.h | 30 using google_camera_hal::CameraDeviceStatus; 91 std::unordered_map<uint32_t, std::vector<std::pair<CameraDeviceStatus, uint32_t>>> camera_id_map_;
|
D | EmulatedCameraProviderHWLImpl.cpp | 754 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/ |
D | hidl_camera_provider.cc | 38 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()
|
D | hidl_utils.h | 35 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus; 110 google_camera_hal::CameraDeviceStatus hal_camera_device_status, 111 CameraDeviceStatus* hidl_camera_device_status);
|
D | hidl_utils.cc | 544 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/ |
D | ExternalCameraProviderImpl_2_5.h | 35 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
|
D | LegacyCameraProviderImpl_2_5.h | 35 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
|
/hardware/interfaces/camera/provider/2.6/ |
D | ICameraProviderCallback.hal | 53 string physicalCameraDeviceName, CameraDeviceStatus newStatus);
|
/hardware/interfaces/camera/provider/2.4/ |
D | ICameraProviderCallback.hal | 48 CameraDeviceStatus newStatus);
|
/hardware/google/camera/common/hal/common/ |
D | hal_types.h | 45 enum class CameraDeviceStatus : uint32_t { enum
|
/hardware/interfaces/camera/common/1.0/ |
D | types.hal | 124 * CameraDeviceStatus 143 enum CameraDeviceStatus : uint32_t {
|
/hardware/interfaces/camera/provider/2.4/vts/functional/ |
D | VtsHalCameraProviderV2_4TargetTest.cpp | 93 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()
|