/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/ |
D | hdf_driver_manager_config.template | 5 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";
|
D | hdf_driver_manager_config_host.template | 2 hostName = "${module_lower_case}_host";
|
D | Liteos_Device_Info_Hcs.template | 2 hostName = "${driver_name}_host"; // host���ƣ�host�ڵ����������ijһ������������
|
D | User_device_info_hcs.template | 2 …hostName = "${model_name}_user_host"; // Host name. The host node is used to store a certai…
|
/drivers/hdf_core/adapter/uhdf2/security/src/ |
D | hdf_security.c | 220 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/ |
D | devhost.c | 134 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/ |
D | hdf_security.h | 28 int32_t HdfSetCurrentHostSecurity(const char *hostName, int32_t procId); 29 void HdfDelSecurity(const char *hostName);
|
/drivers/hdf_core/framework/core/manager/include/ |
D | devhost_service_clnt.h | 28 const char *hostName; member 33 struct DevHostServiceClnt *DevHostServiceClntNewInstance(uint16_t hostId, const char *hostName);
|
D | hdf_host_info.h | 18 const char *hostName; member
|
/drivers/hdf_core/framework/core/host/include/ |
D | devhost_service.h | 24 const char *hostName; member 34 struct IDevHostService *DevHostServiceNewInstance(uint16_t hostId, const char *hostName);
|
/drivers/hdf_core/framework/core/common/src/ |
D | hdf_attribute.c | 51 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()
|
D | hdf_attribute_macro.c | 34 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/ |
D | devmgr_service.c | 61 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 …]
|
D | devhost_service_clnt.c | 83 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/ |
D | hdf_attribute_macro.h | 77 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/ |
D | devhost_service_stub.c | 27 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/ |
D | devmgr_dump.c | 43 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()
|
D | devmgr_query_device.c | 46 …HDF_LOGD("%{public}s, host:%{public}s %{public}d", __func__, hostClnt->hostName, hostClnt->hostId); in DevFillQueryDeviceInfo()
|
/drivers/hdf_core/framework/core/host/src/ |
D | devhost_service.c | 199 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/ |
D | device_info.hcs | 5 hostName = "";
|
/drivers/hdf_core/framework/sample/config/device_info/ |
D | device_info.hcs | 4 hostName = "platform_host";
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/peripheral/config_folder/ |
D | deviceInfo_hcs.template | 2 hostName = "${peripheral_name}_host";
|
/drivers/hdf_core/adapter/uhdf2/hdi/test/smq_test/ |
D | smq_test.cpp | 78 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/ |
D | idevmgr_hdi.h | 63 std::string hostName; member
|
/drivers/hdf_core/framework/tools/hdf_dbg/ |
D | hdf_dbg.cpp | 186 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()
|