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.h42 using CameraDeviceStatus = frameworks::cameraservice::service::V2_0::CameraDeviceStatus; variable
196 static bool validStatus(CameraDeviceStatus status);
197 static bool isStatusAvailable(CameraDeviceStatus status);
222 CameraDeviceStatus status = CameraDeviceStatus::STATUS_NOT_PRESENT;
226 CameraStatus(CameraDeviceStatus st): status(st) { }; in CameraStatus()
231 CameraDeviceStatus getStatus();
232 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.h141 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) = 0;
144 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) = 0;
388 hardware::camera::common::V1_0::CameraDeviceStatus initialStatus =
389 hardware::camera::common::V1_0::CameraDeviceStatus::PRESENT,
397 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) override;
404 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) override;
446 hardware::camera::common::V1_0::CameraDeviceStatus mStatus;
447 std::map<std::string, hardware::camera::common::V1_0::CameraDeviceStatus>
485 mStatus(hardware::camera::common::V1_0::CameraDeviceStatus::PRESENT), in DeviceInfo()
667 const hardware::camera::common::V1_0::CameraDeviceStatus&);
DCameraProviderManager.cpp1288 listener->onDeviceStatusChanged(id, CameraDeviceStatus::NOT_PRESENT); in removeProvider()
1432 status_t res = addDevice(device, common::V1_0::CameraDeviceStatus::PRESENT, &id); in initialize()
1515 CameraDeviceStatus initialStatus, /*out*/ std::string* parsedId) { in addDevice()
1734 CameraDeviceStatus newStatus) { in cameraDeviceStatusChange()
1754 if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChange()
1760 } else if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChange()
1783 CameraDeviceStatus newStatus) { in physicalCameraDeviceStatusChange()
2743 const char* CameraProviderManager::deviceStatusToString(const CameraDeviceStatus& s) { in deviceStatusToString()
2745 case CameraDeviceStatus::NOT_PRESENT: in deviceStatusToString()
2747 case CameraDeviceStatus::PRESENT: in deviceStatusToString()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.h107 hardware::camera::common::V1_0::CameraDeviceStatus newHalStatus) override;
110 hardware::camera::common::V1_0::CameraDeviceStatus newHalStatus) override;
489 typedef hardware::camera::common::V1_0::CameraDeviceStatus CameraDeviceStatus; typedef
496 NOT_PRESENT = static_cast<int32_t>(CameraDeviceStatus::NOT_PRESENT),
497 PRESENT = static_cast<int32_t>(CameraDeviceStatus::PRESENT),
498 ENUMERATING = static_cast<int32_t>(CameraDeviceStatus::ENUMERATING),
1069 static StatusInternal mapToInternal(hardware::camera::common::V1_0::CameraDeviceStatus status);
DCameraService.cpp93 using hardware::camera::common::V1_0::CameraDeviceStatus;
225 onDeviceStatusChanged(id8, CameraDeviceStatus::PRESENT); in enumerateProviders()
365 CameraDeviceStatus newHalStatus) { in onDeviceStatusChanged()
432 CameraDeviceStatus newHalStatus) { in onDeviceStatusChanged()
909 CameraService::StatusInternal CameraService::mapToInternal(CameraDeviceStatus status) { in mapToInternal()
912 case CameraDeviceStatus::NOT_PRESENT: in mapToInternal()
915 case CameraDeviceStatus::PRESENT: in mapToInternal()
918 case CameraDeviceStatus::ENUMERATING: in mapToInternal()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp67 using android::frameworks::cameraservice::service::V2_0::CameraDeviceStatus;
93 std::map<hidl_string, CameraDeviceStatus> mCameraStatuses;
108 std::map<hidl_string, CameraDeviceStatus> mCameraStatuses;
129 EXPECT_EQ(mCameraStatuses[statusAndId.cameraId], CameraDeviceStatus::STATUS_PRESENT); in onPhysicalCameraStatusChanged()
131 if (statusAndId.deviceStatus == CameraDeviceStatus::STATUS_NOT_PRESENT) { in onPhysicalCameraStatusChanged()
381 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.cpp251 hardware::camera::common::V1_0::CameraDeviceStatus) override {} in onDeviceStatusChanged()
253 hardware::camera::common::V1_0::CameraDeviceStatus) override {} in onDeviceStatusChanged()