Home
last modified time | relevance | path

Searched refs:DURATION (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DAsyncTaskTest.java30 private static final long DURATION = 2000; field in AsyncTaskTest
40 doTestAsyncTask(DURATION); in testAsyncTaskWithTimeout()
46 assertEquals(RESULT, mAsyncTask.get(DURATION, TimeUnit.MILLISECONDS).longValue()); in doTestAsyncTask()
52 new PollingCheck(DURATION) { in doTestAsyncTask() argument
76 new PollingCheck(DURATION) { in doTestAsyncTask() argument
105 Thread.sleep(DURATION); in testCancelWithInterrupt()
118 Thread.sleep(DURATION); in testCancel()
126 Thread.sleep(DURATION); in testCancelTooLate()
DResultReceiverTest.java28 private static final long DURATION = 100l; field in ResultReceiverTest
35 Thread.sleep(DURATION); in testResultReceiver()
DParcelFileDescriptorTest.java47 private static final long DURATION = 100l; field in ParcelFileDescriptorTest
91 Thread.sleep(DURATION); in testFromSocket()
101 Thread.sleep(DURATION); in testFromSocket()
/cts/tests/tests/view/src/android/view/animation/cts/
DRotateAnimationTest.java39 private static final long DURATION = 1000; field in RotateAnimationTest
88 rotateAnimation.setDuration(DURATION); in testRotateAgainstOrigin()
109 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstOrigin()
117 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstOrigin()
144 rotateAnimation.setDuration(DURATION); in testRotateAgainstPoint()
165 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstPoint()
173 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstPoint()
DTranslateAnimationTest.java39 private static final long DURATION = 1000; field in TranslateAnimationTest
91 translateAnimation.setDuration(DURATION); in testApplyTransformation()
108 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testApplyTransformation()
114 translateAnimation.getTransformation(startTime + DURATION, transformation); in testApplyTransformation()
162 translateAnimation.setDuration(DURATION); in testInitialize()
175 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testInitialize()
183 translateAnimation.getTransformation(startTime + DURATION, transformation); in testInitialize()
DScaleAnimationTest.java34 private static long DURATION = 1000; field in ScaleAnimationTest
112 scaleAnimation.setDuration(DURATION);
127 scaleAnimation.getTransformation(startTime + (DURATION / 2), transformation);
133 scaleAnimation.getTransformation(startTime + DURATION, transformation);
DLayoutAnimationControllerTest.java50 private static final int DURATION = 1000; field in LayoutAnimationControllerTest
167 long maxDuration = (long) (delay * INDEX_OF_CHILD3 * DURATION + DURATION); in testAccessDelay()
252 assertEquals(DURATION, actualAnimation.getDuration());
260 assertAnimation(childAnimation1, true, DURATION);
261 assertAnimation(childAnimation2, true, DURATION);
262 assertAnimation(childAnimation3, true, DURATION);
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java93 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()
DMediaStore_Audio_MediaTest.java116 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Media.DURATION))); in testStoreAudioMedia()
154 assertEquals(Audio2.DURATION, c.getLong(c.getColumnIndex(Media.DURATION))); in testStoreAudioMedia()
DMediaStore_Video_MediaTest.java88 values.put(Media.DURATION, 8480); in testStoreVideoMediaExternal()
121 assertEquals(8480, c.getInt(c.getColumnIndex(Media.DURATION))); in testStoreVideoMediaExternal()
149 values.put(Media.DURATION, 8481); in testStoreVideoMediaExternal()
174 assertEquals(8481, c.getInt(c.getColumnIndex(Media.DURATION))); in testStoreVideoMediaExternal()
DVoicemailContractTest.java64 Voicemails._ID, Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, in testVoicemailsTable()
92 value.put(Voicemails.DURATION, insertCallsDuration); in testVoicemailsTable()
121 value.put(Voicemails.DURATION, updateCallsDuration); in testVoicemailsTable()
194 value.put(Voicemails.DURATION, insertCallsDuration); in buildContentValuesForNewVoicemail()
DMediaStore_Audio_Playlists_MembersTest.java52 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()
DMediaStore_Audio_Genres_MembersTest.java140 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION))); in testStoreAudioGenresMembersExternal()
DContactsTest.java415 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()
DCalendarTest.java324 Events.DURATION,
459 values.put(Events.DURATION, duration); in getNewRecurringEventValues()
2472 updateValues.put(Events.DURATION, "P" + durationSecs + "S"); in testConversionToRecurring()
2630 excepValues.put(Events.DURATION, "P" + 3600*2 + "S"); in testSingleRecurrenceExceptions()
2637 excepValues.put(Events.DURATION, "P" + 3600*3 + "S"); in testSingleRecurrenceExceptions()
2836 beforeExcepValues.remove(Events.DURATION); in testOutOfOrderRecurrenceExceptions()
2843 afterExcepValues.remove(Events.DURATION); in testOutOfOrderRecurrenceExceptions()
2850 unrelatedExcepValues.remove(Events.DURATION); in testOutOfOrderRecurrenceExceptions()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java40 private static final long DURATION = 50; field in ActivityTransitionActivity
108 getWindow().setSharedElementEnterTransition(new ChangeBounds().setDuration(DURATION)); in onCreate()
109 getWindow().setSharedElementReturnTransition(new ChangeBounds().setDuration(DURATION)); in onCreate()
133 transition.setDuration(DURATION); in createVisibilityTransition()
140 transition.setDuration(DURATION); in createVisibilityTransition()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiInfoTest.java49 private static final int DURATION = 10000; field in WifiInfoTest
82 Thread.sleep(DURATION); in setUp()
98 Thread.sleep(DURATION); in tearDown()
DConcurrencyTest.java49 private static final int DURATION = 10000; field in ConcurrencyTest
88 Thread.sleep(DURATION); in setUp()
144 latch.await(DURATION, TimeUnit.MILLISECONDS); in enableWifi()
DWifiManagerTest.java73 private static final int DURATION = 10000; field in WifiManagerTest
142 Thread.sleep(DURATION); in setUp()
160 Thread.sleep(DURATION); in tearDown()
245 Thread.sleep(DURATION); in testWifiManagerActions()
485 Thread.sleep(DURATION); in testWifiWatchdog()
522 Thread.sleep(DURATION); in testWifiWatchdog()
/cts/tests/tests/view/src/android/view/cts/
DView_AnimationTest.java36 private static final int DURATION = 2000; field in View_AnimationTest
51 mAnimation.setDuration(DURATION); in setUp()
/cts/tests/tests/calllog/src/android/calllog/cts/
DCallLogBackupTest.java72 CallLog.Calls.DURATION,
276 values.put(Calls.DURATION, Long.valueOf(CALL_DURATION)); in addCall()
309 call.duration = cursor.getLong(cursor.getColumnIndex(Calls.DURATION)); in getCalls()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java51 private static final String DURATION = "duration"; field in AnimationActivity
74 mDuration = extras.getInt(DURATION); in onCreate()
/cts/tools/dex-tools/dex/
Dclasses.out.dex59669 public static final java.lang.String DURATION
62179 public static final java.lang.String DURATION
62735 public static final java.lang.String DURATION
66546 public static final java.lang.String DURATION
66921 public static final java.lang.String DURATION
129816 public static final com.android.internal.telephony.gsm.stk.ComprehensionTlvTag DURATION
Dclasses0.out.dex6959 public static final com.ibm.icu4jni.text.RuleBasedNumberFormat$RBNFType DURATION