/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimationControllerTest.java | 121 long startTime = child1.getStartTime(); in assertChildrenDelay() local 134 child1.getTransformation(startTime + 500, transformation1); in assertChildrenDelay() 135 child2.getTransformation(startTime + 500, transformation2); in assertChildrenDelay() 136 child3.getTransformation(startTime + 500, transformation3); in assertChildrenDelay() 142 child1.getTransformation(startTime + 1200, transformation1); in assertChildrenDelay() 143 child2.getTransformation(startTime + 1200, transformation2); in assertChildrenDelay() 144 child3.getTransformation(startTime + 1200, transformation3); in assertChildrenDelay() 150 child1.getTransformation(startTime + 2000, transformation1); in assertChildrenDelay() 151 child2.getTransformation(startTime + 2000, transformation2); in assertChildrenDelay() 152 child3.getTransformation(startTime + 2000, transformation3); in assertChildrenDelay() [all …]
|
D | LayoutAnimationControllerTest.java | 87 long startTime = childAnimation1.getStartTime(); in testAccessOrder() local 97 childAnimation1.getTransformation(startTime + 500, transformation1); in testAccessOrder() 98 childAnimation2.getTransformation(startTime + 500, transformation2); in testAccessOrder() 99 childAnimation3.getTransformation(startTime + 500, transformation3); in testAccessOrder() 105 childAnimation1.getTransformation(startTime + 1000, transformation1); in testAccessOrder() 106 childAnimation2.getTransformation(startTime + 1000, transformation2); in testAccessOrder() 107 childAnimation3.getTransformation(startTime + 1000, transformation3); in testAccessOrder() 113 childAnimation1.getTransformation(startTime + 1500, transformation1); in testAccessOrder() 114 childAnimation2.getTransformation(startTime + 1500, transformation2); in testAccessOrder() 115 childAnimation3.getTransformation(startTime + 1500, transformation3); in testAccessOrder() [all …]
|
D | DecelerateInterpolatorTest.java | 89 long startTime = anim.getStartTime(); in testDecelerateInterpolator() local 90 anim.getTransformation(startTime, transformation); in testDecelerateInterpolator() 94 anim.getTransformation(startTime + 500, transformation); in testDecelerateInterpolator() 97 anim.getTransformation(startTime + 1000, transformation); in testDecelerateInterpolator() 100 anim.getTransformation(startTime + 1500, transformation); in testDecelerateInterpolator() 103 anim.getTransformation(startTime + DECELERATE_ALPHA_DURATION, transformation); in testDecelerateInterpolator() 123 startTime = anim.getStartTime(); in testDecelerateInterpolator() 124 anim.getTransformation(startTime, transformation); in testDecelerateInterpolator() 128 anim.getTransformation(startTime + 500, transformation); in testDecelerateInterpolator() 131 anim.getTransformation(startTime + 1000, transformation); in testDecelerateInterpolator() [all …]
|
D | AccelerateInterpolatorTest.java | 86 long startTime = anim.getStartTime(); in testAccelerateInterpolator() local 87 anim.getTransformation(startTime, transformation); in testAccelerateInterpolator() 91 anim.getTransformation(startTime + 250, transformation); in testAccelerateInterpolator() 94 anim.getTransformation(startTime + 500, transformation); in testAccelerateInterpolator() 97 anim.getTransformation(startTime + 750, transformation); in testAccelerateInterpolator() 100 anim.getTransformation(startTime + ACCELERATE_ALPHA_DURATION, transformation); in testAccelerateInterpolator() 120 startTime = anim.getStartTime(); in testAccelerateInterpolator() 121 anim.getTransformation(startTime, transformation); in testAccelerateInterpolator() 125 anim.getTransformation(startTime + 250, transformation); in testAccelerateInterpolator() 128 anim.getTransformation(startTime + 500, transformation); in testAccelerateInterpolator() [all …]
|
D | CycleInterpolatorTest.java | 79 long startTime = anim.getStartTime(); in testCycyleInterpolator() local 80 anim.getTransformation(startTime, transformation); in testCycyleInterpolator() 84 anim.getTransformation(startTime + 500, transformation); in testCycyleInterpolator() 88 anim.getTransformation(startTime + 1000, transformation); in testCycyleInterpolator() 91 anim.getTransformation(startTime + 1500, transformation); in testCycyleInterpolator() 95 anim.getTransformation(startTime + CYCLE_ALPHA_DURATION, transformation); in testCycyleInterpolator() 118 startTime = anim.getStartTime(); in testCycyleInterpolator() 119 anim.getTransformation(startTime, transformation); in testCycyleInterpolator() 123 anim.getTransformation(startTime + 250, transformation); in testCycyleInterpolator() 127 anim.getTransformation(startTime + 500, transformation); in testCycyleInterpolator() [all …]
|
D | LinearInterpolatorTest.java | 84 final long startTime = anim.getStartTime(); in testLinearInterpolator() local 85 anim.getTransformation(startTime, transformation); in testLinearInterpolator() 89 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP, transformation); in testLinearInterpolator() 92 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 2, transformation); in testLinearInterpolator() 95 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 3, transformation); in testLinearInterpolator() 98 anim.getTransformation(startTime + LINEAR_ALPHA_TIME_STEP * 4, transformation); in testLinearInterpolator() 101 anim.getTransformation(startTime + LINEAR_ALPHA_DURATION, transformation); in testLinearInterpolator()
|
D | AccelerateDecelerateInterpolatorTest.java | 80 long startTime = anim.getStartTime(); in testAccelerateDecelerateInterpolator() local 81 anim.getTransformation(startTime, transformation); in testAccelerateDecelerateInterpolator() 85 anim.getTransformation(startTime + 500, transformation); in testAccelerateDecelerateInterpolator() 88 anim.getTransformation(startTime + 1000, transformation); in testAccelerateDecelerateInterpolator() 91 anim.getTransformation(startTime + 1500, transformation); in testAccelerateDecelerateInterpolator() 94 anim.getTransformation(startTime + ALPHA_DURATION, transformation); in testAccelerateDecelerateInterpolator()
|
D | AnimationTest.java | 230 long startTime = anim.getStartTime(); in testRepeatAnimation() local 231 anim.getTransformation(startTime, transformation); in testRepeatAnimation() 235 anim.getTransformation(startTime + 1000, transformation); in testRepeatAnimation() 238 anim.getTransformation(startTime + 2000, transformation); in testRepeatAnimation() 252 startTime = anim.getStartTime(); in testRepeatAnimation() 253 anim.getTransformation(startTime + 3000, transformation); in testRepeatAnimation() 256 anim.getTransformation(startTime + 4000, transformation); in testRepeatAnimation() 289 startTime = anim.getStartTime(); in testRepeatAnimation() 290 anim.getTransformation(startTime, transformation); in testRepeatAnimation() 294 anim.getTransformation(startTime + 1000, transformation); in testRepeatAnimation() [all …]
|
D | RotateAnimationTest.java | 97 final long startTime = rotateAnimation.getStartTime(); in testRotateAgainstOrigin() local 101 rotateAnimation.getTransformation(startTime, transformation); in testRotateAgainstOrigin() 109 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstOrigin() 117 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstOrigin() 153 final long startTime = rotateAnimation.getStartTime(); in testRotateAgainstPoint() local 157 rotateAnimation.getTransformation(startTime, transformation); in testRotateAgainstPoint() 165 rotateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testRotateAgainstPoint() 173 rotateAnimation.getTransformation(startTime + DURATION, transformation); in testRotateAgainstPoint()
|
D | AnimationSetTest.java | 274 final long startTime = 200; in testAccessStartTime() local 275 animationSet.setStartTime(startTime); in testAccessStartTime() 276 assertEquals(startTime, animationSet.getStartTime()); in testAccessStartTime() 280 assertEquals(startTime, children.get(i).getStartTime()); in testAccessStartTime() 293 final long startTime = animationSet.getStartTime(); in testGetTransformation() local 295 assertGetTransformation(animationSet, startTime, true); in testGetTransformation() 296 assertGetTransformation(animationSet, startTime + 100, true); in testGetTransformation() 297 assertGetTransformation(animationSet, startTime + animationSet.getDuration(), false); in testGetTransformation() 370 final long startTime = 0; in testClone() local 371 animationSet.setStartTime(startTime); in testClone() [all …]
|
D | TranslateAnimationTest.java | 98 final long startTime = translateAnimation.getStartTime(); in testApplyTransformation() local 102 translateAnimation.getTransformation(startTime, transformation); in testApplyTransformation() 108 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testApplyTransformation() 114 translateAnimation.getTransformation(startTime + DURATION, transformation); in testApplyTransformation() 166 final long startTime = translateAnimation.getStartTime(); in testInitialize() local 169 translateAnimation.getTransformation(startTime, transformation); in testInitialize() 175 translateAnimation.getTransformation(startTime + DURATION / 2, transformation); in testInitialize() 183 translateAnimation.getTransformation(startTime + DURATION, transformation); in testInitialize()
|
D | ScaleAnimationTest.java | 117 long startTime = scaleAnimation.getStartTime(); 119 scaleAnimation.getTransformation(startTime, transformation); 127 scaleAnimation.getTransformation(startTime + (DURATION / 2), transformation); 133 scaleAnimation.getTransformation(startTime + DURATION, transformation);
|
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
D | MetricsStore.java | 48 String startTime = buildInfo.getBuildAttributes().get(START_TIME_TAG); in storeResult() local 49 mMap.put(generateTestKey(startTime, abi, classMethodName), reportLog); in storeResult() 57 String startTime = buildInfo.getBuildAttributes().get(START_TIME_TAG); in removeResult() local 58 return mMap.remove(generateTestKey(startTime, abi, classMethodName)); in removeResult() 64 private static String generateTestKey(String startTime, String abi, String classMethodName) { in generateTestKey() argument 65 return String.format("%s#%s#%s", startTime, abi, classMethodName); in generateTestKey()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ReceiveUriActivity.java | 98 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()
|
D | ReceiveUriService.java | 96 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()
|
D | ModifyInstallerPackageTest.java | 70 final long startTime = SystemClock.uptimeMillis(); in assertSuccess() local 76 if (SystemClock.uptimeMillis() >= (startTime+5000)) { in assertSuccess() 91 final long startTime = SystemClock.uptimeMillis(); in assertFailure() local 97 if (SystemClock.uptimeMillis() >= (startTime+5000)) { in assertFailure()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 135 final long startTime = System.currentTimeMillis() - MINUTE; in testOrderedActivityLaunchSequenceInEventLog() local 141 UsageEvents events = mUsageStatsManager.queryEvents(startTime, endTime); in testOrderedActivityLaunchSequenceInEventLog() 200 long startTime = endTime - MINUTE; in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() local 201 …Map<String, UsageStats> statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, endTi… in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() 209 startTime = endTime - MINUTE; in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() 210 statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, endTime); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() 230 final long startTime = System.currentTimeMillis() - MINUTE; in testUsageEventsParceling() local 242 UsageEvents events = mUsageStatsManager.queryEvents(startTime, endTime); in testUsageEventsParceling() 286 final long startTime = endTime - (2 * intervalDuration); in testPackageUsageStatsIntervals() local 287 … List<UsageStats> statsList = mUsageStatsManager.queryUsageStats(intervalType, startTime, endTime); in testPackageUsageStatsIntervals() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | DnsTest.java | 180 long startTime = SystemClock.elapsedRealtimeNanos(); in skiptestDnsPerf() local 198 float nsPer = ((float)(endTime-startTime) / iterationLimit) / numberOfUrls/ 1000; in skiptestDnsPerf() 200 (endTime - startTime)/1000 + "(" + nsPer + ") with " + in skiptestDnsPerf() 218 long startTime = SystemClock.elapsedRealtimeNanos(); in skiptestDnsPerf() local 241 float nsPer = ((endTime-startTime) / iterationLimit) / numberOfAddrs / 1000; in skiptestDnsPerf() 243 (endTime - startTime)/1000 + "(" + nsPer + ") with " + in skiptestDnsPerf()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 362 Date startTime = new Date(); in testRsaAttestation() local 363 Date originationEnd = new Date(startTime.getTime() + ORIGINATION_TIME_OFFSET); in testRsaAttestation() 364 Date consumptionEnd = new Date(startTime.getTime() + CONSUMPTION_TIME_OFFSET); in testRsaAttestation() 372 builder.setKeyValidityStart(startTime) in testRsaAttestation() 399 checkKeyIndependentAttestationInfo(challenge, purposes, startTime, includeValidityDates, in testRsaAttestation() 424 Date startTime = new Date(); in testEcAttestation() local 425 Date originationEnd = new Date(startTime.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation() 426 Date consumptionEnd = new Date(startTime.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation() 434 builder.setKeyValidityStart(startTime) in testEcAttestation() 453 checkKeyIndependentAttestationInfo(challenge, purposes, startTime, includeValidityDates, in testEcAttestation() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | RenderScriptTask.java | 97 long startTime = System.currentTimeMillis(); in applyRefocusFilter() local 117 float duration = (endTime - startTime); in applyRefocusFilter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | SimpleReaderActivity.java | 107 long startTime = System.currentTimeMillis(); in onTagDiscovered() local 131 Long.toString(System.currentTimeMillis() - startTime) + " ms.\n\n"); in onTagDiscovered() 141 Long.toString(System.currentTimeMillis() - startTime) + " ms.\n\n"); in onTagDiscovered()
|
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
D | SustainedPerformanceHostTest.java | 62 private long startTime; field in SustainedPerformanceHostTest.Dhrystone 67 startTime = System.currentTimeMillis(); in Dhrystone() 77 if (Math.abs(System.currentTimeMillis() - startTime) >= testDuration) { in run()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteQueryBuilderTest.java | 370 final long startTime = System.nanoTime(); in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local 383 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() 432 final long startTime = System.nanoTime(); in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local 445 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | ExternalStorageTest.java | 170 final long startTime = SystemClock.elapsedRealtime(); in waitForDownloadComplete() local 176 } while ((SystemClock.elapsedRealtime() - startTime) < timeoutMillis); in waitForDownloadComplete()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | NsdManagerTest.java | 192 long startTime = android.os.SystemClock.uptimeMillis(); in waitForCallback() local 207 elapsedTime = android.os.SystemClock.uptimeMillis() - startTime; in waitForCallback() 221 long startTime = android.os.SystemClock.uptimeMillis(); in waitForNewEvents() local 234 elapsedTime = android.os.SystemClock.uptimeMillis() - startTime; in waitForNewEvents()
|