/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
MockClocks.java | 20 public long realtime; field in class:MockClocks 25 return realtime;
|
BatteryStatsSensorTest.java | 38 clocks.realtime = 100; 44 clocks.realtime = 200; 51 clocks.realtime = 400; 63 clocks.realtime * 1000, BatteryStats.STATS_SINCE_CHARGED)); 67 clocks.realtime * 1000, BatteryStats.STATS_SINCE_CHARGED)); 74 long curr = 0; // realtime in us 77 curr = 1000 * (clocks.realtime = clocks.uptime = 100); 82 curr = 1000 * (clocks.realtime = clocks.uptime = 200); 86 curr = 1000 * (clocks.realtime = clocks.uptime = 215); 94 curr = 1000 * (clocks.realtime = clocks.uptime = 550) [all...] |
BatteryStatsBackgroundStatsTest.java | 39 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms 41 long cur = 0; // realtime in us 46 clocks.realtime = clocks.uptime = 10; 47 cur = clocks.realtime * 1000; 53 clocks.realtime = clocks.uptime = 100; 54 cur = clocks.realtime * 1000; 60 clocks.realtime = clocks.uptime = 201; 61 cur = clocks.realtime * 1000; 67 clocks.realtime = clocks.uptime = 303; 68 cur = clocks.realtime * 1000 [all...] |
BatteryStatsDualTimerTest.java | 31 clocks.realtime = clocks.uptime = 100; 47 clocks.realtime = clocks.uptime = 200; 48 timer.startRunningLocked(clocks.realtime); 54 clocks.realtime = clocks.uptime = 300; 55 timer.stopRunningLocked(clocks.realtime);
|
BatteryStatsStopwatchTimerTest.java | 32 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms 40 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); 81 timeBase.setRunning(true, 1000 * clocks.realtime, 1000 * clocks.realtime); 122 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); 128 timeBase.setRunning(true, 1000 * clocks.realtime, 1000 * clocks.realtime); 138 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime) [all...] |
BatteryStatsNoteTest.java | 81 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms 89 bi.getUidStatsLocked(UID).noteStartWakeLocked(pid, name, WAKE_TYPE_PARTIAL, clocks.realtime); 91 clocks.realtime = clocks.uptime = 100; 94 clocks.realtime = clocks.uptime = 220; 95 bi.getUidStatsLocked(UID).noteStopWakeLocked(pid, name, WAKE_TYPE_PARTIAL, clocks.realtime); 133 clocks.realtime += entry.getValue(); 134 clocks.uptime = clocks.realtime; 139 long elapsedTimeUs = clocks.realtime * 1000; 198 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in ms 220 final MockClocks clocks = new MockClocks(); // holds realtime and uptime in m [all...] |
BatteryStatsTimeBaseTest.java | 40 public void populate(long uptime, long realtime, boolean running, long pastUptime, 44 mRealtime = realtime; 54 public void verify(long uptime, long realtime, boolean running, long pastUptime, 58 Assert.assertEquals(realtime, mRealtime); 76 // Toggle running once, to accumulate past uptime and past realtime
|
BatteryStatsSamplingTimerTest.java | 140 clocks.realtime = 0; 158 clocks.realtime = 20;
|
/external/ltp/testcases/realtime/lib/ |
Makefile | 2 # realtime/lib Makefile. 29 -I$(top_srcdir)/testcases/realtime/include/\ 30 -I$(top_builddir)/testcases/realtime/include/
|
/external/ltp/testcases/realtime/scripts/ |
setenv.sh | 9 TESTSUITE_NAME=testcases/realtime
|
/external/ltp/testcases/ |
Makefile | 38 FILTER_OUT_DIRS += realtime
|
/external/ltp/testcases/realtime/ |
config.mk | 2 # Default include definitions for realtime test suite Makefile. 26 realtime_reldir := testcases/realtime
|
README | 21 realtime tests is an open-source testsuite for testing real-time Linux. It is 42 Simplest method to run realtime tests through LTP is:
|
/system/core/logd/ |
LogBufferInterface.h | 33 virtual int log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid,
|
LogBufferElement.h | 58 LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid,
|
/external/ltp/testcases/realtime/perf/latency/ |
run_auto.sh | 21 # Test lots of threads. Specify "--realtime" if you want the first 22 # process to run realtime. The remainder of the processes (if any) 23 # will run non-realtime in any case. 38 ./pthread_cond_many --realtime --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
|
pthread_cond_many.c | 56 int realtime = 0; variable 113 if (realtime) { 249 printf(" -r,--realtime run with realtime priority\n"); 274 realtime = 1; 287 {"realtime", 0, NULL, 'r'},
|
/external/ltp/include/mk/ |
automake.mk | 30 testcases/realtime 34 .PHONY: testcases/realtime/configure 35 testcases/realtime/configure:
|
/system/core/liblog/tests/ |
liblog_benchmark.cpp | 155 header.realtime.tv_sec = ts.tv_sec; 156 header.realtime.tv_nsec = ts.tv_nsec; 241 buffer->header.realtime.tv_sec = ts.tv_sec; 242 buffer->header.realtime.tv_nsec = ts.tv_nsec; 315 buffer->header.realtime.tv_sec = ts.tv_sec; 316 buffer->header.realtime.tv_nsec = ts.tv_nsec; 389 buffer->header.realtime.tv_sec = ts.tv_sec; 390 buffer->header.realtime.tv_nsec = ts.tv_nsec; 461 buffer->header.realtime.tv_sec = ts.tv_sec; 462 buffer->header.realtime.tv_nsec = ts.tv_nsec [all...] |
/system/core/liblog/ |
pmsg_reader.c | 189 (buf.l.id >= LOG_ID_MAX) || (buf.l.realtime.tv_nsec >= NS_PER_SEC) || 203 ((logger_list->start.tv_sec <= buf.l.realtime.tv_sec) && 204 ((logger_list->start.tv_sec != buf.l.realtime.tv_sec) || 205 (logger_list->start.tv_nsec <= buf.l.realtime.tv_nsec)))) && 230 log_msg->entry_v4.sec = buf.l.realtime.tv_sec; 231 log_msg->entry_v4.nsec = buf.l.realtime.tv_nsec;
|
logd_writer.c | 177 header.realtime.tv_sec = ts->tv_sec; 178 header.realtime.tv_nsec = ts->tv_nsec;
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_triggered_response/ |
RepMode.java | 38 realtime(1), enum constant in enum:RepMode.Value
|
/system/core/liblog/include/private/ |
android_logger.h | 55 log_time realtime; member in struct:__anon114232
|
/external/ltp/scripts/tests/ |
test_abspath.sh | 52 /scratch/ltp/testcases/realtime/../..:/scratch/ltp \
|
/hardware/qcom/audio/hal/ |
audio_hw.h | 215 bool realtime; member in struct:stream_out 247 bool realtime; member in struct:stream_in
|