/cts/tests/tests/os/src/android/os/cts/ |
D | ConditionVariableTest.java | 47 long time = System.currentTimeMillis(); in testConditionVariable() 49 assertTrue(System.currentTimeMillis() - time < TOLERANCE_MS); in testConditionVariable() 53 time = System.currentTimeMillis(); in testConditionVariable() 55 assertTrue(System.currentTimeMillis() - time >= BLOCK_TIME); in testConditionVariable() 58 time = System.currentTimeMillis(); in testConditionVariable() 73 long timeDelta = System.currentTimeMillis() - time; in testConditionVariable() 77 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/tests/openglperf2/jni/reference/ |
D | ReferenceRenderer.cpp | 36 double start = GLUtils::currentTimeMillis(); in setUp() 40 mSetUpTimes[0] = GLUtils::currentTimeMillis() - start; in setUp() 50 times[0] = GLUtils::currentTimeMillis(); in setUp() 52 times[1] = GLUtils::currentTimeMillis(); in setUp() 54 times[2] = GLUtils::currentTimeMillis(); in setUp() 56 times[3] = GLUtils::currentTimeMillis(); in setUp()
|
D | GLReference.cpp | 45 double t0 = GLUtils::currentTimeMillis(); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() 47 double t1 = GLUtils::currentTimeMillis(); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() 49 double t2 = GLUtils::currentTimeMillis(); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | AdminActionBookkeepingTest.java | 77 long timeBefore = System.currentTimeMillis(); in testRetrieveSecurityLogs() 79 long timeAfter = System.currentTimeMillis(); in testRetrieveSecurityLogs() 87 timeBefore = System.currentTimeMillis(); in testRetrieveSecurityLogs() 90 timeAfter = System.currentTimeMillis(); in testRetrieveSecurityLogs() 113 final long timeBefore = System.currentTimeMillis(); in testRequestBugreport() 115 final long timeAfter = System.currentTimeMillis(); in testRequestBugreport() 132 long timeBefore = System.currentTimeMillis(); in testGetLastNetworkLogRetrievalTime() 134 long timeAfter = System.currentTimeMillis(); in testGetLastNetworkLogRetrievalTime()
|
D | CreateAndManageUserTest.java | 124 final long initTime = System.currentTimeMillis(); in waitForBroadcastLocked() 127 wait(BROADCAST_TIMEOUT - (System.currentTimeMillis() - initTime)); in waitForBroadcastLocked() 131 if (!mReceived && System.currentTimeMillis() - initTime > BROADCAST_TIMEOUT) { in waitForBroadcastLocked() 150 final String testUserName = "TestUser_" + System.currentTimeMillis(); in createAndManageUserTest() 207 String testUserName = "TestUser_" + System.currentTimeMillis(); in testCreateAndManageUser() 219 String testUserName = "TestUser_" + System.currentTimeMillis(); in testCreateAndManageUser_LowStorage() 235 String testUserName = "TestUser_" + System.currentTimeMillis(); in testCreateAndManageUser_MaxUsers() 251 String testUserName = "TestUser_" + System.currentTimeMillis(); in testCreateAndManageUser_GetSecondaryUsers() 270 String testUserName = "TestUser_" + System.currentTimeMillis(); in testCreateAndManageUser_SwitchUser() 295 String testUserName = "TestUser_" + System.currentTimeMillis(); in testCreateAndManageUser_CannotStopCurrentUser() [all …]
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerUsageTest.java | 59 tobj.set(System.currentTimeMillis()); in generateRandomId() 111 final long start1 = System.currentTimeMillis() - USAGE_STATS_RANGE_ALLOWANCE; in testReportShortcutUsed() 113 final long end1 = System.currentTimeMillis() + USAGE_STATS_RANGE_ALLOWANCE; in testReportShortcutUsed() 120 final long start2 = System.currentTimeMillis() - USAGE_STATS_RANGE_ALLOWANCE; in testReportShortcutUsed() 122 final long end2 = System.currentTimeMillis() + USAGE_STATS_RANGE_ALLOWANCE; in testReportShortcutUsed() 129 final long start3 = System.currentTimeMillis() - USAGE_STATS_RANGE_ALLOWANCE; in testReportShortcutUsed() 132 final long end3 = System.currentTimeMillis() + USAGE_STATS_RANGE_ALLOWANCE; in testReportShortcutUsed()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGenParameterSpecTest.java | 75 Date certNotBeforeDate = new Date(System.currentTimeMillis()); in testSettersReflectedInGetters() 76 Date certNotAfterDate = new Date(System.currentTimeMillis() + 12345678); in testSettersReflectedInGetters() 77 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); in testSettersReflectedInGetters() 78 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testSettersReflectedInGetters() 79 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testSettersReflectedInGetters() 147 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() 190 Date certNotBeforeDate = new Date(System.currentTimeMillis()); in testImmutabilityViaSetterParams() 192 Date certNotAfterDate = new Date(System.currentTimeMillis() + 12345678); in testImmutabilityViaSetterParams() 194 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); in testImmutabilityViaSetterParams() 196 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testImmutabilityViaSetterParams() [all …]
|
D | KeyProtectionTest.java | 58 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); in testSettersReflectedInGetters() 59 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testSettersReflectedInGetters() 60 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testSettersReflectedInGetters() 102 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() 145 Date keyValidityStartDate = new Date(System.currentTimeMillis() - 2222222); in testImmutabilityViaSetterParams() 147 Date keyValidityEndDateForOrigination = new Date(System.currentTimeMillis() + 11111111); in testImmutabilityViaSetterParams() 150 Date keyValidityEndDateForConsumption = new Date(System.currentTimeMillis() + 33333333); in testImmutabilityViaSetterParams() 220 .setKeyValidityStart(new Date(System.currentTimeMillis() - 2222222)) in testImmutabilityViaGetterReturnValues() 221 .setKeyValidityForOriginationEnd(new Date(System.currentTimeMillis() + 11111111)) in testImmutabilityViaGetterReturnValues() 222 .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/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/provider/src/android/provider/cts/contacts/ |
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()
|
/cts/tests/app/src/android/app/cts/ |
D | AlarmManagerTest.java | 123 mWakeupTime = System.currentTimeMillis() + SNOOZE_DELAY; in testSetTypes() 135 mWakeupTime = System.currentTimeMillis() + SNOOZE_DELAY; in testSetTypes() 188 final long now = System.currentTimeMillis(); in testExactAlarmBatching() 208 long timeToExact = Math.max(exactStart - System.currentTimeMillis() + 1000, 1000); in testExactAlarmBatching() 231 mWakeupTime = System.currentTimeMillis() + TEST_ALARM_FUTURITY; in testSetRepeating() 261 final long when1 = System.currentTimeMillis() + TEST_ALARM_FUTURITY; in testCancel() 282 mAm.setInexactRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), in testSetInexactRepeating() 284 SystemClock.setCurrentTimeMillis(System.currentTimeMillis() in testSetInexactRepeating() 298 final long wakeupTimeFirst = System.currentTimeMillis() in testSetAlarmClock() 308 final long wakeupTimeSecond = System.currentTimeMillis() in testSetAlarmClock()
|
/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/provider/src/android/provider/cts/ |
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/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 154 final long startTime = System.currentTimeMillis() - MINUTE; in testOrderedActivityLaunchSequenceInEventLog() 159 final long endTime = System.currentTimeMillis(); in testOrderedActivityLaunchSequenceInEventLog() 211 long endTime = System.currentTimeMillis(); in testAppLaunchCount() 219 endTime = System.currentTimeMillis(); in testAppLaunchCount() 228 endTime = System.currentTimeMillis(); in testAppLaunchCount() 238 final long startTime = System.currentTimeMillis(); in testStandbyBucketChangeLog() 241 final long endTime = System.currentTimeMillis(); in testStandbyBucketChangeLog() 287 final long start = System.currentTimeMillis() - 2_000; in testQueryEventsForSelf() 292 final long end = System.currentTimeMillis() + 2_000; in testQueryEventsForSelf() 327 long endTime = System.currentTimeMillis(); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() [all …]
|
/cts/tests/sensor/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/hostsidetests/security/src/android/security/cts/ |
D | SecurityTestCase.java | 39 kernelStartTime = System.currentTimeMillis()/1000 - in setUp() 50 kernelStartTime = System.currentTimeMillis()/1000 - in updateKernelStartTime() 89 (System.currentTimeMillis()/1000 - in tearDown()
|
/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/tests/autofillservice/src/android/autofillservice/cts/ |
D | Timeout.java | 154 long startTime = System.currentTimeMillis(); in run() 156 while (System.currentTimeMillis() - startTime <= mCurrentValue) { in run() 171 + (System.currentTimeMillis() - startTime) + "ms: " + this); in run()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | CreateUsersPermissionTest.java | 36 "TestUser_" + System.currentTimeMillis() /* name */, in testCanCreateGuestUser() 47 "TestUser_" + System.currentTimeMillis() /* name */, in testCanCreateEphemeralUser()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipDescriptionTest.java | 47 final long timestampBeforeSet = System.currentTimeMillis(); in testGetTimestamp() 49 final long timestampAfterSet = System.currentTimeMillis(); in testGetTimestamp()
|