/system/core/libstats/pull/tests/ |
D | pull_atom_metadata_test.cpp | 37 int64_t timeoutMillis = 500; in TEST() local 39 AStatsManager_PullAtomMetadata_setTimeoutMillis(metadata, timeoutMillis); in TEST() 41 EXPECT_EQ(AStatsManager_PullAtomMetadata_getTimeoutMillis(metadata), timeoutMillis); in TEST() 73 int64_t timeoutMillis = 500; in TEST() local 79 AStatsManager_PullAtomMetadata_setTimeoutMillis(metadata, timeoutMillis); in TEST() 84 EXPECT_EQ(AStatsManager_PullAtomMetadata_getTimeoutMillis(metadata), timeoutMillis); in TEST()
|
/system/core/libutils/include/utils/ |
D | Looper.h | 265 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData); 266 inline int pollOnce(int timeoutMillis) { in pollOnce() argument 267 return pollOnce(timeoutMillis, nullptr, nullptr, nullptr); in pollOnce() 275 int pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData); 276 inline int pollAll(int timeoutMillis) { in pollAll() argument 277 return pollAll(timeoutMillis, nullptr, nullptr, nullptr); in pollAll() 475 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/libstats/pull/ |
D | stats_pull_atom_callback.cpp | 107 const int64_t coolDownMillis, const int64_t timeoutMillis, in StatsPullAtomCallbackInternal() argument 112 mTimeoutMillis(timeoutMillis), in StatsPullAtomCallbackInternal() 230 int64_t timeoutMillis = metadata == nullptr ? DEFAULT_TIMEOUT_MILLIS : metadata->timeout_millis; in AStatsManager_setPullAtomCallback() local 239 timeoutMillis, additiveFields); in AStatsManager_setPullAtomCallback()
|
/system/core/libusbhost/ |
D | usbhost.c | 742 struct usb_request *usb_request_wait(struct usb_device *dev, int timeoutMillis) in usb_request_wait() argument 745 if (timeoutMillis > 0) { in usb_request_wait() 748 int res = poll(&p, 1, timeoutMillis); in usb_request_wait() 759 int res = TEMP_FAILURE_RETRY(ioctl(dev->fd, timeoutMillis == -1 ? USBDEVFS_REAPURB : in usb_request_wait() 761 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 | 251 if (profile.timeoutMillis > 0) { in getEntries() 252 if (profile.timeoutMillis > authTokenMaxAgeMillis) { in getEntries() 253 authTokenMaxAgeMillis = profile.timeoutMillis; in getEntries()
|
D | CredentialData.cpp | 91 array.add(sacp.timeoutMillis); in saveToDisk() 162 sacp.timeoutMillis = itemTimeoutMillis->value(); in parseSacp()
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 112 public boolean waitUntilServiceDied(long timeoutMillis) { in waitUntilServiceDied() argument 116 mLock.wait(timeoutMillis); in waitUntilServiceDied()
|