Home
last modified time | relevance | path

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

12

/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
147 verify(targetActivity.enterListener, within(5000)).onTransitionStart(any()); in viewsNotStripped()
148 verify(targetActivity.enterListener, within(5000)).onTransitionEnd(any()); in viewsNotStripped()
172 verify(mReenterListener, within(5000)).onTransitionStart(any()); in viewsNotStripped()
173 verify(mReenterListener, within(5000)).onTransitionEnd(any()); in viewsNotStripped()
174 verify(mSharedElementReenterListener, within(5000)).onTransitionStart(any()); in viewsNotStripped()
175 verify(mSharedElementReenterListener, within(5000)).onTransitionEnd(any()); in viewsNotStripped()
221 verify(targetActivity.enterListener, within(5000)).onTransitionStart(any()); in viewsStripped()
222 verify(targetActivity.enterListener, within(5000)).onTransitionEnd(any()); in viewsStripped()
245 verify(mReenterListener, within(5000)).onTransitionStart(any()); in viewsStripped()
[all …]
DSlideEdgeTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
110 verify(listener, within(1000)).onTransitionStart(any()); in testSlideOut()
111 verify(listener, within(2000)).onTransitionEnd(any()); in testSlideOut()
175 verify(listener, within(1000)).onTransitionStart(any()); in testSlideIn()
176 verify(listener, within(2000)).onTransitionEnd(any()); in testSlideIn()
DBaseTransitionTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
82 verify(listener, within(4000)).onTransitionStart(any()); in waitForStart()
94 verify(listener, within(waitMillis)).onTransitionEnd(any()); in waitForEnd()
DTransitionSetTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
100 verify(fadeListener, within(500)).onTransitionStart(any()); in testTransitionSequentially()
108 verify(fadeListener, within(1000)).onTransitionEnd(any()); in testTransitionSequentially()
111 verify(changeBoundsListener, within(500)).onTransitionStart(any()); in testTransitionSequentially()
DTransitionTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
485 verify(listener, within(1000)).onAnimationStart(any(), eq(false)); in testInterpolator()
542 verify(listener, within(1000)).onAnimationStart(any(), eq(false)); in testPropagation()
612 verify(listener1, within(4000)).onTransitionStart(any()); in testForceToEndTransitionsDependedEachOther()
613 verify(listener2, within(4000)).onTransitionStart(any()); in testForceToEndTransitionsDependedEachOther()
621 verify(listener1, within(4000)).onTransitionEnd(any()); in testForceToEndTransitionsDependedEachOther()
622 verify(listener2, within(4000)).onTransitionEnd(any()); in testForceToEndTransitionsDependedEachOther()
642 verify(listener, within(1000)).onAnimationStart(any(), eq(false)); in testStartDelay()
695 verify(mListener, within(2000)).onTransitionEnd(any()); in testGetTransitionProperties()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dstruct_field.rscript56 // within struct Outer.
62 // struct InnerOne within struct Outer.
69 // struct InnerTwo (with nested InnerOne flattened out) within struct Outer.
104 // Compare contents of a struct InnerOne instance within global
111 // instance within global variable "outer" against incoming argument values.
117 // instance within global variable "outer" against incoming argument values.
/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
161 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testPlayVideo()
167 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testPlayVideo()
209 verify(mockCompletionListener, within(TIME_OUT)).onCompletion(any(MediaPlayer.class)); in testAudioAttributes()
231 verify(mockErrorListener, within(TIME_OUT)).onError( in testSetOnErrorListener()
251 verify(mockPreparedListener, within(TIME_OUT)).onPrepared(any(MediaPlayer.class)); in testGetBufferPercentage()
DFilterTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
126 verify(mockFilterListener, within(TIME_OUT)).onFilterComplete(anyInt()); in testFilter2()
DPopupMenuTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
201 verify(mBuilder.mOnDismissListener, within(1000)).onDismiss(mPopupMenu); in testDismissalViaAPI()
236 verify(mBuilder.mOnDismissListener, within(1000)).onDismiss(mPopupMenu); in testNestedDismissalViaAPI()
272 verify(mBuilder.mOnDismissListener, within(1000)).onDismiss(mPopupMenu); in testDismissalViaTouch()
294 verify(mBuilder.mOnDismissListener, within(1000)).onDismiss(mPopupMenu); in testSimpleMenuItemClickViaAPI()
DSlidingDrawerTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
272 verify(mockScrollListener, within(TEST_TIMEOUT)).onScrollStarted(); in testSetOnDrawerScrollListener()
273 verify(mockScrollListener, within(TEST_TIMEOUT)).onScrollEnded(); in testSetOnDrawerScrollListener()
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java19 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
112 verify(listener, within(TIMEOUT_MS)).onGlobalFocusChanged(view1, view2); in testAddOnGlobalFocusChangeListener()
159 verify(activeListener, within(TIMEOUT_MS)).run(); in testFrameCommitListener()
193 verify(listener, within(TIMEOUT_MS)).onTouchModeChanged(anyBoolean()); in testAddOnTouchModeChangeListener()
256 verify(listener, within(TIMEOUT_MS)).onGlobalFocusChanged(view1, view2); in testRemoveOnGlobalFocusChangeListener()
305 verify(listener, within(TIMEOUT_MS)).onTouchModeChanged(anyBoolean()); in testRemoveOnTouchModeChangeListener()
332 verify(listener, within(TIMEOUT_MS)).onScrollChanged(); in testAccessOnScrollChangedListener()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMockitoUtils.java23 public static VerificationMode within(long timeout) { in within() method in CtsMockitoUtils
/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/tools/cts-api-coverage/proto/
Dcts_report.proto275 // Group of test suites within a specific java package.
281 // Unique name describing the test package within the java package.
289 // Unique name describing the test suite within the test package.
295 // Unique name describing the test case within the test suite.
302 // Unique name describing the test within the test case.
/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].
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_triggered_start/
DAreaIdSetType.java39 within(1), enumConstant
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
476 verify(listener, within(300)).onAnimationEnd(a2, true); in testReverseWithStartDelay()
482 verify(setListener, within(400)).onAnimationEnd(set, true); in testReverseWithStartDelay()
517 verify(setListener, within(100)).onAnimationEnd(set, false); in testZeroDurationScale()
559 verify(listener1, within(400)).onAnimationStart(a1, false); in testDurationScale()
561 verify(listener1, within(500)).onAnimationEnd(a1, false); in testDurationScale()
567 verify(listener2, within(800)).onAnimationStart(a2, false); in testDurationScale()
572 verify(setListener, within(500)).onAnimationEnd(set, false); in testDurationScale()
601 verify(setListener, within(400)).onAnimationEnd(set, false); in testMultipleAnimatorsPlayTogether()
777 verify(mockListener, within(300)).onAnimationEnd(set, false); in testSeeking()
[all …]
DValueAnimatorTest.java18 import static com.android.compatibility.common.util.CtsMockitoUtils.within;
295 verify(listener, within(200)).onAnimationEnd(anim, false); in testSetCurrentPlayTimeAfterStart()
376 verify(listener, within(200)).onAnimationEnd(a1, false); in testUpdateListeners()
418 verify(l1, within(200)).onAnimationEnd(a1, false); in testValuesSetterAndGetter()
455 verify(l1, within(200)).onAnimationEnd(a1, false); in testSetObjectValues()
/cts/tests/signature/api-check/android-test-base-uses-library-api/
DAndroid.bp26 // Ensure that any android.test and junit classes embedded within this test do not conflict with
/cts/tests/signature/api-check/android-test-mock-current-api/
DAndroid.bp26 // Ensure that any android.test and junit classes embedded within this test do not conflict with
/cts/tests/signature/api-check/android-test-runner-current-api/
DAndroid.bp26 // Ensure that any android.test and junit classes embedded within this test do not conflict with
/cts/tests/signature/api-check/android-test-base-current-api/
DAndroid.bp26 // Ensure that any android.test and junit classes embedded within this test do not conflict with
/cts/tests/signature/api-check/android-test-base-29-api/
DAndroid.bp26 // Ensure that any android.test and junit classes embedded within this test do not conflict with

12