Home
last modified time | relevance | path

Searched refs:timeoutMillis (Results 1 – 7 of 7) sorted by relevance

/system/core/libutils/include/utils/
DLooper.h268 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
269 inline int pollOnce(int timeoutMillis) { in pollOnce() argument
270 return pollOnce(timeoutMillis, nullptr, nullptr, nullptr); in pollOnce()
278 int pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
279 inline int pollAll(int timeoutMillis) { in pollAll() argument
280 return pollAll(timeoutMillis, nullptr, nullptr, nullptr); in pollAll()
484 int pollInner(int timeoutMillis);
/system/core/libutils/
DLooper.cpp185 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollOnce() argument
217 result = pollInner(timeoutMillis); in pollOnce()
221 int Looper::pollInner(int timeoutMillis) { in pollInner() argument
223 ALOGD("%p ~ pollOnce - waiting: timeoutMillis=%d", this, timeoutMillis); in pollInner()
227 if (timeoutMillis != 0 && mNextMessageUptime != LLONG_MAX) { in pollInner()
231 && (timeoutMillis < 0 || messageTimeoutMillis < timeoutMillis)) { in pollInner()
232 timeoutMillis = messageTimeoutMillis; in pollInner()
236 this, mNextMessageUptime - now, timeoutMillis); in pollInner()
249 int eventCount = epoll_wait(mEpollFd.get(), eventItems, EPOLL_MAX_EVENTS, timeoutMillis); in pollInner()
382 int Looper::pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollAll() argument
[all …]
/system/core/libusbhost/
Dusbhost.c741 struct usb_request *usb_request_wait(struct usb_device *dev, int timeoutMillis) in usb_request_wait() argument
744 if (timeoutMillis > 0) { in usb_request_wait()
747 int res = poll(&p, 1, timeoutMillis); in usb_request_wait()
758 int res = TEMP_FAILURE_RETRY(ioctl(dev->fd, timeoutMillis == -1 ? USBDEVFS_REAPURB : in usb_request_wait()
760 D("%s returned %d\n", timeoutMillis == -1 ? "USBDEVFS_REAPURB" : "USBDEVFS_REAPURBNDELAY", res); in usb_request_wait()
/system/core/libusbhost/include/usbhost/
Dusbhost.h265 struct usb_request *usb_request_wait(struct usb_device *dev, int timeoutMillis);
/system/security/identity/
DCredential.cpp353 if (profile.timeoutMillis > 0) { in getEntries()
354 if (profile.timeoutMillis > authTokenMaxAgeMillis) { in getEntries()
355 authTokenMaxAgeMillis = profile.timeoutMillis; in getEntries()
DCredentialData.cpp93 array.add(sacp.timeoutMillis); in saveToDisk()
168 sacp.timeoutMillis = itemTimeoutMillis->value(); in parseSacp()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java113 public boolean waitUntilServiceDied(long timeoutMillis) { in waitUntilServiceDied() argument
117 mLock.wait(timeoutMillis); in waitUntilServiceDied()