/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | StubbableAppWidgetProvider.java | 27 AppWidgetProviderCallbacks callbacks = getCallbacks(); in onUpdate() local 28 if (callbacks != null) { in onUpdate() 29 callbacks.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate() 36 AppWidgetProviderCallbacks callbacks = getCallbacks(); in onAppWidgetOptionsChanged() local 37 if (callbacks != null) { in onAppWidgetOptionsChanged() 38 callbacks.onAppWidgetOptionsChanged(context, appWidgetManager, appWidgetId, newOptions); in onAppWidgetOptionsChanged() 44 AppWidgetProviderCallbacks callbacks = getCallbacks(); in onDeleted() local 45 if (callbacks != null) { in onDeleted() 46 callbacks.onDeleted(context, appWidgetIds); in onDeleted() 52 AppWidgetProviderCallbacks callbacks = getCallbacks(); in onEnabled() local [all …]
|
D | FirstAppWidgetProvider.java | 24 public static void setCallbacks(AppWidgetProviderCallbacks callbacks) { in setCallbacks() argument 26 sCallbacks = callbacks; in setCallbacks()
|
D | SecondAppWidgetProvider.java | 24 public static void setCallbacks(AppWidgetProviderCallbacks callbacks) { in setCallbacks() argument 26 sCallbacks = callbacks; in setCallbacks()
|
/cts/tests/tests/print/src/android/print/cts/services/ |
D | StubbablePrintService.java | 27 PrintServiceCallbacks callbacks = getCallbacks(); in onCreatePrinterDiscoverySession() local 28 if (callbacks != null) { in onCreatePrinterDiscoverySession() 37 PrintServiceCallbacks callbacks = getCallbacks(); in onRequestCancelPrintJob() local 38 if (callbacks != null) { in onRequestCancelPrintJob() 39 callbacks.onRequestCancelPrintJob(printJob); in onRequestCancelPrintJob() 45 PrintServiceCallbacks callbacks = getCallbacks(); in onPrintJobQueued() local 46 if (callbacks != null) { in onPrintJobQueued() 47 callbacks.onPrintJobQueued(printJob); in onPrintJobQueued()
|
D | SecondPrintService.java | 25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks() argument 27 sCallbacks = callbacks; in setCallbacks()
|
D | FirstPrintService.java | 25 public static void setCallbacks(PrintServiceCallbacks callbacks) { in setCallbacks() argument 27 sCallbacks = callbacks; in setCallbacks()
|
D | StubbablePrinterDiscoverySession.java | 32 PrinterDiscoverySessionCallbacks callbacks) { in StubbablePrinterDiscoverySession() argument 34 mCallbacks = callbacks; in StubbablePrinterDiscoverySession()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BasicInCallServiceTest.java | 73 final InCallServiceCallbacks callbacks = createCallbacks(); in testTelephonyCall_bindsToInCallServiceAndAddsCall() local 75 MockInCallService.setCallbacks(callbacks); in testTelephonyCall_bindsToInCallServiceAndAddsCall() 80 if (callbacks.lock.tryAcquire(TestUtils.WAIT_FOR_CALL_ADDED_TIMEOUT_S, in testTelephonyCall_bindsToInCallServiceAndAddsCall() 91 final InCallServiceCallbacks callbacks = new InCallServiceCallbacks() { in createCallbacks() local 99 return callbacks; in createCallbacks()
|
D | MockCallScreeningService.java | 69 public static void setCallbacks(CallScreeningServiceCallbacks callbacks) { in setCallbacks() argument 70 sCallbacks = callbacks; in setCallbacks()
|
D | CallScreeningServiceTest.java | 97 CallScreeningServiceCallbacks callbacks = createCallbacks(); in testTelephonyCall_bindsToCallScreeningService() local 98 MockCallScreeningService.setCallbacks(callbacks); in testTelephonyCall_bindsToCallScreeningService() 102 if (callbacks.lock.tryAcquire(TestUtils.WAIT_FOR_CALL_ADDED_TIMEOUT_S, in testTelephonyCall_bindsToCallScreeningService()
|
D | MockInCallService.java | 301 public static void setCallbacks(InCallServiceCallbacks callbacks) { in setCallbacks() argument 303 sCallbacks = callbacks; in setCallbacks()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 202 AppWidgetProviderCallbacks callbacks = createAppWidgetProviderCallbacks(invocationCounter); in testAppWidgetProviderCallbacks() local 203 FirstAppWidgetProvider.setCallbacks(callbacks); in testAppWidgetProviderCallbacks() 277 InOrder inOrder = inOrder(callbacks); in testAppWidgetProviderCallbacks() 279 inOrder.verify(callbacks).onEnabled(any(Context.class)); in testAppWidgetProviderCallbacks() 280 inOrder.verify(callbacks).onUpdate(any(Context.class), in testAppWidgetProviderCallbacks() 282 inOrder.verify(callbacks).onAppWidgetOptionsChanged(any(Context.class), in testAppWidgetProviderCallbacks() 285 inOrder.verify(callbacks).onUpdate(any(Context.class), in testAppWidgetProviderCallbacks() 287 inOrder.verify(callbacks).onAppWidgetOptionsChanged(any(Context.class), in testAppWidgetProviderCallbacks() 290 inOrder.verify(callbacks).onDeleted(any(Context.class), in testAppWidgetProviderCallbacks() 292 inOrder.verify(callbacks).onDeleted(any(Context.class), in testAppWidgetProviderCallbacks() [all …]
|
/cts/tests/tests/print/src/android/print/cts/ |
D | BasePrintTest.java | 659 PrinterDiscoverySessionCallbacks callbacks = mock(PrinterDiscoverySessionCallbacks.class); in createMockPrinterDiscoverySessionCallbacks() local 661 doCallRealMethod().when(callbacks).setSession(any(StubbablePrinterDiscoverySession.class)); in createMockPrinterDiscoverySessionCallbacks() 662 when(callbacks.getSession()).thenCallRealMethod(); in createMockPrinterDiscoverySessionCallbacks() 665 doAnswer(onStartPrinterDiscovery).when(callbacks).onStartPrinterDiscovery( in createMockPrinterDiscoverySessionCallbacks() 669 doAnswer(onStopPrinterDiscovery).when(callbacks).onStopPrinterDiscovery(); in createMockPrinterDiscoverySessionCallbacks() 672 doAnswer(onValidatePrinters).when(callbacks).onValidatePrinters( in createMockPrinterDiscoverySessionCallbacks() 676 doAnswer(onStartPrinterStateTracking).when(callbacks).onStartPrinterStateTracking( in createMockPrinterDiscoverySessionCallbacks() 680 doAnswer(onRequestCustomPrinterIcon).when(callbacks).onRequestCustomPrinterIcon( in createMockPrinterDiscoverySessionCallbacks() 685 doAnswer(onStopPrinterStateTracking).when(callbacks).onStopPrinterStateTracking( in createMockPrinterDiscoverySessionCallbacks() 689 doAnswer(onDestroy).when(callbacks).onDestroy(); in createMockPrinterDiscoverySessionCallbacks() [all …]
|
D | PrintDocumentAdapterContractTest.java | 1817 final PrinterDiscoverySessionCallbacks callbacks = in createFirstMockPrintServiceCallbacks() local 1900 return callbacks; in createFirstMockPrintServiceCallbacks()
|
/cts/tests/expectations/ |
D | knownfailures.txt | 198 description: "The timing measurements for preview callbacks are not reliable",
|