/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_factory_proxy.h | 29 explicit MediaKeySystemFactoryProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory>(remote) {} in MediaKeySystemFactoryProxy() 41 int32_t CreateMediaKeySystem(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem>& mediaKeySystem) override; 48 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported, const sptr<IRemoteObject> remote); 50 static int32_t CreateMediaKeySystem_(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem>& mediaKeySystem, 51 const sptr<IRemoteObject> remote); 54 std::string& uuid, const sptr<IRemoteObject> remote); 56 static int32_t GetVersion_(uint32_t& majorVer, uint32_t& minorVer, const sptr<IRemoteObject> remote);
|
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/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/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/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);
|
/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;
|
/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/bluetooth/hci/hdi_service/ |
H A D | hci_interface_impl.h | 33 int32_t Init(const sptr<IHciCallback>& callbackObj) override;
40 sptr<IHciCallback> callbacks_ = nullptr;
41 sptr<RemoteDeathRecipient> remoteDeathRecipient_ = nullptr;
42 int32_t AddHciDeathRecipient(const sptr<IHciCallback>& callbackObj);
43 int32_t RemoveHciDeathRecipient(const sptr<IHciCallback>& callbackObj);
|
/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/external_device_manager/services/native/driver_extension_manager/include/bus_extension/usb/ |
H A D | usb_bus_extension.h | 40 void SetUsbInferface(sptr<IUsbInterface> iusb); 41 void SetUsbDdk(sptr<IUsbDdk> iUsbDdk); 49 sptr<UsbDevSubscriber> subScriber_ = nullptr; 50 sptr<IUsbInterface> usbInterface_ = nullptr; // in usb HDI; 51 sptr<IUsbDdk> iUsbDdk_ = nullptr; 53 sptr<IRemoteObject::DeathRecipient> recipient_;
|
/drivers/peripheral/display/buffer/hdi_service/include/ |
H A D | mapper_service.h | 37 int32_t FreeMem(const sptr<NativeBuffer>& handle) override; 38 int32_t Mmap(const sptr<NativeBuffer>& handle) override; 39 int32_t Unmap(const sptr<NativeBuffer>& handle) override; 40 int32_t FlushCache(const sptr<NativeBuffer>& handle) override; 41 int32_t InvalidateCache(const sptr<NativeBuffer>& handle) override; 42 int32_t GetImageLayout(const sptr<NativeBuffer>& handle, V1_2::ImageLayout& layout) override;
|
/drivers/peripheral/pin_auth/hdi_service/service/src/ |
H A D | pin_auth_interface_service.cpp | 45 int32_t PinAuthInterfaceService::GetExecutorList(std::vector<sptr<HdiIAllInOneExecutor>>& allInOneExecutors,
in GetExecutorList() 46 std::vector<sptr<HdiIVerifier>>& verifiers, std::vector<sptr<HdiICollector>>& collectors)
in GetExecutorList() 57 sptr<HdiIAllInOneExecutor> allInOneImpl(new (std::nothrow) AllInOneImpl(pinHdi));
in GetExecutorList() 63 sptr<HdiIVerifier> verifierImpl(new (std::nothrow) VerifierImpl(pinHdi));
in GetExecutorList() 69 sptr<HdiICollector> collectorImpl(new (std::nothrow) CollectorImpl(pinHdi));
in GetExecutorList()
|
/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/hdi_service/v1_0/include/ |
H A D | camera_host_service_callback.h | 32 CameraHostServiceCallback(OHOS::sptr<ICameraHostCallback> cameraHostCallback, 33 OHOS::sptr<ICameraHostVdi> cameraHostVdi, std::vector<CameraIdInfo> &cameraIdInfoList); 45 const sptr<IRemoteObject> Remote() const override; 48 OHOS::sptr<ICameraHostCallback> cameraHostCallback_; 49 OHOS::sptr<ICameraHostVdi> cameraHostVdi_;
|
/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;
|
/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/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...] |