Home
last modified time | relevance | path

Searched refs:serviceNum (Results 1 – 3 of 3) sorted by relevance

/drivers/hdf_core/adapter/uhdf2/hdi/src/
Dservmgr_client.c44 static struct HdiServiceSet *HdiServiceSetGetInstance(const uint32_t serviceNum) in HdiServiceSetGetInstance() argument
51 serviceSet->serviceNames = OsalMemCalloc(sizeof(char *) * serviceNum); in HdiServiceSetGetInstance()
57 serviceSet->count = serviceNum; in HdiServiceSetGetInstance()
84 uint32_t serviceNum = 0; in HDIServMgrListServiceByInterfaceDesc() local
103 if (!HdfSbufReadUint32(reply, &serviceNum)) { in HDIServMgrListServiceByInterfaceDesc()
106 if (serviceNum == 0 || serviceNum > SERVICE_LIST_MAX) { in HDIServMgrListServiceByInterfaceDesc()
109 serviceSet = HdiServiceSetGetInstance(serviceNum); in HDIServMgrListServiceByInterfaceDesc()
Diservmgr_client.cpp200 uint32_t serviceNum = 0; in ListServiceByInterfaceDesc() local
201 if (!reply.ReadUint32(serviceNum)) { in ListServiceByInterfaceDesc()
206 if (serviceNum > serviceNames.max_size()) { in ListServiceByInterfaceDesc()
211 for (uint32_t i = 0; i < serviceNum; i++) { in ListServiceByInterfaceDesc()
/drivers/hdf_core/framework/core/manager/src/
Ddevsvc_manager.c293 uint32_t serviceNum = 0; in DevSvcManagerListServiceByInterfaceDesc() local
301 if (serviceNum >= SERVICE_LIST_MAX) { in DevSvcManagerListServiceByInterfaceDesc()
309 serviceNames[serviceNum] = record->servName; in DevSvcManagerListServiceByInterfaceDesc()
310 serviceNum = serviceNum + 1; in DevSvcManagerListServiceByInterfaceDesc()
314 HDF_LOGD("find %{public}u services interfacedesc is %{public}s", serviceNum, interfaceDesc); in DevSvcManagerListServiceByInterfaceDesc()
315 if (!HdfSbufWriteUint32(reply, serviceNum)) { in DevSvcManagerListServiceByInterfaceDesc()
317 interfaceDesc, serviceNum); in DevSvcManagerListServiceByInterfaceDesc()
320 for (i = 0; i < serviceNum; i++) { in DevSvcManagerListServiceByInterfaceDesc()