Searched refs:maxWaitMs (Results 1 – 3 of 3) sorted by relevance
96 SleepAssertIntEquals(int maxWaitMs, int periodMs, Context context) { in SleepAssertIntEquals() argument97 if (periodMs >= maxWaitMs) { in SleepAssertIntEquals()100 mMaxWaitMs = maxWaitMs; in SleepAssertIntEquals()
93 final long maxWaitMs = 30_000L; in getFirstNotificationFromPackage() local94 final int numAttempts = (int) (maxWaitMs / SLEEP_TIME_MS) + 1; in getFirstNotificationFromPackage()
464 boolean awaitJobScheduleResult(long maxWaitMs, int jobResult) throws Exception {465 return awaitJobScheduleResult(mJobId, maxWaitMs, jobResult);468 boolean awaitJobScheduleResult(int jobId, long maxWaitMs, int jobResult) throws Exception {469 return waitUntilTrue(maxWaitMs, () -> {