Home
last modified time | relevance | path

Searched refs:within (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
157 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testPlayVideo()
163 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testPlayVideo()
206 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testAudioAttributes()
229 verify(mockErrorListener, within(TIME_OUT)).onError( in testSetOnErrorListener()
250 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testGetBufferPercentage()
DFilterTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
114 verify(mockFilterListener, within(TIME_OUT)).onFilterComplete(anyInt()); in testFilter2()
DSlidingDrawerTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
263 verify(mockScrollListener, within(TEST_TIMEOUT)).onScrollStarted(); in testSetOnDrawerScrollListener()
264 verify(mockScrollListener, within(TEST_TIMEOUT)).onScrollEnded(); in testSetOnDrawerScrollListener()
DAbsListViewTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
296 verify(mockScrollListener, within(20000)).onScrollStateChanged( in fling()
634 verify(mockOnItemLongClickListener, within(5000)).onItemLongClick(listView, v, 2, in testGetContextMenuInfo()
1015 verify(mMultiChoiceModeListener, within(1000)).onItemCheckedStateChanged( in testMultiSelectionWithLongPressAndTaps()
1026 verify(mMultiChoiceModeListener, within(1000)).onItemCheckedStateChanged( in testMultiSelectionWithLongPressAndTaps()
1041 verify(mMultiChoiceModeListener, within(1000)).onItemCheckedStateChanged( in testMultiSelectionWithLongPressAndTaps()
/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
137 verify(targetActivity.enterListener, within(3000)).onTransitionEnd(any()); in viewsNotStripped()
161 verify(mReenterListener, within(3000)).onTransitionEnd(any()); in viewsNotStripped()
162 verify(mSharedElementReenterListener, within(3000)).onTransitionEnd(any()); in viewsNotStripped()
209 verify(targetActivity.enterListener, within(3000)).onTransitionEnd(any()); in viewsStripped()
232 verify(mReenterListener, within(3000)).onTransitionEnd(any()); in viewsStripped()
233 verify(mSharedElementReenterListener, within(3000)).onTransitionEnd(any()); in viewsStripped()
283 verify(targetActivity.enterListener, within(3000)).onTransitionEnd(any()); in earlyExitStop()
284 verify(mExitListener, within(3000)).onTransitionEnd(any()); in earlyExitStop()
364 verify(mExitListener, within(3000)).onTransitionEnd(any()); in untargetedViews()
[all …]
DSlideEdgeTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
90 verify(listener, within(1000)).onTransitionStart(any()); in testSlideOut()
130 verify(listener, within(1000)).onTransitionEnd(any()); in testSlideOut()
173 verify(listener, within(1000)).onTransitionStart(any()); in testSlideIn()
214 verify(listener, within(1000)).onTransitionEnd(any()); in testSlideIn()
DBaseTransitionTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
76 verify(listener, within(4000)).onTransitionStart(any()); in waitForStart()
88 verify(listener, within(waitMillis)).onTransitionEnd(any()); in waitForEnd()
DTransitionSetTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
92 verify(fadeListener, within(400)).onTransitionEnd(any()); in testTransitionSequentially()
DTransitionTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
448 verify(listener, within(100)).onAnimationStart(any(), eq(false)); in testInterpolator()
505 verify(listener, within(100)).onAnimationStart(any(), eq(false)); in testPropagation()
537 verify(listener, within(250)).onAnimationStart(any(), eq(false)); in testStartDelay()
590 verify(mListener, within(500)).onTransitionEnd(any()); in testGetTransitionProperties()
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
97 verify(listener, within(TIMEOUT_MS)).onGlobalFocusChanged(view1, view2); in testAddOnGlobalFocusChangeListener()
163 verify(listener, within(TIMEOUT_MS)).onTouchModeChanged(anyBoolean()); in testAddOnTouchModeChangeListener()
226 verify(listener, within(TIMEOUT_MS)).onGlobalFocusChanged(view1, view2); in testRemoveOnGlobalFocusChangeListener()
272 verify(listener, within(TIMEOUT_MS)).onTouchModeChanged(anyBoolean()); in testRemoveOnTouchModeChangeListener()
299 verify(listener, within(TIMEOUT_MS)).onScrollChanged(); in testAccessOnScrollChangedListener()
DView_UsingViewsTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
391 verify(onLongClickListener, within(1000)).onLongClick(mEditText); in testSetupListeners()
/cts/tests/fragment/src/android/fragment/cts/
DTransitionFragment.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
74 verify(mListener, within(500)).onTransitionEnd(any()); in waitForTransition()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsMockitoUtils.java23 public static VerificationMode within(long timeout) { in within() method in CtsMockitoUtils
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
436 verify(listener, within(300)).onAnimationEnd(a2, true); in testReverseWithStartDelay()
442 verify(setListener, within(400)).onAnimationEnd(set, true); in testReverseWithStartDelay()
477 verify(setListener, within(100)).onAnimationEnd(set, false); in testZeroDurationScale()
519 verify(listener1, within(400)).onAnimationStart(a1, false); in testDurationScale()
521 verify(listener1, within(500)).onAnimationEnd(a1, false); in testDurationScale()
527 verify(listener2, within(800)).onAnimationStart(a2, false); in testDurationScale()
532 verify(setListener, within(500)).onAnimationEnd(set, false); in testDurationScale()
561 verify(setListener, within(400)).onAnimationEnd(set, false); in testMultipleAnimatorsPlayTogether()
738 verify(mockListener, within(300)).onAnimationEnd(set, false); in testSeeking()
[all …]
DValueAnimatorTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
282 verify(listener, within(200)).onAnimationEnd(anim, false); in testSetCurrentPlayTimeAfterStart()
363 verify(listener, within(200)).onAnimationEnd(a1, false); in testUpdateListeners()
405 verify(l1, within(200)).onAnimationEnd(a1, false); in testValuesSetterAndGetter()
442 verify(l1, within(200)).onAnimationEnd(a1, false); in testSetObjectValues()
DObjectAnimatorTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
278 verify(listener, within(500)).onAnimationEnd(anim, false); in testNullObject()
421 verify(listener, within(400)).onAnimationEnd(anim, false); in testOfFloat_Path()
540 verify(listener, within(400)).onAnimationEnd(anim, false); in testOfMultiFloat_Path()
641 verify(listener, within(400)).onAnimationEnd(anim, false); in testOfMultiInt_Path()
DPropertyValuesHolderTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
147 verify(listener, within(timeoutMilliseconds)).onAnimationEnd(objectAnimator, false); in waitUntilFinished()
366 verify(listener, within(400)).onAnimationEnd(anim, false); in testOfMultiFloat_Path()
460 verify(listener, within(400)).onAnimationEnd(anim, false); in testOfMultiInt_Path()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dluts_for_speedup_f32.rsh41 // For a depth value within the focal layer, only depth values in front
44 // than y but is still within the focal layer is _not_ considered as an
Dlayer_info.rsh19 // distance transform result to be a matte value within [0,1].
Dlayer_info_fast.rsh19 // distance transform result to be a matte value within [0,1].
Dlayered_filter_d1new_helper.rsh77 // If sharp->matte > 0, depth must be within the depth range of this layer.
117 // If sharp->matte > 0, depth must be within the depth range of this layer.
Dlayered_filter_f32_helper.rsh57 // If sharp->matte > 0, depth must be within the depth range of this layer.
/cts/tests/expectations/
Dknownfailures.txt259 description: "unit testing for MediaPreparer lives within mediastress module",
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale77 performance measurement, i.e. within the measurement loop - the
88 names have been made unique within the first 8 characters for the C