/frameworks/base/services/java/com/android/server/ |
H A D | Watchdog.java | 182 boolean checkLocked(long curTime, int pid, int pss) { argument 208 computeMemcheckTimesLocked(curTime); 210 if (curTime < mMemcheckExecStartTime || curTime > mMemcheckExecEndTime) { 213 skipReason = shouldWeBeBrutalLocked(curTime); 478 long curTime; 490 curTime = System.currentTimeMillis(); 494 if (mSystemMemMonitor.checkLocked(curTime, Process.myPid(), 504 if (mPhoneMemMonitor.checkLocked(curTime, mPhonePid, 518 nextTime = curTime 719 shouldWeBeBrutalLocked(long curTime) argument 743 computeMemcheckTimesLocked(long curTime) argument 778 computeCalendarTime(Calendar c, long curTime, long secondsSinceMidnight) argument [all...] |
H A D | KeyInputQueue.java | 591 //curTime = gotOne ? ev.when : SystemClock.uptimeMillis(); 592 final long curTime = SystemClock.uptimeMillis(); 594 //Log.i(TAG, "curTime=" + curTime + ", systemClock=" + SystemClock.uptimeMillis()); 609 di.mKeyDownTime = curTime; 616 newKeyEvent(di, di.mKeyDownTime, curTime, down, 760 ev, curTime, curTimeNano); 766 ev, curTime, curTimeNano); 775 me = ms.generateAbsMotion(di, curTime, 814 me = ms.generateRelMotion(di, curTime, 888 generateVirtualKeyDown(InputDevice di, RawInputEvent ev, long curTime, long curTimeNano) argument 939 monitorVirtualKey(InputDevice di, RawInputEvent ev, long curTime, long curTimeNano) argument [all...] |
H A D | InputDevice.java | 518 MotionEvent generateAbsMotion(InputDevice device, long curTime, argument 570 mDownTime = curTime; 668 currentMove.addBatch(curTime, reportData, metaState); 675 MotionEvent me = MotionEvent.obtainNano(mDownTime, curTime, 698 MotionEvent generateRelMotion(InputDevice device, long curTime, argument 716 mDownTime = curTime; 755 currentMove.addBatch(curTime, scaled, metaState); 762 MotionEvent me = MotionEvent.obtainNano(mDownTime, curTime,
|
H A D | WindowManagerService.java | 4828 long curTime = SystemClock.uptimeMillis(); 4832 (curTime - mLastUserActivityCallTime) < MIN_TIME_BETWEEN_USERACTIVITIES) { 4835 mLastUserActivityCallTime = curTime; 4841 mPowerManager.userActivity(curTime, false, eventType, false); 6368 long curTime = SystemClock.uptimeMillis(); 6371 TAG, "Waiting for next key: now=" + curTime 6379 (int)((!configChanged && curTime < nextKeyTime) 6380 ? (nextKeyTime-curTime) : 0)); 6393 lastKeyTime = curTime; 6394 nextKeyTime = curTime [all...] |
/frameworks/base/awt/java/awt/ |
H A D | EventDispatchThread.java | 75 long curTime = System.currentTimeMillis(); 76 if (curTime - lastPaintTime > 10) {
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 2822 public long computeUptime(long curTime, int which) { argument 2824 case STATS_TOTAL: return mUptime + (curTime-mUptimeStart); 2826 case STATS_CURRENT: return (curTime-mUptimeStart); 2827 case STATS_UNPLUGGED: return (curTime-mTrackBatteryUptimeStart); 2833 public long computeRealtime(long curTime, int which) { argument 2835 case STATS_TOTAL: return mRealtime + (curTime-mRealtimeStart); 2837 case STATS_CURRENT: return (curTime-mRealtimeStart); 2838 case STATS_UNPLUGGED: return (curTime-mTrackBatteryRealtimeStart); 2844 public long computeBatteryUptime(long curTime, int which) { argument 2847 return mBatteryUptime + getBatteryUptime(curTime); 2859 computeBatteryRealtime(long curTime, int which) argument 2873 getBatteryUptimeLocked(long curTime) argument 2886 getBatteryUptime(long curTime) argument 2890 getBatteryRealtimeLocked(long curTime) argument 2899 getBatteryRealtime(long curTime) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRoot.java | 2051 long curTime = SystemClock.uptimeMillis(); 2052 if ((mLastTrackballTime+MAX_TRACKBALL_DELAY) < curTime) { 2057 mLastTrackballTime = curTime; 2067 deliverKeyEvent(new KeyEvent(curTime, curTime, 2074 deliverKeyEvent(new KeyEvent(curTime, curTime, 2126 deliverKeyEvent(new KeyEvent(curTime, curTime, 2134 curTime [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | HistoryRecord.java | 371 final long curTime = SystemClock.uptimeMillis(); 372 final long thisTime = curTime - startTime; 374 ? (curTime - service.mInitialStartTime) : thisTime;
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 525 * @param curTime the amount of elapsed realtime in microseconds. 527 public abstract long getBatteryUptime(long curTime); argument 545 * @param curTime the amount of elapsed realtime in microseconds. 547 public abstract long getBatteryRealtime(long curTime); argument 564 * @param curTime the elapsed realtime in microseconds. 567 public abstract long computeBatteryUptime(long curTime, int which); argument 572 * @param curTime the current elapsed realtime in microseconds. 575 public abstract long computeBatteryRealtime(long curTime, int which); argument 580 * @param curTime the current elapsed realtime in microseconds. 583 public abstract long computeUptime(long curTime, in argument 591 computeRealtime(long curTime, int which) argument [all...] |
/frameworks/base/libs/audioflinger/ |
H A D | AudioPolicyService.cpp | 590 nsecs_t curTime = systemTime(); local 592 if (mAudioCommands[0]->mTime <= curTime) { 656 waitTime = mAudioCommands[0]->mTime - curTime;
|
/frameworks/policies/base/phone/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 2232 long curTime = SystemClock.uptimeMillis(); 2233 mPowerManager.userActivity(curTime, false, LocalPowerManager.OTHER_EVENT);
|