Home
last modified time | relevance | path

Searched refs:g_service (Results 1 – 4 of 4) sorted by relevance

/drivers/peripheral/codec/hal/src/
Dcodec_component_manager_service.c28 struct CodecComponentManagerSerivce *g_service = NULL; variable
55 if (g_service == NULL) { in GetNextComponentId()
65 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &g_service->head, struct ComponentTypeNode, node) in GetNextComponentId()
97 if (g_service == NULL) { in OmxManagerDestroyComponent()
105 pthread_mutex_lock(&g_service->listMute); in OmxManagerDestroyComponent()
107 DLIST_FOR_EACH_ENTRY_SAFE(pos, next, &g_service->head, struct ComponentTypeNode, node) in OmxManagerDestroyComponent()
130 pthread_mutex_unlock(&g_service->listMute); in OmxManagerDestroyComponent()
138 if (g_service == NULL) { in OmxManagerCreateComponent()
175 pthread_mutex_lock(&g_service->listMute); in OmxManagerCreateComponent()
178 DListInsertTail(&node->node, &g_service->head); in OmxManagerCreateComponent()
[all …]
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_speed_test.c54 static struct HdfIoService *g_service = NULL; variable
72 …int32_t status = g_service->dispatcher->Dispatch(&g_service->object, USB_SERIAL_SPEED, g_data, g_r… in SpeedTest()
86 g_service = HdfIoServiceBind(SERVER_NAME_SDKAPI); in SpeedInit()
89 g_service = HdfIoServiceBind(SERVER_NAME_RAWAPI); in SpeedInit()
92 g_service = HdfIoServiceBind(SERVER_NAME_NOSDK); in SpeedInit()
97 …if (g_service == NULL || g_service->dispatcher == NULL || g_service->dispatcher->Dispatch == NULL)… in SpeedInit()
111 status = g_service->dispatcher->Dispatch(&g_service->object, USB_SERIAL_OPEN, g_data, g_reply); in SpeedInit()
125 if (g_service == NULL) { in SpeedExit()
129 …int32_t status = g_service->dispatcher->Dispatch(&g_service->object, USB_SERIAL_CLOSE, g_data, g_r… in SpeedExit()
134 HdfIoServiceRecycle(g_service); in SpeedExit()
[all …]
/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdi_fuzzer/
Duser_auth_hdi_fuzzer.cpp39 UserAuthInterfaceService g_service; variable
215 g_service.Init(); in FuzzInit()
229 g_service.AddExecutor(info, index, publicKey, templateIds); in FuzzAddExecutor()
237 g_service.DeleteExecutor(index); in FuzzDeleteExecutor()
247 g_service.OpenSession(userId, challenge); in FuzzOpenSession()
255 g_service.CloseSession(userId); in FuzzCloseSession()
269 g_service.BeginEnrollment(userId, authToken, param, info); in FuzzBeginEnrollment()
283 g_service.BeginEnrollmentV1_1(userId, authToken, param, info); in FuzzBeginEnrollmentV1_1()
298 g_service.UpdateEnrollmentResult(userId, scheduleResult, info); in FuzzUpdateEnrollmentResult()
306 g_service.CancelEnrollment(userId); in FuzzCancelEnrollment()
[all …]
/drivers/peripheral/audio/test/audio_utils/audio_mixer/
Daudio_mixer_main.c52 struct HdfIoService *g_service = NULL; variable
221 UpdateCardSname(id, g_service, g_serviceName, CARD_SRV_NAME_LEN); in UpdateCardName()
232 MctlInfo(g_service, g_serviceName); in MixerInfo()
264 if (g_service == NULL) { in MixerControls()
269 return MctlList(g_service, g_serviceName); in MixerControls()
276 if (g_service == NULL) { in ShowAllCardList()
281 ret = GetAllCards(g_service); in ShowAllCardList()
471 if (!MixerFindSelem(g_service, g_serviceName, &ctlInfo.edx.eId)) { in MixerESet()
482 ret = MctlSetElem(g_service, &ctlInfo, argc, argv); in MixerESet()
488 return MctlGetElem(g_service, &ctlInfo); in MixerESet()
[all …]