Lines Matching refs:wait

236                     receiver.wait(DEFAULT_WAIT_POLL_TIME);
271 // wait for airplane mode to change state
286 * Helper to wait for a particular download to finish, or else a timeout to occur
288 * Does not wait for a receiver notification of the download.
290 * @param id The download id to query on (wait for)
299 * Helper to wait for a particular download to finish, or else a timeout to occur
303 * @param id The download id to query on (wait for)
311 * Helper to wait for a particular download to finish, or else a timeout to occur
315 * @param id The download id to query on (wait for)
316 * @param poll The amount of time to wait
317 * @param timeoutMillis The max time (in ms) to wait for the download(s) to complete
326 * Helper to wait for all downloads to finish, or else a specified timeout to occur
330 * @param poll The amount of time to wait
331 * @param timeoutMillis The max time (in ms) to wait for the download(s) to complete
339 * Helper to wait for all downloads to finish, or else a timeout to occur, but does not throw
344 * @param poll The amount of time to wait
345 * @param timeoutMillis The max time (in ms) to wait for the download(s) to complete
359 * Helper function to synchronously wait, or timeout if the maximum threshold has been exceeded.
362 * @param poll The amount of time to wait
363 * @param maxTimeoutMillis The total wait time threshold; if we've waited more than this long,
392 * Helper to wait for all downloads to finish, or else a timeout to occur
395 * @param poll The poll time to wait between checks
396 * @param timeoutMillis The max amount of time (in ms) to wait for the download(s) to complete
471 * @param targetNumber The number of notifications for unique downloads to wait for; pass in
472 * -1 to not wait for notification.
498 // File may not even exist yet, so wait until it does (or we timeout)