Searched refs:timeoutSeconds (Results 1 – 2 of 2) sorted by relevance
215 private int setDiscoverable(int timeoutSeconds) { in setDiscoverable() argument217 timeoutSeconds)) { in setDiscoverable()222 long endTime = System.currentTimeMillis() + (long) timeoutSeconds * 1000; in setDiscoverable()224 if (timeoutSeconds > 0) { in setDiscoverable()228 int returnCode = timeoutSeconds; in setDiscoverable()300 private AlertDialog createDiscoverableConfirmDialog(int timeoutSeconds) { in createDiscoverableConfirmDialog() argument302 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, timeoutSeconds) in createDiscoverableConfirmDialog()303 : getString(R.string.bluetooth_ask_discovery_no_name, timeoutSeconds); in createDiscoverableConfirmDialog()329 private AlertDialog createRequestEnableBluetoothDialogWithTimeout(int timeoutSeconds) { in createRequestEnableBluetoothDialogWithTimeout() argument332 timeoutSeconds) in createRequestEnableBluetoothDialogWithTimeout()[all …]
82 public boolean await(long timeoutSeconds) throws InterruptedException { in await() argument83 return mLatch.await(timeoutSeconds, TimeUnit.SECONDS); in await()