Home
last modified time | relevance | path

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

12345678910>>...13

/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.java92 listener.reset(); in testSetOnHierarchyChangeListener()
97 listener.reset(); in testSetOnHierarchyChangeListener()
133 listener.reset(); in testInternalCheckedStateTracker()
138 listener.reset(); in testInternalCheckedStateTracker()
145 listener.reset(); in testInternalCheckedStateTracker()
149 listener.reset(); in testInternalCheckedStateTracker()
185 listener.reset(); in testClearCheck()
196 listener.reset(); in testClearCheck()
206 listener.reset(); in testClearCheck()
221 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 …]
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBasicApiTests.java139 mMockAlarmReceiver.reset(); in testSetTypes()
152 mMockAlarmReceiver.reset(); in testSetTypes()
169 mMockAlarmReceiver.reset(); in testAlarmTriggersImmediatelyIfSetTimeIsNegative()
201 mMockAlarmReceiver.reset(); in testExactAlarmBatching()
202 mMockAlarmReceiver2.reset(); in testExactAlarmBatching()
239 mMockAlarmReceiver.reset(); in testSetExactWithWorkSource()
254 mMockAlarmReceiver.reset(); in testSetExact()
265 mMockAlarmReceiver.reset(); in testSetRepeating()
279 mMockAlarmReceiver.reset(); in testSetRepeating()
309 mMockAlarmReceiver.reset(); in testSetPrioritized()
[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/rotationresolverservice/src/android/rotationresolverservice/cts/
DCtsTestRotationResolverService.java45 reset(); in onResolveRotation()
51 public static void reset() { in reset() method in CtsTestRotationResolverService
59 reset(); in respondSuccess()
66 reset(); in respondFailure()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java203 mp.reset(); in testVorbisCrash()
265 mp.reset(); in testPlayAudioFromDataURI()
329 mp.reset();
394 mOnCompletionCalled.reset(); in testPlayAudioLooping()
457 mp.reset(); in runMidiTest()
485 void reset() {
517 reset();
582 void reset() { in reset() method in OutputListener
615 listener.reset(); in testPlayAudioTwice()
633 player.reset(); in initMediaPlayer()
[all …]
DMediaControllerTest.java163 mCallback.reset(); in testSendCommand()
198 mCallback.reset(); in testSetPlaybackSpeed()
264 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
270 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
276 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
282 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
288 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
294 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
300 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
306 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
[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/os/src/android/os/cts/
DPowerManager_ThermalTest.java24 import static org.mockito.Mockito.reset;
88 reset(mListener1); in testThermalStatusCallback()
93 reset(mListener1); in testThermalStatusCallback()
104 reset(mListener2); in testThermalStatusCallback()
111 reset(mListener1); in testThermalStatusCallback()
112 reset(mListener2); in testThermalStatusCallback()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawable_ConstantStateTest.java21 import static org.mockito.Mockito.reset;
51 reset(mock); in testNewDrawable()
55 reset(mock); in testNewDrawable()
59 reset(mock); in testNewDrawable()
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 …]
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()
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
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 …]
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 …]
/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/media/src/android/mediav2/cts/
DCodecDecoderSurfaceTest.java166 mOutputBuff.reset(); in testSimpleDecodeToSurface()
175 else mCodec.reset(); in testSimpleDecodeToSurface()
247 test.reset(); in testFlush()
255 test.reset(); in testFlush()
268 test.reset(); in testFlush()
275 else mCodec.reset(); in testFlush()
343 test.reset(); in testReconfigure()
350 else mCodec.reset(); in testReconfigure()
359 test.reset(); in testReconfigure()
366 else mCodec.reset(); in testReconfigure()
[all …]
DCodecEncoderTest.java186 mOutputBuff.reset(); in testSimpleEncode()
197 else mCodec.reset(); in testSimpleEncode()
254 mOutputBuff.reset(); in testLosslessEncodeDecode()
263 else mCodec.reset(); in testLosslessEncodeDecode()
342 mOutputBuff.reset(); in testFlush()
352 mOutputBuff.reset(); in testFlush()
375 mOutputBuff.reset(); in testFlush()
383 else mCodec.reset(); in testFlush()
480 test.reset(); in testReconfigure()
486 else mCodec.reset(); in testReconfigure()
[all …]
DCodecDecoderTest.java231 mOutputBuff.reset(); in testSimpleDecode()
248 else mCodec.reset(); in testSimpleDecode()
344 test.reset(); in testFlush()
356 test.reset(); in testFlush()
369 test.reset(); in testFlush()
376 else mCodec.reset(); in testFlush()
486 test.reset(); in testReconfigure()
494 else mCodec.reset(); in testReconfigure()
512 test.reset(); in testReconfigure()
520 else mCodec.reset(); in testReconfigure()
[all …]
/cts/tests/tests/car/src/android/car/cts/
DCarAppFocusManagerTest.java233 change.reset(); in testFocusChange()
234 change2.reset(); in testFocusChange()
247 change.reset(); in testFocusChange()
248 change2.reset(); in testFocusChange()
265 change.reset(); in testFocusChange()
266 change2.reset(); in testFocusChange()
285 change.reset(); in testFocusChange()
286 change2.reset(); in testFocusChange()
332 listener.reset(); in testFilter()
333 listener2.reset(); in testFilter()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierMessagingServiceWrapperTest.java127 Mockito.reset(mCallback); in testReceiveSms()
147 Mockito.reset(mCallback); in testSendTextSms()
166 Mockito.reset(mCallback); in testSendDataSms()
190 Mockito.reset(mCallback); in testSendMultipartTextSms()
209 Mockito.reset(mCallback); in testDownloadMms()
226 Mockito.reset(mCallback); in testSendMms()
/cts/hostsidetests/packagemanager/domainverification/apps/calling/src/com/android/cts/packagemanager/verify/domain/callingapp/
DDomainVerificationCallingAppTests.kt33 fun reset() { in reset() method
34 SharedVerifications.reset(context) in reset()
/cts/hostsidetests/packagemanager/domainverification/apps/declaring/src/com/android/cts/packagemanager/verify/domain/declaringapp/
DDomainVerificationDeclaringAppTests.kt33 fun reset() { in reset() method
34 SharedVerifications.reset(context) in reset()

12345678910>>...13