/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
D | SystemClock_Delegate.java | 33 private static long sBootTime = System.currentTimeMillis(); 45 return System.currentTimeMillis() - sBootTime; in uptimeMillis() 55 return System.currentTimeMillis() - sBootTime; in elapsedRealtime() 75 return System.currentTimeMillis(); in currentThreadTimeMillis() 87 return System.currentTimeMillis() * 1000; in currentThreadTimeMicro()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 83 mCompletedTime = System.currentTimeMillis(); in setFiredFlag() 443 start = System.currentTimeMillis(); in enable() 447 start = System.currentTimeMillis(); in enable() 455 long s = System.currentTimeMillis(); in enable() 456 while (System.currentTimeMillis() - s < ENABLE_DISABLE_TIMEOUT) { in enable() 499 start = System.currentTimeMillis(); in disable() 503 start = System.currentTimeMillis(); in disable() 515 long s = System.currentTimeMillis(); in disable() 516 while (System.currentTimeMillis() - s < ENABLE_DISABLE_TIMEOUT) { in disable() 560 long start = System.currentTimeMillis(); in discoverable() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 48 long t = System.currentTimeMillis(); in testClear() 63 long t = System.currentTimeMillis(); in testDragAcceleration() 74 long t = System.currentTimeMillis(); in testDragDeceleration() 85 long t = System.currentTimeMillis(); in testDragLinearHorizontal() 97 long t = System.currentTimeMillis(); in testDragLinearVertical() 113 long t = System.currentTimeMillis(); in testDragWith2Points() 129 long t = System.currentTimeMillis(); in testStabilityInNbPoints() 151 long t = System.currentTimeMillis(); in testStabilityInTime() 173 long t = System.currentTimeMillis(); in testStabilityInSpace() 195 long t = System.currentTimeMillis(); in testStabilityOfComputation() [all …]
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | ExpatPerformanceTest.java | 76 long start = System.currentTimeMillis(); in runSax() 78 long elapsed = System.currentTimeMillis() - start; in runSax() 83 long start = System.currentTimeMillis(); in runExpatPullParser() 87 long elapsed = System.currentTimeMillis() - start; in runExpatPullParser() 93 long start = System.currentTimeMillis(); in runJavaPullParser() 98 long elapsed = System.currentTimeMillis() - start; in runJavaPullParser()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | TraceTest.java | 40 long start = System.currentTimeMillis(); in testNativeTracingFromJava() 48 long end = System.currentTimeMillis(); in testNativeTracingFromJava() 60 long start = System.currentTimeMillis(); in disableTestNativeTracingFromC() 62 long end = System.currentTimeMillis(); in disableTestNativeTracingFromC() 73 long start = System.currentTimeMillis(); in testMethodTracing() 77 long end = System.currentTimeMillis(); in testMethodTracing()
|
D | TestHandlerThread.java | 39 long now = System.currentTimeMillis(); in doTest() 47 now = System.currentTimeMillis(); in doTest()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 181 public void rewriteActive(Rewriter rewriter, long currentTimeMillis) in rewriteActive() argument 183 final String activeName = getActiveName(currentTimeMillis); in rewriteActive() 188 public void combineActive(final Reader reader, final Writer writer, long currentTimeMillis) in combineActive() argument 210 }, currentTimeMillis); in combineActive() 304 private String getActiveName(long currentTimeMillis) { in getActiveName() argument 313 if (info.isActive() && info.startMillis < currentTimeMillis in getActiveName() 324 info.startMillis = currentTimeMillis; in getActiveName() 334 public void maybeRotate(long currentTimeMillis) { in maybeRotate() argument 335 final long rotateBefore = currentTimeMillis - mRotateAgeMillis; in maybeRotate() 336 final long deleteBefore = currentTimeMillis - mDeleteAgeMillis; in maybeRotate() [all …]
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
D | LaunchTest.java | 42 long t = java.lang.System.currentTimeMillis(); in XLW() 45 t = java.lang.System.currentTimeMillis() - t; in XLW() 50 long t = java.lang.System.currentTimeMillis(); in XYW() 53 t = java.lang.System.currentTimeMillis() - t; in XYW()
|
D | Mandelbrot.java | 38 long t = java.lang.System.currentTimeMillis(); in run() 41 t = java.lang.System.currentTimeMillis() - t; in run()
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
D | Benchmark.java | 39 long t = java.lang.System.currentTimeMillis(); in run() 45 t = java.lang.System.currentTimeMillis() - t; in run() 52 t = java.lang.System.currentTimeMillis(); in run() 56 t = java.lang.System.currentTimeMillis() - t; in run()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ANQPData.java | 43 mCtime = System.currentTimeMillis(); in ANQPData() 59 mCtime = System.currentTimeMillis(); in ANQPData() 79 return expired(System.currentTimeMillis()); in expired() 89 mExpiry > System.currentTimeMillis(); in isValid() 105 long now = System.currentTimeMillis(); in toString()
|
D | Chronograph.java | 38 long at = System.currentTimeMillis() + interval; in addAlarm() 79 long now = System.currentTimeMillis(); in run() 108 now = System.currentTimeMillis(); in run() 119 sleep = nextExpiration - System.currentTimeMillis(); in run()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | ColladaScene.java | 75 long start = System.currentTimeMillis(); in doInBackground() 89 long end = System.currentTimeMillis(); in doInBackground() 92 start = System.currentTimeMillis(); in doInBackground() 94 end = System.currentTimeMillis(); in doInBackground() 113 long start = System.currentTimeMillis(); in doInBackground() 127 long end = System.currentTimeMillis(); in doInBackground()
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 86 long now = System.currentTimeMillis(); in parseCacheHeaders_normalExpire() 102 long now = System.currentTimeMillis(); in parseCacheHeaders_expiresInPast() 117 long now = System.currentTimeMillis(); in parseCacheHeaders_serverRelative() 130 long now = System.currentTimeMillis(); in parseCacheHeaders_cacheControlOverridesExpires() 144 long now = System.currentTimeMillis(); in testParseCacheHeaders_staleWhileRevalidate() 162 long now = System.currentTimeMillis(); in parseCacheHeaders_cacheControlNoCache() 173 long now = System.currentTimeMillis(); in parseCacheHeaders_cacheControlMustRevalidateNoMaxAge() 186 long now = System.currentTimeMillis(); in parseCacheHeaders_cacheControlMustRevalidateWithMaxAge() 199 long now = System.currentTimeMillis(); in parseCacheHeaders_cacheControlMustRevalidateWithMaxAgeAndStale() 273 long now = System.currentTimeMillis();
|
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 162 long now = currentTimeMillis(); in getNextTimeMillis() 259 .putLong(PREFIX + "moratoriumSetTimeMillis", currentTimeMillis())); in setMoratoriumTimeMillis() 273 setMoratoriumTimeMillis(ms + currentTimeMillis()); in setMoratoriumTimeHttp() 309 .putLong(PREFIX + "lastSuccessTimeMillis", currentTimeMillis())); in onSuccess() 319 editor.putLong(PREFIX + "lastErrorTimeMillis", currentTimeMillis()); in onTransientError() 386 protected long currentTimeMillis() { in currentTimeMillis() method in OperationScheduler 387 return System.currentTimeMillis(); in currentTimeMillis()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ErrorCalculator.java | 74 startMillis = System.currentTimeMillis(); in calcErrorRS() 95 long startMillis2 = System.currentTimeMillis(); in calcErrorRS() 107 long finalMillis = System.currentTimeMillis(); in calcErrorRS() 134 startMillis = System.currentTimeMillis(); in calcError() 149 long startMillis2 = System.currentTimeMillis(); in calcError() 167 long finalMillis = System.currentTimeMillis(); in calcError()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 168 long currentTimeMillis) { in recordSnapshotLocked() argument 184 final long end = currentTimeMillis; in recordSnapshotLocked() 232 public void maybePersistLocked(long currentTimeMillis) { in maybePersistLocked() argument 235 forcePersistLocked(currentTimeMillis); in maybePersistLocked() 237 mRotator.maybeRotate(currentTimeMillis); in maybePersistLocked() 244 public void forcePersistLocked(long currentTimeMillis) { in forcePersistLocked() argument 248 mRotator.rewriteActive(mPendingRewriter, currentTimeMillis); in forcePersistLocked() 249 mRotator.maybeRotate(currentTimeMillis); in forcePersistLocked()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 83 void init(final long currentTimeMillis, final long deviceUsageTime) { in init() argument 84 mDatabase.init(currentTimeMillis); in init() 107 loadActiveStats(currentTimeMillis,/*force=*/ false, /*resetBeginIdleTime=*/ false); in init() 138 initializeDefaultsForApps(currentTimeMillis, deviceUsageTime, in init() 149 private void initializeDefaultsForApps(long currentTimeMillis, long deviceUsageTime, in initializeDefaultsForApps() argument 160 stats.update(packageName, currentTimeMillis, Event.SYSTEM_INTERACTION); in initializeDefaultsForApps() 424 private void rolloverStats(final long currentTimeMillis) { in rolloverStats() argument 450 mDatabase.prune(currentTimeMillis); in rolloverStats() 451 loadActiveStats(currentTimeMillis, /*force=*/ false, /*resetBeginIdleTime=*/ false); in rolloverStats() 480 private void loadActiveStats(final long currentTimeMillis, boolean force, in loadActiveStats() argument [all …]
|
D | UsageStatsDatabase.java | 70 public void init(long currentTimeMillis) { in init() argument 85 final int startIndex = files.closestIndexOnOrAfter(currentTimeMillis); in init() 488 public void prune(final long currentTimeMillis) { in prune() argument 490 mCal.setTimeInMillis(currentTimeMillis); in prune() 495 mCal.setTimeInMillis(currentTimeMillis); in prune() 500 mCal.setTimeInMillis(currentTimeMillis); in prune() 505 mCal.setTimeInMillis(currentTimeMillis); in prune()
|
/frameworks/base/core/java/android/os/ |
D | ConditionVariable.java | 124 long now = System.currentTimeMillis(); in block() 132 now = System.currentTimeMillis(); in block()
|
/frameworks/volley/src/main/java/com/android/volley/ |
D | Cache.java | 91 return this.ttl < System.currentTimeMillis(); in isExpired() 96 return this.softTtl < System.currentTimeMillis(); in refreshNeeded()
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | Benchmark.java | 32 long t = java.lang.System.currentTimeMillis(); in run() 35 t = java.lang.System.currentTimeMillis() - t; in run()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | DateUtils.java | 50 return getKMLTimestamp(System.currentTimeMillis()); in getCurrentKMLTimestamp() 58 c.setTimeInMillis(System.currentTimeMillis()); in getCurrentTimestamp()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 71 mActivityCreateTime = System.currentTimeMillis(); in onCreate() 172 .setWhen(System.currentTimeMillis()-(1000*60*60*24)) 176 .setWhen(System.currentTimeMillis()) 180 .setWhen(System.currentTimeMillis() + (1000 * 60 * 60 * 24)) 202 .setWhen(System.currentTimeMillis()) 215 .setWhen(System.currentTimeMillis()) 242 .setWhen(System.currentTimeMillis()) 255 long now = System.currentTimeMillis(); 272 .setWhen(System.currentTimeMillis()) 285 .setWhen(System.currentTimeMillis()) [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipConnectionBase.java | 62 mCreateTime = System.currentTimeMillis(); in SipConnectionBase() 71 mConnectTime = System.currentTimeMillis(); in setState() 76 mDisconnectTime = System.currentTimeMillis(); in setState()
|