Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java215 private int setDiscoverable(int timeoutSeconds) { in setDiscoverable() argument
217 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() argument
302 ? 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() argument
332 timeoutSeconds) in createRequestEnableBluetoothDialogWithTimeout()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DProvisioningResultListener.java82 public boolean await(long timeoutSeconds) throws InterruptedException { in await() argument
83 return mLatch.await(timeoutSeconds, TimeUnit.SECONDS); in await()