Searched refs:CameraDeviceStatus (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraManager.cpp | 313 CameraDeviceStatus status = pair.second; in registerAvailabilityCallback() 339 if (deviceStatus.second == CameraDeviceStatus::STATUS_NOT_PRESENT || in getCameraIdList() 340 deviceStatus.second == CameraDeviceStatus::STATUS_ENUMERATING) { in getCameraIdList() 347 bool CameraManagerGlobal::validStatus(CameraDeviceStatus status) { in validStatus() 349 case CameraDeviceStatus::STATUS_NOT_PRESENT: in validStatus() 350 case CameraDeviceStatus::STATUS_PRESENT: in validStatus() 351 case CameraDeviceStatus::STATUS_ENUMERATING: in validStatus() 352 case CameraDeviceStatus::STATUS_NOT_AVAILABLE: in validStatus() 359 bool CameraManagerGlobal::isStatusAvailable(CameraDeviceStatus status) { in isStatusAvailable() 361 case CameraDeviceStatus::STATUS_PRESENT: in isStatusAvailable() [all …]
|
D | ACameraManager.h | 40 using CameraDeviceStatus = frameworks::cameraservice::service::V2_0::CameraDeviceStatus; variable 153 static bool validStatus(CameraDeviceStatus status); 154 static bool isStatusAvailable(CameraDeviceStatus status); 178 std::map<hidl_string, CameraDeviceStatus, CameraIdComparator> mDeviceStatusMap;
|
/frameworks/hardware/interfaces/cameraservice/service/2.0/ |
D | types.hal | 24 * CameraDeviceStatus: 28 enum CameraDeviceStatus : int32_t { 60 * The camera id and corresponding CameraDeviceStatus. 63 CameraDeviceStatus deviceStatus;
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.h | 110 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) = 0; 344 hardware::camera::common::V1_0::CameraDeviceStatus initialStatus = 345 hardware::camera::common::V1_0::CameraDeviceStatus::PRESENT, 353 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) override; 387 hardware::camera::common::V1_0::CameraDeviceStatus mStatus; 423 mStatus(hardware::camera::common::V1_0::CameraDeviceStatus::PRESENT), in DeviceInfo() 592 const hardware::camera::common::V1_0::CameraDeviceStatus&);
|
D | CameraProviderManager.cpp | 1185 listener->onDeviceStatusChanged(id, CameraDeviceStatus::NOT_PRESENT); in removeProvider() 1318 status_t res = addDevice(device, common::V1_0::CameraDeviceStatus::PRESENT, &id); in initialize() 1385 CameraDeviceStatus initialStatus, /*out*/ std::string* parsedId) { in addDevice() 1535 CameraDeviceStatus newStatus) { in cameraDeviceStatusChange() 1555 if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChange() 1561 } else if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChange() 2410 const char* CameraProviderManager::deviceStatusToString(const CameraDeviceStatus& s) { in deviceStatusToString() 2412 case CameraDeviceStatus::NOT_PRESENT: in deviceStatusToString() 2414 case CameraDeviceStatus::PRESENT: in deviceStatusToString() 2416 case CameraDeviceStatus::ENUMERATING: in deviceStatusToString()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 105 hardware::camera::common::V1_0::CameraDeviceStatus newHalStatus) override; 446 typedef hardware::camera::common::V1_0::CameraDeviceStatus CameraDeviceStatus; typedef 453 NOT_PRESENT = static_cast<int32_t>(CameraDeviceStatus::NOT_PRESENT), 454 PRESENT = static_cast<int32_t>(CameraDeviceStatus::PRESENT), 455 ENUMERATING = static_cast<int32_t>(CameraDeviceStatus::ENUMERATING), 964 static StatusInternal mapToInternal(hardware::camera::common::V1_0::CameraDeviceStatus status);
|
D | CameraService.cpp | 92 using hardware::camera::common::V1_0::CameraDeviceStatus; 213 onDeviceStatusChanged(id8, CameraDeviceStatus::PRESENT); in enumerateProviders() 324 CameraDeviceStatus newHalStatus) { in onDeviceStatusChanged() 761 CameraService::StatusInternal CameraService::mapToInternal(CameraDeviceStatus status) { in mapToInternal() 764 case CameraDeviceStatus::NOT_PRESENT: in mapToInternal() 767 case CameraDeviceStatus::PRESENT: in mapToInternal() 770 case CameraDeviceStatus::ENUMERATING: in mapToInternal()
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | AidlCameraServiceListener.h | 39 using HCameraDeviceStatus = frameworks::cameraservice::service::V2_0::CameraDeviceStatus;
|
D | Convert.h | 46 using HCameraDeviceStatus = frameworks::cameraservice::service::V2_0::CameraDeviceStatus;
|
/frameworks/hardware/interfaces/cameraservice/vts/functional/ |
D | VtsHalCameraServiceV2_0TargetTest.cpp | 65 using android::frameworks::cameraservice::service::V2_0::CameraDeviceStatus; 90 std::map<hidl_string, CameraDeviceStatus> mCameraStatuses; 321 if (it.deviceStatus != CameraDeviceStatus::STATUS_PRESENT) { in TEST_P()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | CameraProviderManagerTest.cpp | 219 hardware::camera::common::V1_0::CameraDeviceStatus) override {} in onDeviceStatusChanged()
|