Searched refs:timeoutSeconds (Results 1 – 4 of 4) sorted by relevance
233 private int setDiscoverable(int timeoutSeconds) { in setDiscoverable() argument235 timeoutSeconds)) { in setDiscoverable()240 long endTime = System.currentTimeMillis() + (long) timeoutSeconds * 1000; in setDiscoverable()242 if (timeoutSeconds > 0) { in setDiscoverable()246 int returnCode = timeoutSeconds; in setDiscoverable()327 private AlertDialog createDiscoverableConfirmDialog(int timeoutSeconds) { in createDiscoverableConfirmDialog() argument329 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, timeoutSeconds) in createDiscoverableConfirmDialog()330 : getString(R.string.bluetooth_ask_discovery_no_name, timeoutSeconds); in createDiscoverableConfirmDialog()356 private AlertDialog createRequestEnableBluetoothDialogWithTimeout(int timeoutSeconds) { in createRequestEnableBluetoothDialogWithTimeout() argument359 timeoutSeconds) in createRequestEnableBluetoothDialogWithTimeout()[all …]
49 static void waitForCondition(Predicate<Void> predicate, int timeoutSeconds) in waitForCondition() argument53 if (ChronoUnit.SECONDS.between(startTime, Instant.now()) > timeoutSeconds) { in waitForCondition()
84 public boolean await(long timeoutSeconds) throws InterruptedException { in await() argument85 return mLatch.await(timeoutSeconds, TimeUnit.SECONDS); in await()
268 int timeoutSeconds = mPerBuyerEncodingTimeoutMs / 1000; in pickLoggerAndRunEncodingPerBuyer() local269 return runEncodingPerBuyer(metadata, timeoutSeconds, logHelper, encodingJobRunStatsLogger) in pickLoggerAndRunEncodingPerBuyer()