Home
last modified time | relevance | path

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

12

/hardware/interfaces/camera/provider/aidl/android/hardware/camera/provider/
DICameraProviderCallback.aidl19 import android.hardware.camera.common.CameraDeviceStatus;
43 void cameraDeviceStatusChange(String cameraDeviceName, CameraDeviceStatus newStatus); in cameraDeviceStatusChange()
84 String cameraDeviceName, String physicalCameraDeviceName, CameraDeviceStatus newStatus); in physicalCameraDeviceStatusChange()
/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/interfaces/camera/provider/aidl/aidl_api/android.hardware.camera.provider/3/android/hardware/camera/provider/
DICameraProviderCallback.aidl37 …StatusChange(String cameraDeviceName, android.hardware.camera.common.CameraDeviceStatus newStatus); in cameraDeviceStatusChange()
39 …ame, String physicalCameraDeviceName, android.hardware.camera.common.CameraDeviceStatus newStatus); in physicalCameraDeviceStatusChange()
/hardware/interfaces/camera/provider/aidl/aidl_api/android.hardware.camera.provider/current/android/hardware/camera/provider/
DICameraProviderCallback.aidl37 …StatusChange(String cameraDeviceName, android.hardware.camera.common.CameraDeviceStatus newStatus); in cameraDeviceStatusChange()
39 …ame, String physicalCameraDeviceName, android.hardware.camera.common.CameraDeviceStatus newStatus); in physicalCameraDeviceStatusChange()
/hardware/interfaces/camera/provider/aidl/aidl_api/android.hardware.camera.provider/2/android/hardware/camera/provider/
DICameraProviderCallback.aidl37 …StatusChange(String cameraDeviceName, android.hardware.camera.common.CameraDeviceStatus newStatus); in cameraDeviceStatusChange()
39 …ame, String physicalCameraDeviceName, android.hardware.camera.common.CameraDeviceStatus newStatus); in physicalCameraDeviceStatusChange()
/hardware/interfaces/camera/provider/aidl/aidl_api/android.hardware.camera.provider/1/android/hardware/camera/provider/
DICameraProviderCallback.aidl37 …StatusChange(String cameraDeviceName, android.hardware.camera.common.CameraDeviceStatus newStatus); in cameraDeviceStatusChange()
39 …ame, String physicalCameraDeviceName, android.hardware.camera.common.CameraDeviceStatus newStatus); in physicalCameraDeviceStatusChange()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_provider_callback.h29 std::string /*camera_id*/, CameraDeviceStatus /*new_status*/)>;
35 CameraDeviceStatus /*new_status*/)>;
/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/aidl/vts/
Dtorch_provider_cb.cpp31 const std::string&, ::aidl::android::hardware::camera::common::CameraDeviceStatus) { in cameraDeviceStatusChange() argument
37 ::aidl::android::hardware::camera::common::CameraDeviceStatus) { in physicalCameraDeviceStatusChange() argument
Dtorch_provider_cb.h34 ::aidl::android::hardware::camera::common::CameraDeviceStatus in_newStatus) override;
38 ::aidl::android::hardware::camera::common::CameraDeviceStatus in_newStatus) override;
/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()
459 auto status = static_cast<CameraDeviceStatus>(statusPair.second); in setCallback()
460 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.cpp161 mCameraStatusMap[cameraDeviceName] != CameraDeviceStatus::PRESENT) { in getCameraDeviceInterface_V3_x()
226 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
228 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
280 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::NOT_PRESENT); in deviceRemoved()
/hardware/google/camera/common/hal/hwl_interface/
Dhwl_types.h132 std::function<void(uint32_t /*camera_id*/, CameraDeviceStatus /*new_status*/)>;
138 CameraDeviceStatus /*new_status*/)>;
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedCameraProviderHWLImpl.h30 using google_camera_hal::CameraDeviceStatus;
89 std::unordered_map<uint32_t, std::vector<std::pair<CameraDeviceStatus, uint32_t>>> camera_id_map_;
/hardware/interfaces/camera/common/aidl/aidl_api/android.hardware.camera.common/1/android/hardware/camera/common/
DCameraDeviceStatus.aidl36 enum CameraDeviceStatus { enum
/hardware/interfaces/camera/common/aidl/aidl_api/android.hardware.camera.common/current/android/hardware/camera/common/
DCameraDeviceStatus.aidl36 enum CameraDeviceStatus { enum
/hardware/interfaces/camera/common/aidl/android/hardware/camera/common/
DCameraDeviceStatus.aidl41 enum CameraDeviceStatus { enum
/hardware/google/camera/common/hal/aidl_service/
Daidl_camera_provider.cc37 using aidl::android::hardware::camera::common::CameraDeviceStatus;
72 google_camera_hal::CameraDeviceStatus new_status) { in Initialize()
77 CameraDeviceStatus aidl_camera_device_status; in Initialize()
102 google_camera_hal::CameraDeviceStatus new_status) { in Initialize()
121 CameraDeviceStatus aidl_camera_device_status; in Initialize()
/hardware/interfaces/camera/provider/default/
DExternalCameraProvider.h42 using ::aidl::android::hardware::camera::common::CameraDeviceStatus;
106 std::unordered_map<std::string, CameraDeviceStatus> mCameraStatusMap; // camera id -> status
DExternalCameraProvider.cpp128 mCameraStatusMap[in_cameraDeviceName] != CameraDeviceStatus::PRESENT) { in getCameraDeviceInterface()
183 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
185 mCallback->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
237 mCallback->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::NOT_PRESENT); in deviceRemoved()
/hardware/interfaces/camera/provider/2.7/default/
DExternalCameraProviderImpl_2_7.h43 using ::android::hardware::camera::common::V1_0::CameraDeviceStatus;
121 std::unordered_map<std::string, CameraDeviceStatus> mCameraStatusMap; // camera id -> status
DExternalCameraProviderImpl_2_7.cpp180 mCameraStatusMap[cameraDeviceName] != CameraDeviceStatus::PRESENT) { in getCameraDeviceInterface_V3_x()
245 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
247 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::PRESENT); in addExternalCamera()
298 mCallbacks->cameraDeviceStatusChange(deviceName, CameraDeviceStatus::NOT_PRESENT); in deviceRemoved()

12