/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | RequestPermissionActivity.java | 61 private int mTimeout = BluetoothDiscoverableEnabler.DEFAULT_DISCOVERABLE_TIMEOUT; field in RequestPermissionActivity 129 intent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, mTimeout); in onCreate() 176 if (mTimeout == BluetoothDiscoverableEnabler.DISCOVERABLE_TIMEOUT_NEVER) { in createDialog() 183 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, mTimeout) in createDialog() 184 : getString(R.string.bluetooth_ask_discovery_no_name, mTimeout); in createDialog() 259 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, mTimeout)) { in proceedAndFinish() 261 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish() 264 if (0 < mTimeout) { in proceedAndFinish() 267 returnCode = mTimeout; in proceedAndFinish() 304 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent() [all …]
|
D | RequestPermissionHelperActivity.java | 54 private int mTimeout = -1; field in RequestPermissionHelperActivity 84 if (mTimeout < 0) { in createDialog() 88 } else if (mTimeout == BluetoothDiscoverableEnabler.DISCOVERABLE_TIMEOUT_NEVER) { in createDialog() 98 mAppLabel, mTimeout) in createDialog() 100 mTimeout); in createDialog() 159 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 61 private int mTimeout = BluetoothDiscoverableEnabler.DEFAULT_DISCOVERABLE_TIMEOUT; field in RequestPermissionActivity 129 intent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, mTimeout); in onCreate() 176 if (mTimeout == BluetoothDiscoverableEnabler.DISCOVERABLE_TIMEOUT_NEVER) { in createDialog() 183 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, mTimeout) in createDialog() 184 : getString(R.string.bluetooth_ask_discovery_no_name, mTimeout); in createDialog() 259 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, mTimeout)) { in proceedAndFinish() 261 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish() 264 if (0 < mTimeout) { in proceedAndFinish() 267 returnCode = mTimeout; in proceedAndFinish() 304 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent() [all …]
|
D | RequestPermissionHelperActivity.java | 54 private int mTimeout = -1; field in RequestPermissionHelperActivity 84 if (mTimeout < 0) { in createDialog() 88 } else if (mTimeout == BluetoothDiscoverableEnabler.DISCOVERABLE_TIMEOUT_NEVER) { in createDialog() 98 mAppLabel, mTimeout) in createDialog() 100 mTimeout); in createDialog() 159 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppIncomingFileConfirmActivity.java | 76 private boolean mTimeout = false; field in BluetoothOppIncomingFileConfirmActivity 115 Log.v(TAG, "mTimeout: " + mTimeout); in onCreate() 117 if (mTimeout) { in onCreate() 144 if (!mTimeout) { in onClick() 186 mTimeout = savedInstanceState.getBoolean(PREFERENCE_USER_TIMEOUT); in onRestoreInstanceState() 188 Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState() 190 if (mTimeout) { in onRestoreInstanceState() 199 Log.v(TAG, "onSaveInstanceState() mTimeout: " + mTimeout); in onSaveInstanceState() 201 outState.putBoolean(PREFERENCE_USER_TIMEOUT, mTimeout); in onSaveInstanceState() 205 mTimeout = true; in onTimeout()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivity.java | 72 private int mTimeout = DEFAULT_DISCOVERABLE_TIMEOUT; field in BluetoothRequestPermissionActivity 148 mDialog = createRequestEnableBluetoothDialogWithTimeout(mTimeout); in onCreate() 152 mDialog = createDiscoverableConfirmDialog(mTimeout); in onCreate() 174 finishWithResult(setDiscoverable(mTimeout)); in proceedAndFinish() 222 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent() 225 if (mTimeout < 1 || mTimeout > MAX_DISCOVERABLE_TIMEOUT) { in parseIntent() 226 mTimeout = DEFAULT_DISCOVERABLE_TIMEOUT; in parseIntent() 338 mDialog = createDiscoverableConfirmDialog(mTimeout); in onConfirmEnableBluetooth() 382 return mTimeout; in getTimeout()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapActivity.java | 84 private boolean mTimeout = false; field in BluetoothPbapActivity 163 if (!mTimeout) { in onPositive() 170 mTimeout = false; in onPositive() 212 mTimeout = true; in onTimeout() 229 mTimeout = savedInstanceState.getBoolean(KEY_USER_TIMEOUT); in onRestoreInstanceState() 231 Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState() 233 if (mTimeout) { in onRestoreInstanceState() 241 outState.putBoolean(KEY_USER_TIMEOUT, mTimeout); in onSaveInstanceState()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CapabilitiesCache.java | 228 && request.mTimeout < found.mTimeout)) { in getNextRequest() 247 long mTimeout; field in CapabilitiesCache.Request 251 mTimeout = timeout; in Request() 255 mQuery = mBackend.getCapabilities(mPrinter.path, mTimeout, mHighPriority, this); in start() 288 if (mTimeout == FIRST_PASS_TIMEOUT) { in accept() 290 mTimeout = SECOND_PASS_TIMEOUT; in accept()
|
D | GetCapabilitiesTask.java | 44 private final long mTimeout; field in GetCapabilitiesTask 51 mTimeout = timeout; in GetCapabilitiesTask() 59 socket.connect(a, (int) mTimeout); in isDeviceOnline() 116 mUri.getPort(), mUri.getPath(), mUri.getScheme(), mTimeout, printerCaps); in doInBackground()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | TimeoutTask.java | 33 private long mTimeout = DEFAULT_TIMEOUT; field in TimeoutTask 37 mTimeout = timeout; in TimeoutTask() 43 if (mTimeout < 0) { in prepare() 56 }, mTimeout); in prepare()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | DirectoryListBot.java | 175 findPlaceholderMessageTextView().waitForExists(mTimeout); in waitForHolderMessage() 243 return mDevice.wait(Until.findObject(By.text(message)), mTimeout); in getSnackbar() 253 mDevice.wait(Until.findObject(SNACK_DELETE), mTimeout); in waitForDeleteSnackbar() local 258 mDevice.wait(Until.gone(SNACK_DELETE), mTimeout * 2); in waitForDeleteSnackbarGone() 262 findDocument(label).waitForExists(mTimeout); in waitForDocument() 271 new UiObject(docList.childSelector(new UiSelector())).waitForExists(mTimeout); in findDocument() 308 doc.waitForExists(mTimeout); in assertFirstDocumentHasFocus() 326 Until.findObject(By.text(assertSelectionText)), mTimeout); in assertSelection()
|
D | Bots.java | 73 final int mTimeout; field in Bots.BaseBot 79 mTimeout = timeout; in BaseBot() 95 mDevice.wait(Until.findObject(selector), mTimeout); in find() local 112 mDevice.waitForIdle(mTimeout); in waitForIdle()
|
D | UiBot.java | 125 mDevice.waitForIdle(mTimeout); in openOverflowMenu() 210 By.res(mTargetPackage + ":id/action_mode_bar")), mTimeout); in waitForActionModeBarToAppear() 233 title.waitForExists(mTimeout); in findDownloadRetryDialog() 240 title.waitForExists(mTimeout); in findFileRenameDialog() 247 title.waitForExists(mTimeout); in findRenameErrorMessage()
|
D | SidebarBot.java | 64 new UiObject(rootsList.childSelector(new UiSelector())).waitForExists(mTimeout); in findRoot() 83 if (!new UiObject(rootsList).waitForExists(mTimeout)) { in openDrawer()
|
D | GestureBot.java | 110 new UiObject(docList.childSelector(new UiSelector())).waitForExists(mTimeout); in findDocument()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CreateConnectionProcessor.java | 124 private CreateConnectionTimeout mTimeout; field in CreateConnectionProcessor 146 return mTimeout != null && mTimeout.isCallTimedOut(); in isCallTimedOut() 296 mTimeout = timeout; in setTimeoutIfNeeded() 302 if (mTimeout != null) { in clearTimeout() 303 mTimeout.unregisterTimeout(); in clearTimeout() 304 mTimeout = null; in clearTimeout()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageDraw.java | 37 private long mTimeout; field in ImageDraw 249 mTimeout = DISPLAY_TIME + System.currentTimeMillis(); in displayDrawLook() 285 if (System.currentTimeMillis() < mTimeout) { in onDraw()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 1055 protected int mTimeout = 0; field in DhcpClient.TimeoutState 1083 if (mTimeout > 0) { in maybeInitTimeout() 1084 long alarmTime = SystemClock.elapsedRealtime() + mTimeout; in maybeInitTimeout() 1289 mTimeout = FIRST_TIMEOUT_MS; in DhcpPreconnectingState() 1351 mTimeout = DHCP_TIMEOUT_MS / 2; in DhcpRequestingState() 1847 mTimeout = DHCP_INITREBOOT_TIMEOUT_MS; in enter() 1889 mTimeout = mDependencies.getIntDeviceConfig(DHCP_RESTART_CONFIG_DELAY, 100, in enter()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 1779 final int mTimeout; field in NfcService.WatchDogThread 1784 mTimeout = timeout; in WatchDogThread() 1791 mCancelWaiter.wait(mTimeout); in run()
|