/cts/tests/tests/os/src/android/os/cts/ |
D | AsyncTaskTest.java | 33 private static final long DURATION = 2000; field in AsyncTaskTest 44 doTestAsyncTask(DURATION); in testAsyncTaskWithTimeout() 50 assertEquals(RESULT, mMyAsyncTask.get(DURATION, TimeUnit.MILLISECONDS).longValue()); in doTestAsyncTask() 56 new PollingCheck(DURATION) { in doTestAsyncTask() argument 80 new PollingCheck(DURATION) { in doTestAsyncTask() argument 109 Thread.sleep(DURATION); in testCancelWithInterrupt() 122 Thread.sleep(DURATION); in testCancel() 130 Thread.sleep(DURATION); in testCancelTooLate()
|
D | ResultReceiverTest.java | 28 private static final long DURATION = 100l; field in ResultReceiverTest 35 Thread.sleep(DURATION); in testResultReceiver()
|
D | ParcelFileDescriptorTest.java | 62 private static final long DURATION = 100l; field in ParcelFileDescriptorTest 112 Thread.sleep(DURATION); in testFromSocket() 122 Thread.sleep(DURATION); in testFromSocket()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | RotateAnimationTest.java | 49 private static final long DURATION = 1000; field in RotateAnimationTest 102 rotateAnimation.setDuration(DURATION); in testRotateAgainstOrigin() 124 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstOrigin() 132 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstOrigin() 160 rotateAnimation.setDuration(DURATION); in testRotateAgainstPoint() 182 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstPoint() 190 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstPoint()
|
D | TranslateAnimationTest.java | 50 private static final long DURATION = 1000; field in TranslateAnimationTest 106 translateAnimation.setDuration(DURATION); in testApplyTransformation() 124 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testApplyTransformation() 130 translateAnimation.getTransformation(startTime + DURATION, transformation); in testApplyTransformation() 179 translateAnimation.setDuration(DURATION); in testInitialize() 193 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testInitialize() 201 translateAnimation.getTransformation(startTime + DURATION, transformation); in testInitialize()
|
D | ScaleAnimationTest.java | 47 private static long DURATION = 1000; field in ScaleAnimationTest 130 scaleAnimation.setDuration(DURATION); 146 scaleAnimation.getTransformation(startTime + (DURATION / 2), transformation); 152 scaleAnimation.getTransformation(startTime + DURATION, transformation);
|
D | LayoutAnimationControllerTest.java | 53 private static final int DURATION = 1000; field in LayoutAnimationControllerTest 175 long maxDuration = (long) (delay * INDEX_OF_CHILD3 * DURATION + DURATION); in testAccessDelay() 261 assertEquals(DURATION, actualAnimation.getDuration()); 269 assertAnimation(childAnimation1, true, DURATION); 270 assertAnimation(childAnimation2, true, DURATION); 271 assertAnimation(childAnimation3, true, DURATION);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStoreAudioTestHelper.java | 93 public static final int DURATION = 340000; field in MediaStoreAudioTestHelper.Audio1 132 values.put(Media.DURATION, DURATION); in getContentValues() 169 public static final int DURATION = 338000; field in MediaStoreAudioTestHelper.Audio2 211 values.put(Media.DURATION, DURATION); in getContentValues()
|
D | MediaStore_Audio_MediaTest.java | 116 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Media.DURATION))); in testStoreAudioMedia() 154 assertEquals(Audio2.DURATION, c.getLong(c.getColumnIndex(Media.DURATION))); in testStoreAudioMedia()
|
D | MediaStore_Video_MediaTest.java | 89 values.put(Media.DURATION, 8480); in testStoreVideoMediaExternal() 122 assertEquals(8480, c.getInt(c.getColumnIndex(Media.DURATION))); in testStoreVideoMediaExternal() 150 values.put(Media.DURATION, 8481); in testStoreVideoMediaExternal() 175 assertEquals(8481, c.getInt(c.getColumnIndex(Media.DURATION))); in testStoreVideoMediaExternal()
|
D | CallLogTest.java | 57 values.put(CallLog.Calls.DURATION, Long.valueOf(5 /*call duration*/)); in testGetLastOutgoingCall()
|
D | MediaStore_Audio_Playlists_MembersTest.java | 52 Members.DURATION, 82 Members.DURATION, 234 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION))); in testStoreAudioPlaylistsMembersExternal() 278 assertEquals(Audio2.DURATION, c.getLong(c.getColumnIndex(Members.DURATION))); in testStoreAudioPlaylistsMembersExternal()
|
D | MediaStore_Audio_Genres_MembersTest.java | 140 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION))); in testStoreAudioGenresMembersExternal()
|
D | CalendarTest.java | 325 Events.DURATION, 460 values.put(Events.DURATION, duration); in getNewRecurringEventValues() 2473 updateValues.put(Events.DURATION, "P" + durationSecs + "S"); in testConversionToRecurring() 2631 excepValues.put(Events.DURATION, "P" + 3600*2 + "S"); in testSingleRecurrenceExceptions() 2638 excepValues.put(Events.DURATION, "P" + 3600*3 + "S"); in testSingleRecurrenceExceptions() 2837 beforeExcepValues.remove(Events.DURATION); in testOutOfOrderRecurrenceExceptions() 2844 afterExcepValues.remove(Events.DURATION); in testOutOfOrderRecurrenceExceptions() 2851 unrelatedExcepValues.remove(Events.DURATION); in testOutOfOrderRecurrenceExceptions()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 51 private static final int DURATION = 10000; field in WifiInfoTest 84 Thread.sleep(DURATION); in setUp() 100 Thread.sleep(DURATION); in tearDown()
|
D | ConcurrencyTest.java | 49 private static final int DURATION = 10000; field in ConcurrencyTest 88 Thread.sleep(DURATION); in setUp() 144 latch.await(DURATION, TimeUnit.MILLISECONDS); in enableWifi()
|
D | WifiManagerTest.java | 86 private static final int DURATION = 10000; field in WifiManagerTest 159 Thread.sleep(DURATION); in setUp() 177 Thread.sleep(DURATION); in tearDown() 301 Thread.sleep(DURATION); in testWifiManagerScanWhenWifiOffLocationTurnedOn() 574 Thread.sleep(DURATION); in testWifiWatchdog() 579 Thread.sleep(DURATION); in testWifiWatchdog() 618 Thread.sleep(DURATION); in testWifiWatchdog() 832 mLOHSLock.wait(DURATION);
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionActivity.java | 42 private static final long DURATION = 50; field in ActivityTransitionActivity 110 getWindow().setSharedElementEnterTransition(new ChangeBounds().setDuration(DURATION)); in onCreate() 111 getWindow().setSharedElementReturnTransition(new ChangeBounds().setDuration(DURATION)); in onCreate() 135 transition.setDuration(DURATION); in createVisibilityTransition() 142 transition.setDuration(DURATION); in createVisibilityTransition()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_AnimationTest.java | 51 private static final int DURATION = 2000; field in View_AnimationTest 67 mAnimation.setDuration(DURATION); in setup()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 70 private static final int DURATION = NUM_FRAMES * FRAME_DURATION; field in AnimatedImageDrawableTest 244 cb.waitForEnd(DURATION * 2); in testUnregisterCallback() 274 cb.waitForEnd(DURATION * 3); in testLifeCycle() 338 cb.waitForEnd(DURATION * 3); in testAddCallbackAfterStart() 360 cb.waitForEnd(DURATION * 3); in testStop() 382 cb.waitForEnd(DURATION * repeatCount); in testRepeatCounts() 385 cb.waitForEnd(DURATION * 2); in testRepeatCounts() 407 cb.waitForEnd(DURATION * 30); in testRepeatCountInfinite()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | AnimationActivity.java | 50 private static final String DURATION = "duration"; field in AnimationActivity 73 mDuration = extras.getInt(DURATION); in onCreate()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | VoicemailContractTest.java | 94 Voicemails.DURATION, in testVoicemailsTable() 147 value.put(Voicemails.DURATION, insertCallsDuration); in testVoicemailsTable() 196 value.put(Voicemails.DURATION, updateCallsDuration); in testVoicemailsTable() 437 value.put(Voicemails.DURATION, insertCallsDuration); in buildContentValuesForNewVoicemail()
|
D | ContactsTest.java | 415 Calls._ID, Calls.NUMBER, Calls.DATE, Calls.DURATION, Calls.TYPE, in testCallsTable() 464 value.put(Calls.DURATION, insertCallsDuration); in testCallsTable() 495 value.put(Calls.DURATION, updateCallsDuration); in testCallsTable()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 308 long duration = metrics.getLong(MediaPlayer.MetricsConstants.DURATION, -2); in playLoadedVideo()
|
D | MediaPlayer2TestBase.java | 558 long duration = metrics.getLong(MediaPlayer2.MetricsConstants.DURATION, -2); in playLoadedVideo()
|