Home
last modified time | relevance | path

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

12345678910>>...18

/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerLauncherCallbackTest.java107 public synchronized void reset() { in reset() method in ShortcutManagerLauncherCallbackTest.MyCallback
154 final Runnable reset = () -> { in testCallbacks() local
160 c.reset(); in testCallbacks()
165 reset.run(); in testCallbacks()
179 reset.run(); in testCallbacks()
192 reset.run(); in testCallbacks()
205 reset.run(); in testCallbacks()
218 reset.run(); in testCallbacks()
231 reset.run(); in testCallbacks()
244 reset.run(); in testCallbacks()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java101 listener.reset(); in testSetOnHierarchyChangeListener()
106 listener.reset(); in testSetOnHierarchyChangeListener()
142 listener.reset(); in testInternalCheckedStateTracker()
147 listener.reset(); in testInternalCheckedStateTracker()
154 listener.reset(); in testInternalCheckedStateTracker()
158 listener.reset(); in testInternalCheckedStateTracker()
194 listener.reset(); in testClearCheck()
205 listener.reset(); in testClearCheck()
215 listener.reset(); in testClearCheck()
230 listener.reset(); in testCheck()
[all …]
/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/AlarmManager/src/android/alarmmanager/cts/
DBasicApiTests.java147 mMockAlarmReceiver.reset(); in testSetTypes()
160 mMockAlarmReceiver.reset(); in testSetTypes()
177 mMockAlarmReceiver.reset(); in testAlarmTriggersImmediatelyIfSetTimeIsNegative()
209 mMockAlarmReceiver.reset(); in testExactAlarmBatching()
210 mMockAlarmReceiver2.reset(); in testExactAlarmBatching()
247 mMockAlarmReceiver.reset(); in testSetExactWithWorkSource()
263 mMockAlarmReceiver.reset(); in testSetExact()
276 mMockAlarmReceiver.reset(); in testSetWindow()
288 mMockAlarmReceiver.reset(); in testSetRepeating()
302 mMockAlarmReceiver.reset(); in testSetRepeating()
[all …]
/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/security/src/android/security/cts/
DBitmapTest.java133 wrapper.reset() in test_inplace_213169612()
140 wrapper.reset() in test_inplace_213169612()
151 wrapper.reset() in test_inplace_213169612()
177 wrapper.reset() in test_ashmem_213169612()
188 wrapper.reset() in test_ashmem_213169612()
199 wrapper.reset() in test_ashmem_213169612()
211 wrapper.reset() in test_ashmem_213169612()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java270 mp.reset(); in testVorbisCrash()
367 mp.reset(); in testPlayAudioFromDataURI()
436 mp.reset();
516 mOnCompletionCalled.reset(); in testPlayAudioLooping()
577 mp.reset(); in runMidiTest()
605 void reset() {
637 reset();
706 void reset() { in reset() method in OutputListener
747 listener.reset(); in testPlayAudioTwice()
768 player.reset(); in initMediaPlayer()
[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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicyDrawableResources.java78 public void reset(String... resourceIds) { in reset() method in DevicePolicyDrawableResources
79 reset(new HashSet<>(Arrays.asList(resourceIds))); in reset()
85 public void reset(Set<String> resourceIds) { in reset() method in DevicePolicyDrawableResources
DDevicePolicyStringResources.java90 public void reset(String... resourceIds) { in reset() method in DevicePolicyStringResources
91 reset(new HashSet<>(Arrays.asList(resourceIds))); in reset()
97 public void reset(Set<String> resourceIds) { in reset() method in DevicePolicyStringResources
/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()
/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/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaControllerTest.java191 mCallback.reset(); in testSendCommand()
220 mCallback.reset(); in testSetPlaybackSpeed()
289 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
295 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
301 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
307 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
313 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
319 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
325 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
331 mCallback.reset(); in testTransportControlsAndMediaSessionCallback()
[all …]
DMediaBrowserServiceTest.java150 mOnChildrenLoadedLatch.reset(); in setUp()
151 mOnChildrenLoadedWithOptionsLatch.reset(); in setUp()
152 mOnItemLoadedLatch.reset(); in setUp()
193 mOnChildrenLoadedLatch.reset(); in testNotifyChildrenChanged()
219 mOnChildrenLoadedWithOptionsLatch.reset(); in testNotifyChildrenChangedWithPagination()
224 mOnChildrenLoadedWithOptionsLatch.reset(); in testNotifyChildrenChangedWithPagination()
235 mOnChildrenLoadedWithOptionsLatch.reset(); in testNotifyChildrenChangedWithPagination()
255 mOnChildrenLoadedLatch.reset(); in testDelayedNotifyChildrenChanged()
396 browserCallback.reset(); in testSetNullSessionToken()
440 public void reset() { in reset() method in MediaBrowserServiceTest.MediaBrowserCallbackImpl
[all …]
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserInputReader.java33 public void reset() { in reset() method in MockMediaParserInputReader
34 mFakeExtractorInput.reset(); in reset()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaScannerNotificationTest.java67 startedReceiver.reset(); in testMediaScannerNotification()
68 finishedReceiver.reset(); in testMediaScannerNotification()
78 startedReceiver.reset(); in testMediaScannerNotification()
79 finishedReceiver.reset(); in testMediaScannerNotification()
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderBlockModelMultiAccessUnitTest.java149 mOutputBuff.reset(); in testSimpleDecode()
157 mCodec.reset(); in testSimpleDecode()
224 test.reset(); in testFlush()
230 test.reset(); in testFlush()
241 test.reset(); in testFlush()
254 test.reset(); in testFlush()
347 test.reset(); in testReconfigure()
361 test.reset(); in testReconfigure()
381 configTest.reset(); in testReconfigure()
/cts/tests/tests/os/src/android/os/cts/
DPowerManager_ThermalTest.java24 import static org.mockito.Mockito.reset;
101 reset(mListener1); in testThermalStatusCallback()
106 reset(mListener1); in testThermalStatusCallback()
117 reset(mListener2); in testThermalStatusCallback()
124 reset(mListener1); in testThermalStatusCallback()
125 reset(mListener2); in testThermalStatusCallback()
/cts/tests/tests/car/src/android/car/cts/
DCarAppFocusManagerTest.java255 change.reset(); in testFocusChange()
256 change2.reset(); in testFocusChange()
269 change.reset(); in testFocusChange()
270 change2.reset(); in testFocusChange()
287 change.reset(); in testFocusChange()
288 change2.reset(); in testFocusChange()
307 change.reset(); in testFocusChange()
308 change2.reset(); in testFocusChange()
354 listener.reset(); in testFilter()
355 listener2.reset(); in testFilter()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierMessagingServiceWrapperTest.java147 Mockito.reset(mCallback); in testReceiveSms()
167 Mockito.reset(mCallback); in testSendTextSms()
186 Mockito.reset(mCallback); in testSendDataSms()
210 Mockito.reset(mCallback); in testSendMultipartTextSms()
229 Mockito.reset(mCallback); in testDownloadMms()
246 Mockito.reset(mCallback); in testSendMms()

12345678910>>...18