/drivers/peripheral/user_auth/hdi_service/interface/ |
H A D | user_auth_hdi.h | 23 namespace OHOS { namespace 26 using IUserAuthInterface = OHOS::HDI::UserAuth::V2_0::IUserAuthInterface; 27 using UserAuthInterfaceService = OHOS::HDI::UserAuth::V2_0::UserAuthInterfaceService; 29 using HdiAuthType = OHOS::HDI::UserAuth::V2_0::AuthType; 30 using HdiExecutorRole = OHOS::HDI::UserAuth::V2_0::ExecutorRole; 31 using HdiExecutorSecureLevel = OHOS::HDI::UserAuth::V2_0::ExecutorSecureLevel; 32 using HdiPinSubType = OHOS::HDI::UserAuth::V2_0::PinSubType; 33 using HdiScheduleMode = OHOS::HDI::UserAuth::V2_0::ScheduleMode; 34 using HdiExecutorRegisterInfo = OHOS::HDI::UserAuth::V2_0::ExecutorRegisterInfo; 35 using HdiExecutorInfo = OHOS [all...] |
/drivers/peripheral/face_auth/hdi_service/include/ |
H A D | face_auth_hdi.h | 27 namespace OHOS { namespace 30 using IFaceAuthInterface = OHOS::HDI::FaceAuth::V2_0::IFaceAuthInterface; 31 using FaceAuthInterfaceStub = OHOS::HDI::FaceAuth::V2_0::FaceAuthInterfaceStub; 32 using AllInOneExecutorStub = OHOS::HDI::FaceAuth::V2_0::AllInOneExecutorStub; 34 using IExecutorCallback = OHOS::HDI::FaceAuth::V2_0::IExecutorCallback; 36 using IAllInOneExecutor = OHOS::HDI::FaceAuth::V2_0::IAllInOneExecutor; 38 using AuthType = OHOS::HDI::FaceAuth::V2_0::AuthType; 39 using ExecutorRole = OHOS::HDI::FaceAuth::V2_0::ExecutorRole; 40 using ExecutorSecureLevel = OHOS::HDI::FaceAuth::V2_0::ExecutorSecureLevel; 41 using DriverCommandId = OHOS [all...] |
/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/ |
H A D | media_key_system_types.h | 46 namespace OHOS { namespace 50 namespace OHOS { namespace 55 using namespace OHOS; 121 OHOS::HDI::Drm::V1_0::MediaKeyType mediaKeyType; 128 OHOS::HDI::Drm::V1_0::MediaKeyRequestType requestType; 144 OHOS::HDI::Drm::V1_0::CryptoAlgorithmType type; 147 OHOS::HDI::Drm::V1_0::Pattern pattern; 148 std::vector<OHOS::HDI::Drm::V1_0::SubSample> subSamples; 161 bool MediaKeyRequestInfoBlockMarshalling(OHOS::MessageParcel &data, const OHOS [all...] |
/drivers/peripheral/fingerprint_auth/hdi_service/include/ |
H A D | fingerprint_auth_hdi.h | 27 namespace OHOS { namespace 30 using IFingerprintAuthInterface = OHOS::HDI::FingerprintAuth::V2_0::IFingerprintAuthInterface; 31 using FingerprintAuthInterfaceStub = OHOS::HDI::FingerprintAuth::V2_0::FingerprintAuthInterfaceStub; 32 using AllInOneExecutorStub = OHOS::HDI::FingerprintAuth::V2_0::AllInOneExecutorStub; 34 using IExecutorCallback = OHOS::HDI::FingerprintAuth::V2_0::IExecutorCallback; 36 using IAllInOneExecutor = OHOS::HDI::FingerprintAuth::V2_0::IAllInOneExecutor; 38 using AuthType = OHOS::HDI::FingerprintAuth::V2_0::AuthType; 39 using ExecutorRole = OHOS::HDI::FingerprintAuth::V2_0::ExecutorRole; 40 using ExecutorSecureLevel = OHOS::HDI::FingerprintAuth::V2_0::ExecutorSecureLevel; 41 using DriverCommandId = OHOS [all...] |
/drivers/peripheral/camera/hal_c/hdi_cif/src/ |
H A 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 in BufferProducerRequestBuffer() [all...] |
/drivers/hdf_core/adapter/uhdf2/ipc/include/ |
H A D | hdf_remote_adapter.h | 31 class HdfRemoteServiceStub : public OHOS::IPCObjectStub { 35 OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) override; 44 class HdfDeathNotifier : public OHOS::IRemoteObject::DeathRecipient { 48 void OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject> &object) override; 61 OHOS::sptr<OHOS::IRemoteObject> remote_; 62 OHOS [all...] |
/drivers/peripheral/pin_auth/hdi_service/service/inc/ |
H A D | pin_auth_hdi.h | 26 namespace OHOS { namespace 29 using IPinAuthInterface = OHOS::HDI::PinAuth::V2_0::IPinAuthInterface; 30 using PinAuthInterfaceService = OHOS::HDI::PinAuth::V2_0::PinAuthInterfaceService; 32 using HdiIAllInOneExecutor = OHOS::HDI::PinAuth::V2_0::IAllInOneExecutor; 33 using HdiICollector = OHOS::HDI::PinAuth::V2_0::ICollector; 34 using HdiIVerifier = OHOS::HDI::PinAuth::V2_0::IVerifier; 35 using HdiIExecutorCallback = OHOS::HDI::PinAuth::V2_0::IExecutorCallback; 37 using HdiAuthType = OHOS::HDI::PinAuth::V2_0::AuthType; 38 using HdiExecutorRole = OHOS::HDI::PinAuth::V2_0::ExecutorRole; 39 using HdiExecutorSecureLevel = OHOS [all...] |
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/ |
H A D | dcamera_stream.h | 26 namespace OHOS { namespace 29 using namespace OHOS::HDI::Camera::V1_0; 30 using namespace OHOS::HDI::DistributedCamera::V1_1; 43 DCamRetCode SetDCameraBufferQueue(const OHOS::sptr<BufferProducerSequenceable> &producer); 57 void SetSurfaceBuffer(OHOS::sptr<OHOS::SurfaceBuffer>& surfaceBuffer, const DCameraBuffer &buffer); 61 DCamRetCode SurfaceBufferToDImageBuffer(OHOS::sptr<OHOS::SurfaceBuffer> &surfaceBuffer, 62 OHOS::sptr<OHOS [all...] |
/drivers/hdf_core/adapter/uhdf2/ipc/src/ |
H A D | hdf_remote_adapter.cpp | 41 OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) in OnRemoteRequest() 99 void HdfDeathNotifier::OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject> &object) /* who = 0 */ in OnRemoteDied() 113 OHOS::MessageParcel *dataParcel = nullptr; in HdfRemoteAdapterOptionalDispatch() 114 OHOS::MessageParcel *replyParcel = nullptr; in HdfRemoteAdapterOptionalDispatch() 117 static OHOS::MessageParcel dummyReply; in HdfRemoteAdapterOptionalDispatch() 129 int flag = sync ? OHOS::MessageOption::TF_SYNC : OHOS in HdfRemoteAdapterOptionalDispatch() [all...] |
/drivers/peripheral/camera/test/common/v1_2/include/ |
H A D | hdi_common_v1_2.h | 29 namespace OHOS::Camera {
46 using namespace OHOS::HDI::Camera::V1_2;
47 class HdiCommonV1_2 : public OHOS::Camera::HdiCommonV1_1 {
54 void DefaultSketch(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
55 void DefaultInfosPreviewV1_2(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
56 void DefaultInfosSketch(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
59 OHOS::sptr<OHOS::HDI::Camera::V1_2::ICameraHost> serviceV1_2 = nullptr;
60 OHOS::sptr<OHOS [all...] |
/drivers/external_device_manager/services/native/driver_extension_manager/include/drivers_pkg_manager/ |
H A D | pkg_database.h | 29 namespace OHOS { namespace 51 int64_t Insert(const OHOS::NativeRdb::ValuesBucket &insertValues); 52 int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, 53 const OHOS::NativeRdb::RdbPredicates &predicates); 54 int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const std::string &whereClause, 56 int32_t Delete(const OHOS::NativeRdb::RdbPredicates &rdbPredicates); 58 std::shared_ptr<OHOS::NativeRdb::ResultSet> Query( 59 const OHOS::NativeRdb::AbsRdbPredicates &predicates, const std::vector<std::string> &columns); 69 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; 72 class PkgDataBaseCallBack : public OHOS [all...] |
/drivers/hdf_core/interfaces/inner_api/hdi/ |
H A D | iservstat_listener_hdi.h | 45 namespace OHOS { namespace 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); 133 } // namespace OHOS [all...] |
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A 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, int cause);
28 void OnPlayingStatusChanged(const OHOS::bluetooth::RawAddress &device, int playingState, int error);
30 (const OHOS::bluetooth::RawAddress &device, const OHOS::Bluetooth::BluetoothA2dpCodecInfo &info, int error);
31 void OnMediaStackChanged(const OHOS::bluetooth::RawAddress &device, int action);
34 OHOS::Bluetooth::BtA2dpAudioCallback *callbacks_;
|
/drivers/peripheral/camera/test/ut/v4l2/ |
H A D | camera_ability_test.cpp | 31 OHOS::Camera::RetCode CameraAbilityTest::GetSensorOrientation(std::shared_ptr<CameraAbility> &ability) 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 in GetAfAvailable() [all...] |
H A 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_t)> callback); 52 class TestBuffersConsumerListener : public OHOS::IBufferConsumerListener { 72 std::shared_ptr<OHOS::Surface> consumer_ = nullptr; 74 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr;
|
H A 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 in ReceiveFrameOn() [all...] |
/drivers/peripheral/camera/hdi_service/v1_0/src/ |
H A D | camera_host_service.cpp | 25 namespace OHOS::Camera { 26 OHOS::sptr<CameraHostService> CameraHostService::cameraHostService_ = nullptr; 30 OHOS::sptr<CameraHostService> service = CameraHostService::GetInstance(); in CameraHostServiceGetInstance() 46 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 53 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 65 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 72 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 75 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetVdiLibList() 89 OHOS::sptr<CameraHostService> CameraHostService::GetInstance() in GetInstance() 95 if (GetVdiLibList(vdiLibList) != OHOS in GetInstance() [all...] |
H A D | camera_device_service.cpp | 19 namespace OHOS::Camera { 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(callbackObj); 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 in GetStreamOperator() [all...] |
/drivers/peripheral/camera/test/fuzztest/offline_stream_operator/ |
H A D | offline_stream_operator_fuzzer.cpp | 18 using namespace OHOS::Camera; 20 namespace OHOS::Camera { 66 cameraTest->streamOperatorCallback = new OHOS::Camera::HdiCommon::TestStreamOperatorCallback(); in FuncCancelCapture() 69 cameraTest->streamInfoSnapshot = std::make_shared<OHOS::HDI::Camera::V1_0::StreamInfo>(); in FuncCancelCapture() 78 OHOS::sptr<OHOS::HDI::Camera::V1_0::IStreamOperatorCallback> streamOperatorCallback = in FuncCancelCapture() 79 new OHOS::Camera::HdiCommon::TestStreamOperatorCallback(); in FuncCancelCapture() 80 OHOS::sptr<IOfflineStreamOperator> offlineStreamOperator = nullptr; in FuncCancelCapture() 93 cameraTest->streamOperatorCallback = new OHOS::Camera::HdiCommon::TestStreamOperatorCallback(); in FuncReleaseStreams() 98 OHOS in FuncReleaseStreams() [all...] |
/drivers/interface/camera/sequenceable/buffer_producer/ |
H A D | buffer_producer_sequenceable.cpp | 21 namespace OHOS { namespace 31 OHOS::MessageParcel &dataParcel = static_cast<OHOS::MessageParcel &>(parcel); in Marshalling() 44 OHOS::MessageParcel &dataParcel = static_cast<OHOS::MessageParcel &>(parcel); in Unmarshalling() 51 sptr<OHOS::IBufferProducer> bufferProducer = OHOS::iface_cast<OHOS::IBufferProducer>(remoteObj); in Unmarshalling() 67 } // OHOS
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccommonhdi_fuzzer/ |
H A D | codeccommon_fuzzer.h | 26 using OHOS::HDI::Codec::V3_0::OmxCodecBuffer; 27 namespace OHOS { namespace 29 inline OHOS::sptr<OHOS::HDI::Codec::V3_0::ICodecComponent> g_component; 30 inline OHOS::sptr<OHOS::HDI::Codec::V3_0::ICodecCallback> g_callback; 31 inline OHOS::sptr<OHOS::HDI::Codec::V3_0::ICodecComponentManager> g_manager; 47 } // namespace OHOS
|
/drivers/peripheral/display/buffer/test/unittest/ |
H A D | death_test.h | 25 namespace OHOS { namespace 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; 45 } // OHOS
|
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/include/ |
H A D | image_auto_initer.h | 19 namespace OHOS { namespace 24 ImageAutoIniter(OHOS::sptr<OHOS::HDI::Codec::Image::V2_0::ICodecImage> imageClient, in ImageAutoIniter() 25 OHOS::HDI::Codec::Image::V2_0::CodecImageRole role) : client_(imageClient), role_(role) in ImageAutoIniter() 41 OHOS::sptr<OHOS::HDI::Codec::Image::V2_0::ICodecImage> client_; 42 OHOS::HDI::Codec::Image::V2_0::CodecImageRole role_; 46 } // namespace OHOS
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccreatecomponenthdi_fuzzer/ |
H A D | codeccreatecomponent_fuzzer.cpp | 19 using namespace OHOS::HDI::Codec::V3_0; 21 namespace OHOS { namespace 29 OHOS::sptr<OHOS::HDI::Codec::V3_0::ICodecComponent> client_ = nullptr; in CodecCreateComponent() 30 OHOS::sptr<OHOS::HDI::Codec::V3_0::ICodecCallback> callback_ = nullptr; in CodecCreateComponent() 31 OHOS::sptr<OHOS::HDI::Codec::V3_0::ICodecComponentManager> omxMgr_ = nullptr; in CodecCreateComponent() 71 } // namespace OHOS 75 OHOS in LLVMFuzzerTestOneInput() [all...] |
/drivers/peripheral/display/hdi_service/device/src/server/ |
H A 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()
|