Home
last modified time | relevance | path

Searched refs:mTimeout (Results 1 – 22 of 22) sorted by relevance

/packages/services/Car/car-lib/src/android/car/os/
DCpuAvailabilityInfo.java47 private boolean mTimeout = false; field in CpuAvailabilityInfo
72 this.mTimeout = timeout; in CpuAvailabilityInfo()
101 return mTimeout; in isTimeout()
113 "timeout = " + mTimeout + in toString()
124 if (mTimeout) flg |= 0x4; in writeToParcel()
148 this.mTimeout = timeout; in CpuAvailabilityInfo()
177 private boolean mTimeout; field in CpuAvailabilityInfo.Builder
231 mTimeout = value; in setTimeout()
241 mTimeout = false; in build()
246 mTimeout); in build()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java70 private int mTimeout = BluetoothDiscoverableEnabler.DEFAULT_DISCOVERABLE_TIMEOUT; field in RequestPermissionActivity
140 mRequest == REQUEST_ENABLE_DISCOVERABLE ? mTimeout : -1, in onCreate()
194 if (mTimeout == BluetoothDiscoverableEnabler.DISCOVERABLE_TIMEOUT_NEVER) { in createDialog()
201 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, mTimeout) in createDialog()
202 : getString(R.string.bluetooth_ask_discovery_no_name, mTimeout); in createDialog()
262 mBluetoothAdapter.setDiscoverableTimeout(Duration.ofSeconds(mTimeout)); in proceedAndFinish()
267 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish()
270 if (0 < mTimeout) { in proceedAndFinish()
273 returnCode = mTimeout; in proceedAndFinish()
307 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppIncomingFileConfirmActivity.java80 private boolean mTimeout = false; field in BluetoothOppIncomingFileConfirmActivity
115 Log.v(TAG, "mTimeout: " + mTimeout); in onCreate()
116 if (mTimeout) { in onCreate()
154 if (!mTimeout) { in onIncomingFileConfirmOk()
197 mTimeout = savedInstanceState.getBoolean(PREFERENCE_USER_TIMEOUT); in onRestoreInstanceState()
198 Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState()
199 if (mTimeout) { in onRestoreInstanceState()
207 Log.v(TAG, "onSaveInstanceState() mTimeout: " + mTimeout); in onSaveInstanceState()
208 outState.putBoolean(PREFERENCE_USER_TIMEOUT, mTimeout); in onSaveInstanceState()
212 mTimeout = true; in onTimeout()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DTimeoutTask.java33 private long mTimeout = DEFAULT_TIMEOUT; field in TimeoutTask
37 mTimeout = timeout; in TimeoutTask()
43 if (mTimeout < 0) { in prepare()
56 }, mTimeout); in prepare()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java73 private boolean mTimeout = false; field in BluetoothPbapActivity
171 if (!mTimeout) { in onPositive()
180 mTimeout = false; in onPositive()
206 mTimeout = true; in onTimeout()
224 mTimeout = savedInstanceState.getBoolean(KEY_USER_TIMEOUT); in onRestoreInstanceState()
225 Log.v(TAG, "onRestoreInstanceState() mTimeout: " + mTimeout); in onRestoreInstanceState()
226 if (mTimeout) { in onRestoreInstanceState()
234 outState.putBoolean(KEY_USER_TIMEOUT, mTimeout); in onSaveInstanceState()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java84 private int mTimeout = DEFAULT_DISCOVERABLE_TIMEOUT; field in BluetoothRequestPermissionActivity
170 mDialog = createRequestEnableBluetoothDialogWithTimeout(mTimeout); in onCreate()
179 mDialog = createDiscoverableConfirmDialog(mTimeout); in onCreate()
226 finishWithResult(setDiscoverable(mTimeout)); in proceedAndFinish()
274 mTimeout = intent.getIntExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in parseIntent()
278 if (mTimeout < 1 || mTimeout > MAX_DISCOVERABLE_TIMEOUT) { in parseIntent()
279 mTimeout = DEFAULT_DISCOVERABLE_TIMEOUT; in parseIntent()
389 enableBluetoothWithWaitingDialog(createDiscoverableConfirmDialog(mTimeout)); in onConfirmEnableBluetooth()
453 return mTimeout; in getTimeout()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java228 && 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()
DGetCapabilitiesTask.java44 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/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackTimeoutException.java29 private final long mTimeout; field in SyncCallbackTimeoutException
48 mTimeout = timeout; in SyncCallbackTimeoutException()
59 return mTimeout; in getTimeout()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DBots.java73 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()
DDirectoryListBot.java178 findPlaceholderMessageTextView().waitForExists(mTimeout); in waitForHolderMessage()
248 return mDevice.wait(Until.findObject(By.text(message)), mTimeout); in getSnackbar()
258 mDevice.wait(Until.findObject(SNACK_DELETE), mTimeout); in waitForDeleteSnackbar() local
263 mDevice.wait(Until.gone(SNACK_DELETE), mTimeout * 2); in waitForDeleteSnackbarGone()
267 findDocument(label).waitForExists(mTimeout); in waitForDocument()
279 new UiObject(docList.childSelector(new UiSelector())).waitForExists(mTimeout); in findDocument()
316 doc.waitForExists(mTimeout); in assertFirstDocumentHasFocus()
340 Until.findObject(By.text(assertSelectionText)), mTimeout); in assertSelection()
DUiBot.java130 mDevice.waitForIdle(mTimeout); in openOverflowMenu()
219 By.res(mTargetPackage + ":id/action_mode_bar")), mTimeout); in waitForActionModeBarToAppear()
242 title.waitForExists(mTimeout); in findDownloadRetryDialog()
249 title.waitForExists(mTimeout); in findFileRenameDialog()
256 title.waitForExists(mTimeout); in findRenameErrorMessage()
DSidebarBot.java65 new UiObject(rootsList.childSelector(new UiSelector())).waitForExists(mTimeout); in findRoot()
84 if (!new UiObject(rootsList).waitForExists(mTimeout)) { in openDrawer()
DGestureBot.java111 new UiObject(docList.childSelector(new UiSelector())).waitForExists(mTimeout); in findDocument()
/packages/modules/DnsResolver/
DDnsTlsDispatcher.h92 mTimeout(timeout) {} in Transport()
115 std::chrono::milliseconds timeout() const { return mTimeout; } in timeout()
145 const std::chrono::milliseconds mTimeout; member
/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java142 private CreateConnectionTimeout mTimeout; field in CreateConnectionProcessor
170 return mTimeout != null && mTimeout.isCallTimedOut(); in isCallTimedOut()
338 mTimeout = timeout; in setTimeoutIfNeeded()
344 if (mTimeout != null) { in clearTimeout()
345 mTimeout.unregisterTimeout(); in clearTimeout()
346 mTimeout = null; in clearTimeout()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageDraw.java37 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/
DDhcpClient.java1136 protected long mTimeout = 0; field in DhcpClient.TimeoutState
1164 if (mTimeout > 0) { in maybeInitTimeout()
1165 long alarmTime = SystemClock.elapsedRealtime() + mTimeout; in maybeInitTimeout()
1382 mTimeout = FIRST_TIMEOUT_MS; in DhcpPreconnectingState()
1446 mTimeout = DHCP_TIMEOUT_MS / 2; in DhcpRequestingState()
2030 mTimeout = DHCP_INITREBOOT_TIMEOUT_MS; in enter()
2072 mTimeout = mDependencies.getIntDeviceConfig(DHCP_RESTART_CONFIG_DELAY, 100, in enter()
2098 mTimeout = mIpv6OnlyWaitTimeMs; in enter()
/packages/modules/RemoteKeyProvisioning/app/tests/avf/src/com/android/avf/rkpdapp/e2etest/
DAvfIntegrationTest.java73 @Rule public final Timeout mTimeout = Timeout.seconds(30); field in AvfIntegrationTest
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceCore.java1316 final int mTimeout; field in UwbServiceCore.UwbTask.WatchDogThread
1322 mTimeout = timeout; in WatchDogThread()
1329 mCancelWaiter.wait(mTimeout); in run()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java2101 private final int mTimeout; field in UserHalServiceTest.GenericHalCallback
2108 this.mTimeout = timeout; in GenericHalCallback()
2128 Log.d(TAG, "assertCalled(): waiting " + mTimeout + "ms"); in assertCalled()
2129 if (!mLatch.await(mTimeout, TimeUnit.MILLISECONDS)) { in assertCalled()
2130 throw new AssertionError("callback not called in " + mTimeout + "ms"); in assertCalled()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java3216 final int mTimeout; field in NfcService.WatchDogThread
3221 mTimeout = timeout; in WatchDogThread()
3228 mCancelWaiter.wait(mTimeout); in run()