Home
last modified time | relevance | path

Searched refs:service (Results 1 - 25 of 427) sorted by relevance

12345678910>>...18

/drivers/peripheral/wlan/wpa/interfaces/hdi_service/
H A Dwpa_interface_service.c32 struct WpaInterfaceService *service = (struct WpaInterfaceService *)OsalMemCalloc( in WpaInterfaceImplGetInstance() local
34 if (service == NULL) { in WpaInterfaceImplGetInstance()
39 service->interface.Start = WpaInterfaceStart; in WpaInterfaceImplGetInstance()
40 service->interface.Stop = WpaInterfaceStop; in WpaInterfaceImplGetInstance()
41 service->interface.AddWpaIface = WpaInterfaceAddWpaIface; in WpaInterfaceImplGetInstance()
42 service->interface.RemoveWpaIface = WpaInterfaceRemoveWpaIface; in WpaInterfaceImplGetInstance()
43 service->interface.Scan = WpaInterfaceScan; in WpaInterfaceImplGetInstance()
44 service->interface.ScanResult= WpaInterfaceScanResult; in WpaInterfaceImplGetInstance()
45 service->interface.AddNetwork = WpaInterfaceAddNetwork; in WpaInterfaceImplGetInstance()
46 service in WpaInterfaceImplGetInstance()
[all...]
/drivers/peripheral/wlan/hdi_service/
H A Dwlan_interface_service.c32 struct WlanInterfaceService *service = (struct WlanInterfaceService *)OsalMemCalloc( in WlanInterfaceImplGetInstance() local
34 if (service == NULL) { in WlanInterfaceImplGetInstance()
39 service->interface.Start = WlanInterfaceStart; in WlanInterfaceImplGetInstance()
40 service->interface.Stop = WlanInterfaceStop; in WlanInterfaceImplGetInstance()
41 service->interface.CreateFeature = WlanInterfaceCreateFeature; in WlanInterfaceImplGetInstance()
42 service->interface.DestroyFeature = WlanInterfaceDestroyFeature; in WlanInterfaceImplGetInstance()
43 service->interface.GetAssociatedStas = WlanInterfaceGetAssociatedStas; in WlanInterfaceImplGetInstance()
44 service->interface.GetChipId = WlanInterfaceGetChipId; in WlanInterfaceImplGetInstance()
45 service->interface.GetDeviceMacAddress = WlanInterfaceGetDeviceMacAddress; in WlanInterfaceImplGetInstance()
46 service in WlanInterfaceImplGetInstance()
[all...]
/drivers/hdf_core/framework/support/platform/src/watchdog/
H A Dwatchdog_if_u.c22 void *service = NULL; in WatchdogServiceGetById() local
31 HDF_LOGE("WatchdogServiceGetById: format service name fail!"); in WatchdogServiceGetById()
35 service = (void *)HdfIoServiceBind(serviceName); in WatchdogServiceGetById()
36 if (service == NULL) { in WatchdogServiceGetById()
40 return service; in WatchdogServiceGetById()
47 struct HdfIoService *service = NULL; in WatchdogOpen() local
54 service = WatchdogServiceGetById(wdtId); in WatchdogOpen()
55 if (service == NULL) { in WatchdogOpen()
56 HDF_LOGE("WatchdogOpen: get service fail!"); in WatchdogOpen()
60 if (service in WatchdogOpen()
96 struct HdfIoService *service = NULL; WatchdogClose() local
116 struct HdfIoService *service = NULL; WatchdogGetStatus() local
154 struct HdfIoService *service = NULL; WatchdogStart() local
179 struct HdfIoService *service = NULL; WatchdogStop() local
205 struct HdfIoService *service = NULL; WatchdogSetTimeout() local
239 struct HdfIoService *service = NULL; WatchdogGetTimeout() local
277 struct HdfIoService *service = NULL; WatchdogFeed() local
[all...]
/drivers/hdf_core/adapter/uhdf2/ipc/src/
H A Dhdf_remote_service.c20 struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) in HdfRemoteServiceAddDeathRecipient()
22 HdfRemoteAdapterAddDeathRecipient(service, recipient); in HdfRemoteServiceAddDeathRecipient()
26 struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) in HdfRemoteServiceRemoveDeathRecipient()
28 HdfRemoteAdapterRemoveDeathRecipient(service, recipient); in HdfRemoteServiceRemoveDeathRecipient()
33 struct HdfRemoteService *service = HdfRemoteAdapterObtain(); in HdfRemoteServiceObtain() local
34 if ((service != NULL) && (service->dispatcher == NULL)) { in HdfRemoteServiceObtain()
35 service->dispatcher = dispatcher; in HdfRemoteServiceObtain()
36 service->target = object; in HdfRemoteServiceObtain()
38 return service; in HdfRemoteServiceObtain()
19 HdfRemoteServiceAddDeathRecipient( struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) HdfRemoteServiceAddDeathRecipient() argument
25 HdfRemoteServiceRemoveDeathRecipient( struct HdfRemoteService *service, struct HdfDeathRecipient *recipient) HdfRemoteServiceRemoveDeathRecipient() argument
41 HdfRemoteServiceRecycle(struct HdfRemoteService *service) HdfRemoteServiceRecycle() argument
51 HdfRemoteServiceRegister(int32_t serviceId, struct HdfRemoteService *service) HdfRemoteServiceRegister() argument
56 HdfRemoteServiceSetInterfaceDesc(struct HdfRemoteService *service, const char *descriptor) HdfRemoteServiceSetInterfaceDesc() argument
61 HdfRemoteServiceWriteInterfaceToken(struct HdfRemoteService *service, struct HdfSBuf *data) HdfRemoteServiceWriteInterfaceToken() argument
66 HdfRemoteServiceCheckInterfaceToken(struct HdfRemoteService *service, struct HdfSBuf *data) HdfRemoteServiceCheckInterfaceToken() argument
71 HdfRemoteServiceDefaultDispatch( struct HdfRemoteService *service, int code, struct HdfSBuf *data, struct HdfSBuf *reply) HdfRemoteServiceDefaultDispatch() argument
[all...]
/drivers/peripheral/codec/hal/src/
H A Dcodec_component_type_service.c32 CODEC_LOGI("service impl!"); in CodecComponentTypeGetComponentVersion()
33 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; in CodecComponentTypeGetComponentVersion() local
34 if (service == NULL) { in CodecComponentTypeGetComponentVersion()
38 return OmxAdapterComponentVersion(service->codecNode, verInfo); in CodecComponentTypeGetComponentVersion()
44 CODEC_LOGI("service impl!, type [%{public}d], cmd [%{public}d]", (uint32_t)cmd, param); in CodecComponentTypeSendCommand()
46 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; in CodecComponentTypeSendCommand() local
47 if (service == NULL) { in CodecComponentTypeSendCommand()
51 return OmxAdapterSendCommand(service->codecNode, cmd, param, cmdData, cmdDataLen); in CodecComponentTypeSendCommand()
57 CODEC_LOGI("service impl, index [%{public}x]!", paramIndex); in CodecComponentTypeGetParameter()
59 struct CodecComponentTypeService *service in CodecComponentTypeGetParameter() local
77 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeSetParameter() local
94 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeGetConfig() local
111 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeSetConfig() local
127 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeGetExtensionIndex() local
139 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeGetState() local
153 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeComponentTunnelRequest() local
166 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeUseBuffer() local
179 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeAllocateBuffer() local
193 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeFreeBuffer() local
204 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeEmptyThisBuffer() local
215 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeFillThisBuffer() local
228 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeSetCallbacks() local
240 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeComponentDeInit() local
253 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeUseEglImage() local
266 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeComponentRoleEnum() local
301 struct CodecComponentTypeService *service = CodecComponentTypeServiceGet() local
319 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeServiceRelease() local
331 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeServiceSetCodecNode() local
340 struct CodecComponentTypeService *service = (struct CodecComponentTypeService *)self; CodecComponentTypeServiceGetCodecNode() local
[all...]
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/
H A Dhostapd_interface_service.c31 struct HostapdInterfaceService *service = (struct HostapdInterfaceService *)OsalMemCalloc( in HostapdInterfaceImplGetInstance() local
33 if (service == NULL) { in HostapdInterfaceImplGetInstance()
37 service->interface.StartAp = HostapdInterfaceStartAp; in HostapdInterfaceImplGetInstance()
38 service->interface.StartApWithCmd = HostapdInterfaceStartApWithCmd; in HostapdInterfaceImplGetInstance()
39 service->interface.StopAp = HostapdInterfaceStopAp; in HostapdInterfaceImplGetInstance()
40 service->interface.EnableAp = HostapdInterfaceEnableAp; in HostapdInterfaceImplGetInstance()
41 service->interface.DisableAp = HostapdInterfaceDisableAp; in HostapdInterfaceImplGetInstance()
42 service->interface.SetApPasswd = HostapdInterfaceSetApPasswd; in HostapdInterfaceImplGetInstance()
43 service->interface.SetApName = HostapdInterfaceSetApName; in HostapdInterfaceImplGetInstance()
44 service in HostapdInterfaceImplGetInstance()
[all...]
/drivers/peripheral/audio/test/systemtest/adm/audio_adm_interface/src/
H A Daudio_adm_interface_test.cpp78 struct HdfIoService *service = nullptr; in HWTEST_F() local
89 service = HdfIoServiceBind(HDF_CONTROL_SERVICE.c_str()); in HWTEST_F()
90 ASSERT_NE(nullptr, service); in HWTEST_F()
91 ASSERT_NE(nullptr, service->dispatcher); in HWTEST_F()
95 HdfIoServiceRecycle(service); in HWTEST_F()
101 ret = service->dispatcher->Dispatch(&service->object, CONTROL_DISP_METHOD_CMD_ILLEGAL, writeBuf, writeReply); in HWTEST_F()
104 HdfIoServiceRecycle(service); in HWTEST_F()
114 struct HdfIoService *service = nullptr; in HWTEST_F() local
125 service in HWTEST_F()
151 struct HdfIoService *service = nullptr; HWTEST_F() local
160 service = HdfIoServiceBind(HDF_RENDER_SERVICE.c_str()); HWTEST_F() member
185 struct HdfIoService *service = nullptr; HWTEST_F() local
195 service = HdfIoServiceBind(HDF_RENDER_SERVICE.c_str()); HWTEST_F() member
221 struct HdfIoService *service = nullptr; HWTEST_F() local
246 struct HdfIoService *service = nullptr; HWTEST_F() local
270 struct HdfIoService *service = nullptr; HWTEST_F() local
295 struct HdfIoService *service = nullptr; HWTEST_F() local
318 struct HdfIoService *service = nullptr; HWTEST_F() local
343 struct HdfIoService *service = nullptr; HWTEST_F() local
368 struct HdfIoService *service = nullptr; HWTEST_F() local
392 struct HdfIoService *service = nullptr; HWTEST_F() local
420 struct HdfIoService *service = nullptr; HWTEST_F() local
448 struct HdfIoService *service = nullptr; HWTEST_F() local
476 struct HdfIoService *service = nullptr; HWTEST_F() local
504 struct HdfIoService *service = nullptr; HWTEST_F() local
532 struct HdfIoService *service = nullptr; HWTEST_F() local
556 struct HdfIoService *service = nullptr; HWTEST_F() local
603 struct HdfIoService *service = nullptr; HWTEST_F() local
629 struct HdfIoService *service = nullptr; HWTEST_F() local
654 struct HdfIoService *service = nullptr; HWTEST_F() local
678 struct HdfIoService *service = nullptr; HWTEST_F() local
700 struct HdfIoService *service = nullptr; HWTEST_F() local
723 struct HdfIoService *service = nullptr; HWTEST_F() local
747 struct HdfIoService *service = nullptr; HWTEST_F() local
770 struct HdfIoService *service = nullptr; HWTEST_F() local
789 struct HdfIoService *service = nullptr; HWTEST_F() local
808 struct HdfIoService *service = nullptr; HWTEST_F() local
827 struct HdfIoService *service = nullptr; HWTEST_F() local
846 struct HdfIoService *service = nullptr; HWTEST_F() local
865 struct HdfIoService *service = nullptr; HWTEST_F() local
884 struct HdfIoService *service = nullptr; HWTEST_F() local
903 struct HdfIoService *service = nullptr; HWTEST_F() local
922 struct HdfIoService *service = nullptr; HWTEST_F() local
941 struct HdfIoService *service = nullptr; HWTEST_F() local
960 struct HdfIoService *service = nullptr; HWTEST_F() local
979 struct HdfIoService *service = nullptr; HWTEST_F() local
1002 struct HdfIoService *service = nullptr; HWTEST_F() local
1021 struct HdfIoService *service = nullptr; HWTEST_F() local
1040 struct HdfIoService *service = nullptr; HWTEST_F() local
1059 struct HdfIoService *service = nullptr; HWTEST_F() local
1078 struct HdfIoService *service = nullptr; HWTEST_F() local
1097 struct HdfIoService *service = nullptr; HWTEST_F() local
1116 struct HdfIoService *service = nullptr; HWTEST_F() local
1136 struct HdfIoService *service = nullptr; HWTEST_F() local
1156 struct HdfIoService *service = nullptr; HWTEST_F() local
1174 struct HdfIoService *service = nullptr; HWTEST_F() local
1221 struct HdfIoService *service = nullptr; HWTEST_F() local
1277 struct HdfIoService *service = nullptr; HWTEST_F() local
1314 struct HdfIoService *service = nullptr; HWTEST_F() local
1351 struct HdfIoService *service = nullptr; HWTEST_F() local
1389 struct HdfIoService *service = nullptr; HWTEST_F() local
1426 struct HdfIoService *service = nullptr; HWTEST_F() local
1462 struct HdfIoService *service = nullptr; HWTEST_F() local
1495 struct HdfIoService *service = nullptr; HWTEST_F() local
1532 struct HdfIoService *service = nullptr; HWTEST_F() local
1569 struct HdfIoService *service = nullptr; HWTEST_F() local
1607 struct HdfIoService *service = nullptr; HWTEST_F() local
[all...]
/drivers/peripheral/user_auth/test/unittest/service_test/src/
H A Duser_auth_interface_service_test.cpp68 int32_t DoOnceExecutorRegister(const std::shared_ptr<UserAuthInterfaceService> &service, AuthType authType, in DoOnceExecutorRegister() argument
79 return service->AddExecutor(info, index, publicKey, templateIds); in DoOnceExecutorRegister()
82 void RegisterAllExecutor(const std::shared_ptr<UserAuthInterfaceService> &service) in RegisterAllExecutor() argument
84 EXPECT_EQ(DoOnceExecutorRegister(service, AuthType::PIN, g_pinIndex), 0); in RegisterAllExecutor()
85 EXPECT_EQ(DoOnceExecutorRegister(service, AuthType::FACE, g_faceIndex), 0); in RegisterAllExecutor()
86 EXPECT_EQ(DoOnceExecutorRegister(service, AuthType::FINGERPRINT, g_fingerprintIndex), 0); in RegisterAllExecutor()
89 void DeleteAllExecutor(const std::shared_ptr<UserAuthInterfaceService> &service) in DeleteAllExecutor() argument
91 EXPECT_EQ(service->DeleteExecutor(g_pinIndex), 0); in DeleteAllExecutor()
92 EXPECT_EQ(service->DeleteExecutor(g_faceIndex), 0); in DeleteAllExecutor()
93 EXPECT_EQ(service in DeleteAllExecutor()
96 DoOnceEnroll(const std::shared_ptr<UserAuthInterfaceService> &service, int32_t userId, AuthType authType, const std::vector<uint8_t> &authToken, EnrollResultTest &enrollResultTest) DoOnceEnroll() argument
120 DoOnceAuth(const std::shared_ptr<UserAuthInterfaceService> &service, int32_t userId, AuthType authType, std::vector<uint8_t> &challenge, AuthResultTest &authResultTest) DoOnceAuth() argument
153 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
165 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
184 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
196 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
219 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
248 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
262 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
278 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
294 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
316 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
339 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
377 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
419 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
433 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
447 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
461 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
480 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
518 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
546 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
558 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
573 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
593 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
613 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
629 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
645 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
662 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
694 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
706 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
746 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
763 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
780 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
808 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
826 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
878 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
890 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
933 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
949 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
981 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1015 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1033 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1066 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1080 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1108 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1124 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1156 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1191 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1225 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1254 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1306 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
1337 auto service = UserIam::Common::MakeShared<UserAuthInterfaceService>(); HWTEST_F() local
[all...]
/drivers/hdf_core/framework/support/platform/src/dac/
H A Ddac_if_u.c21 static struct HdfIoService *service = NULL; in DacManagerServiceGet() local
23 if (service != NULL) { in DacManagerServiceGet()
24 return service; in DacManagerServiceGet()
26 service = (struct HdfIoService *)HdfIoServiceBind("HDF_PLATFORM_DAC_MANAGER"); in DacManagerServiceGet()
27 if (service == NULL) { in DacManagerServiceGet()
28 HDF_LOGE("DacManagerServiceGet: fail to get dac manager service!"); in DacManagerServiceGet()
30 return service; in DacManagerServiceGet()
36 struct HdfIoService *service = NULL; in DacOpen() local
41 service = DacManagerServiceGet(); in DacOpen()
42 if (service in DacOpen()
88 struct HdfIoService *service = NULL; DacClose() local
124 struct HdfIoService *service = NULL; DacWrite() local
[all...]
/drivers/hdf_core/framework/support/platform/src/clock/
H A Dclock_if_u.c33 struct HdfIoService *service = NULL; in ClockOpen() local
39 service = (struct HdfIoService *)ClockManagerGetService(); in ClockOpen()
40 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in ClockOpen()
41 HDF_LOGE("ClockOpen: service is null!"); in ClockOpen()
65 ret = service->dispatcher->Dispatch(&service->object, CLOCK_IO_OPEN, data, reply); in ClockOpen()
67 HDF_LOGE("ClockOpen: service call CLOCK_IO_OPEN fail, ret: %d!", ret); in ClockOpen()
85 struct HdfIoService *service in ClockClose() local
122 struct HdfIoService *service = NULL; ClockEnable() local
159 struct HdfIoService *service = NULL; ClockDisable() local
196 struct HdfIoService *service = NULL; ClockSetRate() local
241 struct HdfIoService *service = NULL; ClockGetRate() local
298 struct HdfIoService *service = NULL; ClockGetParent() local
354 struct HdfIoService *service = NULL; ClockSetParent() local
[all...]
/drivers/hdf_core/framework/support/platform/src/rtc/
H A Drtc_if_u.c22 static struct HdfIoService *service = NULL; in RtcOpen() local
23 if (service != NULL) { in RtcOpen()
24 return service; in RtcOpen()
27 service = HdfIoServiceBind("HDF_PLATFORM_RTC"); in RtcOpen()
28 if (service == NULL) { in RtcOpen()
29 HDF_LOGE("RtcOpen: rtc service bind fail!"); in RtcOpen()
33 if (service->priv == NULL) { in RtcOpen()
37 return (DevHandle)service; in RtcOpen()
39 service->priv = manager; in RtcOpen()
40 manager->service in RtcOpen()
48 struct HdfIoService *service = NULL; RtcClose() local
63 struct HdfIoService *service = NULL; RtcReadTime() local
117 struct HdfIoService *service = NULL; RtcWriteTime() local
166 struct HdfIoService *service = NULL; RtcReadAlarm() local
233 struct HdfIoService *service = NULL; RtcWriteAlarm() local
281 RtcRegListener(struct HdfIoService *service, enum RtcAlarmIndex alarmIndex, RtcAlarmCallback cb) RtcRegListener() argument
307 struct HdfIoService *service = (struct HdfIoService *)handle; RtcRegisterAlarmCallback() local
355 struct HdfIoService *service = NULL; RtcAlarmInterruptEnable() local
402 struct HdfIoService *service = NULL; RtcGetFreq() local
442 struct HdfIoService *service = NULL; RtcSetFreq() local
482 struct HdfIoService *service = NULL; RtcReset() local
509 struct HdfIoService *service = NULL; RtcReadReg() local
564 struct HdfIoService *service = NULL; RtcWriteReg() local
[all...]
/drivers/hdf_core/framework/support/platform/src/gpio/
H A Dgpio_if_u.c23 static struct HdfIoService *service = NULL; in GpioManagerServiceGet() local
25 if (service != NULL) { in GpioManagerServiceGet()
26 return service; in GpioManagerServiceGet()
28 service = HdfIoServiceBind("HDF_PLATFORM_GPIO_MANAGER"); in GpioManagerServiceGet()
29 if (service == NULL) { in GpioManagerServiceGet()
30 HDF_LOGE("GpioManagerServiceGet: fail to get gpio manager service!"); in GpioManagerServiceGet()
34 if (service->priv == NULL) { in GpioManagerServiceGet()
38 return service; in GpioManagerServiceGet()
40 service->priv = manager; in GpioManagerServiceGet()
41 manager->service in GpioManagerServiceGet()
49 struct HdfIoService *service = NULL; GpioRead() local
102 struct HdfIoService *service = NULL; GpioWrite() local
143 struct HdfIoService *service = NULL; GpioGetDir() local
201 struct HdfIoService *service = NULL; GpioSetDir() local
239 GpioRegListener(struct HdfIoService *service, uint16_t gpio, GpioIrqFunc func, void *arg) GpioRegListener() argument
264 struct HdfIoService *service = NULL; GpioSetIrq() local
319 struct HdfIoService *service = NULL; GpioUnsetIrq() local
357 struct HdfIoService *service = NULL; GpioEnableIrq() local
392 struct HdfIoService *service = NULL; GpioDisableIrq() local
427 struct HdfIoService *service = NULL; GpioGetByName() local
[all...]
/drivers/hdf_core/framework/support/platform/src/hdmi/
H A Dhdmi_if.c71 struct HdfIoService *service = (struct HdfIoService *)handle; in HdmiUserClose() local
74 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in HdmiUserClose()
75 HDF_LOGE("HdmiUserClose: service is invalid"); in HdmiUserClose()
79 ret = service->dispatcher->Dispatch(&service->object, HDMI_CMD_CLOSE, NULL, NULL); in HdmiUserClose()
81 HDF_LOGE("HdmiUserClose: failed to send service call:%d", ret); in HdmiUserClose()
87 struct HdfIoService *service = (struct HdfIoService *)handle; in HdmiUserStart() local
90 if (service in HdmiUserStart()
105 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserStop() local
125 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserAvmuteSet() local
155 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserDeepColorSet() local
185 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserSetVideoAttribute() local
218 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserSetAudioAttribute() local
252 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserSetHdrAttribute() local
286 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserDeepColorGet() local
322 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserGetSinkEdid() local
357 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserRegisterHpdCallbackFunc() local
389 struct HdfIoService *service = (struct HdfIoService *)handle; HdmiUserUnregisterHpdCallbackFunc() local
440 struct HdfIoService *service = (struct HdfIoService *)obj; HdmiOpen() local
[all...]
/drivers/hdf_core/framework/support/platform/src/timer/
H A Dtimer_if_u.c21 static struct HdfIoService *service = NULL; in TimerManagerGetService() local
23 if (service != NULL) { in TimerManagerGetService()
24 return service; in TimerManagerGetService()
26 service = HdfIoServiceBind(TIMER_SERVICE_NAME); in TimerManagerGetService()
27 if (service == NULL) { in TimerManagerGetService()
32 if (service->priv == NULL) { in TimerManagerGetService()
36 return service; in TimerManagerGetService()
38 service->priv = manager; in TimerManagerGetService()
39 manager->service = service; in TimerManagerGetService()
47 struct HdfIoService *service = NULL; HwTimerOpen() local
99 struct HdfIoService *service = NULL; HwTimerClose() local
137 struct HdfIoService *service = NULL; HwTimerStart() local
176 struct HdfIoService *service = NULL; HwTimerStop() local
213 TimerListenerReg(struct HdfIoService *service, DevHandle handle, TimerHandleCb cb, bool isOnce) TimerListenerReg() argument
240 struct HdfIoService *service = NULL; HwTimerSet() local
301 struct HdfIoService *service = NULL; HwTimerSetOnce() local
362 struct HdfIoService *service = NULL; HwTimerGet() local
[all...]
/drivers/hdf_core/adapter/uhdf2/hdi/test/stub_collector/
H A Dstub_collector_test.cpp27 struct HdfRemoteService **TestConstruct(void *service) in TestConstruct() argument
71 struct TestService *service = (struct TestService *)OsalMemCalloc(sizeof(struct TestService)); in HWTEST_F() local
72 ASSERT_NE(service, nullptr); in HWTEST_F()
73 struct HdfRemoteService **remote = StubCollectorGetOrNewObject(IFDESC, service); in HWTEST_F()
75 OsalMemFree(service); in HWTEST_F()
87 struct TestService *service = (struct TestService *)OsalMemCalloc(sizeof(struct TestService)); in HWTEST_F() local
88 ASSERT_NE(service, nullptr); in HWTEST_F()
90 struct HdfRemoteService **remote = StubCollectorGetOrNewObject(tmpDesc, service); in HWTEST_F()
94 OsalMemFree(service); in HWTEST_F()
100 struct TestService *service in HWTEST_F() local
114 struct TestService *service = (struct TestService *)OsalMemCalloc(sizeof(struct TestService)); HWTEST_F() local
144 struct TestService *service = (struct TestService *)OsalMemCalloc(sizeof(struct TestService)); HWTEST_F() local
[all...]
/drivers/hdf_core/framework/support/platform/src/pin/
H A Dpin_if_u.c77 static struct HdfIoService *service = NULL; in PinManagerServiceGet() local
79 if (service != NULL) { in PinManagerServiceGet()
80 return service; in PinManagerServiceGet()
82 service = HdfIoServiceBind(PIN_SERVICE_NAME); in PinManagerServiceGet()
83 if (service == NULL) { in PinManagerServiceGet()
84 HDF_LOGE("PinServiceGetService: fail to get pin service!"); in PinManagerServiceGet()
86 return service; in PinManagerServiceGet()
93 struct HdfIoService *service = NULL; in PinGet() local
101 service = PinManagerServiceGet(); in PinGet()
102 if (service in PinGet()
140 struct HdfIoService *service = NULL; PinPut() local
179 struct HdfIoService *service = NULL; PinSetPull() local
222 struct HdfIoService *service = NULL; PinGetPull() local
278 struct HdfIoService *service = NULL; PinSetStrength() local
321 struct HdfIoService *service = NULL; PinGetStrength() local
377 struct HdfIoService *service = NULL; PinSetFunc() local
443 struct HdfIoService *service = NULL; PinGetFunc() local
[all...]
/drivers/hdf_core/framework/support/platform/src/pcie/
H A Dpcie_if_u.c41 struct HdfIoService *service = NULL; in PcieOpen() local
46 HDF_LOGE("PcieOpen: get PCIE service name fail."); in PcieOpen()
50 service = HdfIoServiceBind(serviceName); in PcieOpen()
51 if (service->priv == NULL) { in PcieOpen()
55 HdfIoServiceRecycle(service); in PcieOpen()
58 service->priv = manager; in PcieOpen()
59 manager->service = service; in PcieOpen()
61 return (DevHandle)service; in PcieOpen()
91 struct HdfIoService *service in PcieRead() local
148 struct HdfIoService *service = (struct HdfIoService *)handle; PcieWrite() local
193 PcieRegListener( struct HdfIoService *service, PcieCallbackFunc cb, uint32_t num, const struct DmaData *dma) PcieRegListener() argument
269 struct HdfIoService *service = (struct HdfIoService *)handle; PcieDmaMap() local
314 struct HdfIoService *service = (struct HdfIoService *)handle; PcieDmaUnmap() local
347 struct HdfIoService *service = (struct HdfIoService *)handle; PcieRegisterIrq() local
370 struct HdfIoService *service = (struct HdfIoService *)handle; PcieUnregisterIrq() local
388 struct HdfIoService *service = (struct HdfIoService *)handle; PcieClose() local
[all...]
/drivers/hdf_core/adapter/uhdf2/host/src/
H A Ddevice_service_stub.c29 struct DeviceServiceStub *service = (struct DeviceServiceStub *)stub; in DeviceServiceStubDispatch() local
30 struct IDeviceIoService *ioService = service->super.deviceObject.service; in DeviceServiceStubDispatch()
34 pthread_rwlock_rdlock(&service->super.deviceObject.mutex); in DeviceServiceStubDispatch()
39 pthread_rwlock_unlock(&service->super.deviceObject.mutex); in DeviceServiceStubDispatch()
45 .device = &service->super.deviceObject, in DeviceServiceStubDispatch()
54 pthread_rwlock_unlock(&service->super.deviceObject.mutex); in DeviceServiceStubDispatch()
63 int DeviceServiceStubPublishService(struct HdfDeviceNode *service) in DeviceServiceStubPublishService() argument
66 struct DeviceServiceStub *fullService = (struct DeviceServiceStub *)service; in DeviceServiceStubPublishService()
68 if (service in DeviceServiceStubPublishService()
[all...]
/drivers/hdf_core/framework/support/platform/src/can/
H A Dcan_service.c41 struct IDeviceIoService *service = NULL; in CanServiceBind() local
48 service = (struct IDeviceIoService *)OsalMemCalloc(sizeof(*service)); in CanServiceBind()
49 if (service == NULL) { in CanServiceBind()
50 HDF_LOGE("CanServiceBind: memcalloc service fail!"); in CanServiceBind()
54 service->Dispatch = CanServiceDispatch; in CanServiceBind()
55 device->service = service; in CanServiceBind()
61 if (device != NULL && device->service != NULL) { in CanServiceRelease()
62 OsalMemFree(device->service); in CanServiceRelease()
[all...]
/drivers/hdf_core/adapter/uhdf2/ipc/include/
H A Dhdf_remote_adapter_if.h30 int HdfRemoteAdapterAddService(const char *name, struct HdfRemoteService *service);
34 int HdfRemoteAdapterAddSa(int32_t saId, struct HdfRemoteService *service);
38 void HdfRemoteAdapterAddDeathRecipient(struct HdfRemoteService *service, struct HdfDeathRecipient *recipient);
40 void HdfRemoteAdapterRemoveDeathRecipient(struct HdfRemoteService *service, const struct HdfDeathRecipient *recipient);
42 bool HdfRemoteAdapterSetInterfaceDesc(struct HdfRemoteService *service, const char *desc);
44 bool HdfRemoteAdapterWriteInterfaceToken(struct HdfRemoteService *service, struct HdfSBuf *data);
46 bool HdfRemoteAdapterCheckInterfaceToken(struct HdfRemoteService *service, struct HdfSBuf *data);
49 struct HdfRemoteService *service, int code, struct HdfSBuf *data, struct HdfSBuf *reply);
/drivers/hdf_core/interfaces/inner_api/ipc/
H A Dhdf_remote_service.h24 * It provides APIs for registering a service object, registering a function for processing
25 * the death notification of a service, and implementing the dump mechanism.
62 /** Interface for listening for the death notification of a service. */
70 /** Remote service object */
72 /** Target object to which the remote service object points */
74 /** Message dispatching interface of the remote service object */
81 * @brief Obtains a remote service.
83 * @param object Indicates the pointer to the service.
84 * @param dispatcher Indicates the pointer to the message dispatching interface of the service.
85 * @return Returns the remote service obtaine
[all...]
/drivers/peripheral/wlan/test/hdi_service/
H A Dhostapd_callback_impl.c48 struct HostapdCallbackService *service = in HostapdCallbackServiceGet() local
50 if (service == NULL) { in HostapdCallbackServiceGet()
55 service->interface.OnEventStaJoin = HostapdCallbackStaJoin; in HostapdCallbackServiceGet()
56 service->interface.OnEventApState = HostapdCallbackApState; in HostapdCallbackServiceGet()
57 return &service->interface; in HostapdCallbackServiceGet()
62 struct HostapdCallbackService *service = (struct HostapdCallbackService *)instance; in HostapdCallbackServiceRelease() local
63 if (service == NULL) { in HostapdCallbackServiceRelease()
66 OsalMemFree(service); in HostapdCallbackServiceRelease()
/drivers/hdf_core/framework/support/platform/src/adc/
H A Dadc_if_u.c33 struct HdfIoService *service = NULL; in AdcOpen() local
38 service = (struct HdfIoService *)AdcManagerGetService(); in AdcOpen()
39 if (service == NULL) { in AdcOpen()
40 HDF_LOGE("AdcOpen: service is null!"); in AdcOpen()
60 ret = service->dispatcher->Dispatch(&service->object, ADC_IO_OPEN, data, reply); in AdcOpen()
62 HDF_LOGE("AdcOpen: service call ADC_IO_OPEN fail, ret: %d!", ret); in AdcOpen()
82 struct HdfIoService *service = NULL; in AdcClose() local
85 service = (struct HdfIoService *)AdcManagerGetService(); in AdcClose()
86 if (service in AdcClose()
115 struct HdfIoService *service = NULL; AdcRead() local
[all...]
/drivers/hdf_core/framework/support/platform/src/spi/
H A Dspi_if_u.c28 struct HdfIoService *service = NULL; in SpiGetCntlrByBusNum() local
35 service = HdfIoServiceBind(name); in SpiGetCntlrByBusNum()
37 return service; in SpiGetCntlrByBusNum()
149 struct HdfIoService *service = NULL; in SpiTransfer() local
175 service = (struct HdfIoService *)client->cntlr; in SpiTransfer()
176 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in SpiTransfer()
177 HDF_LOGE("SpiTransfer: service is invalid!"); in SpiTransfer()
181 ret = service in SpiTransfer()
225 struct HdfIoService *service = NULL; SpiSetCfg() local
275 struct HdfIoService *service = NULL; SpiGetCfg() local
330 struct HdfIoService *service = NULL; SpiClose() local
368 struct HdfIoService *service = NULL; SpiOpen() local
[all...]
/drivers/hdf_core/framework/model/network/wifi/platform/src/message/nodes/
H A Dlocal_node.c32 static void HandleRequestMessage(const RemoteService *service, MessageContext *context) in HandleRequestMessage() argument
35 localNodeService = (LocalNodeService *)service; in HandleRequestMessage()
38 if (context == NULL || service == NULL) { in HandleRequestMessage()
53 static void HandleResponseMessage(const RemoteService *service, MessageContext *context) in HandleResponseMessage() argument
56 (void)service; in HandleResponseMessage()
80 ErrorCode SendMessageLocalNode(const RemoteService *service, MessageContext *context) in SendMessageLocalNode() argument
84 if (service == NULL || context == NULL) { in SendMessageLocalNode()
90 HandleRequestMessage(service, context); in SendMessageLocalNode()
97 localService = (LocalNodeService *)service; in SendMessageLocalNode()
99 HDF_LOGE("This service ha in SendMessageLocalNode()
120 ShutdownLocalService(RemoteService *service) ShutdownLocalService() argument
125 DestroyLocalNodeRemoteService(RemoteService *service) DestroyLocalNodeRemoteService() argument
144 LocalNodeService *service = NULL; CreateLocalNodeService() local
[all...]

Completed in 12 milliseconds

12345678910>>...18