Searched refs:serviceNum (Results 1 – 3 of 3) sorted by relevance
44 static struct HdiServiceSet *HdiServiceSetGetInstance(const uint32_t serviceNum) in HdiServiceSetGetInstance() argument51 serviceSet->serviceNames = OsalMemCalloc(sizeof(char *) * serviceNum); in HdiServiceSetGetInstance()57 serviceSet->count = serviceNum; in HdiServiceSetGetInstance()84 uint32_t serviceNum = 0; in HDIServMgrListServiceByInterfaceDesc() local103 if (!HdfSbufReadUint32(reply, &serviceNum)) { in HDIServMgrListServiceByInterfaceDesc()106 if (serviceNum == 0 || serviceNum > SERVICE_LIST_MAX) { in HDIServMgrListServiceByInterfaceDesc()109 serviceSet = HdiServiceSetGetInstance(serviceNum); in HDIServMgrListServiceByInterfaceDesc()
200 uint32_t serviceNum = 0; in ListServiceByInterfaceDesc() local201 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()
293 uint32_t serviceNum = 0; in DevSvcManagerListServiceByInterfaceDesc() local301 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()