/system/extras/timeinfo/ |
timeinfo.cpp | 17 /* Report realtime, uptime, awake percentage, and sleep percentage to stdout. 30 int64_t realtime, uptime; local 34 realtime = android::elapsedRealtime(); 36 if (realtime == 0) { 37 realtime = 1; 40 awaketime = ((1000 * uptime / realtime) + 5) / 10; 41 sleeptime = ((1000 * (realtime - uptime) / realtime) + 5) / 10; 43 printf("%jd %jd %jd %jd\n", (intmax_t) realtime, (intmax_t) uptime,
|
/system/core/toolbox/ |
renice.c | 94 int realtime = 0; local 105 // do realtime priority adjustment 106 realtime = 1; 139 if (realtime) {
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/ |
perf_config.h | 70 unsigned long realtime; /* real-time enabled flag */ member in struct:PERF_Config
|
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.h | 80 virtual bool realtime() const { return true; } function in class:android::MediaPlayerService::AudioOutput 194 virtual bool realtime() const { return false; } function in class:android::MediaPlayerService::AudioCache
|
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 512 public void init(long uptime, long realtime) { 518 mRealtimeStart = realtime; 523 public void reset(long uptime, long realtime) { 529 mRealtimeStart = realtime; 531 mUnpluggedRealtime = getRealtime(realtime); 587 public boolean setRunning(boolean running, long uptime, long realtime) { 592 mRealtimeStart = realtime; 594 long batteryRealtime = mUnpluggedRealtime = getRealtime(realtime); 597 mObservers.get(i).onTimeStarted(realtime, batteryUptime, batteryRealtime); 601 mPastRealtime += realtime - mRealtimeStart 6455 long realtime = SystemClock.elapsedRealtime() * 1000; local 6670 long realtime = mSecRealtime * 1000; local 6824 final long realtime = mSecRealtime * 1000; local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | 13846 long realtime = SystemClock.elapsedRealtime(); local 14115 long realtime = SystemClock.elapsedRealtime(); local [all...] |