/frameworks/base/services/java/com/android/server/ |
H A D | DropBoxManagerService.java | 220 long now = System.currentTimeMillis(); 221 if (now - lastTrim > 30 * 1000) { 223 lastTrim = now;
|
H A D | LocationManagerService.java | 865 * has been deprecated as well. So this method now uses 1549 Location loc, Location lastLoc, UpdateRecord record, long now) { 1576 if (record.mRequest.getExpireAt() < now) { 1586 long now = SystemClock.elapsedRealtime(); 1659 if ((lastLoc == null) || shouldBroadcastSafe(notifyLocation, lastLoc, r, now)) { 1686 if (r.mRequest.getNumUpdates() <= 0 || r.mRequest.getExpireAt() < now) { 1548 shouldBroadcastSafe( Location loc, Location lastLoc, UpdateRecord record, long now) argument
|
H A D | DevicePolicyManagerService.java | 554 final long now = System.currentTimeMillis(); 555 final long timeToExpire = expiration - now; 562 alarmTime = now + MS_PER_DAY; 570 alarmTime = now + alarmInterval; 1002 final long now = System.currentTimeMillis(); 1012 && now >= admin.passwordExpirationDate - EXPIRATION_GRACE_PERIOD_MS) {
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Vpn.java | 115 // Ignored; events are sent through callbacks for now 677 long now = SystemClock.elapsedRealtime(); 679 mTimer = now; 681 } else if (now - mTimer <= 60000) {
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 495 // only 3 items now, but may as well keep this flexible approach so it will 983 final long now = SystemClock.uptimeMillis(); 984 event = MotionEvent.obtain(now, now,
|
H A D | PhoneWindowManager.java | 269 boolean mNavigationBarOnBottom = true; // is the navigation bar on the bottom *right now*? 681 final long now = SystemClock.uptimeMillis(); 682 if (now <= mVolumeDownKeyTime + SCREENSHOT_CHORD_DEBOUNCE_DELAY_MILLIS 683 && now <= mPowerKeyTime + SCREENSHOT_CHORD_DEBOUNCE_DELAY_MILLIS) { 1200 // XXX right now the app process has complete control over 1804 final long now = SystemClock.uptimeMillis(); 1806 if (now < timeoutTime) { 1807 return timeoutTime - now; 1873 // right now to interact with applications. 2330 // are now clea [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 1187 final long now = me.getEventTime(); 1192 MotionEvent down = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1202 MotionEvent up = MotionEvent.obtain(now, now, MotionEvent.ACTION_UP,
|
/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);
|
/frameworks/base/keystore/tests/src/android/security/ |
H A D | AndroidKeyStoreTest.java | 743 Date now = new Date(); 746 Date expectedAfter = new Date(now.getTime() - SLOP_TIME_MILLIS); 747 Date expectedBefore = new Date(now.getTime() + SLOP_TIME_MILLIS); 758 Date now = new Date(); 762 Date expectedAfter = new Date(now.getTime() - SLOP_TIME_MILLIS); 763 Date expectedBefore = new Date(now.getTime() + SLOP_TIME_MILLIS);
|
/frameworks/base/services/input/ |
H A D | InputReader.h | 355 virtual bool shouldDropVirtualKey(nsecs_t now, 424 virtual bool shouldDropVirtualKey(nsecs_t now, 476 bool shouldDropVirtualKeyLocked(nsecs_t now,
|
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/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 1273 long now = SystemClock.uptimeMillis(); 1274 if (now < (mLastMemUsageReportTime+5*60*1000)) { 1279 mLastMemUsageReportTime = now; 1338 long now = SystemClock.uptimeMillis(); 1339 if (mLastMemUsageReportTime < now) { 1340 mLastMemUsageReportTime = now; 1621 final long now = SystemClock.uptimeMillis(); 1622 long nextCpuDelay = (mLastCpuTime.get()+MONITOR_CPU_MAX_TIME)-now; 1623 long nextWriteDelay = (mLastWriteTime+BATTERY_STATS_TIME)-now; 1687 final long now [all...] |
H A D | ActivityStack.java | 319 Slog.w(TAG, "Sleep timeout! Sleeping now."); 603 // No need to check the top one now 883 // Make sure any stopped but visible activities are now sleeping. 1011 // pause, so just treat it as being paused now. 1124 // instance right now, we need to first completely stop 1248 // make sure any activities under it are now visible. 1308 // to now show its window. 1479 // Okay we are now going to start a switch, to 'next'. We may first 1483 // at this point, so turn off for now. 1486 long now [all...] |
/frameworks/base/services/common_time/ |
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/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 365 long now = SystemClock.uptimeMillis(); 366 if (now > (mStartTime+mMaxRunTime)) {
|
/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/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...] |
/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/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/widget/ |
H A D | Editor.java | 2940 final long now = SystemClock.uptimeMillis(); 2944 while (i < iMax && (now - mPreviousOffsetsTimes[index]) < TOUCH_UP_FILTER_DELAY_AFTER) { 2950 (now - mPreviousOffsetsTimes[index]) > TOUCH_UP_FILTER_DELAY_BEFORE) {
|
/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/core/java/android/view/ |
H A D | View.java | 2520 * Indicates that the screen has changed state and is now off. 2527 * Indicates that the screen has changed state and is now on. 7429 * @param hasFocus True if the window containing this view now has focus, 7443 * @param hasWindowFocus True if the window containing this view now has 8190 // state now (before scheduling the click) to ensure 8221 // If the post failed, unpress right now 8402 * Tell the view system that we are now available to take focus 11952 // If nobody has evaluated the drawable state yet, then do it now. 14559 * the background, so now it won't draw anything 15782 * Start the specified animation now [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClassic.java | 412 // exclude it for now. 836 * TODO: Some of this is now unnecessary as it is handled by 2322 // now update the bundle 2380 // Nothing we can do now. 7896 long now = System.currentTimeMillis(); 7897 long diff = now - mLastSwapTime; 7900 mLastSwapTime = now;
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 201 // XXX For now we keep around information about all packages we have 1957 final long now = SystemClock.uptimeMillis(); 1959 // + "m now=" + now); 1960 if ((BinderInternal.getLastGcTime()+MIN_TIME_BETWEEN_GCS) < now) { 2468 // tell the OS that we're live now 2821 // The window is now visible if it has been added, we are not 2951 // Make sure any pending writes are now committed. 3110 // For now, don't create the thumbnail here; we are 3196 // Make sure any pending writes are now committe [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 764 // Remove the replaced package's older resources safely now 1091 // Gross hack for now: we know this file doesn't contain any 2754 // If the caller didn't request filter information, drop it now 2775 // drop them now so we don't have to 3381 * data, hide the system app now and let the /data/app scan pick it up 3819 // fix up the new package's name now. We need to do this after 3982 // And now re-install the app. 4923 // permissions we have now selected are fixed until explicitly 6895 // Copy the resource now 7092 // TODO Do this in a more elegant way later on. for now jus [all...] |