Searched defs:now (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DCookieSyncManager.java153 void clearExpiredCookies(long now) { argument
160 mDataBase.clearExpiredCookies(now);
H A DWebViewDatabase.java490 * @param now Time for now
492 void clearExpiredCookies(long now) { argument
500 new String[] { Long.toString(now) });
/frameworks/base/cmds/dumpstate/
H A Ddumpstate.c35 static struct tm now; variable in typeref:struct:tm
115 print_date("currenttime=", &now);
174 get_time(&now);
226 &now);
/frameworks/base/core/java/android/os/
H A DMessageQueue.java47 * Called when the message queue has run out of messages and will now
95 long now;
100 now = SystemClock.uptimeMillis();
101 Message msg = pullNextLocked(now);
142 if (mMessages.when-now > 0) {
144 this.wait(mMessages.when-now);
157 final Message pullNextLocked(long now) { argument
160 if (now >= msg.when) {
H A DBatteryStats.java683 * @param now the current time in microseconds.
689 private static final String printWakeLockCheckin(StringBuilder sb, Timer timer, long now, argument
694 totalTimeMicros = timer.getTotalTimeLocked(now, which);
/frameworks/base/libs/utils/
H A DTimers.cpp71 struct timeval now; local
80 * [not using this for now]
85 gettimeofday(&now, NULL);
89 *pNextTick = now;
99 timeBeforeNext = android::DurationTimer::subtractTimevals(pNextTick, &now);
100 //printf("TOP: now=%ld.%ld next=%ld.%ld diff=%ld\n",
101 // now.tv_sec, now.tv_usec, pNextTick->tv_sec, pNextTick->tv_usec,
107 *pNextTick = now;
124 *pNextTick = now;
[all...]
/frameworks/base/opengl/tests/finish/
H A Dfinish.c75 long long now, t; local
88 now = systemTime();
91 printf("memcpy() time = %llu us\n", (t-now)/1000);
105 now = systemTime();
109 printf("glFinish() time = %llu us\n", (t-now)/1000);
119 now = systemTime();
123 printf("glFinish() time = %llu us\n", (t-now)/1000);
133 now = systemTime();
138 printf("glFinish() time = %llu us\n", (t-now)/1000);
148 now
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp215 nsecs_t now = systemTime(); local
216 double time = now - startTime;
239 const nsecs_t sleepTime = 83333 - ns2us(systemTime() - now);
/frameworks/base/libs/surfaceflinger/
H A DCPUGauge.cpp140 const nsecs_t now = systemTime(mRefClock); local
141 const nsecs_t referenceTime = now-mReferenceTime;
163 mReferenceTime = now;
H A DLayerBlur.cpp96 nsecs_t now = systemTime(); local
97 if ((now - mCacheAge) >= ms2ns(500)) {
98 mCacheAge = now;
H A DSurfaceFlinger.cpp328 const nsecs_t now = systemTime(); local
329 const nsecs_t duration = now - mBootTime;
450 * We're now ready to accept clients...
478 const nsecs_t now = systemTime(); local
480 mFreezeDisplayTime = now;
482 nsecs_t waitTime = freezeDisplayTimeout - (now - mFreezeDisplayTime);
778 * exposed = what's VISIBLE and NOT COVERED now
1058 nsecs_t now = systemTime(); local
1059 nsecs_t diff = now - mLastFpsTime;
1062 mLastFpsTime = now;
[all...]
/frameworks/base/core/java/android/widget/
H A DChronometer.java224 private synchronized void updateText(long now) { argument
225 long seconds = now - mBase;
/frameworks/base/libs/ui/
H A DEGLDisplaySurface.cpp149 nsecs_t now = systemTime(); local
151 mTime = now;
155 nsecs_t d = now-mTime;
161 mTime = now;
227 mSleep += systemTime()-now;
232 // We don't support screen-size changes for now
486 // at least for now, always clear the fb
/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java132 // now that we have initied the driver schedule the alarm
418 pw.print(" Realtime wakeup (now=");
429 pw.print(" Elapsed realtime wakeup (now=");
477 long now)
488 if (alarm.when > now) {
497 if (localLOGV && now - alarm.when > LATE_ALARM_THRESHOLD) {
499 + " now: " + now + " delay (in seconds): "
500 + (now - alarm.when) / 1000);
510 alarm.count += (now
475 triggerAlarmsLocked(ArrayList<Alarm> alarmList, ArrayList<Alarm> triggerList, long now) argument
[all...]
H A DPowerManagerService.java781 long now = SystemClock.uptimeMillis();
793 pw.println(" mNextTimeout=" + mNextTimeout + " now=" + now
794 + " " + ((mNextTimeout-now)/1000) + "s from now");
854 private void setTimeoutLocked(long now, int nextState) argument
859 long when = now;
879 Log.d(TAG, "setTimeoutLocked now=" + now + " nextState=" + nextState
910 long now
[all...]
/frameworks/base/core/java/android/content/
H A DSyncStorageEngine.java676 long now, int source) {
690 item.eventTime = now;
675 insertStartSyncEvent(String accountName, String authorityName, long now, int source) argument
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java406 * Returns a string describing 'time' as a time relative to 'now'.
412 * @param now the current time in milliseconds
417 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution) { argument
419 return getRelativeTimeSpanString(time, now, minResolution, flags);
423 * Returns a string describing 'time' as a time relative to 'now'.
432 * @param now the current time in milliseconds
442 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution, argument
447 boolean past = (now >= time);
448 long duration = Math.abs(now - time);
549 long now
767 formatSameDayTime(long then, long now, int dateStyle, int timeStyle) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp353 // now convert the floats into SkPoints
354 count >>= 1; // now it is the number of points
454 SkMSec now = get_thread_msec(); //SkTime::GetMSecs(); local
458 LOGD("---- picture playback %d ms\n", get_thread_msec() - now);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2395 public long getStartTime(long now, int which) { argument
2400 val = getStartTimeToNowLocked(now);

Completed in 873 milliseconds