Home
last modified time | relevance | path

Searched refs:pollTimeoutMs (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DZygoteServer.java488 int pollTimeoutMs; in runSelectLoop() local
491 pollTimeoutMs = -1; in runSelectLoop()
499 pollTimeoutMs = 0; in runSelectLoop()
508 pollTimeoutMs = mUsapPoolRefillDelayMs; in runSelectLoop()
511 pollTimeoutMs = (int) (mUsapPoolRefillDelayMs - elapsedTimeMs); in runSelectLoop()
517 pollReturnValue = Os.poll(pollFDs, pollTimeoutMs); in runSelectLoop()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp566 auto pollTimeoutMs = PollTimeoutMs; in waitForData() local
567 const auto waitEnd = Clock::now() + Milliseconds(pollTimeoutMs); in waitForData()
571 int res = poll(pfds, std::size(pfds), pollTimeoutMs); in waitForData()
575 pollTimeoutMs = std::chrono::duration_cast<Milliseconds>(waitEnd - Clock::now()) in waitForData()
577 if (pollTimeoutMs < 0) { in waitForData()