Home
last modified time | relevance | path

Searched refs:numRead (Results 1 – 6 of 6) sorted by relevance

/hardware/nxp/nfc/pn8x/halimpl/tml/
DphTmlNfc_i2c.cc121 int numRead = 0; in phTmlNfc_i2c_read() local
154 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
156 numRead += ret_Read; in phTmlNfc_i2c_read()
171 if (numRead < totalBtyesToRead) { in phTmlNfc_i2c_read()
172 ret_Read = read((intptr_t)pDevHandle, pBuffer + numRead, in phTmlNfc_i2c_read()
173 totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
174 if (ret_Read != totalBtyesToRead - numRead) { in phTmlNfc_i2c_read()
178 numRead += ret_Read; in phTmlNfc_i2c_read()
188 if ((totalBtyesToRead - numRead) != 0) { in phTmlNfc_i2c_read()
189 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/tml/transport/
DNfccI2cTransport.cc153 int numRead = 0; in Read() local
187 read((int)(intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in Read()
189 numRead += ret_Read; in Read()
210 if (numRead < totalBtyesToRead) { in Read()
211 ret_Read = read((int)(intptr_t)pDevHandle, (pBuffer + numRead), in Read()
212 totalBtyesToRead - numRead); in Read()
214 if (ret_Read != totalBtyesToRead - numRead) { in Read()
218 numRead += ret_Read; in Read()
228 if ((totalBtyesToRead - numRead) != 0) { in Read()
229 ret_Read = read((int)(intptr_t)pDevHandle, (pBuffer + numRead), in Read()
[all …]
/hardware/interfaces/usb/gadget/1.2/default/lib/
DMonitorFfs.cpp136 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd() local
137 for (char* p = buf; p < buf + numRead;) { in startMonitorFd()
/hardware/interfaces/usb/gadget/1.1/default/lib/
DMonitorFfs.cpp136 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd() local
137 for (char* p = buf; p < buf + numRead;) { in startMonitorFd()
/hardware/google/pixel/usb/
DMonitorFfs.cpp172 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd() local
173 for (char *p = buf; p < buf + numRead;) { in startMonitorFd()
DUsbOverheatEvent.cpp177 int numRead = read(overheatEvent->timer_fd_, &fired, sizeof(fired)); in monitorThread() local
178 if (numRead != sizeof(fired)) { in monitorThread()