Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 26) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DConditionPriorityBlockingQueueTest.java45 assertNull(mQueue.poll()); in testPoll_empty()
55 assertNull(mQueue.poll()); in testTake()
69 assertNull(mQueue.poll()); in testTake_priority()
84 assertNull(fifoQueue.poll()); in testTake_fifo()
98 assertNull(mQueue.poll()); in testTake_priorityReverse()
119 assertNull(mQueue.poll()); in testTake_delayedAdd()
143 assertNull(mQueue.poll(new OneMatcher())); in testTake_matcher_delayedAdd()
144 assertEquals(two, mQueue.poll()); in testTake_matcher_delayedAdd()
207 assertNull(mQueue.poll()); in testTake_multiple_matchers()
214 assertNull(mQueue.poll(new OneMatcher())); in testPoll_condition_empty()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DConditionPriorityBlockingQueue.java123 public T poll() { in poll() method in ConditionPriorityBlockingQueue
124 return poll(new AlwaysMatch<T>()); in poll()
134 public T poll(IMatcher<T> matcher) { in poll() method in ConditionPriorityBlockingQueue
165 public T poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() method in ConditionPriorityBlockingQueue
166 return poll(timeout, unit, new AlwaysMatch<T>()); in poll()
180 public T poll(long timeout, TimeUnit unit, IMatcher<T> matcher) throws InterruptedException { in poll() method in ConditionPriorityBlockingQueue
207 while ((matchedObj = poll(matcher)) == null && (nanos == null || nanos > 0)) { in blockingPoll()
392 T removedObj = poll(matcher); in addUnique()
DLogcatEventParser.java148 return mEventQueue.poll(timeoutMs, TimeUnit.MILLISECONDS); in waitForEvent()
157 return mEventQueue.poll(); in pollForEvent()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java118 IRemoteTest poll() { in poll() method in TestsPoolPoller
119 return poll(false); in poll()
123 private IRemoteTest poll(boolean reportNotExecuted) { in poll() method in TestsPoolPoller
189 IRemoteTest test = poll(); in run()
322 IRemoteTest test = poll(true); in reportNotExecuted()
331 test = poll(true); in reportNotExecuted()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java88 assertNotNull(poller1.poll()); in testMultiPolling()
90 assertNotNull(poller2.poll()); in testMultiPolling()
92 assertNotNull(poller1.poll()); in testMultiPolling()
93 assertNotNull(poller1.poll()); in testMultiPolling()
94 assertNotNull(poller2.poll()); in testMultiPolling()
97 assertNull(poller1.poll()); in testMultiPolling()
98 assertNull(poller2.poll()); in testMultiPolling()
/tools/repohooks/rh/
Dutils.py185 while proc.poll() is None and int_timeout >= 0:
190 while proc.poll() is None and kill_timeout >= 0:
194 if proc.poll() is None:
249 self.poll()
255 self.poll()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBatchProcessor.kt58 next = workArray.poll() in <lambda>()
63 next = workArray.poll() in <lambda>()
74 remaining = workArray.poll() in <lambda>()
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DSurfaceFlingerTestActivity.java121 getReadyTimes().poll(); in run()
122 getLatchTimes().poll(); in run()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aEventDispatcher.java123 EventSl4aObject res = mEventQueue.get(name).poll(); in popEvent()
149 EventSl4aObject res = mEventQueue.get(name).poll(); in waitForEvent()
/tools/test/connectivity/acts/framework/tests/libs/proc/
Dprocess_test.py156 process._process.poll.return_value = None
240 process._process.poll.return_value = None
/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner_unittest.py214 mock_tf_subproc.poll.side_effect = [None, None, exit_code]
222 mock_tf_subproc.poll.side_effect = [None]
Drobolectric_test_runner.py164 if robo_proc.poll() is not None:
Datest_tf_test_runner.py196 if tf_subproc.poll() is not None:
/tools/test/connectivity/acts/framework/acts/libs/proc/
Dprocess.py144 return self._process is not None and self._process.poll() is None
/tools/tradefederation/core/atest/
Datest_utils.py92 while proc.poll() is None:
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java200 IRemoteTest poll() { in poll() method in ModuleDefinition
426 IRemoteTest test = poll(); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java264 ITestDevice d = mAvailableDeviceQueue.poll(new TestDeviceMatcher(options)); in allocateDevice()
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTest.java410 XmlDefsTest shard = (XmlDefsTest)shardQueue.poll(); in split()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dconnection.py116 or self._master_ssh_proc.poll() is not None):
/tools/test/connectivity/acts/framework/acts/
Dutils.py410 ret = proc.poll()
/tools/dexter/testdata/expected/
Dmedium.rewrite22585 55| invoke-virtual {v3}, java.util.PriorityQueue.poll():java.lang.Object
75605 483| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
76010 1040| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
77544 80| invoke-virtual {v4}, java.util.LinkedList.poll():java.lang.Object
Dmedium.scratch_regs28520 79| invoke-virtual {v3}, java.util.PriorityQueue.poll():java.lang.Object
88789 531| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
89194 1088| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
91052 98| invoke-virtual {v9}, java.util.LinkedList.poll():java.lang.Object
Dmedium.exit_hook24335 58| invoke-virtual {v3}, java.util.PriorityQueue.poll():java.lang.Object
79648 489| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
80053 1046| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
81723 84| invoke-virtual {v4}, java.util.LinkedList.poll():java.lang.Object
Dmedium.entry_hook23599 58| invoke-virtual {v3}, java.util.PriorityQueue.poll():java.lang.Object
77740 486| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
78145 1043| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
79738 83| invoke-virtual {v4}, java.util.LinkedList.poll():java.lang.Object
Dmedium.compact_cfg27087 55| invoke-virtual {v3}, java.util.PriorityQueue.poll():java.lang.Object
90846 483| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
91325 1039| invoke-virtual {v4}, java.util.concurrent.ConcurrentLinkedQueue.poll():java.lang.Object
93217 79| invoke-virtual {v4}, java.util.LinkedList.poll():java.lang.Object

12