Home
last modified time | relevance | path

Searched refs:serviceImpl (Results 1 - 25 of 58) sorted by relevance

123

/drivers/peripheral/codec/hal/src/
H A Dcodec_component_type_stub.c34 static int32_t SerStubGetComponentVersion(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, in SerStubGetComponentVersion() argument
37 if (serviceImpl == NULL) { in SerStubGetComponentVersion()
48 ret = serviceImpl->GetComponentVersion(serviceImpl, &verInfo); in SerStubGetComponentVersion()
61 static int32_t SerStubSendCommand(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) in SerStubSendCommand() argument
63 if (serviceImpl == NULL) { in SerStubSendCommand()
104 ret = serviceImpl->SendCommand(serviceImpl, cmd, param, cmdData, cmdDataLen); in SerStubSendCommand()
118 static int32_t SerStubGetParameter(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) in SerStubGetParameter() argument
120 if (serviceImpl in SerStubGetParameter()
174 SerStubSetParameter(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubSetParameter() argument
225 SerStubGetConfig(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubGetConfig() argument
281 SerStubSetConfig(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubSetConfig() argument
332 SerStubGetExtensionIndex(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubGetExtensionIndex() argument
368 SerStubGetState(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubGetState() argument
391 SerStubComponentTunnelRequest(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubComponentTunnelRequest() argument
438 SerStubUseBuffer(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubUseBuffer() argument
479 SerStubAllocateBuffer(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubAllocateBuffer() argument
518 SerStubFreeBuffer(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubFreeBuffer() argument
552 SerStubEmptyThisBuffer(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubEmptyThisBuffer() argument
581 SerStubFillThisBuffer(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubFillThisBuffer() argument
610 SerStubSetCallbacks(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubSetCallbacks() argument
641 SerStubComponentDeInit(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubComponentDeInit() argument
658 SerStubUseEglImage(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubUseEglImage() argument
718 SerStubComponentRoleEnum(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubComponentRoleEnum() argument
769 struct CodecComponentType *serviceImpl = (struct CodecComponentType *)remote; CodecComponentTypeServiceOnRemoteRequest() local
[all...]
H A Dcodec_component_manager_stub.c28 static int32_t SerStubGetComponentNum(struct CodecComponentManager *serviceImpl, struct HdfSBuf *data, in SerStubGetComponentNum() argument
31 if (serviceImpl == NULL) { in SerStubGetComponentNum()
35 int32_t num = serviceImpl->GetComponentNum(); in SerStubGetComponentNum()
43 static int32_t SerStubGetComponentCapablityList(struct CodecComponentManager *serviceImpl, struct HdfSBuf *data, in SerStubGetComponentCapablityList() argument
46 if (serviceImpl == NULL) { in SerStubGetComponentCapablityList()
57 if (count > serviceImpl->GetComponentNum()) { in SerStubGetComponentCapablityList()
66 err = serviceImpl->GetComponentCapabilityList(caps, count); in SerStubGetComponentCapablityList()
109 static int32_t SerStubCreateComponent(struct CodecComponentManager *serviceImpl, struct HdfSBuf *data, in SerStubCreateComponent() argument
112 if (serviceImpl == NULL) { in SerStubCreateComponent()
131 ret = serviceImpl in SerStubCreateComponent()
163 SerStubDestroyComponent(struct CodecComponentManager *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) SerStubDestroyComponent() argument
185 CodecComponentManagerServiceOnRemoteRequest(struct CodecComponentManager *serviceImpl, int32_t cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) CodecComponentManagerServiceOnRemoteRequest() argument
[all...]
H A Dcodec_callback_type_stub.c115 static int32_t SerStubEventHandler(struct CodecCallbackType *serviceImpl, in SerStubEventHandler() argument
118 if (serviceImpl == NULL) { in SerStubEventHandler()
137 ret = serviceImpl->EventHandler(serviceImpl, event, &info); in SerStubEventHandler()
145 static int32_t SerStubEmptyBufferDone(struct CodecCallbackType *serviceImpl, in SerStubEmptyBufferDone() argument
148 if (serviceImpl == NULL) { in SerStubEmptyBufferDone()
168 ret = serviceImpl->EmptyBufferDone(serviceImpl, appData, &buffer); in SerStubEmptyBufferDone()
179 static int32_t SerStubFillBufferDone(struct CodecCallbackType *serviceImpl, in SerStubFillBufferDone() argument
182 if (serviceImpl in SerStubFillBufferDone()
214 struct CodecCallbackType *serviceImpl = (struct CodecCallbackType*)service; CodecCallbackTypeServiceOnRemoteRequest() local
[all...]
/drivers/peripheral/audio/effect/host/
H A Daudio_effect_driver.c89 struct IEffectModel *serviceImpl = IEffectModelGet(true); in HdfEffectModelDriverBind() local
90 if (serviceImpl == NULL) { in HdfEffectModelDriverBind()
91 HDF_LOGE("%{public}s:create serviceImpl failed!", __func__); in HdfEffectModelDriverBind()
96 struct HdfRemoteService **stubObj = StubCollectorGetOrNewObject(IEFFECTMODEL_INTERFACE_DESC, serviceImpl); in HdfEffectModelDriverBind()
99 IEffectModelRelease(serviceImpl, true); in HdfEffectModelDriverBind()
106 effectModelHost->service = serviceImpl; in HdfEffectModelDriverBind()
/drivers/peripheral/audio/hdi_service/primary/
H A Daudio_manager_driver.c95 struct IAudioManager *serviceImpl = IAudioManagerGet(true); in HdfAudioManagerDriverBind() local
96 if (serviceImpl == NULL) { in HdfAudioManagerDriverBind()
97 HDF_LOGE("%{public}s:create serviceImpl failed!", __func__); in HdfAudioManagerDriverBind()
102 struct HdfRemoteService **stubObj = StubCollectorGetOrNewObject(IAUDIOMANAGER_INTERFACE_DESC, serviceImpl); in HdfAudioManagerDriverBind()
106 IAudioManagerRelease(serviceImpl, true); in HdfAudioManagerDriverBind()
113 audiomanagerHost->service = serviceImpl; in HdfAudioManagerDriverBind()
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_interface_driver.cpp69 auto serviceImpl = IBatteryInterface::Get(true); in HdfBatteryInterfaceDriverBind() local
70 if (serviceImpl == nullptr) { in HdfBatteryInterfaceDriverBind()
76 hdfBatteryInterfaceHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfBatteryInterfaceDriverBind()
/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_component_manager_driver.cpp77 auto serviceImpl = ICodecComponentManager::Get(true); in HdfCodecComponentManagerDriverBind() local
78 if (serviceImpl == nullptr) { in HdfCodecComponentManagerDriverBind()
85 OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, ICodecComponentManager::GetDescriptor()); in HdfCodecComponentManagerDriverBind()
/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthallinoneexecutorstub_fuzzer/
H A Dall_in_one_executor_stub_fuzzer.cpp45 AllInOneExecutorImpl *serviceImpl = new (std::nothrow) AllInOneExecutorImpl(); in FaceAuthHdiStubFuzzTest() local
46 if (serviceImpl == nullptr) { in FaceAuthHdiStubFuzzTest()
47 IAM_LOGE("%{public}s:get serviceImpl failed.", __func__); in FaceAuthHdiStubFuzzTest()
50 sptr<AllInOneExecutorStub> executorStub = new AllInOneExecutorStub(serviceImpl); in FaceAuthHdiStubFuzzTest()
/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthinterfacestub_fuzzer/
H A Dface_auth_interface_stub_fuzzer.cpp44 sptr<IFaceAuthInterface> serviceImpl = IFaceAuthInterface::Get(true); in FaceAuthInterfaceStubFuzzTest() local
45 if (serviceImpl == nullptr) { in FaceAuthInterfaceStubFuzzTest()
46 IAM_LOGE("%{public}s:get serviceImpl failed.", __func__); in FaceAuthInterfaceStubFuzzTest()
49 sptr<FaceAuthInterfaceStub> faceAuthInterfaceStub = new FaceAuthInterfaceStub(serviceImpl); in FaceAuthInterfaceStubFuzzTest()
/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintauthallinoneexecutorstub_fuzzer/
H A Dall_in_one_executor_stub_fuzzer.cpp45 AllInOneExecutorImpl *serviceImpl = new (std::nothrow) AllInOneExecutorImpl(); in FingerprintAuthHdiStubFuzzTest() local
46 if (serviceImpl == nullptr) { in FingerprintAuthHdiStubFuzzTest()
47 IAM_LOGE("%{public}s:get serviceImpl failed.", __func__); in FingerprintAuthHdiStubFuzzTest()
50 sptr<AllInOneExecutorStub> executorStub = new AllInOneExecutorStub(serviceImpl); in FingerprintAuthHdiStubFuzzTest()
/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintauthinterfacestub_fuzzer/
H A Dfingerprint_auth_interface_stub_fuzzer.cpp46 sptr<IFingerprintAuthInterface> serviceImpl = IFingerprintAuthInterface::Get(true); in FingerprintAuthInterfaceStubFuzzTest() local
47 if (serviceImpl == nullptr) { in FingerprintAuthInterfaceStubFuzzTest()
48 IAM_LOGE("%{public}s:get serviceImpl failed.", __func__); in FingerprintAuthInterfaceStubFuzzTest()
51 sptr<FingerprintAuthInterfaceStub> fingerprintAuthInterfaceStub = new FingerprintAuthInterfaceStub(serviceImpl); in FingerprintAuthInterfaceStubFuzzTest()
/drivers/peripheral/input/hdi_service/
H A Dinput_interfaces_driver.cpp70 auto serviceImpl = IInputInterfaces::Get(true); in HdfInputInterfacesDriverBind() local
71 if (serviceImpl == nullptr) { in HdfInputInterfacesDriverBind()
77 hdfInputInterfacesHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfInputInterfacesDriverBind()
/drivers/peripheral/light/hdi_service/
H A Dlight_if_driver.cpp73 auto serviceImpl = ILightInterface::Get(true); in HdfLightInterfaceDriverBind() local
74 if (serviceImpl == nullptr) { in HdfLightInterfaceDriverBind()
80 hdfLightInterfaceHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfLightInterfaceDriverBind()
/drivers/peripheral/partitionslot/hdi_service/src/
H A Dpartition_slot_driver.cpp70 auto serviceImpl = IPartitionSlot::Get(true); in HdfPartitionSlotDriverBind() local
71 if (serviceImpl == nullptr) { in HdfPartitionSlotDriverBind()
77 hdfPartitionSlotHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfPartitionSlotDriverBind()
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dpower_interface_driver.cpp74 auto serviceImpl = IPowerInterface::Get(true); in HdfPowerInterfaceDriverBind() local
75 if (serviceImpl == nullptr) { in HdfPowerInterfaceDriverBind()
81 hdfPowerInterfaceHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfPowerInterfaceDriverBind()
/drivers/peripheral/memorytracker/hdi_service/src/
H A Dmemorytracker_interface_driver.cpp72 auto serviceImpl = IMemoryTrackerInterface::Get(true); in HdfMemoryTrackerInterfaceDriverBind() local
73 if (serviceImpl == nullptr) { in HdfMemoryTrackerInterfaceDriverBind()
79 hdfMemoryTrackerInterfaceHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfMemoryTrackerInterfaceDriverBind()
/drivers/peripheral/sensor/hdi_service/
H A Dsensor_if_driver.cpp73 auto serviceImpl = ISensorInterface::Get(true); in HdfSensorInterfaceDriverBind() local
74 if (serviceImpl == nullptr) { in HdfSensorInterfaceDriverBind()
80 hdfSensorInterfaceHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfSensorInterfaceDriverBind()
/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdistub_fuzzer/
H A Duser_auth_hdi_stub_fuzzer.cpp48 sptr<OHOS::HDI::UserAuth::V2_0::IUserAuthInterface> serviceImpl = in UserAuthHdiStubFuzzTest() local
50 if (serviceImpl == nullptr) { in UserAuthHdiStubFuzzTest()
55 new OHOS::HDI::UserAuth::V2_0::UserAuthInterfaceStub(serviceImpl); in UserAuthHdiStubFuzzTest()
/drivers/peripheral/usb/gadget/function/mtp/src/
H A Dusbfn_mtp_interface_driver.cpp81 auto serviceImpl = IUsbfnMtpInterface::Get(true); in HdfUsbfnMtpInterfaceDriverBind() local
82 if (serviceImpl == nullptr) { in HdfUsbfnMtpInterfaceDriverBind()
89 OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, IUsbfnMtpInterface::GetDescriptor()); in HdfUsbfnMtpInterfaceDriverBind()
98 sptr<UsbfnMtpImpl> impl = static_cast<UsbfnMtpImpl *>(serviceImpl.GetRefPtr()); in HdfUsbfnMtpInterfaceDriverBind()
/drivers/peripheral/usb/hdi_service/src/
H A Dusb_interface_driver.cpp89 auto serviceImpl = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(true); in HdfUsbInterfaceDriverBind() local
90 if (serviceImpl == nullptr) { in HdfUsbInterfaceDriverBind()
98 OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfUsbInterfaceDriverBind()
107 sptr<UsbImpl> impl = static_cast<UsbImpl *>(serviceImpl.GetRefPtr()); in HdfUsbInterfaceDriverBind()
/drivers/peripheral/wlan/hdi_service/
H A Dwlan_interface_drivers.c87 struct IWlanInterface *serviceImpl = IWlanInterfaceGet(true); in HdfWlanInterfaceDriverBind() local
88 struct HdfRemoteService **stubObj = StubCollectorGetOrNewObject(IWLANINTERFACE_INTERFACE_DESC, serviceImpl); in HdfWlanInterfaceDriverBind()
91 IWlanInterfaceRelease(serviceImpl, true); in HdfWlanInterfaceDriverBind()
98 wlaninterfaceHost->service = serviceImpl; in HdfWlanInterfaceDriverBind()
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/
H A Dhostapd_interface_drivers.c93 struct IHostapdInterface *serviceImpl = IHostapdInterfaceGet(true); in HdfHostapdInterfaceDriverBind() local
94 struct HdfRemoteService **stubObj = StubCollectorGetOrNewObject(IHOSTAPDINTERFACE_INTERFACE_DESC, serviceImpl); in HdfHostapdInterfaceDriverBind()
98 IHostapdInterfaceRelease(serviceImpl, true); in HdfHostapdInterfaceDriverBind()
105 hostapdinterfaceHost->service = serviceImpl; in HdfHostapdInterfaceDriverBind()
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/
H A Dwpa_interface_drivers.c97 struct IWpaInterface *serviceImpl = IWpaInterfaceGet(true); in HdfWpaInterfaceDriverBind() local
98 struct HdfRemoteService **stubObj = StubCollectorGetOrNewObject(IWPAINTERFACE_INTERFACE_DESC, serviceImpl); in HdfWpaInterfaceDriverBind()
102 IWpaInterfaceRelease(serviceImpl, true); in HdfWpaInterfaceDriverBind()
109 wpainterfaceHost->service = serviceImpl; in HdfWpaInterfaceDriverBind()
/drivers/peripheral/bluetooth/hci/hdi_service/
H A Dhci_interface_driver.cpp83 auto serviceImpl = IHciInterface::Get(true); in HdfHciInterfaceDriverBind() local
84 if (serviceImpl == nullptr) { in HdfHciInterfaceDriverBind()
90 hdfHciInterfaceHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfHciInterfaceDriverBind()
/drivers/peripheral/camera/interfaces/hdi_ipc/
H A Dcamera_host_driver.cpp77 OHOS::sptr<ICameraHost> serviceImpl {CameraHostServiceGetInstance()}; in HdfCameraHostDriverBind()
78 if (serviceImpl == nullptr) { in HdfCameraHostDriverBind()
84 hdfCameraHostHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfCameraHostDriverBind()

Completed in 8 milliseconds

123