Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DVerifyCredentialResponse.java38 private int mTimeout; field in VerifyCredentialResponse
78 mTimeout = timeout; in VerifyCredentialResponse()
85 mTimeout = timeout; in VerifyCredentialResponse()
93 dest.writeInt(mTimeout); in writeToParcel()
112 return mTimeout; in getTimeout()
120 mTimeout = timeout; in setTimeout()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java38 private final int mTimeout; field in UiBot
42 mTimeout = timeout; in UiBot()
54 boolean gotIt = mDevice.wait(Until.hasObject(By.pkg(SYSTEMUI_PACKAGE)), mTimeout); in getNotification()
76 boolean gotIt = mDevice.wait(Until.hasObject(By.text(text)), mTimeout); in getObject()
87 boolean gotIt = mDevice.wait(Until.hasObject(By.res(id)), mTimeout); in getObjectById()
146 boolean gotIt = mDevice.wait(Until.hasObject(By.text(shareText)), mTimeout); in chooseActivity()
175 boolean gotIt = mDevice.wait(Until.hasObject(By.res("android", "button_once")), mTimeout); in clickJustOnce()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
DBaseBot.java37 final int mTimeout; field in BaseBot
42 mTimeout = timeout; in BaseBot()
55 mDevice.wait(Until.findObject(selector), mTimeout); in find() local
72 mDevice.waitForIdle(mTimeout); in waitForIdle()
DDirectoryListBot.java133 return mDevice.wait(Until.findObject(By.text(message)), mTimeout); in getSnackbar()
137 mDevice.wait(Until.findObject(SNACK_DELETE), mTimeout); in waitForDeleteSnackbar() local
142 mDevice.wait(Until.gone(SNACK_DELETE), mTimeout * 2); in waitForDeleteSnackbarGone()
146 findDocument(label).waitForExists(mTimeout); in waitForDocument()
155 new UiObject(docList.childSelector(new UiSelector())).waitForExists(mTimeout); in findDocument()
DUiBot.java113 mDevice.waitForIdle(mTimeout); in openOverflowMenu()
181 title.waitForExists(mTimeout); in findDownloadRetryDialog()
187 object.waitForExists(mTimeout); in findDialogOkButton()
193 object.waitForExists(mTimeout); in findDialogCancelButton()
DRootsListBot.java51 if (!new UiObject(rootsList).waitForExists(mTimeout)) { in findRoot()
60 new UiObject(rootsList.childSelector(new UiSelector())).waitForExists(mTimeout); in findRoot()
/frameworks/base/core/java/android/service/gatekeeper/
DGateKeeperResponse.java34 private int mTimeout; field in GateKeeperResponse
82 dest.writeInt(mTimeout); in writeToParcel()
97 return mTimeout; in getTimeout()
109 mTimeout = timeout; in setTimeout()
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
DPollingCheck.java25 private long mTimeout = 3000; field in PollingCheck
35 mTimeout = timeout; in PollingCheck()
45 long timeout = mTimeout; in run()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardMessageArea.java51 long mTimeout = SECURITY_MESSAGE_DURATION; field in KeyguardMessageArea
124 mTimeout = timeoutMs; in setTimeout()
146 if (mTimeout > 0) { in securityMessageChanged()
147 mHandler.postDelayed(mClearMessageRunnable, mTimeout); in securityMessageChanged()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java43 private final long mTimeout; field in NtpTrustedTime
55 mTimeout = timeout; in NtpTrustedTime()
104 if (client.requestTime(mServer, (int) mTimeout)) { in forceRefresh()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java98 private final long mTimeout; field in VibratorService.Vibration
118 mTimeout = millis; in Vibration()
138 if (mTimeout == 0) { in hasLongerTimeout()
143 if ((mStartTime + mTimeout) in hasLongerTimeout()
384 mPreviousVibrations.addLast(new VibratorService.VibrationInfo(vib.mTimeout, vib.mStartTime, in addToPreviousVibrationsLocked()
477 if (vib.mTimeout != 0) { in startVibrationLocked()
478 doVibratorOn(vib.mTimeout, vib.mUid, vib.mUsageHint); in startVibrationLocked()
479 mH.postDelayed(mVibrationRunnable, vib.mTimeout); in startVibrationLocked()
/frameworks/base/tests/CoreTests/android/core/
DTestWebServer.java71 int mTimeout; field in TestWebServer
128 mTimeout = timeout; in initServer()
649 s.setSoTimeout(mTimeout); in handleClient()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java225 mHandler.postDelayed(mTimeout, 5 * 1000); in onResume()
458 mHandler.removeCallbacks(mTimeout); in setTestResult()
569 private Runnable mTimeout = new Runnable() { field in LaunchpadActivity
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java670 protected int mTimeout = 0; field in DhcpClient.PacketRetransmittingState
732 if (mTimeout > 0) { in maybeInitTimeout()
733 long alarmTime = SystemClock.elapsedRealtime() + mTimeout; in maybeInitTimeout()
772 mTimeout = DHCP_TIMEOUT_MS / 2; in DhcpRequestingState()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionGroup.java1783 private int mTimeout; // in seconds
1789 mTimeout = timeout;
1801 return mTimeout;
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1756 long mTimeout; field in BatteryStatsImpl.StopwatchTimer
1780 mTimeout = timeout; in setTimeout()
1896 if (mTimeout > 0 && curBatteryRealtime > mUpdateTime + mTimeout) { in computeRunTimeLocked()
1897 curBatteryRealtime = mUpdateTime + mTimeout; in computeRunTimeLocked()
/frameworks/base/docs/html/guide/topics/admin/
Ddevice-admin.jd667 long timeMs = 1000L*Long.parseLong(mTimeout.getText().toString());