/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastRecord.java | 101 final long now = SystemClock.uptimeMillis(); 130 TimeUtils.formatDuration(dispatchTime, now, pw); 135 pw.print(" finishTime="); TimeUtils.formatDuration(finishTime, now, pw); 140 pw.print(" receiverTime="); TimeUtils.formatDuration(receiverTime, now, pw);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 56 * The initial setting for dither is now true, since it almost always seems 442 final long now = SystemClock.uptimeMillis(); 455 mExitAnimationEnd = now + mDrawableContainerState.mExitFadeDuration; 471 mEnterAnimationEnd = now + mDrawableContainerState.mEnterFadeDuration; 553 final long now = SystemClock.uptimeMillis(); 557 if (mEnterAnimationEnd <= now) { 561 int animAlpha = (int)((mEnterAnimationEnd-now)*255) 572 if (mExitAnimationEnd <= now) { 578 int animAlpha = (int)((mExitAnimationEnd-now)*255) 589 scheduleSelf(mAnimationRunnable, now [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DockedStackDividerController.java | 652 public boolean animate(long now) { argument 657 return animateForMinimizedDockedStack(now); 659 return animateForIme(now); 668 private boolean animateForIme(long now) { argument 671 mAnimationStartTime = now; 675 float t = Math.min(1f, (float) (now - mAnimationStartTime) / mAnimationDuration); 712 private boolean animateForMinimizedDockedStack(long now) { argument 716 mAnimationStartTime = now; 726 float t = Math.min(1f, (float) (now - mAnimationStartTime) / mAnimationDuration);
|
/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpClient.java | 78 * - Does not support BOOTP servers. DHCP has been around since 1993, should be everywhere now. 436 final long now = SystemClock.elapsedRealtime(); 443 final long remainingDelay = mDhcpLeaseExpiry - now; 446 mRenewAlarm.schedule(now + renewDelay); 447 mRebindAlarm.schedule(now + rebindDelay); 448 mExpiryAlarm.schedule(now + remainingDelay); 504 long now = SystemClock.uptimeMillis(); 506 TimeUtils.formatDuration(message.getWhen() - now, b); 700 long now = SystemClock.elapsedRealtime(); 702 long alarmTime = now [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.cpp | 60 static time_t now; variable 107 time_t thirty_minutes_ago = now - 60*30; 512 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&now)); 542 ZipWriter::kCompress, get_mtime(fd, now)); 606 int32_t err = zip_writer->StartEntryWithTime(entry_name.c_str(), ZipWriter::kCompress, now); 970 time_t now) { 1046 now = time(NULL); 1166 strftime(date, sizeof(date), "%Y-%m-%d-%H-%M-%S", localtime(&now)); 1262 /* TODO: rather than generating a text file now and zipping it later, 1271 // NOTE: there should be no stdout output until now, otherwis 969 finish_zip_file(const std::string& bugreport_name, const std::string& bugreport_path, time_t now) argument [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 158 // Hardcoded for now until we decide what the right policy should be. 541 final long now = SystemClock.uptimeMillis(); 545 now, PowerManager.USER_ACTIVITY_EVENT_OTHER, 0, Process.SYSTEM_UID); 1329 final long now = SystemClock.uptimeMillis(); 1330 final long savedWakeTimeMs = mOverriddenTimeout - now; 1377 final long now = SystemClock.uptimeMillis(); 1385 updateUserActivitySummaryLocked(now, dirtyPhase1); 1443 final long now = SystemClock.uptimeMillis(); 1446 wakeUpNoUpdateLocked(now, "android.server.power:POWER", Process.SYSTEM_UID, 1450 now, PowerManage 1609 updateUserActivitySummaryLocked(long now, int dirty) argument [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 176 // Release it now as the texture is already loaded and the memory used for 350 nsecs_t now = systemTime(); local 351 double time = now - startTime; 374 const nsecs_t sleepTime = 83333 - ns2us(systemTime() - now); 754 nsecs_t now = systemTime(); local 755 nsecs_t delay = frameDuration - (now - lastFrame); 756 //ALOGD("%lld, %lld", ns2ms(now - lastFrame), ns2ms(delay)); 757 lastFrame = now; 761 spec.tv_sec = (now + delay) / 1000000000; 762 spec.tv_nsec = (now [all...] |
/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 | 1419 // violation fired and now (after the violating code ran) due 1460 long now = SystemClock.uptimeMillis(); 1461 mLastViolationTime.put(crashFingerprint, now); 1463 Long.MAX_VALUE : (now - lastViolationTime); 1644 long now = SystemClock.uptimeMillis(); 1645 if (now - sLastInstanceCountCheckMillis > 30 * 1000) { 1646 sLastInstanceCountCheckMillis = now; 1863 final long now = SystemClock.uptimeMillis(); 1869 timeSinceLastViolationMillis = now - lastViolationTime; 1872 sLastVmViolationTime.put(fingerprint, now); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DozeParameters.java | 177 public long getNextTime(long now, long notificationTime) { argument 180 if (time > now) return time;
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | PathV3.inc | 46 // -> erase P+1 to now 188 // An iterator now is staying at the end of cache. (a temporal end)
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
H A D | PathV3.inc | 40 // -> erase P+1 to now 157 // 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 | 207 long now = SystemClock.uptimeMillis(); 208 if (now < (mLastLoadCompleteTime+mUpdateThrottle)) { 226 if (DEBUG) Log.v(TAG, "Cancelled task is now canceled!");
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | BasicNetwork.java | 222 long now = SystemClock.elapsedRealtime(); 223 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 | 471 final long now = SystemClock.uptimeMillis(); 472 final MotionEvent event = MotionEvent.obtain(now, now, 747 final long now = AnimationUtils.currentAnimationTimeMillis(); 748 final long duration = now - mFadingStart;
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 726 long now = SystemClock.elapsedRealtime(); 727 long end = now + poll; 730 while (now < end) { 732 Thread.sleep(end - now); 736 now = SystemClock.elapsedRealtime();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 448 final long now = System.currentTimeMillis(); 450 if (nextAlarm < now) { 458 if (time > now && nextAlarm < time) { 465 final boolean soon = (nextAlarm - now) < 24 * 60 * 60 * 1000; 479 final long now = System.currentTimeMillis(); 480 final long span = time - now; 537 final long now = weekRange.getTimeInMillis(); 547 return ZenModeConfig.toNextAlarmCondition(mContext, now, 749 final long now = System.currentTimeMillis(); 753 final long bucketTime = now [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 370 void writeMdhdBox(uint32_t now); 374 void writeTkhdBox(uint32_t now); 976 // Construct moov box now 1024 time_t now = time(NULL); local 1029 if (now < 0 || uint32_t(now) > UINT32_MAX - delta) { 1032 uint32_t mpeg4Time = uint32_t(now) + delta; 1037 uint32_t now = getMpeg4Time(); local 1040 writeInt32(now); // creation time 1041 writeInt32(now); // modificatio 2870 uint32_t now = getMpeg4Time(); local 3109 writeTkhdBox(uint32_t now) argument 3178 writeMdhdBox(uint32_t now) argument [all...] |
H A D | VideoFrameScheduler.cpp | 344 // For now, surface flinger only schedules frames on the primary display 400 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 401 if (now >= mVsyncRefreshAt) { 483 ATRACE_INT("FRAME_FLIP_IN(ms)", (renderTime - now) / 1000000);
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 1081 final long now = SystemClock.elapsedRealtime(); 1089 if (now < previousSettings.first) { 1092 + "Remaining: " + ((previousSettings.first - now) / 1000) + " seconds."); 1113 final long backoff = now + newDelayInMs; 1157 long now = SystemClock.elapsedRealtime(); 1160 && backoff.first > now) { 1163 if (mSyncStorageEngine.getDelayUntilTime(target) > now) { 1199 long now = SystemClock.elapsedRealtime(); 1201 : backoff.first - now; 1203 long delayUntilDelay = delayUntil > now [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 766 // Account doesn't exist. Copy it now. 1027 protected String toDebugString(long now) { 1028 return super.toDebugString(now) + ", getAccountCredentialsForClone" 1120 protected String toDebugString(long now) { 1121 return super.toDebugString(now) + ", getAccountCredentialsForClone" 1346 protected String toDebugString(long now) { argument 1347 return super.toDebugString(now) + ", hasFeatures" 1395 * now stale account name data. 1612 protected String toDebugString(long now) { argument 1613 return super.toDebugString(now) 3377 toDebugString(long now) argument 3896 toDebugString(long now) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Display.java | 87 // Applications should now be using getSize() instead. 907 long now = SystemClock.uptimeMillis(); 908 if (now > mLastCachedAppSizeUpdate + CACHED_APP_SIZE_DURATION_MILLIS) { 913 mLastCachedAppSizeUpdate = now;
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 390 long now = SystemClock.uptimeMillis(); 391 if (now >= timeoutTime) { 395 wait(timeoutTime - now);
|