Searched refs:doAnswer (Results 1 – 15 of 15) sorted by relevance
30 import static org.mockito.Mockito.doAnswer;841 doAnswer(layoutAnswer).when(adapter).onLayout(any(PrintAttributes.class), in createMockPrintDocumentAdapter()846 doAnswer(writeAnswer).when(adapter).onWrite(any(PageRange[].class), in createMockPrintDocumentAdapter()851 doAnswer(finishAnswer).when(adapter).onFinish(); in createMockPrintDocumentAdapter()909 doAnswer(onStartPrinterDiscovery).when(callbacks).onStartPrinterDiscovery( in createMockPrinterDiscoverySessionCallbacks()913 doAnswer(onStopPrinterDiscovery).when(callbacks).onStopPrinterDiscovery(); in createMockPrinterDiscoverySessionCallbacks()916 doAnswer(onValidatePrinters).when(callbacks).onValidatePrinters( in createMockPrinterDiscoverySessionCallbacks()920 doAnswer(onStartPrinterStateTracking).when(callbacks).onStartPrinterStateTracking( in createMockPrinterDiscoverySessionCallbacks()924 doAnswer(onRequestCustomPrinterIcon).when(callbacks).onRequestCustomPrinterIcon( in createMockPrinterDiscoverySessionCallbacks()929 doAnswer(onStopPrinterStateTracking).when(callbacks).onStopPrinterStateTracking( in createMockPrinterDiscoverySessionCallbacks()[all …]
30 import static org.mockito.Mockito.doAnswer;793 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaComponentName()870 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetId()957 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetIds()1036 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetId()1114 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetIds()1138 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetIds()1206 doAnswer(new Answer<Void>() { in testCollectionWidgets()1247 doAnswer(new Answer<Integer>() { in testCollectionWidgets()1253 doAnswer(new Answer<RemoteViews>() { in testCollectionWidgets()[all …]
23 import static org.mockito.Mockito.doAnswer;207 doAnswer(invocation -> { in setupAndAwaitCollectionWidget()
25 import static org.mockito.Mockito.doAnswer;212 doAnswer(invocation -> { in testCollection_sendBroadcast()
25 import static org.mockito.Mockito.doAnswer;153 doAnswer(new Answer<RemoteViews>() { in setup()
23 import static org.mockito.Mockito.doAnswer;51 doAnswer((InvocationOnMock invocation) -> mActivity.getLayoutInflater().inflate( in testDynamicConstructor()
33 import static org.mockito.Mockito.doAnswer;593 doAnswer( in testForceToEndTransitionsDependedEachOther() method603 doAnswer( in testForceToEndTransitionsDependedEachOther() method
28 import static org.mockito.Mockito.doAnswer;136 doAnswer((InvocationOnMock invocation) -> { in testSetProperties() method375 doAnswer((InvocationOnMock invocation) -> { in testSetupListeners() method
25 import static org.mockito.Mockito.doAnswer;194 doAnswer((InvocationOnMock invocation) -> { in testDispatch() method
31 import static org.mockito.Mockito.doAnswer;4568 doAnswer(a -> { in createDragShadowBuidler()
19 import static org.mockito.Mockito.doAnswer;374 doAnswer(invocation -> { in testTimeout()
31 import static org.mockito.Mockito.doAnswer;749 doAnswer(invocation -> { in testSetBounds()754 doAnswer(invocation -> { in testSetBounds()807 doAnswer(invocation -> { in testGetIntrinsicWidth()812 doAnswer(invocation -> { in testGetIntrinsicWidth()850 doAnswer(invocation -> { in testGetIntrinsicHeight()855 doAnswer(invocation -> { in testGetIntrinsicHeight()
30 import static org.mockito.Mockito.doAnswer;183 doAnswer((InvocationOnMock invocation) -> { in testGetPadding() method190 doAnswer((InvocationOnMock invocation) -> { in testGetPadding() method
30 import static org.mockito.Mockito.doAnswer;1017 doAnswer((InvocationOnMock invocation) -> { in configureMultiChoiceModalState() method
31 import static org.mockito.Mockito.doAnswer;3262 doAnswer((InvocationOnMock invocation) -> { in testPerformLongClick() method