Home
last modified time | relevance | path

Searched refs:serviceNames (Results 1 – 7 of 7) sorted by relevance

/drivers/hdf_core/adapter/uhdf2/hdi/src/
Dservmgr_client.c51 serviceSet->serviceNames = OsalMemCalloc(sizeof(char *) * serviceNum); in HdiServiceSetGetInstance()
52 if (serviceSet->serviceNames == NULL) { in HdiServiceSetGetInstance()
68 serviceSet->serviceNames[i] = HdfStringCopy(serviceName); in HdiServiceSetUnMarshalling()
264 if (serviceSet->serviceNames != NULL) { in HdiServiceSetRelease()
266 if (serviceSet->serviceNames[i] != NULL) { in HdiServiceSetRelease()
267 OsalMemFree((void *)serviceSet->serviceNames[i]); in HdiServiceSetRelease()
268 serviceSet->serviceNames[i] = NULL; in HdiServiceSetRelease()
271 OsalMemFree(serviceSet->serviceNames); in HdiServiceSetRelease()
272 serviceSet->serviceNames = NULL; in HdiServiceSetRelease()
Diservmgr_client.cpp49 …int32_t ListServiceByInterfaceDesc(std::vector<std::string> &serviceNames, const char *interfaceDe…
177 std::vector<std::string> &serviceNames, const char *interfaceDesc) in ListServiceByInterfaceDesc() argument
206 if (serviceNum > serviceNames.max_size()) { in ListServiceByInterfaceDesc()
221 serviceNames.push_back(serviceName); in ListServiceByInterfaceDesc()
/drivers/hdf_core/adapter/uhdf2/hdi/test/servmgr/
Dservice_manager_hdi_test.cpp673 std::vector<std::string> serviceNames; variable
674 int ret = servmgr->ListServiceByInterfaceDesc(serviceNames, TEST_SERVICE_INTERFACE_DESC_N);
676 ASSERT_FALSE(serviceNames.empty());
677 ASSERT_TRUE(serviceNames.front().compare(TEST_SERVICE_NAME) == 0);
684 std::vector<std::string> serviceNames; variable
685 … int ret = servmgr->ListServiceByInterfaceDesc(serviceNames, TEST_SERVICE_INTERFACE_DESC_INVALID);
687 ASSERT_TRUE(serviceNames.empty());
694 std::vector<std::string> serviceNames; variable
695 int ret = servmgr->ListServiceByInterfaceDesc(serviceNames, TEST_SERVICE_INTERFACE_DESC_VOID);
697 ASSERT_TRUE(serviceNames.empty());
[all …]
Dservice_manager_hdi_c_test.cpp603 ASSERT_TRUE(strcmp(serviceSet->serviceNames[0], TEST_SERVICE_NAME) == 0);
672 ASSERT_TRUE(strcmp(serviceSet->serviceNames[0], TEST_SERVICE_NAME) == 0);
673 ASSERT_TRUE(strcmp(serviceSet->serviceNames[1], TEST1_SERVICE_NAME) == 0);
/drivers/hdf_core/interfaces/inner_api/hdi/
Dservmgr_hdi.h51 const char **serviceNames; member
Diservmgr_hdi.h120 …virtual int32_t ListServiceByInterfaceDesc(std::vector<std::string> &serviceNames, const char *int…
/drivers/hdf_core/framework/core/manager/src/
Ddevsvc_manager.c292 const char *serviceNames[SERVICE_LIST_MAX]; in DevSvcManagerListServiceByInterfaceDesc() local
309 serviceNames[serviceNum] = record->servName; in DevSvcManagerListServiceByInterfaceDesc()
321 HdfSbufWriteString(reply, serviceNames[i]); in DevSvcManagerListServiceByInterfaceDesc()