/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 320 void writeMdhdBox(uint32_t now); 324 void writeTkhdBox(uint32_t now); 825 time_t now = time(NULL); local 829 uint32_t mpeg4Time = now + (66 * 365 + 17) * (24 * 60 * 60); 834 uint32_t now = getMpeg4Time(); local 837 writeInt32(now); // creation time 838 writeInt32(now); // modification time 2485 uint32_t now = getMpeg4Time(); local 2487 writeTkhdBox(now); 2489 writeMdhdBox(now); 2698 writeTkhdBox(uint32_t now) argument 2767 writeMdhdBox(uint32_t now) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/sink/ |
H A D | WifiDisplaySink.cpp | 175 // The control connection is dead now. 186 ALOGI("We're now connected."); 628 time_t now = time(NULL); local 629 struct tm *now2 = gmtime(&now);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 222 ALOGI("We now have a client (%d) connected.", sessionID); 1170 response.append("Range: npt=now-\r\n"); 1341 time_t now = time(NULL); local 1342 struct tm *now2 = gmtime(&now);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 171 // So for now we just assume that client is double-buffered. 1176 // // now thread is hung 2669 nsecs_t now = systemTime(); local 2670 nsecs_t delta = now - mLastWriteTime; 2673 if ((now - lastWarning) > kWarningThrottleNs) { 2679 lastWarning = now; 2705 // is now local to this block, but will keep it for now (at least until merge done). 2817 // BLOCK_UNTIL_PUSHED would be insufficient, as we need it to stop doing I/O now 3187 // now appl 6197 nsecs_t now = systemTime(); local [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 346 nsecs_t now = systemTime(); local 347 double time = now - startTime; 370 const nsecs_t sleepTime = 83333 - ns2us(systemTime() - now); 540 nsecs_t now = systemTime(); local 541 nsecs_t delay = frameDuration - (now - lastFrame); 542 //ALOGD("%lld, %lld", ns2ms(now - lastFrame), ns2ms(delay)); 543 lastFrame = now; 547 spec.tv_sec = (now + delay) / 1000000000; 548 spec.tv_nsec = (now + delay) % 1000000000; 560 // For infinite parts, we've now playe [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerService.java | 653 protected String toDebugString(long now) { argument 654 return super.toDebugString(now) + ", hasFeatures" 701 protected String toDebugString(long now) { argument 702 return super.toDebugString(now) + ", removeAccount" 1034 protected String toDebugString(long now) { 1035 return super.toDebugString(now) + ", getAuthTokenLabel" 1116 protected String toDebugString(long now) { 1118 return super.toDebugString(now) + ", getAuthToken" 1286 protected String toDebugString(long now) { 1287 return super.toDebugString(now) 1492 toDebugString(long now) argument 1725 toDebugString(long now) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | SyncStorageEngine.java | 1045 long now, int source, boolean initialization) { 1062 item.eventTime = now; 1587 // now without messing up this loop iteration 1044 insertStartSyncEvent(Account accountName, int userId, String authorityName, long now, int source, boolean initialization) argument
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 387 for (long now = start; now < end; now += bucketDuration) { 389 final int index = Arrays.binarySearch(bucketStart, 0, bucketCount, now); 392 insertBucket(~index, now); 479 public Entry getValues(long start, long end, long now, Entry recycle) { argument 501 final boolean activeBucket = curStart < now && curEnd > now;
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 1146 * @param now the current time in microseconds. 1152 private static final String printWakeLockCheckin(StringBuilder sb, Timer timer, long now, argument 1157 totalTimeMicros = timer.getTotalTimeLocked(now, which); 1989 public void printNextItem(PrintWriter pw, HistoryItem rec, long now) { argument 1991 TimeUtils.formatDuration(rec.time-now, pw, TimeUtils.HUNDRED_DAY_FIELD_LEN); 2109 long now = getHistoryBaseTime() + SystemClock.elapsedRealtime(); 2116 hprinter.printNextItem(pw, rec, now); 2126 hprinter.printNextItem(pw, rec, now);
|
H A D | Message.java | 435 String toString(long now) { argument 442 TimeUtils.formatDuration(when-now, b);
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 345 * Returns a string describing 'time' as a time relative to 'now'. 351 * @param now the current time in milliseconds 356 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution) { argument 358 return getRelativeTimeSpanString(time, now, minResolution, flags); 362 * Returns a string describing 'time' as a time relative to 'now'. 371 * @param now the current time in milliseconds 381 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution, argument 386 boolean past = (now >= time); 387 long duration = Math.abs(now - time); 437 count = getNumberOfDaysPassed(time, now); 726 formatSameDayTime(long then, long now, int dateStyle, int timeStyle) argument [all...] |
/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/android/view/ |
H A D | Choreographer.java | 103 // Enable/disable using the frame time instead of returning now. 311 final long now = SystemClock.uptimeMillis(); 312 final long dueTime = now + delayMillis; 315 if (dueTime <= now) { 316 scheduleFrameLocked(now); 460 private void scheduleFrameLocked(long now) { argument 480 mLastFrameTimeNanos / NANOS_PER_MS + sFrameDelay, now); 482 Log.d(TAG, "Scheduling next frame in " + (nextFrameTime - now) + " ms."); 545 // We use "now" to determine when callbacks become due because it's possible 548 final long now 757 hasDueCallbacksLocked(long now) argument 761 extractDueCallbacksLocked(long now) argument [all...] |
H A D | WindowOrientationListener.java | 395 final long now = event.timestamp; 397 final float timeDeltaMS = (now - then) * 0.000001f; 399 if (now < then 400 || now > then + MAX_FILTER_DELTA_TIME_NANOS 419 mLastFilteredTimestampNanos = now; 439 mAccelerationTimestampNanos = now; 450 addTiltHistoryEntry(now, tiltAngle); 453 if (isFlat(now)) { 455 mFlatTimestampNanos = now; 457 if (isSwinging(now, tiltAngl 613 isPredictedRotationAcceptable(long now) argument 655 updatePredictedRotation(long now, int rotation) argument 672 addTiltHistoryEntry(long now, float tilt) argument 679 isFlat(long now) argument 692 isSwinging(long now, float tilt) argument 710 remainingMS(long now, long until) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 227 private synchronized void updateText(long now) { argument 228 long seconds = now - mBase;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 1331 + " now " + mHistoryBuffer.dataPosition() 1332 + " size is now " + mHistoryBuffer.dataSize()); 1353 // are now resetting back to their original value, then just collapse 3838 public long getStartTime(long now, int which) { argument 3843 val = getStartTimeToNowLocked(now); 4173 long now = getHistoryBaseTime() + SystemClock.elapsedRealtime(); 4177 (new HistoryPrinter()).printNextItem(pw, out, now); 4179 (new HistoryPrinter()).printNextItem(pw, mHistoryReadTmp, now); 4342 // level to a now very high level). 4406 // on battery). If our first report is now tha [all...] |
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);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 345 // now convert the floats into SkPoints 346 count >>= 1; // now it is the number of points 446 SkMSec now = get_thread_msec(); //SkTime::GetMSecs(); local 450 ALOGD("---- picture playback %d ms\n", get_thread_msec() - now);
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DeadZone.java | 88 private float getSize(long now) { argument 91 long dt = (now - mLastPokeTime);
|
/frameworks/base/services/common_time/ |
H A D | clock_recovery.cpp | 194 // now. 337 int64_t now = local_clock_->getLocalTime(); local 344 time_to_cur_slew_.a_zero = now; 373 int64_t now = local_clock_->getLocalTime(); local 376 if (now >= slew_change_end_time_) { 380 time_to_cur_slew_.doForwardTransform(now, &tmp);
|
H A D | common_time_server.cpp | 274 // Success! We are now joining a new network (either coming 426 // TODO: add proper support for IPv6. Right now, we block IPv6 addresses at 1471 int64_t now = mLocalClock.getLocalTime(); local 1472 int64_t delta = now - (mClient_LastGoodSyncRX
|
/frameworks/base/services/input/ |
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(); 996 mInputTargetWaitTimeoutTime = now() + newTimeout; 1113 nsecs_t startTime = now(); 2122 nsecs_t currentTime = now(); 2187 nsecs_t currentTime = now(); 2547 nsecs_t endTime = now() + milliseconds_to_nanoseconds(timeoutMillis); 2670 nsecs_t remainingTimeout = endTime - now(); 2690 nsecs_t remainingTimeout = endTime - now(); [all...] |
H A D | InputReader.cpp | 263 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 264 timeoutMillis = toMillisecondTimeoutDelay(now, mNextTimeout); 279 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 280 if (now >= mNextTimeout) { 282 ALOGD("Timeout expired, latency=%0.3fms", (now - mNextTimeout) * 0.000001f); 285 timeoutExpiredLocked(now); 499 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 506 device->configure(now, &mConfig, changes); 529 bool InputReader::shouldDropVirtualKeyLocked(nsecs_t now, argument 531 if (now < mDisableVirtualKeysTimeou 794 shouldDropVirtualKey(nsecs_t now, InputDevice* device, int32_t keyCode, int32_t scanCode) argument 1943 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local [all...] |
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 755 virtual bool shouldDropVirtualKey(nsecs_t now, argument
|