HomeSort by relevance Sort by last modified time
    Searched full:messagecaptor (Results 1 - 5 of 5) sorted by null

  /frameworks/base/tests/utils/testutils/java/android/os/test/
TestLooperTest.java 75 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class);
83 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture());
84 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
85 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture());
86 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what));
87 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture());
88 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what));
89 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture());
90 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what));
107 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class)
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
MockLooperTest.java 75 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class);
83 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture());
84 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
85 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture());
86 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what));
87 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture());
88 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what));
89 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture());
90 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what));
107 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class)
    [all...]
RttServiceTest.java 117 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class);
118 verify(handler, atLeastOnce()).handleMessage(messageCaptor.capture());
119 return messageCaptor.getValue();
153 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class);
154 verify(handler, atLeastOnce()).handleMessage(messageCaptor.capture());
155 return messageCaptor.getValue();
  /frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
WifiScannerTest.java 85 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class);
86 verify(handler, atLeastOnce()).handleMessage(messageCaptor.capture());
89 messageCaptor.getValue().what);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
WifiScanningServiceTest.java 142 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class);
143 order.verify(handler).handleMessage(messageCaptor.capture());
144 return messageCaptor.getValue();
241 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class);
243 .handleMessage(messageCaptor.capture());
244 int firstListenerId = messageCaptor.getAllValues().get(0).arg2;
250 messageCaptor.getAllValues().get(0));
251 assertSingleScanCompletedMessage(requestId2, messageCaptor.getAllValues().get(1));
254 messageCaptor.getAllValues().get(2));
255 assertSingleScanCompletedMessage(requestId1, messageCaptor.getAllValues().get(3))
    [all...]

Completed in 235 milliseconds