/frameworks/base/services/net/java/android/net/netlink/ |
D | NetlinkSocket.java | 93 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/ |
D | BlockingSessionCallback.java | 139 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/ |
D | KeyguardAbsKeyInputView.java | 141 public void onChecked(boolean matched, int timeoutMs) { in verifyPasswordAndUnlock() 144 onPasswordChecked(userId, matched, timeoutMs, in verifyPasswordAndUnlock() 150 private void onPasswordChecked(int userId, boolean matched, int timeoutMs, in onPasswordChecked() argument 161 mCallback.reportUnlockAttempt(userId, false, timeoutMs); in onPasswordChecked() 162 if (timeoutMs > 0) { in onPasswordChecked() 164 userId, timeoutMs); in onPasswordChecked() 168 if (timeoutMs == 0) { in onPasswordChecked()
|
D | KeyguardPatternView.java | 243 public void onChecked(boolean matched, int timeoutMs) { in onPatternDetected() 246 onPatternChecked(userId, matched, timeoutMs, true); in onPatternDetected() 254 private void onPatternChecked(int userId, boolean matched, int timeoutMs, in onPatternChecked() argument 266 mCallback.reportUnlockAttempt(userId, false, timeoutMs); in onPatternChecked() 267 if (timeoutMs > 0) { in onPatternChecked() 269 userId, timeoutMs); in onPatternChecked() 273 if (timeoutMs == 0) { in onPatternChecked()
|
D | KeyguardSecurityContainer.java | 184 private void showTimeoutDialog(int timeoutMs) { in showTimeoutDialog() argument 185 int timeoutInSeconds = (int) timeoutMs / 1000; in showTimeoutDialog() 253 private void reportFailedUnlockAttempt(int userId, int timeoutMs) { in reportFailedUnlockAttempt() argument 291 if (timeoutMs > 0) { in reportFailedUnlockAttempt() 292 showTimeoutDialog(timeoutMs); in reportFailedUnlockAttempt() 425 public void reportUnlockAttempt(int userId, boolean success, int timeoutMs) { 431 KeyguardSecurityContainer.this.reportFailedUnlockAttempt(userId, timeoutMs); 447 public void reportUnlockAttempt(int userId, boolean success, int timeoutMs) { }
|
D | KeyguardSecurityCallback.java | 44 void reportUnlockAttempt(int userId, boolean success, int timeoutMs); in reportUnlockAttempt() argument
|
D | KeyguardMessageArea.java | 123 public void setTimeout(int timeoutMs) { in setTimeout() argument 124 mTimeout = timeoutMs; in setTimeout()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityTestsBase.java | 143 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/ex/camera2/public/src/com/android/ex/camera2/utils/ |
D | StateWaiter.java | 97 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/volley/src/main/java/com/android/volley/toolbox/ |
D | RequestFuture.java | 100 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()
|
D | HurlStack.java | 188 int timeoutMs = request.getTimeoutMs(); in openConnection() local 189 connection.setConnectTimeout(timeoutMs); in openConnection() 190 connection.setReadTimeout(timeoutMs); in openConnection()
|
D | HttpClientStack.java | 82 int timeoutMs = request.getTimeoutMs(); in performRequest() local 86 HttpConnectionParams.setSoTimeout(httpParams, timeoutMs); in performRequest()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | DispatchThread.java | 73 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()
|
D | CameraStateHolder.java | 95 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/ |
D | FullWidthDetailsOverviewSharedElementHelper.java | 65 long timeoutMs) { in setSharedElementEnterTransition() argument 82 if (timeoutMs > 0) { in setSharedElementEnterTransition() 91 }, timeoutMs); in setSharedElementEnterTransition()
|
D | DetailsOverviewSharedElementHelper.java | 165 long timeoutMs) { in setSharedElementEnterTransition() argument 184 if (timeoutMs > 0) { in setSharedElementEnterTransition() 196 }, timeoutMs); in setSharedElementEnterTransition()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 399 public NativeDaemonEvent execute(long timeoutMs, String cmd, Object... args) in execute() argument 401 final NativeDaemonEvent[] events = executeForList(timeoutMs, cmd, args); in execute() 451 public NativeDaemonEvent[] executeForList(long timeoutMs, String cmd, Object... args) in executeForList() argument 487 event = mResponseQueue.remove(sequenceNumber, timeoutMs, logCmd); in executeForList() 675 public NativeDaemonEvent remove(int cmdNum, long timeoutMs, String logCmd) { in remove() argument 695 result = found.responses.poll(timeoutMs, TimeUnit.MILLISECONDS); in remove()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
D | MffFilterTestCase.java | 117 protected void process(long timeoutMs) in process() argument 120 mProcessResult.get(timeoutMs, TimeUnit.MILLISECONDS); in process()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 188 public RequestThrottledException(int timeoutMs) { in RequestThrottledException() argument 189 mTimeoutMs = timeoutMs; in RequestThrottledException() 1253 public long setLockoutAttemptDeadline(int userId, int timeoutMs) { in setLockoutAttemptDeadline() argument 1254 final long deadline = SystemClock.elapsedRealtime() + timeoutMs; in setLockoutAttemptDeadline() 1256 setLong(LOCKOUT_ATTEMPT_TIMEOUT_MS, timeoutMs, userId); in setLockoutAttemptDeadline() 1267 final long timeoutMs = getLong(LOCKOUT_ATTEMPT_TIMEOUT_MS, 0L, userId); in getLockoutAttemptDeadline() local 1276 if (deadline > (now + timeoutMs)) { in getLockoutAttemptDeadline() 1278 deadline = now + timeoutMs; in getLockoutAttemptDeadline()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 155 public void waitForIdle(int timeoutMs) { in waitForIdle() argument 177 if (!cv.block(timeoutMs)) { in waitForIdle() 179 " did not become idle after " + timeoutMs + " ms"); in waitForIdle() 288 public void waitForIdle(int timeoutMs) { in waitForIdle() argument 289 mHandlerThread.waitForIdle(timeoutMs); in waitForIdle() 637 public void waitForIdle(int timeoutMs) { in waitForIdle() argument 638 ((IdleableHandlerThread) mHandlerThread).waitForIdle(timeoutMs); in waitForIdle() 1695 public static boolean awaitPin(int timeoutMs) { in awaitPin() argument 1699 sLock.wait(timeoutMs); in awaitPin() 1706 public static boolean awaitUnpin(int timeoutMs) { in awaitUnpin() argument [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2StillCaptureTest.java | 594 public void waitForAutoFocusDone(long timeoutMs) { in waitForAutoFocusDone() argument 595 if (focusDone.block(timeoutMs)) { in waitForAutoFocusDone() 599 + timeoutMs + "ms"); in waitForAutoFocusDone()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 750 Messenger messenger, int timeoutMs, IBinder binder, int legacyType) { in requestNetwork() argument 753 if (timeoutMs < 0 || timeoutMs > ConnectivityManager.MAX_NETWORK_REQUEST_TIMEOUT_MS) { in requestNetwork()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 150 public float getContactAffinity(UserHandle userHandle, Bundle extras, int timeoutMs, in getContactAffinity() argument 176 if (!s.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in getContactAffinity()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 168 public NetworkDiagnostics(Network network, LinkProperties lp, long timeoutMs) { in NetworkDiagnostics() argument 172 mTimeoutMs = timeoutMs; in NetworkDiagnostics()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceUserShim.java | 178 public int waitForOpen(int timeoutMs) { in waitForOpen() argument 180 if (!mStartDone.block(timeoutMs)) { in waitForOpen()
|