/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 | 63 private int mTimeout = BluetoothDiscoverableEnabler.DEFAULT_DISCOVERABLE_TIMEOUT; field in RequestPermissionActivity 133 intent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, mTimeout); in onCreate() 180 if (mTimeout == BluetoothDiscoverableEnabler.DISCOVERABLE_TIMEOUT_NEVER) { in createDialog() 187 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, mTimeout) in createDialog() 188 : getString(R.string.bluetooth_ask_discovery_no_name, mTimeout); in createDialog() 263 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, mTimeout)) { in proceedAndFinish() 265 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish() 268 if (0 < mTimeout) { in proceedAndFinish() 271 returnCode = mTimeout; in proceedAndFinish() 308 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/UnifiedEmail/src/com/android/mail/utils/ |
D | Throttle.java | 65 private int mTimeout; field in Throttle 97 mTimeout = mMinTimeout; in Throttle() 120 mTimeout *= 2; in updateTimeout() 121 if (mTimeout >= mMaxTimeout) { in updateTimeout() 122 mTimeout = mMaxTimeout; in updateTimeout() 124 if (DEBUG) debugLog("Timeout extended " + mTimeout); in updateTimeout() 126 mTimeout = mMinTimeout; in updateTimeout() 127 if (DEBUG) debugLog("Timeout reset to " + mTimeout); in updateTimeout() 143 mTimer.schedule(mRunningTimerTask, mTimeout); in onEvent() 178 return mTimeout; in getTimeoutForTest()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppIncomingFileConfirmActivity.java | 77 private boolean mTimeout = false; field in BluetoothOppIncomingFileConfirmActivity 119 Log.v(TAG, "mTimeout: " + mTimeout); in onCreate() 121 if (mTimeout) { in onCreate() 148 if (!mTimeout) { in onClick() 190 mTimeout = savedInstanceState.getBoolean(PREFERENCE_USER_TIMEOUT); in onRestoreInstanceState() 192 Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState() 194 if (mTimeout) { in onRestoreInstanceState() 203 Log.v(TAG, "onSaveInstanceState() mTimeout: " + mTimeout); in onSaveInstanceState() 205 outState.putBoolean(PREFERENCE_USER_TIMEOUT, mTimeout); in onSaveInstanceState() 209 mTimeout = true; in onTimeout()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivity.java | 71 private int mTimeout = DEFAULT_DISCOVERABLE_TIMEOUT; field in BluetoothRequestPermissionActivity 147 mDialog = createRequestEnableBluetoothDialogWithTimeout(mTimeout); in onCreate() 151 mDialog = createDiscoverableConfirmDialog(mTimeout); in onCreate() 173 finishWithResult(setDiscoverable(mTimeout)); in proceedAndFinish() 221 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent() 224 if (mTimeout < 1 || mTimeout > MAX_DISCOVERABLE_TIMEOUT) { in parseIntent() 225 mTimeout = DEFAULT_DISCOVERABLE_TIMEOUT; in parseIntent() 337 mDialog = createDiscoverableConfirmDialog(mTimeout); in onConfirmEnableBluetooth() 381 return mTimeout; in getTimeout()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapActivity.java | 88 private boolean mTimeout = false; field in BluetoothPbapActivity 171 if (!mTimeout) { in onPositive() 178 mTimeout = false; in onPositive() 220 mTimeout = true; in onTimeout() 237 mTimeout = savedInstanceState.getBoolean(KEY_USER_TIMEOUT); in onRestoreInstanceState() 239 Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState() 241 if (mTimeout) { in onRestoreInstanceState() 249 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/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | ServiceProxy.java | 58 private int mTimeout = 45; field in ServiceProxy 95 mTimeout <<= 2; in ServiceProxy() 162 mTimeout = secs; in setTimeout() 167 return mTimeout; in getTimeout() 206 mConnection.wait(mTimeout * 1000L); in waitForCompletion()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CreateConnectionProcessor.java | 123 private CreateConnectionTimeout mTimeout; field in CreateConnectionProcessor 145 return mTimeout != null && mTimeout.isCallTimedOut(); in isCallTimedOut() 281 mTimeout = timeout; in setTimeoutIfNeeded() 287 if (mTimeout != null) { in clearTimeout() 288 mTimeout.unregisterTimeout(); in clearTimeout() 289 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 | 716 protected int mTimeout = 0; field in DhcpClient.PacketRetransmittingState 778 if (mTimeout > 0) { in maybeInitTimeout() 779 long alarmTime = SystemClock.elapsedRealtime() + mTimeout; in maybeInitTimeout() 818 mTimeout = DHCP_TIMEOUT_MS / 2; in DhcpRequestingState()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 1714 final int mTimeout; field in NfcService.WatchDogThread 1719 mTimeout = timeout; in WatchDogThread() 1726 mCancelWaiter.wait(mTimeout); in run()
|