Home
last modified time | relevance | path

Searched refs:when (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java25 import static org.mockito.Mockito.when;
419 doAnswer(layoutAnswer).when(adapter).onLayout(any(PrintAttributes.class), in createMockPrintDocumentAdapter()
424 doAnswer(writeAnswer).when(adapter).onWrite(any(PageRange[].class), in createMockPrintDocumentAdapter()
429 doAnswer(finishAnswer).when(adapter).onFinish(); in createMockPrintDocumentAdapter()
441 doCallRealMethod().when(callbacks).setSession(any(StubbablePrinterDiscoverySession.class)); in createMockPrinterDiscoverySessionCallbacks()
442 when(callbacks.getSession()).thenCallRealMethod(); in createMockPrinterDiscoverySessionCallbacks()
445 doAnswer(onStartPrinterDiscovery).when(callbacks).onStartPrinterDiscovery( in createMockPrinterDiscoverySessionCallbacks()
449 doAnswer(onStopPrinterDiscovery).when(callbacks).onStopPrinterDiscovery(); in createMockPrinterDiscoverySessionCallbacks()
452 doAnswer(onValidatePrinters).when(callbacks).onValidatePrinters( in createMockPrinterDiscoverySessionCallbacks()
456 doAnswer(onStartPrinterStateTracking).when(callbacks).onStartPrinterStateTracking( in createMockPrinterDiscoverySessionCallbacks()
[all …]
/cts/tests/tests/app/src/android/app/cts/
DNotificationTest.java50 assertTrue(System.currentTimeMillis() - mNotification.when < TOLERANCE); in testConstructor()
55 assertEquals(notificationTime, mNotification.when); in testConstructor()
99 assertEquals(mNotification.when, result.when);
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java791 }).when(secondAppHostViewListener).onUpdateAppWidget(any(RemoteViews.class)); in testUpdateAppWidgetViaComponentName()
870 }).when(appHostViewListener).onUpdateAppWidget(any(RemoteViews.class)); in testUpdateAppWidgetViaWidgetId()
959 }).when(secondAppHostViewListener).onUpdateAppWidget(any(RemoteViews.class)); in testUpdateAppWidgetViaWidgetIds()
1040 }).when(appHostViewListener).onUpdateAppWidget(any(RemoteViews.class)); in testPartiallyUpdateAppWidgetViaWidgetId()
1120 }).when(firstAppHostViewListener).onUpdateAppWidget(any(RemoteViews.class)); in testPartiallyUpdateAppWidgetViaWidgetIds()
1144 }).when(secondAppHostViewListener).onUpdateAppWidget(any(RemoteViews.class)); in testPartiallyUpdateAppWidgetViaWidgetIds()
1227 }).when(callbacks).onUpdate(any(Context.class), any(AppWidgetManager.class), in testCollectionWidgets()
1251 }).when(factory).getCount(); in testCollectionWidgets()
1263 }).when(factory).getViewAt(any(int.class)); in testCollectionWidgets()
1269 }).when(factory).getViewTypeCount(); in testCollectionWidgets()
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DClipDrawableTest.java454 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument
457 mWhen = when; in scheduleDrawable()
DTransitionDrawableTest.java259 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument
DRotateDrawableTest.java243 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument
DDrawableTest.java682 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument
685 mWhen = when; in scheduleDrawable()
DDrawableWrapperTest.java140 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument
DScaleDrawableTest.java128 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument
DDrawableContainerTest.java1043 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument
DLayerDrawableTest.java372 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java226 notification.put(JSON_WHEN, sbn.getNotification().when); in onNotificationPosted()
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/
Ddocs.css392 /* Space out h3s when following a section */
843 width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
/cts/tests/expectations/
Dknownfailures.txt111 description: "test can only run properly on a user build device when the bug is resolved",
/cts/tools/dasm/src/dasm/
Dparser.cup700 /* Format: same as above. Handles the case when last argument is integer */
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js1271 when: function( firstParam ) {
/cts/tools/dex-tools/dex/
Dclasses0.out.dex48291 long when