/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 | 64 private static final long DURATION = 100l; field in ParcelFileDescriptorTest 115 Thread.sleep(DURATION); in testFromSocket() 125 Thread.sleep(DURATION); in testFromSocket()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | RotateAnimationTest.java | 50 private static final long DURATION = 1000; field in RotateAnimationTest 103 rotateAnimation.setDuration(DURATION); in testRotateAgainstOrigin() 125 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstOrigin() 133 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstOrigin() 161 rotateAnimation.setDuration(DURATION); in testRotateAgainstPoint() 183 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstPoint() 191 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstPoint()
|
D | TranslateAnimationTest.java | 51 private static final long DURATION = 1000; field in TranslateAnimationTest 107 translateAnimation.setDuration(DURATION); in testApplyTransformation() 125 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testApplyTransformation() 131 translateAnimation.getTransformation(startTime + DURATION, transformation); in testApplyTransformation() 180 translateAnimation.setDuration(DURATION); in testInitialize() 194 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testInitialize() 202 translateAnimation.getTransformation(startTime + DURATION, transformation); in testInitialize()
|
D | ScaleAnimationTest.java | 48 private static long DURATION = 1000; field in ScaleAnimationTest 131 scaleAnimation.setDuration(DURATION); 147 scaleAnimation.getTransformation(startTime + (DURATION / 2), transformation); 153 scaleAnimation.getTransformation(startTime + DURATION, transformation);
|
D | LayoutAnimationControllerTest.java | 54 private static final int DURATION = 1000; field in LayoutAnimationControllerTest 176 long maxDuration = (long) (delay * INDEX_OF_CHILD3 * DURATION + DURATION); in testAccessDelay() 262 assertEquals(DURATION, actualAnimation.getDuration()); 270 assertAnimation(childAnimation1, true, DURATION); 271 assertAnimation(childAnimation2, true, DURATION); 272 assertAnimation(childAnimation3, true, DURATION);
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStoreAudioTestHelper.java | 98 public static final int DURATION = 340000; field in MediaStoreAudioTestHelper.Audio1 132 values.put(Media.DURATION, DURATION); in getContentValues() 160 public static final int DURATION = 338000; field in MediaStoreAudioTestHelper.Audio2 195 values.put(Media.DURATION, DURATION); in getContentValues()
|
D | MediaStore_Audio_Playlists_MembersTest.java | 73 Members.DURATION, 102 Members.DURATION, 269 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION))); in testStoreAudioPlaylistsMembersExternal() 314 assertEquals(Audio2.DURATION, c.getLong(c.getColumnIndex(Members.DURATION))); in testStoreAudioPlaylistsMembersExternal()
|
D | MediaStore_Video_MediaTest.java | 136 values.put(Media.DURATION, 8480); in testStoreVideoMediaExternal() 163 assertEquals(8480, c.getInt(c.getColumnIndex(Media.DURATION))); in testStoreVideoMediaExternal() 389 assertEquals(9296, c.getLong(c.getColumnIndex(VideoColumns.DURATION))); in testMetadata()
|
D | MediaStore_Audio_MediaTest.java | 155 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Media.DURATION))); in testStoreAudioMedia()
|
D | MediaStore_Audio_Genres_MembersTest.java | 164 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION))); in testStoreAudioGenresMembersExternal()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | CallLogProviderTest.java | 55 values.put(CallLog.Calls.DURATION, Long.valueOf(5 /*call duration*/)); in testNoSubqueries() 77 values.put(CallLog.Calls.DURATION, Long.valueOf(5 /*call duration*/)); in testUpdate() 95 values.put(CallLog.Calls.DURATION, Long.valueOf(6 /*call duration*/)); in testUpdate() 127 values.put(CallLog.Calls.DURATION, Long.valueOf(5 /*call duration*/)); in testDelete()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionActivity.java | 42 private static final long DURATION = 50; field in ActivityTransitionActivity 112 getWindow().setSharedElementEnterTransition(new ChangeBounds().setDuration(DURATION)); in onCreate() 113 getWindow().setSharedElementReturnTransition(new ChangeBounds().setDuration(DURATION)); in onCreate() 137 transition.setDuration(DURATION); in createVisibilityTransition() 144 transition.setDuration(DURATION); in createVisibilityTransition()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowInsetsAnimationUtils.java | 33 private static final int DURATION = 1000; field in WindowInsetsAnimationUtils 85 animator.setDuration(DURATION); in runTransition()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_AnimationTest.java | 52 private static final int DURATION = 2000; field in View_AnimationTest 68 mAnimation.setDuration(DURATION); in setup()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 78 private static final int DURATION = NUM_FRAMES * FRAME_DURATION; field in AnimatedImageDrawableTest 252 cb.waitForEnd(DURATION * 2); in testUnregisterCallback() 286 cb.waitForEnd(DURATION * 20); in testLifeCycle() 355 cb.waitForEnd(DURATION * 10); in testAddCallbackAfterStart() 383 cb.waitForEnd(DURATION * 3); in testStop() 409 cb.waitForEnd(DURATION * repeatCount); in testRepeatCounts() 414 cb.waitForEnd(DURATION * 20); in testRepeatCounts() 436 cb.waitForEnd(DURATION * 30); in testRepeatCountInfinite() 760 cb.waitForEnd(DURATION * 2); in decodeInBackground()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 64 private static final int DURATION = 10000; field in WifiInfoTest 99 PollingCheck.check("Wifi not enabled", DURATION, () -> mWifiManager.isWifiEnabled()); in setUp() 115 Thread.sleep(DURATION); in tearDown()
|
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 89 private static final int DURATION = 10_000; field in MultiStaConcurrencyWifiNetworkSpecifierTest 121 PollingCheck.check("Wifi not enabled", DURATION, () -> wifiManager.isWifiEnabled()); in setUpClass()
|
D | ConcurrencyTest.java | 97 private static final int DURATION = 5000; field in ConcurrencyTest 180 Thread.sleep(DURATION); in setUp() 305 latch.await(DURATION, TimeUnit.MILLISECONDS); in enableWifi()
|
D | WifiNetworkSpecifierTest.java | 195 private static final int DURATION = 10_000; field in WifiNetworkSpecifierTest 221 PollingCheck.check("Wifi not enabled", DURATION, () -> wifiManager.isWifiEnabled()); in setUpClass()
|
D | WifiBackupRestoreTest.java | 100 private static final int DURATION = 10_000; field in WifiBackupRestoreTest 124 PollingCheck.check("Wifi not enabled", DURATION, () -> mWifiManager.isWifiEnabled()); in setUp()
|
/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 | CallLogTest.java | 81 values.put(CallLog.Calls.DURATION, Long.valueOf(5 /*call duration*/)); in testGetLastOutgoingCall()
|