/drivers/interface/camera/metadata/ |
D | README_zh.md | 5 ### OHOS\_ABILITY\_CAMERA\_POSITION 8 | OHOS\_ABILITY\_CAMERA\_POSITION | 用于查询相机的位置信息 | 10 | OHOS\_CAMERA\_POSITION\_FRONT | 前置 | 11 | OHOS\_CAMERA\_POSITION\_BACK | 后置 | 12 | OHOS\_CAMERA\_POSITION\_OTHER | 其他 | 15 ### OHOS\_ABILITY\_CAMERA_TYPE 18 | OHOS\_ABILITY\_CAMERA\_TYPE | 用于查询相机的功能类型 | 20 | OHOS\_CAMERA\_TYPE\_WIDE\_ANGLE | 广角镜头 | 21 | OHOS\_CAMERA\_TYPE\_ULTRA\_WIDE | 超广角镜头 | 22 | OHOS\_CAMERA\_TYPE\_TELTPHOTO | 长焦镜头 | [all …]
|
/drivers/peripheral/camera/hal_c/hdi_cif/src/ |
D | buffer_producer_wrapper.cpp | 21 static std::map<int, OHOS::sptr<OHOS::Surface>> g_producerMap; 22 static std::map<GraphicBufferCIF*, OHOS::sptr<OHOS::SurfaceBuffer>> g_surfaceBufferMap; 24 void BindBufferProducer(int id, OHOS::sptr<OHOS::IBufferProducer>& producer) in BindBufferProducer() 26 g_producerMap[id] = OHOS::Surface::CreateSurfaceAsProducer(producer); in BindBufferProducer() 36 OHOS::sptr<OHOS::SurfaceBuffer> sb = nullptr; in BufferProducerRequestBuffer() 38 OHOS::BufferRequestConfig requestConfig = {}; in BufferProducerRequestBuffer() 46 OHOS::sptr<OHOS::Surface> producer = g_producerMap[buffer->streamId]; in BufferProducerRequestBuffer() 50 OHOS::SurfaceError ret = producer->RequestBuffer(sb, fence, requestConfig); in BufferProducerRequestBuffer() 76 OHOS::sptr<OHOS::Surface> producer = g_producerMap[buffer->streamId]; in BufferProducerCancelBuffer() 80 OHOS::sptr<OHOS::SurfaceBuffer> sb = g_surfaceBufferMap[buffer]; in BufferProducerCancelBuffer() [all …]
|
/drivers/peripheral/fingerprint_auth/hdi_service/include/ |
D | fingerprint_auth_hdi.h | 26 namespace OHOS { 29 using IFingerprintAuthInterface = OHOS::HDI::FingerprintAuth::V1_1::IFingerprintAuthInterface; 31 using IExecutorCallback = OHOS::HDI::FingerprintAuth::V1_1::IExecutorCallback; 33 using IExecutorV1_0 = OHOS::HDI::FingerprintAuth::V1_0::IExecutor; 34 using IExecutor = OHOS::HDI::FingerprintAuth::V1_1::IExecutor; 36 using AuthType = OHOS::HDI::FingerprintAuth::V1_0::AuthType; 37 using ExecutorRole = OHOS::HDI::FingerprintAuth::V1_0::ExecutorRole; 38 using ExecutorSecureLevel = OHOS::HDI::FingerprintAuth::V1_0::ExecutorSecureLevel; 39 using CommandId = OHOS::HDI::FingerprintAuth::V1_1::CommandId; 40 using FingerprintTipsCode = OHOS::HDI::FingerprintAuth::V1_0::FingerprintTipsCode; [all …]
|
/drivers/peripheral/user_auth/hdi_service/interface/ |
D | user_auth_hdi.h | 24 namespace OHOS { 27 using IUserAuthInterface = OHOS::HDI::UserAuth::V1_1::IUserAuthInterface; 28 using UserAuthInterfaceService = OHOS::HDI::UserAuth::V1_1::UserAuthInterfaceService; 30 using AuthType = OHOS::HDI::UserAuth::V1_0::AuthType; 31 using ExecutorRole = OHOS::HDI::UserAuth::V1_0::ExecutorRole; 32 using ExecutorSecureLevel = OHOS::HDI::UserAuth::V1_0::ExecutorSecureLevel; 33 using PinSubType = OHOS::HDI::UserAuth::V1_0::PinSubType; 34 using ScheduleMode = OHOS::HDI::UserAuth::V1_0::ScheduleMode; 35 using ExecutorRegisterInfo = OHOS::HDI::UserAuth::V1_0::ExecutorRegisterInfo; 36 using ExecutorInfo = OHOS::HDI::UserAuth::V1_0::ExecutorInfo; [all …]
|
/drivers/peripheral/face_auth/hdi_service/include/ |
D | face_auth_hdi.h | 26 namespace OHOS { 29 using IFaceAuthInterface = OHOS::HDI::FaceAuth::V1_1::IFaceAuthInterface; 31 using IExecutorCallback = OHOS::HDI::FaceAuth::V1_1::IExecutorCallback; 33 using IExecutorV1_0 = OHOS::HDI::FaceAuth::V1_0::IExecutor; 34 using IExecutor = OHOS::HDI::FaceAuth::V1_1::IExecutor; 36 using AuthType = OHOS::HDI::FaceAuth::V1_0::AuthType; 37 using ExecutorRole = OHOS::HDI::FaceAuth::V1_0::ExecutorRole; 38 using ExecutorSecureLevel = OHOS::HDI::FaceAuth::V1_0::ExecutorSecureLevel; 39 using CommandId = OHOS::HDI::FaceAuth::V1_1::CommandId; 40 using FaceTipsCode = OHOS::HDI::FaceAuth::V1_0::FaceTipsCode; [all …]
|
/drivers/peripheral/pin_auth/hdi_service/service/inc/ |
D | pin_auth_hdi.h | 26 namespace OHOS { 29 using IPinAuthInterface = OHOS::HDI::PinAuth::V1_1::IPinAuthInterface; 30 using PinAuthInterfaceService = OHOS::HDI::PinAuth::V1_1::PinAuthInterfaceService; 32 using IExecutorV1_0 = OHOS::HDI::PinAuth::V1_0::IExecutor; 33 using IExecutor = OHOS::HDI::PinAuth::V1_1::IExecutor; 35 using IExecutorCallback = OHOS::HDI::PinAuth::V1_0::IExecutorCallback; 36 using IExecutorCallbackV1_1 = OHOS::HDI::PinAuth::V1_1::IExecutorCallback; 38 using AuthType = OHOS::HDI::PinAuth::V1_0::AuthType; 39 using ExecutorRole = OHOS::HDI::PinAuth::V1_0::ExecutorRole; 40 using ExecutorSecureLevel = OHOS::HDI::PinAuth::V1_0::ExecutorSecureLevel; [all …]
|
/drivers/hdf_core/adapter/uhdf2/ipc/include/ |
D | hdf_remote_adapter.h | 30 class HdfRemoteServiceStub : public OHOS::IPCObjectStub { 34 … OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) override; 41 class HdfDeathNotifier : public OHOS::IRemoteObject::DeathRecipient { 45 void OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject> &object) override; 58 OHOS::sptr<OHOS::IRemoteObject> remote_; 59 OHOS::sptr<OHOS::IRemoteObject::DeathRecipient> deathRecipient_; 63 struct HdfRemoteService *HdfRemoteAdapterBind(OHOS::sptr<OHOS::IRemoteObject> binder);
|
/drivers/peripheral/camera/test/hdi/v1_1/include/ |
D | hdi_common_v1_1.h | 39 namespace OHOS::Camera { 52 using namespace OHOS::HDI::Camera::V1_0; 53 using namespace OHOS::HDI::Display::Composer::V1_0; 61 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 63 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 65 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 67 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 69 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 71 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 77 OHOS::sptr<OHOS::Camera::ICameraHost> service = nullptr; [all …]
|
/drivers/hdf_core/adapter/uhdf2/ipc/src/ |
D | hdf_remote_adapter.cpp | 40 OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) in OnRemoteRequest() 81 void HdfDeathNotifier::OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject> &object) /* who = 0 */ in OnRemoteDied() 95 OHOS::MessageParcel *dataParcel = nullptr; in HdfRemoteAdapterOptionalDispatch() 96 OHOS::MessageParcel *replyParcel = nullptr; in HdfRemoteAdapterOptionalDispatch() 99 static OHOS::MessageParcel dummyReply; in HdfRemoteAdapterOptionalDispatch() 111 int flag = sync ? OHOS::MessageOption::TF_SYNC : OHOS::MessageOption::TF_ASYNC; in HdfRemoteAdapterOptionalDispatch() 112 OHOS::MessageOption option(flag); in HdfRemoteAdapterOptionalDispatch() 115 OHOS::sptr<OHOS::IRemoteObject> remote = holder->remote_; in HdfRemoteAdapterOptionalDispatch() 148 std::u16string newDesc = OHOS::Str8ToStr16(std::string(desc)); in SetInterfaceDescriptor() 165 OHOS::sptr<OHOS::IRemoteObject> remote = holder->remote_; in HdfRemoteAdapterAddDeathRecipient() [all …]
|
/drivers/peripheral/camera/hdi_service/v1_0/src/ |
D | camera_device_service.cpp | 19 namespace OHOS::Camera { namespace 21 CameraDeviceService::CameraDeviceService(OHOS::sptr<ICameraDeviceVdi> cameraDeviceServiceVdi) in CameraDeviceService() 30 OHOS::sptr<IStreamOperatorVdi> streamOperatorVdi = nullptr; in GetStreamOperator() 31 …CHECK_IF_PTR_NULL_RETURN_VALUE(cameraDeviceServiceVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in GetStreamOperator() 32 …OHOS::sptr<IStreamOperatorVdiCallback> vdiCallbackObj = new StreamOperatorServiceCallback(callback… in GetStreamOperator() 35 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator() 38 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in GetStreamOperator() 44 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator() 49 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator() 52 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetStreamOperator() [all …]
|
D | camera_host_service.cpp | 24 namespace OHOS::Camera { namespace 25 OHOS::sptr<CameraHostService> CameraHostService::cameraHostService_ = nullptr; 29 OHOS::sptr<CameraHostService> service = CameraHostService::GetInstance(); in CameraHostServiceGetInstance() 45 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 52 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 64 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 71 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 74 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetVdiLibList() 88 OHOS::sptr<CameraHostService> CameraHostService::GetInstance() in GetInstance() 94 if (GetVdiLibList(vdiLibList) != OHOS::HDI::Camera::V1_0::NO_ERROR) { in GetInstance() [all …]
|
D | stream_operator_service.cpp | 22 namespace OHOS::Camera { namespace 24 StreamOperatorService::StreamOperatorService(OHOS::sptr<IStreamOperatorVdi> streamOperatorVdi) in StreamOperatorService() 38 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in IsStreamsSupported() 54 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in CreateStreams() 66 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in ReleaseStreams() 72 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in CommitStreams() 78 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in GetStreamAttributes() 98 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in AttachBufferQueue() 104 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in DetachBufferQueue() 110 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in Capture() [all …]
|
/drivers/hdf_core/interfaces/inner_api/hdi/ |
D | iservstat_listener_hdi.h | 45 namespace OHOS { 81 class IServStatListener : public ::OHOS::IRemoteBroker { 98 class ServStatListenerStub : public ::OHOS::IRemoteStub<IServStatListener> { 115 …::OHOS::MessageParcel &data, ::OHOS::MessageParcel &reply, ::OHOS::MessageOption &option) override; 127 int32_t ServStatListenerStubOnReceive(::OHOS::MessageParcel& data, 128 ::OHOS::MessageParcel& reply, ::OHOS::MessageOption& option);
|
/drivers/peripheral/camera/test/ut/v4l2/ |
D | camera_ability_test.cpp | 31 OHOS::Camera::RetCode CameraAbilityTest::GetSensorOrientation(std::shared_ptr<CameraAbility> &abili… in GetSensorOrientation() 36 int ret = OHOS::Camera::FindCameraMetadataItem(data, OHOS_SENSOR_ORIENTATION, &entry); in GetSensorOrientation() 39 return OHOS::Camera::RC_ERROR; in GetSensorOrientation() 43 return OHOS::Camera::RC_OK; in GetSensorOrientation() 46 OHOS::Camera::RetCode CameraAbilityTest::GetFlashAvailable(std::shared_ptr<CameraAbility> &ability) in GetFlashAvailable() 51 int ret = OHOS::Camera::FindCameraMetadataItem(data, OHOS_ABILITY_FLASH_AVAILABLE, &entry); in GetFlashAvailable() 54 return OHOS::Camera::RC_ERROR; in GetFlashAvailable() 58 return OHOS::Camera::RC_OK; in GetFlashAvailable() 61 OHOS::Camera::RetCode CameraAbilityTest::GetAfAvailable(std::shared_ptr<CameraAbility> &ability) in GetAfAvailable() 66 int ret = OHOS::Camera::FindCameraMetadataItem(data, OHOS_CONTROL_AF_AVAILABLE_MODES, &entry); in GetAfAvailable() [all …]
|
D | stream_customer.h | 42 std::shared_ptr<OHOS::Surface> CreateProducer(); 44 OHOS::sptr<OHOS::IBufferProducer> CreateProducer(); 48 …OHOS::Camera::RetCode ReceiveFrameOn(const std::function<void(const unsigned char *, const uint32_… 52 class TestBuffersConsumerListener : public OHOS::IBufferConsumerListener { 72 std::shared_ptr<OHOS::Surface> consumer_ = nullptr; 74 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr;
|
D | stream_customer.cpp | 25 OHOS::Rect damage; in CamFrame() 31 OHOS::sptr<OHOS::SurfaceBuffer> buff = nullptr; in CamFrame() 47 OHOS::sptr<OHOS::IBufferProducer> StreamCustomer::CreateProducer() in CreateProducer() 49 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer() 53 OHOS::sptr<OHOS::IBufferConsumerListener> listener = new TestBuffersConsumerListener(); in CreateProducer() 66 OHOS::Camera::RetCode StreamCustomer::ReceiveFrameOn( in ReceiveFrameOn() 76 return OHOS::Camera::RC_ERROR; in ReceiveFrameOn() 83 return OHOS::Camera::RC_OK; in ReceiveFrameOn()
|
/drivers/peripheral/camera/test/mpi/include/ |
D | common.h | 55 namespace OHOS::Camera { 76 OHOS::sptr<StreamOperatorCallback> streamOperatorCallback = nullptr; 77 OHOS::sptr<CameraHostCallback> hostCallback = nullptr; 78 OHOS::sptr<CameraDeviceCallback> deviceCallback = nullptr; 79 OHOS::sptr<IStreamOperator> streamOperator = nullptr; 80 OHOS::sptr<Camera::IOfflineStreamOperator> offlineStreamOperator = nullptr; 81 OHOS::sptr<IStreamOperatorCallback> offlineStreamOperatorCallback = nullptr; 83 std::shared_ptr<OHOS::Camera::CaptureInfo> captureInfo = nullptr; 84 std::vector<std::shared_ptr<OHOS::Camera::StreamInfo>> streamInfos; 85 std::shared_ptr<OHOS::Camera::StreamInfo> streamInfo = nullptr; [all …]
|
/drivers/interface/camera/sequenceable/buffer_producer/ |
D | buffer_producer_sequenceable.cpp | 20 namespace OHOS { namespace 30 OHOS::MessageParcel &dataParcel = static_cast<OHOS::MessageParcel &>(parcel); in Marshalling() 43 OHOS::MessageParcel &dataParcel = static_cast<OHOS::MessageParcel &>(parcel); in Unmarshalling() 46 sptr<OHOS::IBufferProducer> bufferProducer = OHOS::iface_cast<OHOS::IBufferProducer>(remoteObj); in Unmarshalling()
|
/drivers/peripheral/camera/test/demo/ |
D | stream_customer.cpp | 19 namespace OHOS::Camera { namespace 28 OHOS::SurfaceBuffer* buffer = consumer_->AcquireBuffer(); in CamFrame() 40 OHOS::Rect damage; in CamFrame() 46 OHOS::sptr<OHOS::SurfaceBuffer> buff = nullptr; in CamFrame() 55 buff->GetExtraData()->ExtraGet(OHOS::Camera::dataSize, gotSize); in CamFrame() 56 buff->GetExtraData()->ExtraGet(OHOS::Camera::isKeyFrame, isKey); in CamFrame() 57 buff->GetExtraData()->ExtraGet(OHOS::Camera::timeStamp, timestamp); in CamFrame() 72 std::shared_ptr<OHOS::Surface> StreamCustomer::CreateProducer() in CreateProducer() 74 sptr<OHOS::IBufferProducer> StreamCustomer::CreateProducer() in CreateProducer() 78 consumer_ = std::shared_ptr<OHOS::Surface>(OHOS::Surface::CreateSurface()); in CreateProducer() [all …]
|
/drivers/peripheral/display/buffer/test/unittest/ |
D | death_test.h | 25 namespace OHOS { 29 using OHOS::HDI::Display::Buffer::V1_0::IAllocator; 30 using OHOS::HDI::Display::Buffer::V1_0::IMapper; 31 using OHOS::HDI::Display::Buffer::V1_0::AllocInfo; 32 using OHOS::HDI::Display::Buffer::V1_0::IDisplayBuffer; 39 class BufferDiedRecipient : public OHOS::IRemoteObject::DeathRecipient { 43 void OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject>& remote) override;
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccommonhdi_fuzzer/ |
D | codeccommon_fuzzer.h | 26 using OHOS::HDI::Codec::V1_0::OmxCodecBuffer; 27 namespace OHOS { 29 inline OHOS::sptr<OHOS::HDI::Codec::V1_0::ICodecComponent> g_component; 30 inline OHOS::sptr<OHOS::HDI::Codec::V1_0::ICodecCallback> g_callback; 31 inline OHOS::sptr<OHOS::HDI::Codec::V1_0::ICodecComponentManager> g_manager;
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
D | bluetooth_a2dp_src_observer.h | 22 class BluetoothA2dpSrcObserver : public OHOS::Bluetooth::BluetoothA2dpAudioSrcObserverStub { 24 …BluetoothA2dpSrcObserver(OHOS::Bluetooth::BtA2dpAudioCallback *callbacks) : callbacks_(callbacks) … in BluetoothA2dpSrcObserver() 27 void OnConnectionStateChanged(const OHOS::bluetooth::RawAddress &device, int state); 28 …void OnPlayingStatusChanged(const OHOS::bluetooth::RawAddress &device, int playingState, int error… 30 …(const OHOS::bluetooth::RawAddress &device, const OHOS::Bluetooth::BluetoothA2dpCodecInfo &info, i… 33 OHOS::Bluetooth::BtA2dpAudioCallback *callbacks_;
|
/drivers/peripheral/display/hdi_service/device/include/util/ |
D | display_device_common.h | 157 bool DisplayDeviceWriteCmdId(OHOS::MessageParcel *parcel, DisplayDeviceCommandId cmdId); 158 DisplayDeviceCommandId DisplayDeviceReadCmdId(OHOS::MessageParcel *parcel); 159 bool DisplayDeviceWriteUint32(OHOS::MessageParcel *parcel, uint32_t data); 160 bool DisplayDeviceReadUint32(uint32_t *data, OHOS::MessageParcel *parcel); 161 bool DisplayDeviceWriteInt32(OHOS::MessageParcel *parcel, int32_t data); 162 bool DisplayDeviceReadInt32(int32_t *data, OHOS::MessageParcel *parcel); 163 bool DisplayDeviceWriteBool(OHOS::MessageParcel *parcel, bool data); 164 bool DisplayDeviceReadBool(bool *data, OHOS::MessageParcel *parcel); 165 bool DisplayDeviceWriteUint64(OHOS::MessageParcel *parcel, uint64_t data); 166 bool DisplayDeviceReadUint64(uint64_t *data, OHOS::MessageParcel *parcel); [all …]
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/buffer_adapter/standard/ |
D | buffer_adapter.h | 24 namespace OHOS::Camera { 28 static RetCode SurfaceBufferToCameraBuffer(const OHOS::sptr<OHOS::SurfaceBuffer>& surfaceBuffer, 34 … const OHOS::sptr<OHOS::SurfaceBuffer>& surfaceBuffer); 36 … const OHOS::sptr<OHOS::SurfaceBuffer>& surfaceBuffer);
|
/drivers/peripheral/display/hdi_service/device/src/server/ |
D | display_device_callback_proxy.cpp | 21 OHOS::MessageParcel data; in OnHotplugIn() 22 OHOS::MessageParcel reply; in OnHotplugIn() 23 OHOS::MessageOption option; in OnHotplugIn() 37 OHOS::MessageParcel data; in OnVBlankCallback() 38 OHOS::MessageParcel reply; in OnVBlankCallback() 39 OHOS::MessageOption option; in OnVBlankCallback() 53 OHOS::MessageParcel data; in OnRefreshCallback() 54 OHOS::MessageParcel reply; in OnRefreshCallback() 55 OHOS::MessageOption option; in OnRefreshCallback()
|