Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 271) sorted by relevance

1234567891011

/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerLauncherCallbackTest.java104 public synchronized void reset() { in reset() method in ShortcutManagerLauncherCallbackTest.MyCallback
149 final Runnable reset = () -> { in testCallbacks() local
155 c.reset(); in testCallbacks()
160 reset.run(); in testCallbacks()
174 reset.run(); in testCallbacks()
187 reset.run(); in testCallbacks()
200 reset.run(); in testCallbacks()
213 reset.run(); in testCallbacks()
226 reset.run(); in testCallbacks()
239 reset.run(); in testCallbacks()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java91 listener.reset(); in testSetOnHierarchyChangeListener()
96 listener.reset(); in testSetOnHierarchyChangeListener()
132 listener.reset(); in testInternalCheckedStateTracker()
137 listener.reset(); in testInternalCheckedStateTracker()
144 listener.reset(); in testInternalCheckedStateTracker()
148 listener.reset(); in testInternalCheckedStateTracker()
184 listener.reset(); in testClearCheck()
195 listener.reset(); in testClearCheck()
205 listener.reset(); in testClearCheck()
220 listener.reset(); in testCheck()
[all …]
DExpandableListViewTest.java29 import static org.mockito.Mockito.reset;
198 reset(mockOnGroupExpandListener); in testExpandGroup()
203 reset(mockOnGroupExpandListener); in testExpandGroup()
208 reset(mockOnGroupExpandListener); in testExpandGroup()
213 reset(mockOnGroupExpandListener); in testExpandGroup()
237 reset(mockOnGroupExpandListener); in testExpandGroupSmooth()
243 reset(mockOnGroupExpandListener); in testExpandGroupSmooth()
249 reset(mockOnGroupExpandListener); in testExpandGroupSmooth()
255 reset(mockOnGroupExpandListener); in testExpandGroupSmooth()
281 reset(mockOnGroupCollapseListener); in testCollapseGroup()
[all …]
DCursorTreeAdapterTest.java27 import static org.mockito.Mockito.reset;
238 reset(mockDataSetObserver); in testNotifyDataSetChangedBoolean()
243 adapter.reset(); in testNotifyDataSetChangedBoolean()
250 reset(mockDataSetObserver); in testNotifyDataSetChangedBoolean()
255 adapter.reset(); in testNotifyDataSetChangedBoolean()
278 reset(mockDataSetObserver); in testNotifyDataSetChanged()
282 adapter.reset(); in testNotifyDataSetChanged()
305 reset(mockDataSetObserver); in testNotifyDataSetInvalidated()
309 adapter.reset(); in testNotifyDataSetInvalidated()
328 adapter.reset(); in testOnGroupCollapsed()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaControllerTest.java133 mCallback.reset(); in testSendCommand()
149 mCallback.reset(); in testSetPlaybackSpeed()
215 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
221 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
227 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
233 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
239 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
245 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
251 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
257 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
[all …]
DMediaPlayerTest.java188 mp.reset(); in testVorbisCrash()
248 mp.reset(); in testPlayAudioFromDataURI()
312 mp.reset();
374 mOnCompletionCalled.reset(); in testPlayAudioLooping()
430 mp.reset(); in testPlayMidi()
458 void reset() {
490 reset();
555 void reset() { in reset() method in OutputListener
587 listener.reset(); in testPlayAudioTwice()
605 player.reset(); in initMediaPlayer()
[all …]
DMediaRouterTest.java359 callback.reset(); in testCallback()
371 callback.reset(); in testCallback()
386 callback.reset(); in testCallback()
394 callback.reset(); in testCallback()
402 callback.reset(); in testCallback()
410 callback.reset(); in testCallback()
421 callback.reset(); in testCallback()
430 callback.reset(); in testCallback()
447 callback.reset(); in testCallback()
465 callback.reset(); in testCallback()
[all …]
DMediaScannerNotificationTest.java63 startedReceiver.reset(); in testMediaScannerNotification()
64 finishedReceiver.reset(); in testMediaScannerNotification()
74 startedReceiver.reset(); in testMediaScannerNotification()
75 finishedReceiver.reset(); in testMediaScannerNotification()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableWrapperTest.java30 import static org.mockito.Mockito.reset;
108 reset(cb); in testInvalidateDrawable()
112 reset(cb); in testInvalidateDrawable()
128 reset(cb); in testScheduleDrawable()
132 reset(cb); in testScheduleDrawable()
148 reset(cb); in testUnscheduleDrawable()
152 reset(cb); in testUnscheduleDrawable()
175 reset(mockDrawable); in testDraw()
233 reset(mockDrawable); in testSetVisible()
238 reset(mockDrawable); in testSetVisible()
[all …]
DDrawableContainerTest.java35 import static org.mockito.Mockito.reset;
109 reset(dr); in testDraw()
114 reset(dr); in testDraw()
235 reset(mockDrawable); in testSetAlpha()
240 reset(mockDrawable); in testSetAlpha()
255 reset(dr); in testSetDither()
260 reset(dr); in testSetDither()
275 dr.reset(); in testSetHotspotBounds()
281 dr.reset(); in testSetHotspotBounds()
294 dr.reset(); in testGetHotspotBounds()
[all …]
DLevelListDrawableTest.java76 mLevelListDrawable.reset(); in testAddLevel()
82 mLevelListDrawable.reset(); in testAddLevel()
88 mLevelListDrawable.reset(); in testAddLevel()
102 mLevelListDrawable.reset(); in testOnLevelChange()
107 mLevelListDrawable.reset(); in testOnLevelChange()
138 mLevelListDrawable.reset(); in testInflate()
150 mLevelListDrawable.reset(); in testInflate()
227 public void reset() { in reset() method in LevelListDrawableTest.MockLevelListDrawable
DTransitionDrawableTest.java26 import static org.mockito.Mockito.reset;
94 reset(cb); in testStartTransition()
101 reset(cb); in testStartTransition()
121 reset(cb); in testResetTransition()
129 reset(cb); in testResetTransition()
147 reset(cb); in testReverseTransition()
154 reset(cb); in testReverseTransition()
162 reset(cb); in testReverseTransition()
DScaleDrawableTest.java33 import static org.mockito.Mockito.reset;
98 reset(callback); in testInvalidateDrawable()
102 reset(callback); in testInvalidateDrawable()
119 reset(callback); in testScheduleDrawable()
123 reset(callback); in testScheduleDrawable()
140 reset(callback); in testUnscheduleDrawable()
144 reset(callback); in testUnscheduleDrawable()
164 reset(mockDrawable); in testDraw()
216 reset(mockDrawable); in testSetVisible()
221 reset(mockDrawable); in testSetVisible()
[all …]
DDrawable_ConstantStateTest.java21 import static org.mockito.Mockito.reset;
51 reset(mock); in testNewDrawable()
55 reset(mock); in testNewDrawable()
59 reset(mock); in testNewDrawable()
DStateListDrawableTest.java86 mMockDrawable.reset(); in testAddState()
92 mMockDrawable.reset(); in testAddState()
97 mMockDrawable.reset(); in testAddState()
106 mMockDrawable.reset(); in testAddState()
126 mMockDrawable.reset(); in testOnStateChange()
131 mMockDrawable.reset(); in testOnStateChange()
136 mMockDrawable.reset(); in testOnStateChange()
267 mMockDrawable.reset(); in testInflate()
287 mMockDrawable.reset(); in testInflate()
437 public void reset() { in reset() method in StateListDrawableTest.MockStateListDrawable
/cts/tests/tests/car/src/android/car/cts/
DCarAppFocusManagerTest.java147 change.reset(); in testFocusChange()
148 change2.reset(); in testFocusChange()
174 change.reset(); in testFocusChange()
175 change2.reset(); in testFocusChange()
182 change.reset(); in testFocusChange()
183 change2.reset(); in testFocusChange()
190 change.reset(); in testFocusChange()
191 change2.reset(); in testFocusChange()
235 listener.reset(); in testFilter()
236 listener2.reset(); in testFilter()
[all …]
/cts/tests/attentionservice/src/android/attentionservice/cts/
DCtsTestAttentionService.java39 reset(); in onCancelAttentionCheck()
43 public static void reset() { in reset() method in CtsTestAttentionService
51 reset(); in respondSuccess()
58 reset(); in respondFailure()
/cts/tests/tests/graphics/src/android/graphics/cts/
DInterpolatorTest.java56 interpolator.reset(expected); in testReset1()
67 interpolator.reset(expected1, expected2); in testReset2()
86 interpolator.reset(1); in testTimeToValues1()
93 interpolator.reset(1); in testTimeToValues1()
100 interpolator.reset(valueCount); in testTimeToValues1()
124 interpolator.reset(1, 3); in testTimeToValues2()
136 interpolator.reset(valueCount); in testTimeToValues2()
146 interpolator.reset(2, 2); in testTimeToValues2()
241 interpolator.reset(valueCount); in testSetKeyFrame()
/cts/tests/tests/os/src/android/os/cts/
DPowerManager_ThermalTest.java22 import static org.mockito.Mockito.reset;
86 reset(mListener1); in testThermalStatusCallback()
91 reset(mListener1); in testThermalStatusCallback()
106 reset(mListener1); in testThermalStatusCallback()
107 reset(mListener2); in testThermalStatusCallback()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_callback.cpp83 reset(0); in AAudioCallbackTestData()
85 void reset(int32_t expectedFramesPerCb) { in reset() function
148 mHelper.reset(new InputStreamBuilderHelper( in SetUp()
154 mCbData.reset(new AAudioCallbackTestData()); in SetUp()
174 mCbData->reset(actualFramesPerDataCallback); in TEST_P()
248 mHelper.reset(new OutputStreamBuilderHelper( in SetUp()
254 mCbData.reset(new AAudioCallbackTestData()); in SetUp()
277 mCbData->reset(actualFramesPerDataCallback); in TEST_P()
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderSurfaceTest.java215 mOutputBuff.reset(); in testSimpleDecodeToSurface()
224 else mCodec.reset(); in testSimpleDecodeToSurface()
290 test.reset(); in testFlush()
298 test.reset(); in testFlush()
311 test.reset(); in testFlush()
318 else mCodec.reset(); in testFlush()
383 test.reset(); in testReconfigure()
390 else mCodec.reset(); in testReconfigure()
399 test.reset(); in testReconfigure()
406 else mCodec.reset(); in testReconfigure()
[all …]
DCodecDecoderTest.java263 mOutputBuff.reset(); in testSimpleDecode()
280 else mCodec.reset(); in testSimpleDecode()
399 test.reset(); in testFlush()
411 test.reset(); in testFlush()
424 test.reset(); in testFlush()
431 else mCodec.reset(); in testFlush()
547 test.reset(); in testReconfigure()
554 else mCodec.reset(); in testReconfigure()
572 test.reset(); in testReconfigure()
579 else mCodec.reset(); in testReconfigure()
[all …]
DCodecEncoderTest.java296 mOutputBuff.reset(); in testSimpleEncode()
306 else mCodec.reset(); in testSimpleEncode()
386 mOutputBuff.reset(); in testFlush()
395 mOutputBuff.reset(); in testFlush()
417 mOutputBuff.reset(); in testFlush()
424 else mCodec.reset(); in testFlush()
526 test.reset(); in testReconfigure()
532 else mCodec.reset(); in testReconfigure()
545 test.reset(); in testReconfigure()
551 else mCodec.reset(); in testReconfigure()
[all …]
DCodecUnitTest.java732 mCodec.reset(); in testFlushInUnInitState()
795 mCodec.reset(); in testGetMetaDataInUnInitState()
828 mCodec.reset(); in testGetMetaDataInRunningState()
992 mCodec.reset(); in testGetInputBufferInUnInitState()
1006 mCodec.reset(); in testGetInputBufferInInitState()
1036 mCodec.reset(); in testGetInputBufferInRunningState()
1062 mCodec.reset(); in testGetInputFormatInUnInitState()
1126 mCodec.reset(); in testGetOutputBufferInUnInitState()
1140 mCodec.reset(); in testGetOutputBufferInInitState()
1188 mCodec.reset(); in testGetOutputBufferInRunningState()
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DLinkMovementMethodTest.java26 import static org.mockito.Mockito.reset;
166 reset(mClickable0); in testOnKeyDown()
167 reset(mClickable1); in testOnKeyDown()
176 reset(mClickable0); in testOnKeyDown()
177 reset(mClickable1); in testOnKeyDown()
186 reset(mClickable0); in testOnKeyDown()
187 reset(mClickable1); in testOnKeyDown()
195 reset(mClickable0); in testOnKeyDown()
196 reset(mClickable1); in testOnKeyDown()
205 reset(mClickable0); in testOnKeyDown()
[all …]

1234567891011