Searched refs:resultQueue (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | MultiUserDeviceTest.java | 59 BlockingDeque<UserHandle> resultQueue) { in ReplyReceivingInputConnection() argument 62 mResultQueue = resultQueue; in ReplyReceivingInputConnection() 88 final BlockingDeque<UserHandle> resultQueue = new LinkedBlockingDeque<>(); in testConnectingToTheSameUserIme() local 103 return new ReplyReceivingInputConnection(original, sessionId, resultQueue); in testConnectingToTheSameUserIme() 111 final UserHandle result = resultQueue.poll(TIMEOUT_MILLISEC, TimeUnit.MILLISECONDS); in testConnectingToTheSameUserIme()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 280 BlockingQueue<String> resultQueue = new LinkedBlockingQueue<>(); in processUserData() local 285 resultQueue.add("OK"); in processUserData() 291 resultQueue.add(getResultData()); in processUserData() 297 result = resultQueue.take(); in processUserData() 330 BlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(); in getUserDataVersion() local 335 resultQueue.add(getResultCode()); in getUserDataVersion() 340 int userDataVersion = resultQueue.take(); in getUserDataVersion()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsMmTelManagerTest.java | 549 LinkedBlockingQueue<Boolean> resultQueue = new LinkedBlockingQueue<>(1); in testMethodPermissions() local 555 resultQueue::offer), ImsException.class, in testMethodPermissions() 557 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions() 565 LinkedBlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(1); in testMethodPermissions() local 567 (m) -> m.getRegistrationState(Runnable::run, resultQueue::offer), in testMethodPermissions() 569 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions() 574 LinkedBlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(1); in testMethodPermissions() local 576 (m) -> m.getRegistrationTransportType(Runnable::run, resultQueue::offer), in testMethodPermissions() 578 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SubscriptionManagerTest.java | 1104 final LinkedBlockingQueue<Integer> resultQueue = new LinkedBlockingQueue<>(1); in setPreferredDataSubId() local 1108 resultQueue.offer(-1); in setPreferredDataSubId() 1110 resultQueue.offer(res); in setPreferredDataSubId() 1119 res = resultQueue.poll(2, TimeUnit.SECONDS); in setPreferredDataSubId()
|