Home
last modified time | relevance | path

Searched refs:resultQueue (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DMmTelFeatureTestOnMockModem.java335 final LinkedBlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(); in testSetTerminalBasedCallWaiting() local
338 (r) -> r.run(), (result) -> resultQueue.offer(result)), in testSetTerminalBasedCallWaiting()
340 int result = waitForIntResult(resultQueue); in testSetTerminalBasedCallWaiting()
441 LinkedBlockingQueue<ConnectionFailureInfo> resultQueue = new LinkedBlockingQueue<>(); in testStartAndStopImsTrafficSession() local
442 ImsTrafficSessionCallback callback = buildImsTrafficSessionCallback(resultQueue); in testStartAndStopImsTrafficSession()
454 ConnectionFailureInfo result = waitForResult(resultQueue); in testStartAndStopImsTrafficSession()
524 resultQueue = new LinkedBlockingQueue<>(); in testStartAndStopImsTrafficSession()
525 callback = buildImsTrafficSessionCallback(resultQueue); in testStartAndStopImsTrafficSession()
537 result = waitForResult(resultQueue); in testStartAndStopImsTrafficSession()
550 resultQueue = new LinkedBlockingQueue<>(); in testStartAndStopImsTrafficSession()
[all …]
DImsMmTelManagerTest.java667 LinkedBlockingQueue<Boolean> resultQueue = new LinkedBlockingQueue<>(1); in testMethodPermissions() local
673 resultQueue::offer), ImsException.class, in testMethodPermissions()
675 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions()
683 LinkedBlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(1); in testMethodPermissions() local
685 (m) -> m.getRegistrationState(Runnable::run, resultQueue::offer), in testMethodPermissions()
687 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions()
692 LinkedBlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(1); in testMethodPermissions() local
694 (m) -> m.getRegistrationTransportType(Runnable::run, resultQueue::offer), in testMethodPermissions()
696 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java237 BlockingQueue<String> resultQueue = new LinkedBlockingQueue<>(); in processUserData() local
242 resultQueue.add("OK"); in processUserData()
248 resultQueue.add(getResultData()); in processUserData()
254 result = resultQueue.take(); in processUserData()
286 BlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(); in getUserDataVersion() local
291 resultQueue.add(getResultCode()); in getUserDataVersion()
296 int userDataVersion = resultQueue.take(); in getUserDataVersion()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java1559 final LinkedBlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(1); in setPreferredDataSubId() local
1563 resultQueue.offer(-1); in setPreferredDataSubId()
1565 resultQueue.offer(res); in setPreferredDataSubId()
1574 res = resultQueue.poll(2, TimeUnit.SECONDS); in setPreferredDataSubId()