Lines Matching defs:DeviceInfo
595 struct DeviceInfo { struct
596 const std::string mName; // Full instance name
597 const std::string mId; // ID section of full name
600 const hardware::hidl_version mVersion;
601 const metadata_vendor_id_t mProviderTagid;
602 bool mIsLogicalCamera;
603 std::vector<std::string> mPhysicalIds;
604 hardware::CameraInfo mInfo;
605 SystemCameraKind mSystemCameraKind = SystemCameraKind::PUBLIC;
607 const CameraResourceCost mResourceCost;
609 CameraDeviceStatus mStatus;
611 wp<ProviderInfo> mParentProvider;
614 int32_t mTorchStrengthLevel;
615 int32_t mTorchMaximumStrengthLevel;
616 int32_t mTorchDefaultStrengthLevel;
619 static const nsecs_t kDeviceAvailableTimeout = 2000e6; // 2000 ms
620 Mutex mDeviceAvailableLock;
621 Condition mDeviceAvailableSignal;
622 bool mIsDeviceAvailable = true;
624 bool hasFlashUnit() const { return mHasFlashUnit; } in hasFlashUnit()
625 bool supportNativeZoomRatio() const { return mSupportNativeZoomRatio; } in supportNativeZoomRatio()
626 bool isCompositeJpegRDisabled() const { return mCompositeJpegRDisabled; } in isCompositeJpegRDisabled()
636 virtual status_t getCameraCharacteristics( in getCameraCharacteristics()
642 virtual status_t getPhysicalCameraCharacteristics( in getPhysicalCameraCharacteristics()
648 virtual status_t isSessionConfigurationSupported( in isSessionConfigurationSupported()
657 virtual status_t getSessionCharacteristics( in getSessionCharacteristics()
665 virtual void notifyDeviceStateChange(int64_t /*newState*/) {} in notifyDeviceStateChange()
666 virtual status_t createDefaultRequest( in createDefaultRequest()
672 DeviceInfo(const std::string& name, const metadata_vendor_id_t tagId, in DeviceInfo() function
684 virtual ~DeviceInfo() {} in ~DeviceInfo()
688 bool mSupportNativeZoomRatio; // const after constructor
689 const std::vector<std::string>& mPublicCameraIds;
690 bool mCompositeJpegRDisabled;