Searched refs:CameraDeviceStatus (Results 1 – 11 of 11) sorted by relevance
/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/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/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.h | 107 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) = 0; 340 hardware::camera::common::V1_0::CameraDeviceStatus initialStatus = 341 hardware::camera::common::V1_0::CameraDeviceStatus::PRESENT, 349 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) override; 383 hardware::camera::common::V1_0::CameraDeviceStatus mStatus; 419 mStatus(hardware::camera::common::V1_0::CameraDeviceStatus::PRESENT), in DeviceInfo() 588 const hardware::camera::common::V1_0::CameraDeviceStatus&);
|
D | CameraProviderManager.cpp | 1149 listener->onDeviceStatusChanged(id, CameraDeviceStatus::NOT_PRESENT); in removeProvider() 1282 status_t res = addDevice(device, common::V1_0::CameraDeviceStatus::PRESENT, &id); in initialize() 1349 CameraDeviceStatus initialStatus, /*out*/ std::string* parsedId) { in addDevice() 1499 CameraDeviceStatus newStatus) { in cameraDeviceStatusChange() 1519 if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChange() 1525 } else if (newStatus == CameraDeviceStatus::NOT_PRESENT) { in cameraDeviceStatusChange() 2367 const char* CameraProviderManager::deviceStatusToString(const CameraDeviceStatus& s) { in deviceStatusToString() 2369 case CameraDeviceStatus::NOT_PRESENT: in deviceStatusToString() 2371 case CameraDeviceStatus::PRESENT: in deviceStatusToString() 2373 case CameraDeviceStatus::ENUMERATING: in deviceStatusToString()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 102 hardware::camera::common::V1_0::CameraDeviceStatus newHalStatus) override; 443 typedef hardware::camera::common::V1_0::CameraDeviceStatus CameraDeviceStatus; typedef 450 NOT_PRESENT = static_cast<int32_t>(CameraDeviceStatus::NOT_PRESENT), 451 PRESENT = static_cast<int32_t>(CameraDeviceStatus::PRESENT), 452 ENUMERATING = static_cast<int32_t>(CameraDeviceStatus::ENUMERATING), 937 static StatusInternal mapToInternal(hardware::camera::common::V1_0::CameraDeviceStatus status);
|
D | CameraService.cpp | 92 using hardware::camera::common::V1_0::CameraDeviceStatus; 208 onDeviceStatusChanged(id8, CameraDeviceStatus::PRESENT); in enumerateProviders() 307 CameraDeviceStatus newHalStatus) { in onDeviceStatusChanged() 739 CameraService::StatusInternal CameraService::mapToInternal(CameraDeviceStatus status) { in mapToInternal() 742 case CameraDeviceStatus::NOT_PRESENT: in mapToInternal() 745 case CameraDeviceStatus::PRESENT: in mapToInternal() 748 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 | 62 using android::frameworks::cameraservice::service::V2_0::CameraDeviceStatus; 85 std::map<hidl_string, CameraDeviceStatus> mCameraStatuses; 270 if (it.deviceStatus != CameraDeviceStatus::STATUS_PRESENT) { in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | CameraProviderManagerTest.cpp | 214 hardware::camera::common::V1_0::CameraDeviceStatus) override {} in onDeviceStatusChanged()
|