/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
H A D | DemoModeController.java | 97 final long now = SystemClock.uptimeMillis(); 98 if (now - mLastDownTime < 200) { 101 mLastDownTime = now;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 53 * The initial setting for dither is now true, since it almost always seems 422 final long now = SystemClock.uptimeMillis(); 435 mExitAnimationEnd = now + mDrawableContainerState.mExitFadeDuration; 451 mEnterAnimationEnd = now + mDrawableContainerState.mEnterFadeDuration; 522 final long now = SystemClock.uptimeMillis(); 526 if (mEnterAnimationEnd <= now) { 530 int animAlpha = (int)((mEnterAnimationEnd-now)*255) 542 if (mExitAnimationEnd <= now) { 548 int animAlpha = (int)((mExitAnimationEnd-now)*255) 560 scheduleSelf(mAnimationRunnable, now [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessRecord.java | 182 final long now = SystemClock.uptimeMillis(); 243 TimeUtils.formatDuration(lastActivityTime, now, pw); 245 TimeUtils.formatDuration(lastPssTime, now, pw); 247 TimeUtils.formatDuration(nextPssTime, now, pw); 277 TimeUtils.formatDuration(lastStateTime, now, pw); 316 TimeUtils.formatDuration(lastRequestedGc, now, pw); 318 TimeUtils.formatDuration(lastLowMemory, now, pw); 654 long now = SystemClock.uptimeMillis(); 656 tracker.getMemFactorLocked(), now, pkgList);
|
H A D | TaskPersister.java | 268 if (DEBUG_PERSISTER) Slog.d(TAG, "saveImage: filename=" + filename + " now=" + 583 final long now = System.currentTimeMillis(); 585 if (noMoreTasks || now < mExpiredTasksCleanupTime) { 593 long earliestNonExpiredMtime = now; 608 if ((taskLastModified + MAX_INSTALL_WAIT_TIME) > now) { 991 // from now. 995 long now = SystemClock.uptimeMillis(); 996 if (DEBUG_PERSISTER) Slog.d(TAG, "LazyTaskWriter: now=" + now 999 while (now < mNextWriteTim [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.c | 103 time_t now = time(NULL); local 115 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&now)); 539 time_t now = time(NULL); local 540 strftime(date, sizeof(date), "-%Y-%m-%d-%H-%M-%S", localtime(&now)); 571 /* rename the (now complete) .tmp file to its final location */
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncTaskLoader.java | 223 long now = SystemClock.uptimeMillis(); 224 if (now < (mLastLoadCompleteTime+mUpdateThrottle)) { 242 if (DEBUG) Log.v(TAG, "Cancelled task is now canceled!");
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 389 for (long now = start; now < end; now += bucketDuration) { 391 final int index = Arrays.binarySearch(bucketStart, 0, bucketCount, now); 394 insertBucket(~index, now); 481 public Entry getValues(long start, long end, long now, Entry recycle) { argument 503 final boolean activeBucket = curStart < now && curEnd > now;
|
/frameworks/base/core/java/android/os/ |
H A D | Message.java | 483 String toString(long now) { argument 486 TimeUtils.formatDuration(when - now, b);
|
H A D | StrictMode.java | 1263 // violation fired and now (after the violating code ran) due 1304 long now = SystemClock.uptimeMillis(); 1305 mLastViolationTime.put(crashFingerprint, now); 1307 Long.MAX_VALUE : (now - lastViolationTime); 1477 long now = SystemClock.uptimeMillis(); 1478 if (now - sLastInstanceCountCheckMillis > 30 * 1000) { 1479 sLastInstanceCountCheckMillis = now; 1624 final long now = SystemClock.uptimeMillis(); 1630 timeSinceLastViolationMillis = now - lastViolationTime; 1633 sLastVmViolationTime.put(fingerprint, now); [all...] |
H A D | RecoverySystem.java | 293 long now = System.currentTimeMillis(); 296 now - lastPublishTime > PUBLISH_PROGRESS_INTERVAL_MS) { 298 lastPublishTime = now;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DozeParameters.java | 185 public long getNextTime(long now, long notificationTime) { argument 188 if (time > now) return time;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkTimeUpdateService.java | 213 * @param interval when to trigger the alarm, starting from now. 217 long now = SystemClock.elapsedRealtime(); 218 long next = now + interval;
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 208 new Test("Bad Icon #1 (when=now)") { 218 new Test("Null Icon #1 (when=now)") { 238 new Test("Bad resource #1 (when=now)") { 266 long now = System.currentTimeMillis(); 268 timeNotification(7, "24 hours from now", now+(1000*60*60*24)); 269 timeNotification(6, "12:01:00 from now", now+(1000*60*60*12)+(60*1000)); 270 timeNotification(5, "12 hours from now", now [all...] |
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | PathV3.inc | 46 // -> erase P+1 to now 198 // An iterator now is staying at the end of cache. (a temporal end)
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
H A D | PathV3.inc | 39 // -> erase P+1 to now 164 // An iterator now is staying at the end of cache. (a temporal end)
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | AsyncTaskLoader.java | 183 long now = SystemClock.uptimeMillis(); 184 if (now < (mLastLoadCompleteTime+mUpdateThrottle)) { 202 if (DEBUG) Log.v(TAG, "Cancelled task is now canceled!");
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | BasicNetwork.java | 205 long now = SystemClock.elapsedRealtime(); 206 VolleyLog.v("HTTP ERROR(%s) %d ms to fetch %s", what, (now - start), url);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 468 final long now = SystemClock.uptimeMillis(); 469 final MotionEvent event = MotionEvent.obtain(now, now, 744 final long now = AnimationUtils.currentAnimationTimeMillis(); 745 final long duration = now - mFadingStart;
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 767 * @deprecated setType is now ignored. 838 long now = SystemClock.uptimeMillis(); 840 if (nextTime > now) { 842 Thread.sleep(nextTime-now); 845 now = SystemClock.uptimeMillis(); 847 mLastLockTime = now;
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 727 long now = SystemClock.elapsedRealtime(); 728 long end = now + poll; 731 while (now < end) { 733 Thread.sleep(end - now); 737 now = SystemClock.elapsedRealtime();
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 143 // Hardcoded for now until we decide what the right policy should be. 473 final long now = SystemClock.uptimeMillis(); 477 now, PowerManager.USER_ACTIVITY_EVENT_OTHER, 0, Process.SYSTEM_UID); 1217 final long now = SystemClock.uptimeMillis(); 1225 updateUserActivitySummaryLocked(now, dirtyPhase1); 1285 final long now = SystemClock.uptimeMillis(); 1288 wakeUpNoUpdateLocked(now, Process.SYSTEM_UID); 1291 now, PowerManager.USER_ACTIVITY_EVENT_OTHER, 0, Process.SYSTEM_UID); 1441 private void updateUserActivitySummaryLocked(long now, int dirty) { argument 1459 if (now < nextTimeou [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 488 // Account doesn't exist. Copy it now. 702 protected String toDebugString(long now) { 703 return super.toDebugString(now) + ", getAccountCredentialsForClone" 735 protected String toDebugString(long now) { 736 return super.toDebugString(now) + ", getAccountCredentialsForClone" 929 protected String toDebugString(long now) { argument 930 return super.toDebugString(now) + ", hasFeatures" 970 * now stale account name data. 1192 protected String toDebugString(long now) { argument 1193 return super.toDebugString(now) 2157 toDebugString(long now) argument 2512 toDebugString(long now) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiWatchdogStateMachine.java | 53 * We now monitor the quality of the last hop on WiFi using packet loss ratio as 801 long now = SystemClock.elapsedRealtime(); 802 if (now - mCurrentBssid.mLastTimeSample < LINK_SAMPLING_INTERVAL_MS * 2) { 838 mCurrentBssid.mLastTimeSample = now; 1108 long now = SystemClock.elapsedRealtime(); 1109 long lastGood = now - mLastTimeGood; 1110 long lastPoor = now - mLastTimePoor; 1134 mBssidAvoidTimeMax = now + avoidMax;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | VideoFrameScheduler.cpp | 340 // For now, surface flinger only schedules frames on the primary display 388 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 389 if (now >= mVsyncRefreshAt) { 469 ATRACE_INT("FRAME_FLIP_IN(ms)", (renderTime - now) / 1000000);
|
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 314 long now = System.currentTimeMillis(); 326 values.put(History.DATE_LAST_VISITED, now); 343 values.put(History.DATE_LAST_VISITED, now);
|