Home
last modified time | relevance | path

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

/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.h43 using CameraDeviceStatus = frameworks::cameraservice::service::V2_0::CameraDeviceStatus; variable
197 static bool validStatus(CameraDeviceStatus status);
198 static bool isStatusAvailable(CameraDeviceStatus status);
223 CameraDeviceStatus status = CameraDeviceStatus::STATUS_NOT_PRESENT;
227 CameraStatus(CameraDeviceStatus st): status(st) { }; in CameraStatus()
232 CameraDeviceStatus getStatus();
233 void updateStatus(CameraDeviceStatus newStatus);
DACameraManager.cpp285 statusAndId.deviceStatus = CameraDeviceStatus::STATUS_NOT_PRESENT; in getCameraService()
367 CameraDeviceStatus status = pair.second.getStatus(); in registerAvailCallback()
402 CameraDeviceStatus status = deviceStatus.second.getStatus(); in getCameraIdList()
403 if (status == CameraDeviceStatus::STATUS_NOT_PRESENT || in getCameraIdList()
404 status == CameraDeviceStatus::STATUS_ENUMERATING) { in getCameraIdList()
411 bool CameraManagerGlobal::validStatus(CameraDeviceStatus status) { in validStatus()
413 case CameraDeviceStatus::STATUS_NOT_PRESENT: in validStatus()
414 case CameraDeviceStatus::STATUS_PRESENT: in validStatus()
415 case CameraDeviceStatus::STATUS_ENUMERATING: in validStatus()
416 case CameraDeviceStatus::STATUS_NOT_AVAILABLE: in validStatus()
[all …]
/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/av/services/camera/libcameraservice/common/
DCameraProviderManager.h154 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) = 0;
157 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) = 0;
400 hardware::camera::common::V1_0::CameraDeviceStatus initialStatus =
401 hardware::camera::common::V1_0::CameraDeviceStatus::PRESENT,
409 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) override;
416 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) override;
420 hardware::camera::common::V1_0::CameraDeviceStatus newStatus);
425 hardware::camera::common::V1_0::CameraDeviceStatus newStatus);
467 hardware::camera::common::V1_0::CameraDeviceStatus mStatus;
507 mStatus(hardware::camera::common::V1_0::CameraDeviceStatus::PRESENT), in DeviceInfo()
[all …]
DCameraProviderManager.cpp1325 listener->onDeviceStatusChanged(id, CameraDeviceStatus::NOT_PRESENT); in removeProvider()
1494 status_t res = addDevice(device, common::V1_0::CameraDeviceStatus::PRESENT, &id); in initialize()
1594 CameraDeviceStatus initialStatus, /*out*/ std::string* parsedId) { in addDevice()
1813 CameraDeviceStatus newStatus) { in cameraDeviceStatusChange()
1842 CameraDeviceStatus newStatus) { in cameraDeviceStatusChangeLocked()
1858 if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChangeLocked()
1864 } else if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChangeLocked()
1878 CameraDeviceStatus newStatus) { in physicalCameraDeviceStatusChange()
1912 CameraDeviceStatus newStatus) { in physicalCameraDeviceStatusChangeLocked()
2879 const char* CameraProviderManager::deviceStatusToString(const CameraDeviceStatus& s) { in deviceStatusToString()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.h109 hardware::camera::common::V1_0::CameraDeviceStatus newHalStatus) override;
112 hardware::camera::common::V1_0::CameraDeviceStatus newHalStatus) override;
535 typedef hardware::camera::common::V1_0::CameraDeviceStatus CameraDeviceStatus; typedef
542 NOT_PRESENT = static_cast<int32_t>(CameraDeviceStatus::NOT_PRESENT),
543 PRESENT = static_cast<int32_t>(CameraDeviceStatus::PRESENT),
544 ENUMERATING = static_cast<int32_t>(CameraDeviceStatus::ENUMERATING),
1156 static StatusInternal mapToInternal(hardware::camera::common::V1_0::CameraDeviceStatus status);
DCameraService.cpp93 using hardware::camera::common::V1_0::CameraDeviceStatus;
236 onDeviceStatusChanged(id8, CameraDeviceStatus::PRESENT); in enumerateProviders()
412 CameraDeviceStatus newHalStatus) { in onDeviceStatusChanged()
479 CameraDeviceStatus newHalStatus) { in onDeviceStatusChanged()
959 CameraService::StatusInternal CameraService::mapToInternal(CameraDeviceStatus status) { in mapToInternal()
962 case CameraDeviceStatus::NOT_PRESENT: in mapToInternal()
965 case CameraDeviceStatus::PRESENT: in mapToInternal()
968 case CameraDeviceStatus::ENUMERATING: in mapToInternal()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp68 using android::frameworks::cameraservice::service::V2_0::CameraDeviceStatus;
94 std::map<hidl_string, CameraDeviceStatus> mCameraStatuses;
109 std::map<hidl_string, CameraDeviceStatus> mCameraStatuses;
130 EXPECT_EQ(mCameraStatuses[statusAndId.cameraId], CameraDeviceStatus::STATUS_PRESENT); in onPhysicalCameraStatusChanged()
132 if (statusAndId.deviceStatus == CameraDeviceStatus::STATUS_NOT_PRESENT) { in onPhysicalCameraStatusChanged()
393 if (it.deviceStatus != CameraDeviceStatus::STATUS_PRESENT) { in TEST_P()
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraServiceListener.h40 using HCameraDeviceStatus = frameworks::cameraservice::service::V2_0::CameraDeviceStatus;
DConvert.h47 using HCameraDeviceStatus = frameworks::cameraservice::service::V2_0::CameraDeviceStatus;
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp272 hardware::camera::common::V1_0::CameraDeviceStatus) override {} in onDeviceStatusChanged()
274 hardware::camera::common::V1_0::CameraDeviceStatus) override {} in onDeviceStatusChanged()