Searched refs:timeoutMillis (Results 1 – 7 of 7) sorted by relevance
/system/core/libutils/include/utils/ |
D | Looper.h | 267 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData); 268 inline int pollOnce(int timeoutMillis) { in pollOnce() argument 269 return pollOnce(timeoutMillis, nullptr, nullptr, nullptr); in pollOnce() 277 int pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData); 278 inline int pollAll(int timeoutMillis) { in pollAll() argument 279 return pollAll(timeoutMillis, nullptr, nullptr, nullptr); in pollAll() 476 int pollInner(int timeoutMillis);
|
/system/core/libutils/ |
D | Looper.cpp | 175 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollOnce() argument 207 result = pollInner(timeoutMillis); in pollOnce() 211 int Looper::pollInner(int timeoutMillis) { in pollInner() argument 213 ALOGD("%p ~ pollOnce - waiting: timeoutMillis=%d", this, timeoutMillis); in pollInner() 217 if (timeoutMillis != 0 && mNextMessageUptime != LLONG_MAX) { in pollInner() 221 && (timeoutMillis < 0 || messageTimeoutMillis < timeoutMillis)) { in pollInner() 222 timeoutMillis = messageTimeoutMillis; in pollInner() 226 this, mNextMessageUptime - now, timeoutMillis); in pollInner() 239 int eventCount = epoll_wait(mEpollFd.get(), eventItems, EPOLL_MAX_EVENTS, timeoutMillis); in pollInner() 369 int Looper::pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollAll() argument [all …]
|
/system/core/libusbhost/ |
D | usbhost.c | 747 struct usb_request *usb_request_wait(struct usb_device *dev, int timeoutMillis) in usb_request_wait() argument 750 if (timeoutMillis > 0) { in usb_request_wait() 753 int res = poll(&p, 1, timeoutMillis); in usb_request_wait() 764 int res = TEMP_FAILURE_RETRY(ioctl(dev->fd, timeoutMillis == -1 ? USBDEVFS_REAPURB : in usb_request_wait() 766 D("%s returned %d\n", timeoutMillis == -1 ? "USBDEVFS_REAPURB" : "USBDEVFS_REAPURBNDELAY", res); in usb_request_wait()
|
/system/core/libusbhost/include/usbhost/ |
D | usbhost.h | 264 struct usb_request *usb_request_wait(struct usb_device *dev, int timeoutMillis);
|
/system/security/identity/ |
D | Credential.cpp | 302 if (profile.timeoutMillis > 0) { in getEntries() 303 if (profile.timeoutMillis > authTokenMaxAgeMillis) { in getEntries() 304 authTokenMaxAgeMillis = profile.timeoutMillis; in getEntries()
|
D | CredentialData.cpp | 93 array.add(sacp.timeoutMillis); in saveToDisk() 167 sacp.timeoutMillis = itemTimeoutMillis->value(); in parseSacp()
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 113 public boolean waitUntilServiceDied(long timeoutMillis) { in waitUntilServiceDied() argument 117 mLock.wait(timeoutMillis); in waitUntilServiceDied()
|