/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);
|
/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/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 333 void writeMdhdBox(uint32_t now); 337 void writeTkhdBox(uint32_t now); 887 // Construct moov box now 935 time_t now = time(NULL); local 939 uint32_t mpeg4Time = now + (66 * 365 + 17) * (24 * 60 * 60); 944 uint32_t now = getMpeg4Time(); local 947 writeInt32(now); // creation time 948 writeInt32(now); // modification time 1115 // the end of the file from now on, but not to the 2645 uint32_t now local 2859 writeTkhdBox(uint32_t now) argument 2928 writeMdhdBox(uint32_t now) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActiveServices.java | 219 final long now = SystemClock.uptimeMillis(); 222 if (r.startingBgTimeout <= now) { 250 long when = next.startingBgTimeout > now ? next.startingBgTimeout : now; 918 // In case it didn't get removed above, do it now. 1117 long now = SystemClock.uptimeMillis(); 1122 stracker.setExecuting(true, mAm.mProcessStats.getMemFactorLocked(), now); 1137 r.executingStart = now; 1177 final long now = SystemClock.uptimeMillis(); 1219 if (now > ( [all...] |
H A D | BroadcastQueue.java | 404 // We will process the next receiver right now if this is finishing 633 long now = SystemClock.uptimeMillis(); 635 (now > r.dispatchTime + (2*mTimeoutPeriod*numReceivers))) { 638 + " now=" + now 977 long now = SystemClock.uptimeMillis(); 995 if (timeoutTime > now) { 1002 + mQueueName + "] @ " + now + ": resetting BROADCAST_TIMEOUT_MSG for " 1024 + ", started " + (now - r.receiverTime) + "ms ago"); 1025 r.receiverTime = now; [all...] |
H A D | ActivityManagerService.java | 1054 * memory management, so that the now smaller process list will not be taken as 2127 final long now = SystemClock.uptimeMillis(); 2128 long nextCpuDelay = (mLastCpuTime.get()+MONITOR_CPU_MAX_TIME)-now; 2129 long nextWriteDelay = (mLastWriteTime+BATTERY_STATS_TIME)-now; 2220 final long now = SystemClock.uptimeMillis(); 2221 if (mLastCpuTime.get() >= now - MONITOR_CPU_MIN_TIME) { 2234 final long now = SystemClock.uptimeMillis(); 2238 mLastCpuTime.get() < (now-MONITOR_CPU_MIN_TIME)) { 2239 mLastCpuTime.set(now); 2315 if (mLastWriteTime < (now 2439 updateLruProcessInternalLocked(ProcessRecord app, long now, int index, String what, Object obj, ProcessRecord srcApp) argument 10918 getLowRamTimeSinceIdle(long now) argument 16936 computeOomAdjLocked(ProcessRecord app, int cachedAdj, ProcessRecord TOP_APP, boolean doingAll, long now) argument 17575 recordPssSample(ProcessRecord proc, int procState, long pss, long uss, long now) argument 17608 requestPssAllProcsLocked(long now, boolean always, boolean memLowered) argument 17867 applyOomAdjLocked(ProcessRecord app, ProcessRecord TOP_APP, boolean doingAll, long now) argument 18047 setProcessTrackerStateLocked(ProcessRecord proc, int memFactor, long now) argument 18059 updateOomAdjLocked(ProcessRecord app, int cachedAdj, ProcessRecord TOP_APP, boolean doingAll, long now) argument [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 365 time_t now = time(0); local 367 localtime_r(&now, &tm);
|
/frameworks/base/core/java/android/net/http/ |
H A D | Connection.java | 213 the net is down. Punt for now. 350 long now = SystemClock.uptimeMillis(); 400 (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/core/java/com/android/server/ |
H A D | BootReceiver.java | 132 String now = Long.toString(System.currentTimeMillis()); 133 SystemProperties.set("ro.runtime.firstboot", now);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 254 long now = System.currentTimeMillis(); 258 now < mTouchDownTime + ViewConfiguration.getTapTimeout()) {
|
/frameworks/base/services/core/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/android/widget/ |
H A D | ListPopupWindow.java | 1261 final long now = SystemClock.uptimeMillis(); 1262 final MotionEvent e = MotionEvent.obtain(now, now, MotionEvent.ACTION_CANCEL, 1402 final long now = SystemClock.uptimeMillis(); 1403 final MotionEvent e = MotionEvent.obtain(now, now, MotionEvent.ACTION_CANCEL, 0, 0, 0); 1499 * and get new results; you are now in touch mode
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessCpuTracker.java | 714 final public String printCurrentState(long now) { argument 721 if (now > mLastSampleTime) { 722 pw.print(now-mLastSampleTime); 724 pw.print(now-mCurrentSampleTime); 727 pw.print(mLastSampleTime-now); 729 pw.print(mCurrentSampleTime-now);
|
H A D | ZygoteConnection.java | 112 long now = SystemClock.elapsedRealtime(); 113 if ((now-startTime) > 1000) { 115 Slog.w(TAG, "Slow operation: " + (now-startTime) + "ms so far, now at " + where);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | GlobalScreenshot.java | 115 // for now, we just add and remove a space from the ticker text to trigger the animation when 159 final long now = System.currentTimeMillis(); 167 .setWhen(now) 181 .setWhen(now) 303 final long now = System.currentTimeMillis(); 309 .setWhen(now) 319 .setWhen(now) 561 // Save the screenshot once we have a bit of time now
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListPopupWindow.java | 1285 final long now = SystemClock.uptimeMillis(); 1286 final MotionEvent e = MotionEvent.obtain(now, now, MotionEvent.ACTION_CANCEL, 1402 final long now = SystemClock.uptimeMillis(); 1403 final MotionEvent e = MotionEvent.obtain(now, now, MotionEvent.ACTION_CANCEL, 0, 0, 0); 1507 * and get new results; you are now in touch mode
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 453 nsecs_t now = systemTime(CLOCK_MONOTONIC); local 455 return now - ((now - mLastHwVSync[disp]) % 1242 const nsecs_t now = systemTime(CLOCK_MONOTONIC); 1244 nsecs_t sleep = next_vsync - now; 1247 sleep = (period - ((now - next_vsync) % period)); 1248 next_vsync = now + sleep;
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 711 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 730 event->when = now; 752 event->when = now; 764 event->when = now; 875 ALOGV("event time %" PRId64 ", now %" PRId64, event->when, now); 892 if (event->when >= now + 10 * 1000000000LL) { 902 device->path.string(), event->when, time, now); 909 event->when, time, now); 913 event->when = now; [all...] |
/frameworks/native/libs/input/ |
H A D | KeyCharacterMap.cpp | 300 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 314 addMetaKeys(outEvents, deviceId, metaState, true, now, ¤tMetaState); 315 addKey(outEvents, deviceId, keyCode, currentMetaState, true, now); 316 addKey(outEvents, deviceId, keyCode, currentMetaState, false, now); 317 addMetaKeys(outEvents, deviceId, metaState, false, now, ¤tMetaState);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SurfaceTextureRenderer.java | 560 Time now = new Time(); 561 now.setToNow(); 562 path.append(now.format2445());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
H A D | DozeService.java | 386 final long now = System.currentTimeMillis(); 387 final long time = schedule.getNextTime(now, mNotificationPulseTime); 392 final long delta = time - now; 443 // noop for now
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 429 final long now = System.currentTimeMillis(); 430 final long span = time - now; 433 time, Math.round(span / (float) MINUTES_MS), now, ActivityManager.getCurrentUser()); 713 final long now = System.currentTimeMillis(); 717 final long bucketTime = now + bucketMinutes * MINUTES_MS; 721 bucketTime, bucketMinutes, now, ActivityManager.getCurrentUser());
|
/frameworks/base/core/java/android/provider/ |
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/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 480 final long now = System.currentTimeMillis(); 482 return toTimeCondition(context, now + millis, minutesFromNow, now, userHandle); 485 public static Condition toTimeCondition(Context context, long time, int minutes, long now, argument
|