/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/ |
H A D | FixedSizeQueueTest.java | 36 assertThat(queue.poll()).isEqualTo(1); in add_belowMaxCapacity() 48 assertThat(queue.poll()).isEqualTo(2); in add_exceedMaxCapacity() 49 assertThat(queue.poll()).isEqualTo(3); in add_exceedMaxCapacity() 53 public void poll() { in poll() method in FixedSizeQueueTest 58 assertThat(queue.poll()).isEqualTo(1); in poll() 59 assertThat(queue.poll()).isNull(); in poll()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 680 protected void waitForDownloadOrTimeout(long id, long poll, long timeoutMillis) in waitForDownloadOrTimeout() argument 682 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis); in waitForDownloadOrTimeout() 694 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, in waitForDownloadsOrTimeout() argument 696 doWaitForDownloadsOrTimeout(new Query(), poll, timeoutMillis); in waitForDownloadsOrTimeout() 709 protected boolean waitForDownloadOrTimeoutNoThrow(long id, long poll, long timeoutMillis) { in waitForDownloadOrTimeoutNoThrow() argument 711 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis); in waitForDownloadOrTimeoutNoThrow() 730 protected int timeoutWait(int currentTotalWaitTime, long poll, long maxTimeoutMillis, in timeoutWait() argument 733 long end = now + poll; in timeoutWait() 745 currentTotalWaitTime += poll; in timeoutWait() 759 protected void doWaitForDownloadsOrTimeout(Query query, long poll, long timeoutMillis) in doWaitForDownloadsOrTimeout() argument [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | BlockingQueueIntentReceiver.java | 35 return mQueue.poll(10, TimeUnit.SECONDS); in waitForIntent() 39 return mQueue.poll(3, TimeUnit.SECONDS); in waitForIntentShortDelay()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/test/ |
H A D | ProviderListenerCapture.java | 45 return mNewStates.poll(); in getNextNewState() 55 return mLocations.poll(); in getNextLocationResult()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | HistoryTracker.java | 79 while (mResults.poll() != null) { in falseBelief() 113 while (mResults.poll() != null) { in falseConfidence() 154 while (mResults.poll() != null) { in addResults()
|
/aosp14/frameworks/base/core/java/android/view/accessibility/ |
H A D | WeakSparseArray.java | 48 for (Reference ref = mRefQueue.poll(); ref != null; ref = mRefQueue.poll()) { in removeUnreachableValues()
|
/aosp14/frameworks/base/services/core/java/com/android/server/textclassifier/ |
H A D | FixedSizeQueue.java | 75 public E poll() { in poll() method in FixedSizeQueue 76 return mDelegate.poll(); in poll()
|
/aosp14/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/ |
H A D | TestHandler.java | 94 dispatch(mMessages.poll()); in timeAdvance() 105 while ((msg = mMessages.poll()) != null) { in flush()
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
H A D | ConcurrentLinkedEvictingDeque.java | 37 poll(); in add()
|
/aosp14/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisPlaybackQueueItem.java | 245 ProgressMarker marker = markerList.poll(); in onMarkerReached() 303 ListEntry entry = mDataBufferList.poll(); in take()
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
H A D | FrameSourceFilter.java | 48 return mFrames.poll(); in obtainFrame()
|
/aosp14/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
H A D | DownloadManagerBaseTest.java | 394 private int timeoutWait(int currentTotalWaitTime, long poll, long maxTimeoutMillis, in timeoutWait() argument 397 long end = now + poll; in timeoutWait() 409 currentTotalWaitTime += poll; in timeoutWait()
|
/aosp14/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
H A D | RollbackTest.java | 161 assertThat(broadcastReceiver.poll(0, TimeUnit.SECONDS)).isNull(); in testBasic() 176 Intent broadcast = broadcastReceiver.poll(5, TimeUnit.SECONDS); in testBasic() 178 assertThat(broadcastReceiver.poll(0, TimeUnit.SECONDS)).isNull(); in testBasic()
|
/aosp14/frameworks/base/cmds/incidentd/src/ |
H A D | FdBuffer.cpp | 79 int count = TEMP_FAILURE_RETRY(poll(&pfds, 1, remainingTime)); in read() 185 int count = TEMP_FAILURE_RETRY(poll(pfds, 3, remainingTime)); in readProcessedDataInStream()
|
/aosp14/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
H A D | MyAutofillService.java | 90 request = sFillRequests.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS); in getLastFillRequest() 125 CannedResponse response = sCannedResponses.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS); in handleRequest()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BinderWorkSourceNestedService.java | 70 service = blockingQueue.poll(30, TimeUnit.SECONDS);
|
/aosp14/system/core/trusty/keymaster/ipc/ |
H A D | trusty_keymaster_ipc.cpp | 101 int p = poll(&pfd, 1, poll_timeout_ms); in trusty_keymaster_call_2() 170 int p = poll(&pfd, 1, poll_timeout_ms); in trusty_keymaster_call_2()
|
/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | ActionSendMultipleConsumerActivity.java | 118 bundle = mQueue.poll(2 * TIMEOUT, TimeUnit.SECONDS); in getExtras()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
H A D | WeakIdentityHashMap.java | 37 while ((ref = mRefQueue.poll()) != null) { in cleanUp()
|
H A D | TrackedGarbage.java | 56 while ((ref = mRefQueue.poll()) != null) { in cleanUp()
|
/aosp14/frameworks/base/tests/Input/src/com/android/test/input/ |
H A D | SpyInputEventSenderAndReceiver.kt | 31 return queue.poll(DEFAULT_DISPATCHING_TIMEOUT_MILLIS.toLong(), TimeUnit.MILLISECONDS)
|
/aosp14/system/core/trusty/metrics/ |
H A D | metrics.cpp | 64 int rc = poll(&pfd, 1, timeout_ms); in WaitForEvent()
|
/aosp14/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
H A D | TimeReceiver.java | 88 message = mQueue.poll(endTimeNs - curTimeNs, TimeUnit.NANOSECONDS); in getReceivedTimeNs()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
H A D | ReferencePerfTest.java | 68 queue.poll(); in timeAllocEnqueueAndPoll()
|
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | VibratorFrameworkStatsLogger.java | 121 stats = mVibrationStatsQueue.poll(); in writeVibrationReportedFromQueue()
|