Home
last modified time | relevance | path

Searched refs:mCameraStatusMap (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/camera/provider/2.4/default/
DExternalCameraProviderImpl_2_4.cpp102 for (const auto& pair : mCameraStatusMap) { in setCallback()
154 if (mCameraStatusMap.count(cameraDeviceName) == 0 || in getCameraDeviceInterface_V3_x()
155 mCameraStatusMap[cameraDeviceName] != CameraDeviceStatus::PRESENT) { in getCameraDeviceInterface_V3_x()
210 mCameraStatusMap[deviceName] = CameraDeviceStatus::PRESENT; in addExternalCamera()
257 if (mCameraStatusMap.find(deviceName) != mCameraStatusMap.end()) { in deviceRemoved()
258 mCameraStatusMap.erase(deviceName); in deviceRemoved()
DLegacyCameraProviderImpl_2_4.cpp152 cp->mCameraStatusMap[cameraIdStr] = (camera_device_status_t) new_status; in sCameraDeviceStatusChange()
334 mCameraStatusMap[cameraIdStr] = CAMERA_DEVICE_STATUS_PRESENT; in initialize()
455 for (auto const& statusPair : mCameraStatusMap) { in setCallback()
481 if (mCameraStatusMap[deviceNamePair.first] == CAMERA_DEVICE_STATUS_PRESENT) { in getCameraIdList()
524 if (mCameraStatusMap.count(cameraId) == 0 || in getCameraDeviceInterface_V1_x()
525 mCameraStatusMap[cameraId] != CAMERA_DEVICE_STATUS_PRESENT) { in getCameraDeviceInterface_V1_x()
578 if (mCameraStatusMap.count(cameraId) == 0 || in getCameraDeviceInterface_V3_x()
579 mCameraStatusMap[cameraId] != CAMERA_DEVICE_STATUS_PRESENT) { in getCameraDeviceInterface_V3_x()
DExternalCameraProviderImpl_2_4.h103 std::unordered_map<std::string, CameraDeviceStatus> mCameraStatusMap; // camera id -> status member
DLegacyCameraProviderImpl_2_4.h85 std::map<std::string, camera_device_status_t> mCameraStatusMap; // camera id -> status member