Home
last modified time | relevance | path

Searched refs:modeBuf (Results 1 - 1 of 1) sorted by relevance

/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp117 char modeBuf[PATH_MAX] = {'\0'}; in ReadPortFile() local
118 int32_t ret = read(fd, modeBuf, PATH_MAX - 1); in ReadPortFile()
126 if (strcmp(modeBuf, PORT_MODE_HOST_STR) == 0) { in ReadPortFile()
133 if (strcmp(modeBuf, PORT_MODE_DEVICE_STR) == 0) { in ReadPortFile()
140 HDF_LOGE("%{public}s: read invalid mode: %{public}s", __func__, modeBuf); in ReadPortFile()

Completed in 1 milliseconds