Searched refs:curTime (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/services/java/com/android/server/
H A DWatchdog.java182 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 DKeyInputQueue.java591 //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 DInputDevice.java518 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 DWindowManagerService.java4828 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 DEventDispatchThread.java75 long curTime = System.currentTimeMillis();
76 if (curTime - lastPaintTime > 10) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2822 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 DViewRoot.java2051 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 DHistoryRecord.java371 final long curTime = SystemClock.uptimeMillis();
372 final long thisTime = curTime - startTime;
374 ? (curTime - service.mInitialStartTime) : thisTime;
/frameworks/base/core/java/android/os/
H A DBatteryStats.java525 * @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 DAudioPolicyService.cpp590 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 DPhoneWindowManager.java2232 long curTime = SystemClock.uptimeMillis();
2233 mPowerManager.userActivity(curTime, false, LocalPowerManager.OTHER_EVENT);

Completed in 454 milliseconds