/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/ |
H A D | media_key_system_proxy.h | 29 explicit MediaKeySystemProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystem>(remote) {} in MediaKeySystemProxy() 56 int32_t SetCallback(const sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystemCallback>& systemCallback) override; 59 sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession>& keySession) override; 68 int32_t GetOemCertificate(sptr<OHOS::HDI::Drm::V1_0::IOemCertificate>& oemCert) override; 75 const sptr<IRemoteObject> remote); 78 const sptr<IRemoteObject> remote); 81 const sptr<IRemoteObject> remote); 84 const sptr<IRemoteObject> remote); 86 static int32_t GetStatistics_(std::map<std::string, std::string>& statistics, const sptr<IRemoteObject> remote); 89 const sptr<IRemoteObjec [all...] |
H A D | media_key_session_proxy.h | 29 explicit MediaKeySessionProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySession>(remote) {} in MediaKeySessionProxy() 60 int32_t SetCallback(const sptr<OHOS::HDI::Drm::V1_0::IMediaKeySessionCallback>& sessionCallback) override; 62 int32_t GetMediaDecryptModule(sptr<OHOS::HDI::Drm::V1_0::IMediaDecryptModule>& decryptModule) override; 69 OHOS::HDI::Drm::V1_0::MediaKeyRequest& mediaKeyRequest, const sptr<IRemoteObject> remote); 72 std::vector<uint8_t>& mediaKeyId, const sptr<IRemoteObject> remote); 75 const sptr<IRemoteObject> remote); 77 static int32_t ClearMediaKeys_(const sptr<IRemoteObject> remote); 80 std::vector<uint8_t>& releaseRequest, const sptr<IRemoteObject> remote); 83 const std::vector<uint8_t>& response, const sptr<IRemoteObject> remote); 85 static int32_t RestoreOfflineMediaKeys_(const std::vector<uint8_t>& mediaKeyId, const sptr<IRemoteObjec [all...] |
H A D | media_key_session_stub.h | 34 explicit MediaKeySessionStub(const sptr<IMediaKeySession> &impl); 39 static int32_t MediaKeySessionStubGenerateMediaKeyRequest_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 41 static int32_t MediaKeySessionStubProcessMediaKeyResponse_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 43 static int32_t MediaKeySessionStubCheckMediaKeyStatus_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 45 static int32_t MediaKeySessionStubClearMediaKeys_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 47 static int32_t MediaKeySessionStubGetOfflineReleaseRequest_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 49 static int32_t MediaKeySessionStubProcessOfflineReleaseResponse_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 51 static int32_t MediaKeySessionStubRestoreOfflineMediaKeys_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 53 static int32_t MediaKeySessionStubGetContentProtectionLevel_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 55 static int32_t MediaKeySessionStubRequiresSecureDecoderModule_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHO [all...] |
H A D | media_key_system_stub.h | 34 explicit MediaKeySystemStub(const sptr<IMediaKeySystem> &impl); 39 static int32_t MediaKeySystemStubGetConfigurationString_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> impl); 41 static int32_t MediaKeySystemStubSetConfigurationString_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> impl); 43 static int32_t MediaKeySystemStubGetConfigurationByteArray_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> impl); 45 static int32_t MediaKeySystemStubSetConfigurationByteArray_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> impl); 47 static int32_t MediaKeySystemStubGetStatistics_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> impl); 49 static int32_t MediaKeySystemStubGetMaxContentProtectionLevel_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> impl); 51 static int32_t MediaKeySystemStubGenerateKeySystemRequest_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> impl); 53 static int32_t MediaKeySystemStubProcessKeySystemResponse_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> impl); 55 static int32_t MediaKeySystemStubGetOemCertificateStatus_(MessageParcel& mediaKeySystemData, MessageParcel& mediaKeySystemReply, MessageOption& mediaKeySystemOption, sptr<OHO [all...] |
/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_host/ |
H A D | dcamera_host.h | 55 static OHOS::sptr<DCameraHost> GetInstance(); 57 int32_t OpenCamera_V1_3(const std::string &cameraId, const sptr<ICameraDeviceCallback> &callbackObj, 58 sptr<ICameraDevice> &device) override; 59 int32_t OpenSecureCamera(const std::string &cameraId, const sptr<ICameraDeviceCallback> &callbackObj, 60 sptr<ICameraDevice> &device) override; 64 int32_t OpenCamera_V1_2(const std::string &cameraId, const sptr<ICameraDeviceCallback> &callbackObj, 65 sptr<HDI::Camera::V1_2::ICameraDevice> &device) override; 67 int32_t SetCallback_V1_2(const sptr<HDI::Camera::V1_2::ICameraHostCallback> &callbackObj) override; 72 int32_t OpenCamera_V1_1(const std::string &cameraId, const sptr<ICameraDeviceCallback> &callbackObj, 73 sptr<HD [all...] |
/drivers/hdf_core/adapter/uhdf2/ipc/include/ |
H A D | iproxy_broker.h | 28 explicit IProxyBroker(const sptr<IRemoteObject> &object); 30 virtual sptr<INTERFACE> AsInterface(); 31 sptr<IRemoteObject> AsObject() override; 35 IProxyBroker<INTERFACE>::IProxyBroker(const sptr<IRemoteObject> &object) : PeerHolder(object) in IProxyBroker() 40 sptr<INTERFACE> IProxyBroker<INTERFACE>::AsInterface() in AsInterface() 46 sptr<IRemoteObject> IProxyBroker<INTERFACE>::AsObject() in AsObject() 52 inline sptr<INTERFACE> hdi_facecast(const sptr<IRemoteObject> &object) in hdi_facecast() 56 sptr<IRemoteBroker> broker = registration.NewInstance(descriptor, object); in hdi_facecast() 62 inline sptr<IRemoteObjec [all...] |
/drivers/hdf_core/interfaces/inner_api/hdi/ |
H A D | object_collector.h | 59 using Constructor = std::function<sptr<IRemoteObject>(const sptr<HdiBase> &interface)>; 67 sptr<IRemoteObject> NewObject(const sptr<HdiBase> &interface, const std::u16string &interfaceName); 69 sptr<IRemoteObject> GetOrNewObject(const sptr<HdiBase> &interface, const std::u16string &interfaceName); 71 bool RemoveObject(const sptr<HdiBase> &interface); 76 sptr<IRemoteObject> NewObjectLocked(const sptr<HdiBase> &interface, const std::u16string &interfaceName); 117 auto creator = [](const sptr<HdiBas in ObjectDelegator() [all...] |
/drivers/hdf_core/interfaces/inner_api/ipc/ |
H A D | iproxy_broker.h | 28 explicit IProxyBroker(const sptr<IRemoteObject> &object); 30 virtual sptr<INTERFACE> AsInterface(); 31 sptr<IRemoteObject> AsObject() override; 35 IProxyBroker<INTERFACE>::IProxyBroker(const sptr<IRemoteObject> &object) : PeerHolder(object) in IProxyBroker() 40 sptr<INTERFACE> IProxyBroker<INTERFACE>::AsInterface() in AsInterface() 46 sptr<IRemoteObject> IProxyBroker<INTERFACE>::AsObject() in AsObject() 52 inline sptr<INTERFACE> hdi_facecast(const sptr<IRemoteObject> &object) in hdi_facecast() 56 sptr<IRemoteBroker> broker = registration.NewInstance(descriptor, object); in hdi_facecast() 62 inline sptr<IRemoteObjec [all...] |
/drivers/external_device_manager/services/native/driver_extension_manager/include/device_manager/ |
H A D | device.h | 35 int32_t Connect(const sptr<IDriverExtMgrCallback> &connectCallback);
75 sptr<IRemoteObject> GetDrvExtRemote()
in GetDrvExtRemote() 80 void UpdateDrvExtRemote(const sptr<IRemoteObject> &remote)
in UpdateDrvExtRemote() 116 void OnConnect(const sptr<IRemoteObject> &remote, int resultCode);
119 int32_t RegisterDrvExtMgrCallback(const sptr<IDriverExtMgrCallback> &callback);
120 void UnregisterDrvExtMgrCallback(const sptr<IDriverExtMgrCallback> &callback);
122 bool RegisteDeathRecipient(const sptr<IDriverExtMgrCallback> &callback);
125 bool operator()(const sptr<IDriverExtMgrCallback> &lhs, const sptr<IDriverExtMgrCallback> &rhs) const
in operator ()() 127 sptr<IRemoteObjec in operator ()() [all...] |
/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_device/ |
H A D | dcamera_device.h | 52 int32_t GetStreamOperator_V1_3(const sptr<HDI::Camera::V1_3::IStreamOperatorCallback> &callbackObj, 53 sptr<HDI::Camera::V1_3::IStreamOperator> &streamOperator) override; 56 int32_t GetStreamOperator_V1_2(const sptr<HDI::Camera::V1_2::IStreamOperatorCallback> &callbackObj, 57 sptr<HDI::Camera::V1_2::IStreamOperator> &streamOperator) override; 61 int32_t GetStreamOperator_V1_1(const sptr<HDI::Camera::V1_0::IStreamOperatorCallback> &callbackObj, 62 sptr<HDI::Camera::V1_1::IStreamOperator> &streamOperator) override; 65 int32_t GetStreamOperator(const sptr<HDI::Camera::V1_0::IStreamOperatorCallback> &callbackObj, 66 sptr<HDI::Camera::V1_0::IStreamOperator> &streamOperator) override; 75 CamRetCode OpenDCamera(const OHOS::sptr<ICameraDeviceCallback> &callback); 81 void SetProviderCallback(const OHOS::sptr<IDCameraProviderCallbac [all...] |
/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | wifi_chip.h | 50 int32_t RegisterChipEventCallback(const sptr<IConcreteChipCallback>& chipEventcallback) override; 55 int32_t CreateApService(sptr<IChipIface>& iface) override; 57 int32_t GetApService(const std::string& ifname, sptr<IChipIface>& iface) override; 59 int32_t CreateP2pService(sptr<IChipIface>& iface) override; 61 int32_t GetP2pService(const std::string& ifname, sptr<IChipIface>& iface) override; 63 int32_t CreateStaService(sptr<IChipIface>& iface) override; 65 int32_t GetStaService(const std::string& ifname, sptr<IChipIface>& iface) override; 67 int32_t CreateExtService(const std::string& ifName, sptr<IChipIface>& iface) override; 68 int32_t GetExtService(const std::string& ifName, sptr<IChipIface>& iface) override; 92 sptr<WifiApIfac [all...] |
H A D | wifi.h | 43 int32_t RegisterWifiEventCallback(const sptr<IChipControllerCallback>& eventCallback) override; 53 int32_t GetChipService(uint32_t chipId, sptr<IConcreteChip>& chip) override; 59 uint32_t GetChipIdFromWifiChip(sptr <WifiChip>& chip); 61 int32_t AddWifiDeathRecipient(const sptr<IChipControllerCallback>& eventCallback); 62 int32_t RemoveWifiDeathRecipient(const sptr<IChipControllerCallback>& eventCallback); 68 std::vector<sptr<WifiChip>> chips_; 70 sptr<RemoteDeathRecipient> remoteDeathRecipient_ = nullptr;
|
H A D | wifi_chip.cpp | 37 void InvalidateAndClearApIface(std::vector<sptr<WifiApIface>>& ifaces) in InvalidateAndClearApIface() 45 void InvalidateAndClearStaIface(std::vector<sptr<WifiStaIface>>& ifaces) in InvalidateAndClearStaIface() 53 void InvalidateAndClearP2pIface(std::vector<sptr<WifiP2pIface>>& ifaces) in InvalidateAndClearP2pIface() 61 void InvalidateAndClearExtIface(std::vector<sptr<WifiExtIface>>& ifaces) in InvalidateAndClearExtIface() 103 int32_t WifiChip::RegisterChipEventCallback(const sptr<IConcreteChipCallback>& chipEventcallback) in RegisterChipEventCallback() 316 std::vector<std::string> GetApNames(std::vector<sptr<WifiApIface>>& ifaces) in GetApNames() 325 sptr<WifiApIface> FindApUsingName(std::vector<sptr<WifiApIface>>& ifaces, const std::string& name) in FindApUsingName() 336 std::vector<std::string> GetP2pNames(std::vector<sptr<WifiP2pIface>>& ifaces) in GetP2pNames() 345 sptr<WifiP2pIfac [all...] |
/drivers/interface/display/composer/cache_manager/ |
H A D | layer_cache.h | 42 static void NativeBufferInit(sptr<NativeBuffer>& buffer); 43 static void NativeBufferCleanUp(sptr<NativeBuffer>& buffer); 47 static sptr<Buffer::V1_2::IMapper> GetMapperService(); 48 static sptr<Buffer::V1_1::IMetadata> GetMetaService(); 49 static int32_t Mmap(sptr<NativeBuffer>& buffer); 50 static int32_t Unmap(sptr<NativeBuffer>& buffer); 51 static int32_t FreeMem(sptr<NativeBuffer>& buffer); 52 static int32_t RegisterBuffer(sptr<NativeBuffer>& buffer);
|
H A D | layer_cache.cpp | 99 void LayerCache::NativeBufferInit(sptr<NativeBuffer>& buffer) in NativeBufferInit() 111 void LayerCache::NativeBufferCleanUp(sptr<NativeBuffer>& buffer) in NativeBufferCleanUp() 123 sptr<Buffer::V1_1::IMetadata> LayerCache::GetMetaService() in GetMetaService() 125 static sptr<Buffer::V1_1::IMetadata> metaService = nullptr; in GetMetaService() 132 sptr<Buffer::V1_2::IMapper> LayerCache::GetMapperService() in GetMapperService() 134 static sptr<Buffer::V1_2::IMapper> mapperService = nullptr; in GetMapperService() 141 int32_t LayerCache::Mmap(sptr<NativeBuffer>& buffer) in Mmap() 151 int32_t LayerCache::Unmap(sptr<NativeBuffer>& buffer) in Unmap() 161 int32_t LayerCache::FreeMem(sptr<NativeBuffer>& buffer) in FreeMem() 175 int32_t LayerCache::RegisterBuffer(sptr<NativeBuffe [all...] |
/drivers/peripheral/sensor/hdi_service/ |
H A D | sensor_if_service.h | 31 using GroupIdCallBackMap = std::unordered_map<int32_t, std::vector<sptr<ISensorCallback>>>; 46 int32_t Register(int32_t groupId, const sptr<ISensorCallback> &callbackObj) override; 47 int32_t Unregister(int32_t groupId, const sptr<ISensorCallback> &callbackObj) override; 55 int32_t AddSensorDeathRecipient(const sptr<ISensorCallback> &callbackObj); 56 int32_t RemoveSensorDeathRecipient(const sptr<ISensorCallback> &callbackObj); 58 int32_t AddCallbackMap(int32_t groupId, const sptr<ISensorCallback> &callbackObj); 59 int32_t RemoveCallbackMap(int32_t groupId, int serviceId, const sptr<ISensorCallback> &callbackObj); 60 sptr<SensorCallbackVdi> GetSensorCb(int32_t groupId, const sptr<ISensorCallback> &callbackObj, bool cbFlag); 65 sptr<SensorCallbackVd [all...] |
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_host/ |
H A D | dcamera_host.cpp | 30 OHOS::sptr<DCameraHost> DCameraHost::instance_ = nullptr; 38 OHOS::sptr<DCameraHost> DCameraHost::GetInstance() in GetInstance() 41 instance_ = sptr<DCameraHost>(new DCameraHost()); in GetInstance() 50 int32_t DCameraHost::SetCallback(const sptr<HDI::Camera::V1_0::ICameraHostCallback> &callbackObj) in SetCallback() 57 dCameraHostRecipient_ = sptr<DCameraHostRecipient>(new DCameraHostRecipient()); in SetCallback() 61 int32_t DCameraHost::SetCallback_V1_2(const sptr<HDI::Camera::V1_2::ICameraHostCallback> &callbackObj) in SetCallback_V1_2() 68 dCameraHostRecipient_ = sptr<DCameraHostRecipient>(new DCameraHostRecipient()); in SetCallback_V1_2() 87 OHOS::sptr<DCameraDevice> device = nullptr; in GetCameraAbilityFromDev() 160 OHOS::sptr<DCameraDevice> dcameraDevice = nullptr; in OpenCameraImpl() 192 int32_t DCameraHost::OpenCamera(const std::string &cameraId, const sptr<ICameraDeviceCallbac [all...] |
/drivers/peripheral/display/composer/hdi_service/include/ |
H A D | display_composer_service.h | 38 int32_t RegHotPlugCallback(const sptr<IHotPlugCallback>& cb) override; 54 int32_t RegDisplayVBlankCallback(uint32_t devId, const sptr<IVBlankCallback>& cb) override; 56 uint32_t devId, std::vector<uint32_t>& layers, std::vector<sptr<HdifdParcelable>>& fences) override; 60 uint32_t devId, const sptr<NativeBuffer>& buffer, const sptr<HdifdParcelable>& fence) override; 69 int32_t RegSeamlessChangeCallback(const sptr<ISeamlessChangeCallback>& cb) override; 71 int32_t SetDisplayModeAsync(uint32_t devId, uint32_t modeId, const sptr<IModeCallback>& cb) override; 79 int32_t RegRefreshCallback(const sptr<IRefreshCallback>& cb) override; 80 int32_t RegDisplayVBlankIdleCallback (const sptr<IVBlankIdleCallback>& cb) override; 101 sptr<IHotPlugCallbac [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() 36 OHOS::sptr<OHOS::SurfaceBuffer> sb = nullptr; in BufferProducerRequestBuffer() 46 OHOS::sptr<OHOS::Surface> producer = g_producerMap[buffer->streamId]; 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() 103 OHOS::sptr<OHOS::Surface> producer = g_producerMap[buffer->streamId]; in BufferProducerFlushBuffer() 107 OHOS::sptr<OHOS::SurfaceBuffer> sb = g_surfaceBufferMap[buffer]; in BufferProducerFlushBuffer() 119 OHOS::sptr<OHO in BufferProducerGetQueueSize() [all...] |
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_adapter_interface_impl.h | 77 sptr<IAudioRender> &render, uint32_t &renderId) override; 80 sptr<IAudioCapture> &capture, uint32_t &captureId) override; 93 int32_t RegExtraParamObserver(const sptr<IAudioCallback> &audioCallback, int8_t cookie) override; 96 void SetSpeakerCallback(const int32_t dhId, const sptr<IDAudioCallback> &speakerCallback); 97 void SetMicCallback(const int32_t dhId, const sptr<IDAudioCallback> &micCallback); 111 const sptr<IDAudioCallback> extSpkCallback, const int32_t dhId, const int32_t renderId = 0); 112 int32_t CloseRenderDevice(const AudioDeviceDescriptor &desc, const sptr<IDAudioCallback> extSpkCallback, 115 const sptr<IDAudioCallback> extMicCallback, const int32_t dhId, const int32_t captureId = 0); 116 int32_t CloseCaptureDevice(const AudioDeviceDescriptor &desc, const sptr<IDAudioCallback> extMicCallback, 127 sptr<AudioRenderInterfaceImplBas [all...] |
/drivers/interface/display/buffer/v1_0/hdi_impl/ |
H A D | display_buffer_hdi_impl.h | 90 sptr<IRemoteObject> remoteObj = OHOS::HDI::hdi_objcast<IAllocator>(allocator_); in ~DisplayBufferHdiImpl() 96 bool AddDeathRecipient(const sptr<IRemoteObject::DeathRecipient>& recipient) override 98 sptr<IRemoteObject> remoteObj = OHOS::HDI::hdi_objcast<IAllocator>(allocator_); 117 sptr<IRemoteObject> remoteObj = OHOS::HDI::hdi_objcast<IAllocator>(allocator_); 127 sptr<NativeBuffer> hdiBuffer; 144 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); 153 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); 164 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); 174 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); 184 sptr<NativeBuffe [all...] |
/drivers/peripheral/intelligent_voice/hdi_service/engine/ |
H A D | intell_voice_engine_manager_impl.h | 49 DataOprListener(sptr<IIntellVoiceDataOprCallback> cb); 53 sptr<Ashmem> CreateAshmemFromOprData(const OprDataInfo &data, const std::string &name); 54 int32_t FillOprDataFromAshmem(const sptr<Ashmem> &ashmem, OprDataInfo &data); 55 sptr<IIntellVoiceDataOprCallback> cb_; 65 sptr<HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineAdapter> &adapter) override; 67 int32_t SetDataOprCallback(const sptr<IIntellVoiceDataOprCallback> &dataOprCallback) override; 70 sptr<HDI::IntelligentVoice::Engine::V1_2::IIntellVoiceEngineAdapter> &adapter) override; 80 int32_t CreateAdapterInner(const IntellVoiceEngineAdapterDescriptor &descriptor, sptr<T> &adapter); 83 std::map<IntellVoiceEngineAdapterType, sptr<IIntellVoiceEngineAdapter>> adapters_;
|
/drivers/peripheral/usb/test/benchmarktest/ |
H A D | usb_benchmark_request_test.cpp | 34 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> g_usbInterface = nullptr;
52 void InitPara(const sptr<UsbSubscriberTest> &subscriber);
53 void ReleasePara(const sptr<UsbSubscriberTest> &subscriber);
90 void HdfUsbdBenchmarkRequestTest::InitPara(const sptr<UsbSubscriberTest> &subscriber)
in InitPara() 100 void HdfUsbdBenchmarkRequestTest::ReleasePara(const sptr<UsbSubscriberTest> &subscriber)
in ReleasePara() 118 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 142 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 167 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 192 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 219 sptr<UsbSubscriberTes in BENCHMARK_F() [all...] |
/drivers/peripheral/camera/test/ut/v4l2/ |
H A D | open_camera_test.cpp | 49 const OHOS::sptr<ICameraDeviceCallback> callback = new DemoCameraDeviceCallback(); in TEST_F() 50 OHOS::sptr<ICameraDevice> cameraDevice; in TEST_F() 66 OHOS::sptr<ICameraDeviceCallback> callback = new DemoCameraDeviceCallback(); in TEST_F() 84 OHOS::sptr<ICameraDeviceCallback> callback = new DemoCameraDeviceCallback(); in TEST_F() 100 OHOS::sptr<ICameraDeviceCallback> callback = new DemoCameraDeviceCallback(); in TEST_F() 116 OHOS::sptr<ICameraDeviceCallback> callback = nullptr; in TEST_F() 132 OHOS::sptr<ICameraDeviceCallback> callback = nullptr; in TEST_F() 150 OHOS::sptr<ICameraDeviceCallback> callback = nullptr; in TEST_F() 166 OHOS::sptr<ICameraDeviceCallback> callback = nullptr; in TEST_F() 185 const OHOS::sptr<ICameraDeviceCallbac in TEST_F() [all...] |
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/ |
H A D | icamera_host_vdi.h | 42 explicit CameraHostCallBackDeathRecipient(const sptr<ICameraHostVdi> &cameraHostVdi) in CameraHostCallBackDeathRecipient() 59 sptr<ICameraHostVdi> cameraHostVdi_; 67 virtual int32_t SetCallback(const sptr<ICameraHostVdiCallback> &callbackObj) in SetCallback() 69 sptr<CameraHostCallBackDeathRecipient> callBackDeathRecipient = in SetCallback() 72 const sptr<IRemoteObject> remote = callbackObj->Remote(); in SetCallback() 90 virtual int32_t OpenCamera(const std::string &cameraId, const sptr<ICameraDeviceVdiCallback> &callbackObj, 91 sptr<ICameraDeviceVdi> &device) = 0;
|