Home
last modified time | relevance | path

Searched refs:Answer (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustmentTest.java50 import org.mockito.stubbing.Answer;
73 new Answer<PrinterDiscoverySessionCallbacks>() { in testAllPagesWantedAndAllPagesWritten()
79 new Answer<Void>() { in testAllPagesWantedAndAllPagesWritten()
99 new Answer<Void>() { in testAllPagesWantedAndAllPagesWritten()
113 }, new Answer<Void>() { in testAllPagesWantedAndAllPagesWritten()
127 }, new Answer<Void>() { in testAllPagesWantedAndAllPagesWritten()
179 new Answer<PrinterDiscoverySessionCallbacks>() { in testSomePagesWantedAndAllPagesWritten()
185 new Answer<Void>() { in testSomePagesWantedAndAllPagesWritten()
207 new Answer<Void>() { in testSomePagesWantedAndAllPagesWritten()
221 }, new Answer<Void>() { in testSomePagesWantedAndAllPagesWritten()
[all …]
DPrintDocumentAdapterContractTest.java49 import org.mockito.stubbing.Answer;
73 new Answer<Void>() { in testNoPrintOptionsOrPrinterChange()
87 }, new Answer<Void>() { in testNoPrintOptionsOrPrinterChange()
101 }, new Answer<Void>() { in testNoPrintOptionsOrPrinterChange()
197 new Answer<Void>() { in testNoPrintOptionsOrPrinterChangeCanceled()
210 }, new Answer<Void>() { in testNoPrintOptionsOrPrinterChangeCanceled()
224 }, new Answer<Void>() { in testNoPrintOptionsOrPrinterChangeCanceled()
291 new Answer<Void>() { in testPrintOptionsChangeAndNoPrinterChange()
306 }, new Answer<Void>() { in testPrintOptionsChangeAndNoPrinterChange()
320 }, new Answer<Void>() { in testPrintOptionsChangeAndNoPrinterChange()
[all …]
DPrinterDiscoverySessionLifecycleTest.java45 import org.mockito.stubbing.Answer;
72 new Answer<PrinterDiscoverySessionCallbacks>() { in testNormalLifecycle()
78 new Answer<Void>() { in testNormalLifecycle()
172 new Answer<PrinterDiscoverySessionCallbacks>() { in testCancelPrintServicesAlertDialog()
178 new Answer<Void>() { in testCancelPrintServicesAlertDialog()
260 new Answer<PrinterDiscoverySessionCallbacks>() { in testStartPrinterDiscoveryWithHistoricalPrinters()
266 new Answer<Void>() { in testStartPrinterDiscoveryWithHistoricalPrinters()
403 return createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() { in createFirstMockPrinterDiscoverySessionCallbacks()
433 }, null, null, new Answer<Void>() { in createFirstMockPrinterDiscoverySessionCallbacks() method
481 }, null, null, new Answer<Void>() { in createFirstMockPrinterDiscoverySessionCallbacks() method
[all …]
DPrinterInfoTest.java47 import org.mockito.stubbing.Answer;
75 new Answer<Void>() { in createMockPrintDocumentAdapter()
93 }, new Answer<Void>() { in createMockPrintDocumentAdapter() method
110 }, new Answer<Void>() { in createMockPrintDocumentAdapter() method
133 return createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() {
361 }, null, null, new Answer<Void>() {
366 }, new Answer<Void>() {
377 }, null, new Answer<Void>() {
395 new Answer<PrinterDiscoverySessionCallbacks>() {
DPrinterCapabilitiesTest.java41 import org.mockito.stubbing.Answer;
189 new Answer<Void>() { in testCase()
209 new Answer<Void>() { in testCase()
278 createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() { in testPrinterCapabilityChange()
290 }, null, null, null, null, null, new Answer<Void>() { in testPrinterCapabilityChange()
300 new Answer<PrinterDiscoverySessionCallbacks>() { in testPrinterCapabilityChange()
369 createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() { in testIllegalPrinterCapabilityInfos()
452 }, null, null, null, null, null, new Answer<Void>() { in testIllegalPrinterCapabilityInfos()
462 new Answer<PrinterDiscoverySessionCallbacks>() { in testIllegalPrinterCapabilityInfos()
496 createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() { in testSanePrinterCapabilityInfos()
[all …]
DPrintServicesTest.java61 import org.mockito.stubbing.Answer;
102 new Answer<Void>() { in createMockPrintDocumentAdapter()
120 }, new Answer<Void>() { in createMockPrintDocumentAdapter() method
137 }, new Answer<Void>() { in createMockPrintDocumentAdapter() method
154 return createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() {
194 }, null, null, new Answer<Void>() {
199 }, new Answer<Void>() {
210 }, null, new Answer<Void>() {
354 new Answer<PrinterDiscoverySessionCallbacks>() {
360 new Answer<Void>() {
DPrintAttributesTest.java41 import org.mockito.stubbing.Answer;
143 return createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() { in createMockPrinterDiscoverySessionCallbacks()
198 }, null, null, new Answer<Void>() { in createMockPrinterDiscoverySessionCallbacks() method
203 }, null, null, new Answer<Void>() { in createMockPrinterDiscoverySessionCallbacks() method
232 new Answer<Void>() {
247 }, new Answer<Void>() {
262 }, new Answer<Void>() {
296 new Answer<PrinterDiscoverySessionCallbacks>() {
302 new Answer<Void>() {
DBasePrintTest.java64 import org.mockito.stubbing.Answer;
633 protected PrintDocumentAdapter createMockPrintDocumentAdapter(Answer<Void> layoutAnswer, in createMockPrintDocumentAdapter()
634 Answer<Void> writeAnswer, Answer<Void> finishAnswer) { in createMockPrintDocumentAdapter()
655 Answer<Void> onStartPrinterDiscovery, Answer<Void> onStopPrinterDiscovery, in createMockPrinterDiscoverySessionCallbacks()
656 Answer<Void> onValidatePrinters, Answer<Void> onStartPrinterStateTracking, in createMockPrinterDiscoverySessionCallbacks()
657 Answer<Void> onRequestCustomPrinterIcon, Answer<Void> onStopPrinterStateTracking, in createMockPrinterDiscoverySessionCallbacks()
658 Answer<Void> onDestroy) { in createMockPrinterDiscoverySessionCallbacks()
696 Answer<PrinterDiscoverySessionCallbacks> onCreatePrinterDiscoverySessionCallbacks, in createMockPrintServiceCallbacks()
697 Answer<Void> onPrintJobQueued, Answer<Void> onRequestCancelPrintJob) { in createMockPrintServiceCallbacks()
DPrintJobTest.java44 import org.mockito.stubbing.Answer;
85 new Answer<Void>() { in createMockPrintDocumentAdapter()
100 }, new Answer<Void>() { in createMockPrintDocumentAdapter() method
114 }, new Answer<Void>() { in createMockPrintDocumentAdapter() method
128 return createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() {
156 }, null, null, new Answer<Void>() {
161 }, null, null, new Answer<Void>() {
186 new Answer<PrinterDiscoverySessionCallbacks>() {
191 }, new Answer<Void>() {
DCustomPrintOptionsTest.java45 import org.mockito.stubbing.Answer;
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java63 import org.mockito.stubbing.Answer;
782 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaComponentName()
861 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetId()
950 doAnswer(new Answer<Void>() { in testUpdateAppWidgetViaWidgetIds()
1031 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetId()
1111 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetIds()
1135 doAnswer(new Answer<Void>() { in testPartiallyUpdateAppWidgetViaWidgetIds()
1205 doAnswer(new Answer<Void>() { in testCollectionWidgets()
1246 doAnswer(new Answer<Integer>() { in testCollectionWidgets()
1252 doAnswer(new Answer<RemoteViews>() { in testCollectionWidgets()
[all …]