/system/core/bootstat/ |
D | boot_event_record_store.cpp | 40 bool ParseRecordEventTime(const std::string& path, int32_t* uptime) { in ParseRecordEventTime() argument 41 DCHECK_NE(static_cast<int32_t*>(nullptr), uptime); in ParseRecordEventTime() 49 *uptime = file_stat.st_mtime; in ParseRecordEventTime() 61 auto uptime = std::chrono::duration_cast<std::chrono::seconds>( in AddBootEvent() local 63 AddBootEventWithValue(event, uptime.count()); in AddBootEvent() 103 int32_t uptime; in GetBootEvent() local 104 if (!ParseRecordEventTime(record_path, &uptime)) { in GetBootEvent() 109 *record = std::make_pair(event, uptime); in GetBootEvent()
|
D | boot_event_record_store_test.cpp | 135 time_t uptime = GetUptimeSeconds(); in TEST_F() local 136 ASSERT_NE(-1, uptime); in TEST_F() 143 EXPECT_TRUE(FuzzUptimeEquals(uptime, events[0].second)); in TEST_F() 150 time_t uptime = GetUptimeSeconds(); in TEST_F() local 151 ASSERT_NE(-1, uptime); in TEST_F() 174 EXPECT_TRUE(FuzzUptimeEquals(uptime, *i)); in TEST_F()
|
D | README.md | 19 The timestamp recorded by bootstat is the uptime of the system, i.e., the
|
D | bootstat.rc | 53 # restart (e.g., adb shell stop && adb shell start). /proc/uptime is not reset
|
D | bootstat.cpp | 912 std::chrono::milliseconds uptime) { in GetAbsoluteBootTime() argument 922 return bootloader_duration + uptime; in GetAbsoluteBootTime()
|
/system/core/libutils/include/utils/ |
D | Looper.h | 369 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, 437 MessageEnvelope() : uptime(0) { } in MessageEnvelope() 440 const Message& m) : uptime(u), handler(h), message(m) { in MessageEnvelope() 443 nsecs_t uptime; member
|
/system/core/init/ |
D | bootchart.cpp | 53 std::string uptime; in get_uptime_jiffies() local 54 if (!android::base::ReadFileToString("/proc/uptime", &uptime)) return 0; in get_uptime_jiffies() 55 return 100LL * strtod(uptime.c_str(), NULL); in get_uptime_jiffies()
|
/system/extras/boottime_tools/bootio/ |
D | bootio_collector.cpp | 220 int uptime; member 273 stats.uptime = newerSample->uptime(); in PrintPids() 283 olderSample->uptime(), in PrintPids() 284 newerSample->uptime(), in PrintPids() 314 it->second.uptime, in PrintPids()
|
D | protos.proto | 26 required int64 uptime = 2; field 45 required int64 uptime = 2; field
|
/system/core/shell_and_utilities/ |
D | README.md | 48 umount uptime vmstat watchprops wipe 60 touch umount uptime vmstat watchprops wipe 73 sync top touch umount uptime vmstat watchprops wipe 86 stop swapoff swapon sync top touch umount uptime vmstat watchprops wipe 99 top touch umount uptime vmstat watchprops wipe 108 newfs\_msdos ps prlimit renice sendevent start stop top uptime watchprops 142 uptime usleep vmstat wc which whoami xargs xxd yes 166 tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode 192 tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode
|
/system/core/libutils/ |
D | Looper.cpp | 312 if (messageEnvelope.uptime <= now) { in pollInner() 336 mNextMessageUptime = messageEnvelope.uptime; in pollInner() 589 void Looper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime() argument 593 this, uptime, handler.get(), message.what); in sendMessageAtTime() 601 while (i < messageCount && uptime >= mMessageEnvelopes.itemAt(i).uptime) { in sendMessageAtTime() 605 MessageEnvelope messageEnvelope(uptime, handler, message); in sendMessageAtTime()
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | bootstat.te | 11 # Read access to pseudo filesystems (for /proc/uptime).
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | bootstat.te | 11 # Read access to pseudo filesystems (for /proc/uptime).
|
/system/extras/app-launcher/ |
D | app-launcher | 338 uptime=`$adb shell 'cat /proc/uptime'` 339 uptime_before_ms=`echo $uptime | awk '{ print ($1 * 1000) }'` 358 uptime=`$adb shell 'cat /proc/uptime'` 359 uptime_after_ms=`echo $uptime | awk '{ print ($1 * 1000) }'`
|
/system/extras/ioshark/ |
D | ioshark_bench_subr.c | 348 unsigned long long uptime; member 449 state->uptime = (unsigned long long) up_sec * hz + in read_disk_util_state() 559 (after.uptime - before.uptime); in report_cpu_disk_util()
|
/system/core/adb/ |
D | test_device.py | 279 uptime, idle = elements 280 self.assertGreater(float(uptime), 0.0)
|
/system/sepolicy/private/ |
D | genfs_contexts | 83 genfscon proc /uptime u:object_r:proc_uptime:s0
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | genfs_contexts | 83 genfscon proc /uptime u:object_r:proc_uptime:s0
|