Searched refs:serviceNames (Results 1 – 7 of 7) sorted by relevance
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
D | servmgr_client.c | 51 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()
|
D | iservmgr_client.cpp | 49 …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/ |
D | service_manager_hdi_test.cpp | 673 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 …]
|
D | service_manager_hdi_c_test.cpp | 603 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/ |
D | servmgr_hdi.h | 51 const char **serviceNames; member
|
D | iservmgr_hdi.h | 120 …virtual int32_t ListServiceByInterfaceDesc(std::vector<std::string> &serviceNames, const char *int…
|
/drivers/hdf_core/framework/core/manager/src/ |
D | devsvc_manager.c | 292 const char *serviceNames[SERVICE_LIST_MAX]; in DevSvcManagerListServiceByInterfaceDesc() local 309 serviceNames[serviceNum] = record->servName; in DevSvcManagerListServiceByInterfaceDesc() 321 HdfSbufWriteString(reply, serviceNames[i]); in DevSvcManagerListServiceByInterfaceDesc()
|