Home
last modified time | relevance | path

Searched refs:startTime (Results 1 – 25 of 74) sorted by relevance

123

/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimationControllerTest.java132 long startTime = child1.getStartTime(); in assertChildrenDelay() local
145 child1.getTransformation(startTime + 500, transformation1); in assertChildrenDelay()
146 child2.getTransformation(startTime + 500, transformation2); in assertChildrenDelay()
147 child3.getTransformation(startTime + 500, transformation3); in assertChildrenDelay()
153 child1.getTransformation(startTime + 1200, transformation1); in assertChildrenDelay()
154 child2.getTransformation(startTime + 1200, transformation2); in assertChildrenDelay()
155 child3.getTransformation(startTime + 1200, transformation3); in assertChildrenDelay()
161 child1.getTransformation(startTime + 2000, transformation1); in assertChildrenDelay()
162 child2.getTransformation(startTime + 2000, transformation2); in assertChildrenDelay()
163 child3.getTransformation(startTime + 2000, transformation3); in assertChildrenDelay()
[all …]
DLayoutAnimationControllerTest.java95 long startTime = childAnimation1.getStartTime(); in testAccessOrder() local
105 childAnimation1.getTransformation(startTime + 500, transformation1); in testAccessOrder()
106 childAnimation2.getTransformation(startTime + 500, transformation2); in testAccessOrder()
107 childAnimation3.getTransformation(startTime + 500, transformation3); in testAccessOrder()
113 childAnimation1.getTransformation(startTime + 1000, transformation1); in testAccessOrder()
114 childAnimation2.getTransformation(startTime + 1000, transformation2); in testAccessOrder()
115 childAnimation3.getTransformation(startTime + 1000, transformation3); in testAccessOrder()
121 childAnimation1.getTransformation(startTime + 1500, transformation1); in testAccessOrder()
122 childAnimation2.getTransformation(startTime + 1500, transformation2); in testAccessOrder()
123 childAnimation3.getTransformation(startTime + 1500, transformation3); in testAccessOrder()
[all …]
DDecelerateInterpolatorTest.java105 long startTime = anim.getStartTime(); in testDecelerateInterpolator() local
106 anim.getTransformation(startTime, transformation); in testDecelerateInterpolator()
110 anim.getTransformation(startTime + 500, transformation); in testDecelerateInterpolator()
113 anim.getTransformation(startTime + 1000, transformation); in testDecelerateInterpolator()
116 anim.getTransformation(startTime + 1500, transformation); in testDecelerateInterpolator()
119 anim.getTransformation(startTime + DECELERATE_ALPHA_DURATION, transformation); in testDecelerateInterpolator()
139 startTime = anim.getStartTime(); in testDecelerateInterpolator()
140 anim.getTransformation(startTime, transformation); in testDecelerateInterpolator()
144 anim.getTransformation(startTime + 500, transformation); in testDecelerateInterpolator()
147 anim.getTransformation(startTime + 1000, transformation); in testDecelerateInterpolator()
[all …]
DAccelerateInterpolatorTest.java102 long startTime = anim.getStartTime(); in testAccelerateInterpolator() local
103 anim.getTransformation(startTime, transformation); in testAccelerateInterpolator()
107 anim.getTransformation(startTime + 250, transformation); in testAccelerateInterpolator()
110 anim.getTransformation(startTime + 500, transformation); in testAccelerateInterpolator()
113 anim.getTransformation(startTime + 750, transformation); in testAccelerateInterpolator()
116 anim.getTransformation(startTime + ACCELERATE_ALPHA_DURATION, transformation); in testAccelerateInterpolator()
136 startTime = anim.getStartTime(); in testAccelerateInterpolator()
137 anim.getTransformation(startTime, transformation); in testAccelerateInterpolator()
141 anim.getTransformation(startTime + 250, transformation); in testAccelerateInterpolator()
144 anim.getTransformation(startTime + 500, transformation); in testAccelerateInterpolator()
[all …]
DCycleInterpolatorTest.java94 long startTime = anim.getStartTime(); in testCycleInterpolator() local
95 anim.getTransformation(startTime, transformation); in testCycleInterpolator()
99 anim.getTransformation(startTime + 500, transformation); in testCycleInterpolator()
103 anim.getTransformation(startTime + 1000, transformation); in testCycleInterpolator()
106 anim.getTransformation(startTime + 1500, transformation); in testCycleInterpolator()
110 anim.getTransformation(startTime + CYCLE_ALPHA_DURATION, transformation); in testCycleInterpolator()
133 startTime = anim.getStartTime(); in testCycleInterpolator()
134 anim.getTransformation(startTime, transformation); in testCycleInterpolator()
138 anim.getTransformation(startTime + 250, transformation); in testCycleInterpolator()
142 anim.getTransformation(startTime + 500, transformation); in testCycleInterpolator()
[all …]
DAnimationTest.java260 long startTime = anim.getStartTime(); in testRepeatAnimation() local
261 anim.getTransformation(startTime, transformation); in testRepeatAnimation()
265 anim.getTransformation(startTime + 1000, transformation); in testRepeatAnimation()
268 anim.getTransformation(startTime + 2000, transformation); in testRepeatAnimation()
277 startTime = anim.getStartTime(); in testRepeatAnimation()
278 anim.getTransformation(startTime + 3000, transformation); in testRepeatAnimation()
281 anim.getTransformation(startTime + 4000, transformation); in testRepeatAnimation()
305 startTime = anim.getStartTime(); in testRepeatAnimation()
306 anim.getTransformation(startTime, transformation); in testRepeatAnimation()
310 anim.getTransformation(startTime + 1000, transformation); in testRepeatAnimation()
[all …]
DLinearInterpolatorTest.java102 final long startTime = anim.getStartTime(); in testLinearInterpolator() local
103 anim.getTransformation(startTime, transformation); in testLinearInterpolator()
107 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP, transformation); in testLinearInterpolator()
110 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 2, transformation); in testLinearInterpolator()
113 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 3, transformation); in testLinearInterpolator()
116 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 4, transformation); in testLinearInterpolator()
119 anim.getTransformation(startTime + LINEAR_ALPHA_DURATION, transformation); in testLinearInterpolator()
DAnimationSetTest.java300 final long startTime = 200; in testAccessStartTime() local
301 animationSet.setStartTime(startTime); in testAccessStartTime()
302 assertEquals(startTime, animationSet.getStartTime()); in testAccessStartTime()
306 assertEquals(startTime, children.get(i).getStartTime()); in testAccessStartTime()
321 final long startTime = animationSet.getStartTime(); in testGetTransformation() local
323 assertGetTransformation(animationSet, startTime, true); in testGetTransformation()
324 assertGetTransformation(animationSet, startTime + 100, true); in testGetTransformation()
325 assertGetTransformation(animationSet, startTime + animationSet.getDuration(), false); in testGetTransformation()
401 final long startTime = 0; in testClone() local
402 animationSet.setStartTime(startTime); in testClone()
[all …]
DAccelerateDecelerateInterpolatorTest.java96 long startTime = anim.getStartTime(); in testAccelerateDecelerateInterpolator() local
97 anim.getTransformation(startTime, transformation); in testAccelerateDecelerateInterpolator()
101 anim.getTransformation(startTime + 500, transformation); in testAccelerateDecelerateInterpolator()
104 anim.getTransformation(startTime + 1000, transformation); in testAccelerateDecelerateInterpolator()
107 anim.getTransformation(startTime + 1500, transformation); in testAccelerateDecelerateInterpolator()
110 anim.getTransformation(startTime + ALPHA_DURATION, transformation); in testAccelerateDecelerateInterpolator()
DRotateAnimationTest.java113 final long startTime = rotateAnimation.getStartTime(); in testRotateAgainstOrigin() local
117 rotateAnimation.getTransformation(startTime, transformation); in testRotateAgainstOrigin()
125 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstOrigin()
133 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstOrigin()
171 final long startTime = rotateAnimation.getStartTime(); in testRotateAgainstPoint() local
175 rotateAnimation.getTransformation(startTime, transformation); in testRotateAgainstPoint()
183 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstPoint()
191 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstPoint()
DTranslateAnimationTest.java115 final long startTime = translateAnimation.getStartTime(); in testApplyTransformation() local
119 translateAnimation.getTransformation(startTime, transformation); in testApplyTransformation()
125 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testApplyTransformation()
131 translateAnimation.getTransformation(startTime + DURATION, transformation); in testApplyTransformation()
185 final long startTime = translateAnimation.getStartTime(); in testInitialize() local
188 translateAnimation.getTransformation(startTime, transformation); in testInitialize()
194 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testInitialize()
202 translateAnimation.getTransformation(startTime + DURATION, transformation); in testInitialize()
DScaleAnimationTest.java137 long startTime = scaleAnimation.getStartTime();
139 scaleAnimation.getTransformation(startTime, transformation);
147 scaleAnimation.getTransformation(startTime + (DURATION / 2), transformation);
153 scaleAnimation.getTransformation(startTime + DURATION, transformation);
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java197 final long startTime = System.currentTimeMillis(); in testOrderedActivityLaunchSequenceInEventLog() local
201 UsageEvents events = mUsageStatsManager.queryEvents(startTime, endTime); in testOrderedActivityLaunchSequenceInEventLog()
254 final long startTime = System.currentTimeMillis(); in testActivityOnButton() local
260 UsageEvents events = mUsageStatsManager.queryEvents(startTime, endTime); in testActivityOnButton()
281 long startTime = endTime - DateUtils.DAY_IN_MILLIS; in testAppLaunchCount() local
283 startTime, endTime); in testAppLaunchCount()
290 startTime, endTime); in testAppLaunchCount()
299 startTime, endTime); in testAppLaunchCount()
307 final long startTime = System.currentTimeMillis(); in testStandbyBucketChangeLog() local
311 UsageEvents events = mUsageStatsManager.queryEvents(startTime - 1_000, endTime + 1_000); in testStandbyBucketChangeLog()
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java215 long startTime = System.currentTimeMillis(); in checkConsoleOutput() local
216 long endTime = startTime; in checkConsoleOutput()
218 while ((endTime - startTime <= timeoutMillis)) { in checkConsoleOutput()
236 long startTime = System.currentTimeMillis(); in getAllMessages() local
237 long endTime = startTime; in getAllMessages()
242 while ((endTime - startTime <= duration)) { in getAllMessages()
295 long startTime = System.currentTimeMillis(); in checkExpectedOutput() local
296 long endTime = startTime; in checkExpectedOutput()
302 while ((endTime - startTime <= timeoutMillis)) { in checkExpectedOutput()
336 long startTime = System.currentTimeMillis(); in checkOutputDoesNotContainMessage() local
[all …]
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DReceiveUriActivity.java98 final long startTime = SystemClock.uptimeMillis(); in finishCurInstanceSync() local
104 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in finishCurInstanceSync()
125 final long startTime = SystemClock.uptimeMillis(); in waitForStart() local
131 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in waitForStart()
140 final long startTime = SystemClock.uptimeMillis(); in waitForNewIntent() local
146 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in waitForNewIntent()
DReceiveUriService.java96 final long startTime = SystemClock.uptimeMillis(); in stopSync() local
102 if (SystemClock.uptimeMillis() >= (startTime+5000)) { in stopSync()
117 final long startTime = SystemClock.uptimeMillis(); in waitForStart() local
123 if (SystemClock.uptimeMillis() >= (startTime+5000)) { in waitForStart()
/cts/tests/DropBoxManager/src/android/dropboxmanager/cts/
DDropBoxTests.java157 final long startTime = SystemClock.elapsedRealtime(); in testLowPrioritySingleEntry() local
165 endTime - startTime, BROADCAST_DELAY_ALLOWED_ERROR); in testLowPrioritySingleEntry()
186 final long startTime = SystemClock.elapsedRealtime(); in testLowPriorityRapidEntryLimiting() local
193 endTime - startTime, BROADCAST_DELAY_ALLOWED_ERROR); in testLowPriorityRapidEntryLimiting()
214 final long startTime = SystemClock.elapsedRealtime(); in testLowPrioritySustainedRapidEntryLimiting() local
222 BROADCAST_RATE_LIMIT * 2, endTime - startTime, BROADCAST_DELAY_ALLOWED_ERROR * 2); in testLowPrioritySustainedRapidEntryLimiting()
255 final long startTime = SystemClock.elapsedRealtime(); in testMultipleLowPriorityRateLimiting() local
262 endTime - startTime, BROADCAST_DELAY_ALLOWED_ERROR); in testMultipleLowPriorityRateLimiting()
276 final long startTimeDelta = startTime - firstEntryTime; in testMultipleLowPriorityRateLimiting()
305 final long startTime = SystemClock.elapsedRealtime(); in testLowPriorityRateLimitingWithEnabledEntries() local
[all …]
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DWakelockLoadTestRunnable.java41 long startTime = System.nanoTime(); in run() local
42 while (System.nanoTime() - startTime < sleepTimeNs) {} in run()
44 startTime = System.nanoTime(); in run()
45 while (System.nanoTime() - startTime < sleepTimeNs) {} in run()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DCorruptApkTests.java54 SystemServerInformation(long pid, long startTime) { in SystemServerInformation() argument
56 this.mStartTime = startTime; in SystemServerInformation()
82 long startTime = 0; in retrieveInfo() local
87 startTime = Long.parseLong(startTimeJiffies); in retrieveInfo()
92 return new SystemServerInformation(pid, startTime); in retrieveInfo()
/cts/tests/tests/net/src/android/net/cts/
DDnsTest.java199 long startTime = SystemClock.elapsedRealtimeNanos(); in skiptestDnsPerf() local
217 float nsPer = ((float)(endTime-startTime) / iterationLimit) / numberOfUrls/ 1000; in skiptestDnsPerf()
219 (endTime - startTime)/1000 + "(" + nsPer + ") with " + in skiptestDnsPerf()
237 long startTime = SystemClock.elapsedRealtimeNanos(); in skiptestDnsPerf() local
260 float nsPer = ((endTime-startTime) / iterationLimit) / numberOfAddrs / 1000; in skiptestDnsPerf()
262 (endTime - startTime)/1000 + "(" + nsPer + ") with " + in skiptestDnsPerf()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DConstraintTest.java145 long startTime = SystemClock.elapsedRealtime(); in waitPermissionRevoke() local
152 if ((SystemClock.elapsedRealtime()-startTime) >= timeout) { in waitPermissionRevoke()
170 long startTime = SystemClock.elapsedRealtime(); in setStorageState() local
180 } while ((SystemClock.elapsedRealtime()-startTime) < 1000); in setStorageState()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConstraintTest.java148 long startTime = SystemClock.elapsedRealtime(); in waitPermissionRevoke() local
155 if ((SystemClock.elapsedRealtime()-startTime) >= timeout) { in waitPermissionRevoke()
173 long startTime = SystemClock.elapsedRealtime(); in setStorageState() local
183 } while ((SystemClock.elapsedRealtime()-startTime) < 1000); in setStorageState()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java526 Date startTime = new Date(); in testRsaAttestation() local
527 Date originationEnd = new Date(startTime.getTime() + ORIGINATION_TIME_OFFSET); in testRsaAttestation()
528 Date consumptionEnd = new Date(startTime.getTime() + CONSUMPTION_TIME_OFFSET); in testRsaAttestation()
537 builder.setKeyValidityStart(startTime) in testRsaAttestation()
564 checkKeyIndependentAttestationInfo(challenge, purposes, startTime, includeValidityDates, in testRsaAttestation()
593 Date startTime = new Date(); in testEcAttestation() local
594 Date originationEnd = new Date(startTime.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation()
595 Date consumptionEnd = new Date(startTime.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation()
604 builder.setKeyValidityStart(startTime) in testEcAttestation()
623 checkKeyIndependentAttestationInfo(challenge, purposes, startTime, includeValidityDates, in testEcAttestation()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRenderScriptTask.java97 long startTime = System.currentTimeMillis(); in applyRefocusFilter() local
119 float duration = (endTime - startTime); in applyRefocusFilter()
/cts/tests/app/src/android/app/cts/
DPipActivityTest.java114 long startTime = SystemClock.elapsedRealtime(); in waitAndAssertCondition() local
119 } else if (SystemClock.elapsedRealtime() > (startTime + MAX_WAIT_MS)) { in waitAndAssertCondition()

123