/cts/tests/tests/os/src/android/os/cts/ |
D | ConditionVariableTest.java | 45 long time = System.currentTimeMillis(); in testConditionVariable() 47 assertTrue(System.currentTimeMillis() - time < TOLERANCE_MS); in testConditionVariable() 51 time = System.currentTimeMillis(); in testConditionVariable() 53 assertTrue(System.currentTimeMillis() - time >= BLOCK_TIME); in testConditionVariable() 56 time = System.currentTimeMillis(); in testConditionVariable() 71 long timeDelta = System.currentTimeMillis() - time; in testConditionVariable() 75 time = System.currentTimeMillis(); in testConditionVariable()
|
D | FileAccessPermissionTest.java | 111 File newFile = new File(dir, System.currentTimeMillis() + "test.txt"); in testAccessAppDataDir() 137 File sdcardFile = new File(sdcardDir, System.currentTimeMillis() + "test.txt"); in testAccessAppDataDir() 145 File sdcardSubDir = new File(sdcardDir, System.currentTimeMillis() + "test"); in testAccessAppDataDir() 147 File sdcardSubDirFile = new File(sdcardSubDir, System.currentTimeMillis() + "test.txt"); in testAccessAppDataDir()
|
/cts/suite/cts/deviceTests/opengl/jni/reference/ |
D | ReferenceRenderer.cpp | 35 double start = GLUtils::currentTimeMillis(); in setUp() 39 mSetUpTimes[0] = GLUtils::currentTimeMillis() - start; in setUp() 49 times[0] = GLUtils::currentTimeMillis(); in setUp() 51 times[1] = GLUtils::currentTimeMillis(); in setUp() 53 times[2] = GLUtils::currentTimeMillis(); in setUp() 55 times[3] = GLUtils::currentTimeMillis(); in setUp()
|
D | GLReference.cpp | 45 double t0 = GLUtils::currentTimeMillis(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() 47 double t1 = GLUtils::currentTimeMillis(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() 49 double t2 = GLUtils::currentTimeMillis(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
|
/cts/suite/cts/deviceTests/dram/jni/ |
D | MemoryNativeJni.cpp | 22 double currentTimeMillis() in currentTimeMillis() function 42 double start = currentTimeMillis(); in Java_com_android_cts_dram_MemoryNative_runMemcpy() 47 double end = currentTimeMillis(); in Java_com_android_cts_dram_MemoryNative_runMemcpy() 63 double start = currentTimeMillis(); in Java_com_android_cts_dram_MemoryNative_runMemset() 67 double end = currentTimeMillis(); in Java_com_android_cts_dram_MemoryNative_runMemset()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGenParameterSpecTest.java | 74 Date certNotBeforeDate = new Date(System.currentTimeMillis()); in testSettersReflectedInGetters() 75 Date certNotAfterDate = new Date(System.currentTimeMillis() + 12345678); in testSettersReflectedInGetters() 76 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); in testSettersReflectedInGetters() 77 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testSettersReflectedInGetters() 78 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testSettersReflectedInGetters() 144 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() 187 Date certNotBeforeDate = new Date(System.currentTimeMillis()); in testImmutabilityViaSetterParams() 189 Date certNotAfterDate = new Date(System.currentTimeMillis() + 12345678); in testImmutabilityViaSetterParams() 191 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); in testImmutabilityViaSetterParams() 193 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testImmutabilityViaSetterParams() [all …]
|
D | KeyProtectionTest.java | 55 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); in testSettersReflectedInGetters() 56 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testSettersReflectedInGetters() 57 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testSettersReflectedInGetters() 95 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() 138 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); in testImmutabilityViaSetterParams() 140 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testImmutabilityViaSetterParams() 143 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testImmutabilityViaSetterParams() 213 .setKeyValidityStart(new Date(System.currentTimeMillis() - 2222222)) in testImmutabilityViaGetterReturnValues() 214 .setKeyValidityForOriginationEnd(new Date(System.currentTimeMillis() + 11111111)) in testImmutabilityViaGetterReturnValues() 215 .setKeyValidityForConsumptionEnd(new Date(System.currentTimeMillis() + 33333333)) in testImmutabilityViaGetterReturnValues()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | Timeout.java | 31 mExpiredTime = System.currentTimeMillis() + msec; in Timeout() 48 long t = mExpiredTime - System.currentTimeMillis(); in getRemainTime()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityMonitorTest.java | 49 long timeout = System.currentTimeMillis() + TIMEOUT_MSEC; in testActivityMonitor() 50 while (lastActivity == null && System.currentTimeMillis() < timeout) { in testActivityMonitor() 61 timeout = System.currentTimeMillis() + TIMEOUT_MSEC; in testActivityMonitor() 63 while (activity == null && System.currentTimeMillis() < timeout) { in testActivityMonitor()
|
D | AlarmManagerTest.java | 120 mWakeupTime = System.currentTimeMillis() + SNOOZE_DELAY; in testSetTypes() 132 mWakeupTime = System.currentTimeMillis() + SNOOZE_DELAY; in testSetTypes() 185 final long now = System.currentTimeMillis(); in testExactAlarmBatching() 205 long timeToExact = Math.max(exactStart - System.currentTimeMillis() + 1000, 1000); in testExactAlarmBatching() 228 mWakeupTime = System.currentTimeMillis() + TEST_ALARM_FUTURITY; in testSetRepeating() 258 final long when1 = System.currentTimeMillis() + TEST_ALARM_FUTURITY; in testCancel() 279 mAm.setInexactRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), in testSetInexactRepeating() 281 SystemClock.setCurrentTimeMillis(System.currentTimeMillis() in testSetInexactRepeating() 295 final long wakeupTimeFirst = System.currentTimeMillis() in testSetAlarmClock() 305 final long wakeupTimeSecond = System.currentTimeMillis() in testSetAlarmClock()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | JackBuildDalvikSuite.java | 27 long start = System.currentTimeMillis(); in main() 30 long end = System.currentTimeMillis(); in main()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsProvider2_AccountRemovalTest.java | 78 assertContactsDeletedEventually(System.currentTimeMillis(), acc2Ids); in testAccountRemoval_deletesContacts() 81 assertContactsDeletedEventually(System.currentTimeMillis(), acc1Ids); in testAccountRemoval_deletesContacts() 90 long start = System.currentTimeMillis(); in testAccountRemoval_hasDeleteLogsForContacts() 94 start = System.currentTimeMillis(); in testAccountRemoval_hasDeleteLogsForContacts() 107 assertContactsDeletedEventually(System.currentTimeMillis(), idList); in testAccountRemovalWithMergedContact_deletesContacts() 121 long start = System.currentTimeMillis(); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated() 135 long start = System.currentTimeMillis(); in testAccountRemovalWithMergedContact_hasDeleteLogsForContacts() 150 long mergedContactId = assertMerged(System.currentTimeMillis(), ids1.mRawContactId, in createAndAssertMergedContact() 235 long now = System.currentTimeMillis(); in assertWithinTimeoutLimit()
|
D | MediaStore_Audio_PlaylistsTest.java | 70 long dateAdded = System.currentTimeMillis() / 1000; in testStoreAudioPlaylistsExternal() 71 long dateModified = System.currentTimeMillis() / 1000; in testStoreAudioPlaylistsExternal() 95 dateModified = System.currentTimeMillis(); in testStoreAudioPlaylistsExternal() 116 long dateAdded = System.currentTimeMillis(); in testStoreAudioPlaylistsInternal() 118 long dateModified = System.currentTimeMillis(); in testStoreAudioPlaylistsInternal()
|
/cts/hostsidetests/jdwpsecurity/app/src/com/android/cts/jdwpsecurity/ |
D | JdwpTest.java | 31 long start = System.currentTimeMillis(); in main() 38 return System.currentTimeMillis() - start; in getElapsedTime()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 135 final long startTime = System.currentTimeMillis() - MINUTE; in testOrderedActivityLaunchSequenceInEventLog() 140 final long endTime = System.currentTimeMillis(); in testOrderedActivityLaunchSequenceInEventLog() 199 long endTime = System.currentTimeMillis(); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() 206 SystemClock.setCurrentTimeMillis(System.currentTimeMillis() - (DAY / 2)); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() 208 endTime = System.currentTimeMillis(); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() 225 SystemClock.setCurrentTimeMillis(System.currentTimeMillis() + (DAY / 2)); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() 230 final long startTime = System.currentTimeMillis() - MINUTE; in testUsageEventsParceling() 241 final long endTime = System.currentTimeMillis(); in testUsageEventsParceling() 268 final long beforeTime = System.currentTimeMillis(); in testPackageUsageStatsIntervals() 274 final long endTime = System.currentTimeMillis(); in testPackageUsageStatsIntervals() [all …]
|
/cts/libs/commonutil/src/com/android/cts/util/ |
D | MeasureTime.java | 33 long start = System.currentTimeMillis(); in measure() 35 long end = System.currentTimeMillis(); in measure()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | MeasureTime.java | 37 long start = System.currentTimeMillis(); in measure() 39 long end = System.currentTimeMillis(); in measure()
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | SslCertificateTest.java | 86 return new Date(System.currentTimeMillis()); in getNotAfter() 91 return new Date(System.currentTimeMillis() - 1000); in getNotBefore() 190 Date date1 = new Date(System.currentTimeMillis() - 1000); in testState() 191 Date date2 = new Date(System.currentTimeMillis()); in testState() 212 Date date1 = new Date(System.currentTimeMillis() - 1000); in testSslCertificate() 213 Date date2 = new Date(System.currentTimeMillis()); in testSslCertificate()
|
D | SslCertificate_DNameTest.java | 32 Date date1 = new Date(System.currentTimeMillis() - 1000); in testDName() 33 Date date2 = new Date(System.currentTimeMillis()); in testDName()
|
/cts/tools/dasm/src/java_cup/ |
D | emit.java | 247 long start_time = System.currentTimeMillis(); in symbols() 295 symbols_time = System.currentTimeMillis() - start_time; in symbols() 309 long start_time = System.currentTimeMillis(); in emit_action_code() 411 action_code_time = System.currentTimeMillis() - start_time; in emit_action_code() 424 long start_time = System.currentTimeMillis(); in emit_production_table() 470 production_table_time = System.currentTimeMillis() - start_time; in emit_production_table() 490 long start_time = System.currentTimeMillis(); in do_action_table() 559 action_table_time = System.currentTimeMillis() - start_time; in do_action_table() 575 long start_time = System.currentTimeMillis(); in do_reduce_table() 613 goto_table_time = System.currentTimeMillis() - start_time; in do_reduce_table() [all …]
|
D | Main.java | 145 start_time = System.currentTimeMillis(); in main() 154 prelim_end = System.currentTimeMillis(); in main() 161 parse_end = System.currentTimeMillis(); in main() 170 check_end = System.currentTimeMillis(); in main() 176 build_end = System.currentTimeMillis(); in main() 183 emit_end = System.currentTimeMillis(); in main() 196 dump_end = System.currentTimeMillis(); in main() 532 nullability_end = System.currentTimeMillis(); in build_parser() 539 first_end = System.currentTimeMillis(); in build_parser() 546 machine_end = System.currentTimeMillis(); in build_parser() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
D | SensorOperationTest.java | 53 long start = System.currentTimeMillis(); in testFakeSensorOperation() 55 long duration = System.currentTimeMillis() - start; in testFakeSensorOperation() 79 long startMs = System.currentTimeMillis(); 81 long durationMs = System.currentTimeMillis() - startMs; 103 long start = System.currentTimeMillis(); 105 long durationMs = System.currentTimeMillis() - start; 214 long start = System.currentTimeMillis(); 216 long duration = System.currentTimeMillis() - start; 303 long start = System.currentTimeMillis(); 305 long duration = System.currentTimeMillis() - start;
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecordTest.java | 162 long time = System.currentTimeMillis(); in testAudioRecordOP() 165 while (System.currentTimeMillis() - time < RECORD_TIME) { in testAudioRecordOP() 177 time = System.currentTimeMillis(); in testAudioRecordOP() 180 while (System.currentTimeMillis() - time < RECORD_TIME) { in testAudioRecordOP() 192 time = System.currentTimeMillis(); in testAudioRecordOP() 195 while (System.currentTimeMillis() - time < RECORD_TIME) { in testAudioRecordOP() 215 time = System.currentTimeMillis(); in testAudioRecordOP() 218 while (System.currentTimeMillis() - time < RECORD_TIME) { in testAudioRecordOP() 537 long startTime = System.currentTimeMillis(); in testSynchronizedRecord() 567 firstSampleTime = System.currentTimeMillis(); in testSynchronizedRecord() [all …]
|
/cts/tools/cts-reference-app-lib/src/android/cts/refapp/ |
D | ReferenceAppTestCase.java | 62 long start = System.currentTimeMillis(); in testActivityStartupTime() 64 long end = System.currentTimeMillis(); in testActivityStartupTime()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | WipeDataTest.java | 56 long epoch = System.currentTimeMillis(); in testWipeData() 57 while (System.currentTimeMillis() - epoch <= 10 * 1000) { in testWipeData()
|