/frameworks/base/services/java/com/android/server/pm/ |
H A D | UserManagerService.java | 829 long now = System.currentTimeMillis(); 830 userInfo.creationTime = (now > EPOCH_PLUS_30_YEARS) ? now : 0; 871 // on next startup, in case the runtime stops now before stopping and 1177 long now = System.currentTimeMillis(); 1182 if (now > EPOCH_PLUS_30_YEARS) { 1183 user.lastLoggedInTime = now; 1220 long now = System.currentTimeMillis(); 1236 TimeUtils.formatDuration(now - user.creationTime, sb); 1245 TimeUtils.formatDuration(now [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 313 long now = System.currentTimeMillis(); 325 values.put(History.DATE_LAST_VISITED, now); 342 values.put(History.DATE_LAST_VISITED, now);
|
H A D | CalendarContract.java | 2327 // and should have fired by now and are not too old. 2328 long now = System.currentTimeMillis(); 2329 long ancient = now - DateUtils.DAY_IN_MILLIS; 2338 Long.toString(now), Long.toString(ancient), Long.toString(now)
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneData.java | 70 long now = System.currentTimeMillis(); 73 mTimeMillis = now; 82 Log.i(TAG, "Time to load time zones (ms): " + (System.currentTimeMillis() - now)); 84 // now = System.currentTimeMillis(); 87 // (System.currentTimeMillis() - now));
|
/frameworks/base/services/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 455 // Account doesn't exist. Copy it now. 586 protected String toDebugString(long now) { 587 return super.toDebugString(now) + ", getAccountCredentialsForClone" 619 protected String toDebugString(long now) { 620 return super.toDebugString(now) + ", getAccountCredentialsForClone" 813 protected String toDebugString(long now) { argument 814 return super.toDebugString(now) + ", hasFeatures" 869 protected String toDebugString(long now) { argument 870 return super.toDebugString(now) + ", removeAccount" 1218 protected String toDebugString(long now) { 1702 toDebugString(long now) argument 2034 toDebugString(long now) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 319 void writeMdhdBox(uint32_t now); 323 void writeTkhdBox(uint32_t now); 873 // Construct moov box now 921 time_t now = time(NULL); local 925 uint32_t mpeg4Time = now + (66 * 365 + 17) * (24 * 60 * 60); 930 uint32_t now = getMpeg4Time(); local 933 writeInt32(now); // creation time 934 writeInt32(now); // modification time 1098 // the end of the file from now on, but not to the 2591 uint32_t now local 2805 writeTkhdBox(uint32_t now) argument 2874 writeMdhdBox(uint32_t now) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ProcessRecord.java | 162 final long now = SystemClock.uptimeMillis(); 200 TimeUtils.formatDuration(lastActivityTime, now, pw); 255 TimeUtils.formatDuration(lastRequestedGc, now, pw); 257 TimeUtils.formatDuration(lastLowMemory, now, pw);
|
H A D | BroadcastQueue.java | 359 // We will process the next receiver right now if this is finishing 561 long now = SystemClock.uptimeMillis(); 563 (now > r.dispatchTime + (2*mTimeoutPeriod*numReceivers))) { 566 + " now=" + now 878 long now = SystemClock.uptimeMillis(); 896 if (timeoutTime > now) { 903 + mQueueName + "] @ " + now + ": resetting BROADCAST_TIMEOUT_MSG for " 911 + ", started " + (now - r.receiverTime) + "ms ago"); 912 r.receiverTime = now; [all...] |
H A D | ActivityRecord.java | 135 final long now = SystemClock.uptimeMillis(); 211 else TimeUtils.formatDuration(lastLaunchTime, now, pw); 241 else TimeUtils.formatDuration(launchTime, now, pw); 244 else TimeUtils.formatDuration(startTime, now, pw); 252 else TimeUtils.formatDuration(lastVisibleTime, now, pw); 577 // The activity now gets access to the data associated with this Intent. 813 // hide any activities we now can, and let them stop when 817 // If this activity was already idle, then we now need to
|
H A D | ActiveServices.java | 803 long now = SystemClock.uptimeMillis(); 809 mAm.mHandler.sendMessageAtTime(msg, now+SERVICE_TIMEOUT); 814 r.executingStart = now; 844 final long now = SystemClock.uptimeMillis(); 886 if (now > (r.restartTime+resetTime)) { 904 r.nextRestartTime = now + r.restartDelay; 918 r.restartDelay = r.nextRestartTime - now; 931 r.nextRestartTime = now; 985 // We are now bringing the service up, so no longer in the 1001 // Service is now bein [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | Connection.java | 214 the net is down. Punt for now. 351 long now = SystemClock.uptimeMillis(); 401 (now2 - now) + " " + mHost);
|
/frameworks/base/core/java/android/util/ |
H A D | TimeUtils.java | 387 public static void formatDuration(long time, long now, PrintWriter pw) { argument 392 formatDuration(time-now, pw, 0); 404 return time + " (now)";
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeofenceManager.java | 224 long now = SystemClock.elapsedRealtimeNanos(); 225 if (now - location.getElapsedRealtimeNanos() > MAX_AGE_NANOS) {
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessStats.java | 684 final public String printCurrentState(long now) { argument 691 if (now > mLastSampleTime) { 692 pw.print(now-mLastSampleTime); 694 pw.print(now-mCurrentSampleTime); 697 pw.print(mLastSampleTime-now); 699 pw.print(mCurrentSampleTime-now);
|
H A D | BatteryStatsImpl.java | 939 final long now = SystemClock.elapsedRealtime() * 1000; 940 recomputeLastDuration(now, true); 941 mLastAddedTime = now; 950 final long now = SystemClock.elapsedRealtime() * 1000; 951 recomputeLastDuration(now, true); 970 final long now = SystemClock.elapsedRealtime() * 1000; 971 recomputeLastDuration(now, true); 972 boolean stillActive = mLastAddedTime == now; 1458 + " now " + mHistoryBuffer.dataPosition() 1459 + " size is now " 4026 getStartTime(long now, int which) argument [all...] |
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 651 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 670 event->when = now; 692 event->when = now; 704 event->when = now; 815 ALOGV("event time %lld, now %lld", event->when, now); 832 if (event->when >= now + 10 * 1000000000LL) { 841 device->path.string(), event->when, time, now); 847 event->when, time, now); 851 event->when = now; [all...] |
H A D | InputDispatcher.cpp | 88 static inline nsecs_t now() { function in namespace:android 241 nsecs_t currentTime = now(); 247 nsecs_t currentTime = now(); 998 mInputTargetWaitTimeoutTime = now() + newTimeout; 1115 nsecs_t startTime = now(); 2124 nsecs_t currentTime = now(); 2189 nsecs_t currentTime = now(); 2549 nsecs_t endTime = now() + milliseconds_to_nanoseconds(timeoutMillis); 2672 nsecs_t remainingTimeout = endTime - now(); 2692 nsecs_t remainingTimeout = endTime - now(); [all...] |
/frameworks/base/libs/androidfw/ |
H A D | KeyCharacterMap.cpp | 298 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 312 addMetaKeys(outEvents, deviceId, metaState, true, now, ¤tMetaState); 313 addKey(outEvents, deviceId, keyCode, currentMetaState, true, now); 314 addKey(outEvents, deviceId, keyCode, currentMetaState, false, now); 315 addMetaKeys(outEvents, deviceId, metaState, false, now, ¤tMetaState);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | DatePickerDialog.java | 463 long now = SystemClock.uptimeMillis(); 465 if (now - mLastVibrate >= 125) { 467 mLastVibrate = now;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | RadialPickerLayout.java | 723 long now = SystemClock.uptimeMillis(); 725 if (now - mLastVibrate >= 125) { 727 mLastVibrate = now;
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 290 * @return true if the renderer is now valid, false otherwise 1026 // We can now initialize EGL for that display 1459 long now = System.nanoTime(); 1460 float total = (now - getDisplayListStartTime) * 0.000001f; 1494 long now = System.nanoTime(); 1495 float total = (now - drawDisplayListStartTime) * 0.000001f; 1513 long now = System.nanoTime(); 1514 float total = (now - eglSwapBuffersStartTime) * 0.000001f;
|
H A D | ViewGroup.java | 1172 // Release the bookkeeping now that the drag lifecycle has ended 1200 // we're over now [for purposes of the eventual drag-recipient-changed 1631 final long now = SystemClock.uptimeMillis(); 1632 MotionEvent event = MotionEvent.obtain(now, now, 1653 final long now = SystemClock.uptimeMillis(); 1654 MotionEvent event = MotionEvent.obtain(now, now, 2035 final long now = SystemClock.uptimeMillis(); 2036 event = MotionEvent.obtain(now, no [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 224 const nsecs_t now = systemTime(); local 225 const nsecs_t duration = now - mBootTime; 237 // formerly we would just kill the process, but we now ask it to exit so it 546 // We're now ready to accept clients... 998 const nsecs_t now = systemTime(); local 999 mDebugInSwapBuffers = now; 1032 mLastSwapBufferTime = systemTime() - now; 1041 const nsecs_t now = systemTime(); local 1042 mDebugInTransaction = now; 1053 mLastTransactionTime = systemTime() - now; 2295 const nsecs_t now = systemTime(); local [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 164 final long now = System.currentTimeMillis(); 177 historyEntry = history.getValues(start, end, now, historyEntry);
|
/frameworks/base/core/java/android/widget/ |
H A D | FastScroller.java | 882 long now = SystemClock.uptimeMillis(); 883 if (now > mStartTime + mFadeDuration) { 886 alpha = (int) (ALPHA_MAX - ((now - mStartTime) * ALPHA_MAX) / mFadeDuration);
|