Home
last modified time | relevance | path

Searched refs:hostName (Results 1 – 25 of 31) sorted by relevance

12

/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/
Dhdf_driver_manager_config.template5 hostName = "";
20 hostName = "platform_host";
23 hostName = "display_host";
26 hostName = "network_host";
29 hostName = "storage_host";
32 hostName = "media_host";
35 hostName = "common_host";
Dhdf_driver_manager_config_host.template2 hostName = "${module_lower_case}_host";
DLiteos_Device_Info_Hcs.template2 hostName = "${driver_name}_host"; // host���ƣ�host�ڵ����������ijһ������������
DUser_device_info_hcs.template2hostName = "${model_name}_user_host"; // Host name. The host node is used to store a certai…
/drivers/hdf_core/adapter/uhdf2/security/src/
Dhdf_security.c220 const char *hostName = NULL; in HdfRegisterAllDevSecId() local
221 HcsGetString(hostRoot, HDF_SEC_HOST_NAME, &hostName, NULL); in HdfRegisterAllDevSecId()
222 ret = HdfRegisterSecurityId(hostName, perms); in HdfRegisterAllDevSecId()
231 int32_t HdfSetCurrentHostSecurity(const char *hostName, int32_t procId) in HdfSetCurrentHostSecurity() argument
233 return HdfUpdateSecurityId(hostName, (uint64_t)procId, HDF_SECURE_SET_CUR_ID); in HdfSetCurrentHostSecurity()
236 void HdfDelSecurity(const char *hostName) in HdfDelSecurity() argument
238 if (hostName == NULL) { in HdfDelSecurity()
241 int32_t ret = HdfUpdateSecurityId(hostName, 0, HDF_SECURE_DEL_CUR_ID); in HdfDelSecurity()
243 HDF_LOGE("%{public}s delete %{public}s security failed", __func__, hostName); in HdfDelSecurity()
/drivers/hdf_core/adapter/uhdf2/host/
Ddevhost.c134 const char *hostName = argv[DEVHOST_HOST_NAME_POS]; in main() local
135 HDF_LOGI("hdf device host %{public}s %{public}d start", hostName, hostId); in main()
136 SetProcTitle(argv, hostName); in main()
137 StartMemoryHook(hostName); in main()
142 struct IDevHostService *instance = DevHostServiceNewInstance(hostId, hostName); in main()
167 HDF_LOGI("hdf device host %{public}s %{public}d exit", hostName, hostId); in main()
/drivers/hdf_core/adapter/uhdf2/security/include/
Dhdf_security.h28 int32_t HdfSetCurrentHostSecurity(const char *hostName, int32_t procId);
29 void HdfDelSecurity(const char *hostName);
/drivers/hdf_core/framework/core/manager/include/
Ddevhost_service_clnt.h28 const char *hostName; member
33 struct DevHostServiceClnt *DevHostServiceClntNewInstance(uint16_t hostId, const char *hostName);
Dhdf_host_info.h18 const char *hostName; member
/drivers/hdf_core/framework/core/host/include/
Ddevhost_service.h24 const char *hostName; member
34 struct IDevHostService *DevHostServiceNewInstance(uint16_t hostId, const char *hostName);
/drivers/hdf_core/framework/core/common/src/
Dhdf_attribute.c51 if ((HcsGetString(hostNode, ATTR_HOST_NAME, &hostInfo->hostName, NULL) != HDF_SUCCESS) || in GetHostInfo()
52 (strcmp(hostInfo->hostName, "") == 0)) { in GetHostInfo()
117 const char *hostName = NULL; in GetHostNode() local
127 if (HcsGetString(hostNode, ATTR_HOST_NAME, &hostName, NULL) != HDF_SUCCESS) { in GetHostNode()
131 if (strcmp(hostName, inHostName) == 0) { in GetHostNode()
226 hostNode = GetHostNode(hostClnt->hostName); in HdfAttributeManagerGetDeviceList()
Dhdf_attribute_macro.c34 hostInfo->hostName = hostNode->devHostName; in GetHostInfoMacro()
36 if (strcmp(hostInfo->hostName, "") == 0) { in GetHostInfoMacro()
221 HCS_FOREACH_CHILD_VARGS(HDF_DEVICE_INFO, HDF_FIND_HOST, hostClnt->hostName, host, HDF_FAILURE); in HdfAttributeManagerGetDeviceList()
/drivers/hdf_core/framework/core/manager/src/
Ddevmgr_service.c61 hostClnt->hostPid = installer->StartDeviceHost(hostClnt->hostId, hostClnt->hostName, dynamic); in DevmgrServiceStartHostProcess()
63 …HDF_LOGW("failed to start device host(%{public}s, %{public}u)", hostClnt->hostName, hostClnt->host… in DevmgrServiceStartHostProcess()
77 …HDF_LOGE("wait host(%{public}s, %{public}d) attach timeout", hostClnt->hostName, hostClnt->hostId); in DevmgrServiceStartHostProcess()
112 …HDF_LOGW("failed to start device host(%{public}s, %{public}u)", hostClnt->hostName, hostClnt->host… in DevmgrServiceLoadDevice()
138 installer->StopDeviceHost(hostClnt->hostId, hostClnt->hostName); in DevmgrServiceStopHost()
174 HDF_LOGD("%{public}s host %{public}s devices is not empty", __func__, hostClnt->hostName); in DevmgrServiceUnloadDevice()
303 …DevHostServiceClnt *hostClnt = DevHostServiceClntNewInstance(hostAttr->hostId, hostAttr->hostName); in DevmgrServiceStartDeviceHost()
310 HDF_LOGW("failed to get device list for host %{public}s", hostClnt->hostName); in DevmgrServiceStartDeviceHost()
348 __func__, hostAttr->hostId, hostAttr->hostName); in DevmgrServiceStartDeviceHosts()
369 HdfSbufWriteString(reply, hostClnt->hostName); in DevmgrServiceListAllDevice()
[all …]
Ddevhost_service_clnt.c83 struct DevHostServiceClnt *DevHostServiceClntNewInstance(uint16_t hostId, const char *hostName) in DevHostServiceClntNewInstance() argument
90 hostClnt->hostName = hostName; in DevHostServiceClntNewInstance()
/drivers/hdf_core/framework/core/shared/include/
Dhdf_attribute_macro.h77 if (strcmp(HCS_PROP(node, hostName), name) == 0) { \
78 (host)->devHostName = HCS_PROP(node, hostName); \
92 host->devHostName = HCS_PROP(node, hostName); \
/drivers/hdf_core/adapter/uhdf2/host/src/
Ddevhost_service_stub.c27 static void DevHostSetCurrentSecurec(const char *hostName) in DevHostSetCurrentSecurec() argument
29 (void)hostName; in DevHostSetCurrentSecurec()
91 DevHostSetCurrentSecurec(serviceStub->super.super.hostName); in DevHostServiceStubDispatch()
/drivers/hdf_core/adapter/uhdf2/manager/src/
Ddevmgr_dump.c43 static int32_t DevMgrDumpHostFindHost(const char *hostName, struct HdfSBuf *data, struct HdfSBuf *r… in DevMgrDumpHostFindHost() argument
55 … HDF_LOGI("%{public}s hostName:%{public}s %{public}s", __func__, hostClnt->hostName, hostName); in DevMgrDumpHostFindHost()
56 if (strcmp(hostClnt->hostName, hostName) != 0) { in DevMgrDumpHostFindHost()
77 const char *hostName = HdfSbufReadString(data); in DevMgrDumpHost() local
78 if (hostName == NULL) { in DevMgrDumpHost()
108 int32_t ret = DevMgrDumpHostFindHost(hostName, hostData, reply); in DevMgrDumpHost()
Ddevmgr_query_device.c46 …HDF_LOGD("%{public}s, host:%{public}s %{public}d", __func__, hostClnt->hostName, hostClnt->hostId); in DevFillQueryDeviceInfo()
/drivers/hdf_core/framework/core/host/src/
Ddevhost_service.c199 HDF_LOGD("host(%s) set power state=%u", hostService->hostName, state); in DevHostServicePmNotify()
263 struct IDevHostService *DevHostServiceNewInstance(uint16_t hostId, const char *hostName) in DevHostServiceNewInstance() argument
267 if (hostService != NULL && hostName != NULL) { in DevHostServiceNewInstance()
269 hostService->hostName = hostName; in DevHostServiceNewInstance()
/drivers/hdf_core/adapter/uhdf2/hcs/default/
Ddevice_info.hcs5 hostName = "";
/drivers/hdf_core/framework/sample/config/device_info/
Ddevice_info.hcs4 hostName = "platform_host";
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/peripheral/config_folder/
DdeviceInfo_hcs.template2 hostName = "${peripheral_name}_host";
/drivers/hdf_core/adapter/uhdf2/hdi/test/smq_test/
Dsmq_test.cpp78 static bool QueryPidOfHostName(const std::string &hostName, int &hostPid) in QueryPidOfHostName() argument
80 if (hostName.empty()) { in QueryPidOfHostName()
86 cmdStr << "ps -ef | grep '" << hostName << "' | grep -v 'grep' | "; in QueryPidOfHostName()
141 static bool QueryOpenedFdsByHostName(const std::string &hostName, std::set<int> &fds) in QueryOpenedFdsByHostName() argument
144 if (!QueryPidOfHostName(hostName, hostPid)) { in QueryOpenedFdsByHostName()
/drivers/hdf_core/interfaces/inner_api/hdi/
Didevmgr_hdi.h63 std::string hostName; member
/drivers/hdf_core/framework/tools/hdf_dbg/
Dhdf_dbg.cpp186 SetPadAlign(info.hostName, ' ', ALIGN_SIZE); in PrintALLDeviceInfoUser()
187 cout << info.hostName << ":0x" << std::hex << info.hostId << endl; in PrintALLDeviceInfoUser()
202 const char *hostName = HdfSbufReadString(data); in PrintOneHostInfoKernel() local
203 if (hostName == nullptr) { in PrintOneHostInfoKernel()
213 std::string hostNameStr = hostName; in PrintOneHostInfoKernel()

12