Home
last modified time | relevance | path

Searched refs:timeoutMs (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/net/netlink/
DNetlinkSocket.java93 public ByteBuffer recvMessage(long timeoutMs) throws ErrnoException, InterruptedIOException { in recvMessage() argument
94 return recvMessage(DEFAULT_RECV_BUFSIZE, timeoutMs); in recvMessage()
97 private void checkTimeout(long timeoutMs) { in checkTimeout() argument
98 if (timeoutMs < 0) { in checkTimeout()
109 public ByteBuffer recvMessage(int bufsize, long timeoutMs) in recvMessage() argument
111 checkTimeout(timeoutMs); in recvMessage()
114 if (mLastRecvTimeoutMs != timeoutMs) { in recvMessage()
117 StructTimeval.fromMillis(timeoutMs)); in recvMessage()
118 mLastRecvTimeoutMs = timeoutMs; in recvMessage()
149 public boolean sendMessage(byte[] bytes, int offset, int count, long timeoutMs) in sendMessage() argument
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingSessionCallback.java139 public CameraCaptureSession waitAndGetSession(long timeoutMs) { in waitAndGetSession() argument
141 return mSessionFuture.get(timeoutMs, TimeUnit.MILLISECONDS); in waitAndGetSession()
144 String.format("Failed to get session after %s milliseconds", timeoutMs), e); in waitAndGetSession()
225 CameraCaptureSession session, Surface surface, long timeoutMs) { in waitForSurfacePrepared() argument
232 long waitTimeRemaining = timeoutMs; in waitForSurfacePrepared()
235 mPreparedSurfaces.wait(timeoutMs); in waitForSurfacePrepared()
245 "Unable to get Surface prepared in " + timeoutMs + "ms"); in waitForSurfacePrepared()
284 long timeoutMs = unit.convert(timeout, TimeUnit.MILLISECONDS); in get() local
285 if (!mCondVar.block(timeoutMs)) { in get()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardAbsKeyInputView.java136 public void onChecked(boolean matched, int timeoutMs) { in verifyPasswordAndUnlock()
139 onPasswordChecked(matched, timeoutMs, true /* isValidPassword */); in verifyPasswordAndUnlock()
144 private void onPasswordChecked(boolean matched, int timeoutMs, boolean isValidPassword) { in onPasswordChecked() argument
150 mCallback.reportUnlockAttempt(false, timeoutMs); in onPasswordChecked()
151 if (timeoutMs > 0) { in onPasswordChecked()
153 KeyguardUpdateMonitor.getCurrentUser(), timeoutMs); in onPasswordChecked()
157 if (timeoutMs == 0) { in onPasswordChecked()
DKeyguardPatternView.java249 public void onChecked(boolean matched, int timeoutMs) { in onPatternDetected()
252 onPatternChecked(matched, timeoutMs, true); in onPatternDetected()
260 private void onPatternChecked(boolean matched, int timeoutMs, boolean isValidPattern) { in onPatternChecked() argument
268 mCallback.reportUnlockAttempt(false, timeoutMs); in onPatternChecked()
269 if (timeoutMs > 0) { in onPatternChecked()
271 KeyguardUpdateMonitor.getCurrentUser(), timeoutMs); in onPatternChecked()
275 if (timeoutMs == 0) { in onPatternChecked()
DKeyguardSecurityContainer.java179 private void showTimeoutDialog(int timeoutMs) { in showTimeoutDialog() argument
180 int timeoutInSeconds = (int) timeoutMs / 1000; in showTimeoutDialog()
247 private void reportFailedUnlockAttempt(int timeoutMs) { in reportFailedUnlockAttempt() argument
287 if (timeoutMs > 0) { in reportFailedUnlockAttempt()
288 showTimeoutDialog(timeoutMs); in reportFailedUnlockAttempt()
419 public void reportUnlockAttempt(boolean success, int timeoutMs) {
426 KeyguardSecurityContainer.this.reportFailedUnlockAttempt(timeoutMs);
442 public void reportUnlockAttempt(boolean success, int timeoutMs) { }
DKeyguardSecurityCallback.java43 void reportUnlockAttempt(boolean success, int timeoutMs); in reportUnlockAttempt() argument
DKeyguardMessageArea.java114 public void setTimeout(int timeoutMs) { in setTimeout() argument
115 mTimeout = timeoutMs; in setTimeout()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java143 public int waitForResultOrThrow(int timeoutMs) { in waitForResultOrThrow() argument
144 return waitForResultOrThrow(timeoutMs, null); in waitForResultOrThrow()
147 public int waitForResultOrThrow(int timeoutMs, String expected) { in waitForResultOrThrow() argument
148 int res = waitForResult(timeoutMs, expected); in waitForResultOrThrow()
163 public int waitForResult(int timeoutMs, String expected) { in waitForResult() argument
166 long endTime = System.currentTimeMillis() + timeoutMs; in waitForResult()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DRequestFuture.java100 private synchronized T doGet(Long timeoutMs) in doGet() argument
110 if (timeoutMs == null) { in doGet()
112 } else if (timeoutMs > 0) { in doGet()
113 wait(timeoutMs); in doGet()
DHurlStack.java164 int timeoutMs = request.getTimeoutMs(); in openConnection() local
165 connection.setConnectTimeout(timeoutMs); in openConnection()
166 connection.setReadTimeout(timeoutMs); in openConnection()
DHttpClientStack.java82 int timeoutMs = request.getTimeoutMs(); in performRequest() local
86 HttpConnectionParams.setSoTimeout(httpParams, timeoutMs); in performRequest()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateWaiter.java97 public void waitForState(int state, long timeoutMs) { in waitForState() argument
100 waitForAnyOfStates(Arrays.asList(stateArray), timeoutMs); in waitForState() local
120 public int waitForAnyOfStates(Collection<Integer> states, final long timeoutMs) { in waitForAnyOfStates() argument
136 long timeoutLeft = timeoutMs; in waitForAnyOfStates()
160 s.append(timeoutMs); in waitForAnyOfStates()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DDispatchThread.java73 public void runJobSync(final Runnable job, Object waitLock, long timeoutMs, String jobMsg) { in runJobSync() argument
74 String timeoutMsg = "Timeout waiting " + timeoutMs + "ms for " + jobMsg; in runJobSync()
76 long timeoutBound = SystemClock.uptimeMillis() + timeoutMs; in runJobSync()
79 waitLock.wait(timeoutMs); in runJobSync()
DCameraStateHolder.java95 long timeoutMs) { in waitForCondition() argument
96 long timeBound = SystemClock.uptimeMillis() + timeoutMs; in waitForCondition()
100 this.wait(timeoutMs); in waitForCondition()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFullWidthDetailsOverviewSharedElementHelper.java65 long timeoutMs) { in setSharedElementEnterTransition() argument
83 if (timeoutMs > 0) { in setSharedElementEnterTransition()
92 }, timeoutMs); in setSharedElementEnterTransition()
DDetailsOverviewSharedElementHelper.java165 long timeoutMs) { in setSharedElementEnterTransition() argument
184 if (timeoutMs > 0) { in setSharedElementEnterTransition()
196 }, timeoutMs); in setSharedElementEnterTransition()
DDetailsOverviewRowPresenter.java372 String sharedElementName, long timeoutMs) { in setSharedElementEnterTransition() argument
377 timeoutMs); in setSharedElementEnterTransition()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java343 public NativeDaemonEvent execute(long timeoutMs, String cmd, Object... args) in execute() argument
345 final NativeDaemonEvent[] events = executeForList(timeoutMs, cmd, args); in execute()
395 public NativeDaemonEvent[] executeForList(long timeoutMs, String cmd, Object... args) in executeForList() argument
426 event = mResponseQueue.remove(sequenceNumber, timeoutMs, logCmd); in executeForList()
614 public NativeDaemonEvent remove(int cmdNum, long timeoutMs, String logCmd) { in remove() argument
634 result = found.responses.poll(timeoutMs, TimeUnit.MILLISECONDS); in remove()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffFilterTestCase.java117 protected void process(long timeoutMs) in process() argument
120 mProcessResult.get(timeoutMs, TimeUnit.MILLISECONDS); in process()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java139 public RequestThrottledException(int timeoutMs) { in RequestThrottledException() argument
140 mTimeoutMs = timeoutMs; in RequestThrottledException()
1057 public long setLockoutAttemptDeadline(int userId, int timeoutMs) { in setLockoutAttemptDeadline() argument
1058 final long deadline = SystemClock.elapsedRealtime() + timeoutMs; in setLockoutAttemptDeadline()
1060 setLong(LOCKOUT_ATTEMPT_TIMEOUT_MS, timeoutMs, userId); in setLockoutAttemptDeadline()
1071 final long timeoutMs = getLong(LOCKOUT_ATTEMPT_TIMEOUT_MS, 0L, userId); in getLockoutAttemptDeadline() local
1073 if (deadline < now || deadline > (now + timeoutMs)) { in getLockoutAttemptDeadline()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java156 public NetworkDiagnostics(Network network, LinkProperties lp, long timeoutMs) { in NetworkDiagnostics() argument
160 mTimeoutMs = timeoutMs; in NetworkDiagnostics()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java167 public int waitForOpen(int timeoutMs) { in waitForOpen() argument
169 if (!mStartDone.block(timeoutMs)) { in waitForOpen()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java147 public float getContactAffinity(UserHandle userHandle, Bundle extras, int timeoutMs, in getContactAffinity() argument
173 if (!s.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in getContactAffinity()
/frameworks/data-binding/integration-tests/TestApp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/support/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...

12