/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 | 134 time_t uptime = GetUptimeSeconds(); in TEST_F() local 135 ASSERT_NE(-1, uptime); in TEST_F() 142 EXPECT_TRUE(FuzzUptimeEquals(uptime, events[0].second)); in TEST_F() 149 time_t uptime = GetUptimeSeconds(); in TEST_F() local 150 ASSERT_NE(-1, uptime); in TEST_F() 173 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.cpp | 1225 std::chrono::milliseconds uptime) { in GetAbsoluteBootTime() argument 1235 return bootloader_duration + uptime; in GetAbsoluteBootTime()
|
/system/core/libutils/include/utils/ |
D | Looper.h | 386 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, 456 MessageEnvelope() : uptime(0) { } in MessageEnvelope() 459 : uptime(u), handler(std::move(h)), message(m) {} in MessageEnvelope() 461 nsecs_t uptime; member
|
/system/extras/boottime_tools/bootio/ |
D | bootio_collector.cpp | 231 int uptime; member 284 stats.uptime = newerSample->uptime(); in PrintPids() 292 olderSample->uptime(), in PrintPids() 293 newerSample->uptime(), in PrintPids() 323 it->second.uptime, in PrintPids()
|
D | protos.proto | 26 required int64 uptime = 2; field 45 required int64 uptime = 2; field
|
/system/core/libutils/ |
D | Looper.cpp | 321 if (messageEnvelope.uptime <= now) { in pollInner() 345 mNextMessageUptime = messageEnvelope.uptime; in pollInner() 618 void Looper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime() argument 622 this, uptime, handler.get(), message.what); in sendMessageAtTime() 630 while (i < messageCount && uptime >= mMessageEnvelopes.itemAt(i).uptime) { in sendMessageAtTime() 634 MessageEnvelope messageEnvelope(uptime, handler, message); in sendMessageAtTime()
|
/system/libprocinfo/ |
D | process_test.cpp | 128 std::string uptime; in read_uptime_secs() local 129 if (!android::base::ReadFileToString("/proc/uptime", &uptime)) { in read_uptime_secs() 132 return strtoll(uptime.c_str(), nullptr, 10); in read_uptime_secs()
|
/system/core/shell_and_utilities/ |
D | README.md | 71 uniq unix2dos unlink unshare uptime usleep uudecode uuencode uuidgen 109 uniq unix2dos unlink unshare uptime usleep uudecode uuencode uuidgen 143 uniq unix2dos unlink unshare uptime usleep uudecode uuencode uuidgen 177 unlink unshare uptime usleep uudecode uuencode uuidgen vconfig vi 210 tty tunctl ulimit umount uname uniq unix2dos unlink unshare uptime 243 **unshare** uptime usleep uudecode uuencode **uuidgen** **vconfig** vmstat **watch** 270 umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc 295 tty ulimit umount uname uniq unix2dos uptime usleep **uudecode** **uuencode** 318 **uptime** usleep vmstat wc which whoami xargs **xxd** yes 326 newfs\_msdos ps prlimit renice sendevent start stop top uptime watchprops [all …]
|
/system/core/init/ |
D | bootchart.cpp | 56 boot_clock::time_point uptime = boot_clock::now(); in get_uptime_jiffies() local 57 return uptime.time_since_epoch().count() / kNanosecondsPerJiffy; in get_uptime_jiffies()
|
/system/extras/app-launcher/ |
D | app-launcher.sh | 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 | 344 unsigned long long uptime; member 445 state->uptime = (unsigned long long) up_sec * hz + in read_disk_util_state() 555 (after.uptime - before.uptime); in report_cpu_disk_util()
|
/system/core/debuggerd/proto/ |
D | tombstone.proto | 39 // Process uptime in seconds.
|
/system/sepolicy/private/ |
D | crash_dump.te | 75 # Read uptime
|
D | genfs_contexts | 110 genfscon proc /uptime u:object_r:proc_uptime:s0
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone_proto.cpp | 740 result.set_process_uptime(si.uptime - starttime); in engrave_tombstone_proto()
|
/system/sepolicy/microdroid/system/private/ |
D | genfs_contexts | 103 genfscon proc /uptime u:object_r:proc_uptime:s0
|
/system/core/libutils/abi-dumps/arm64/source-based/ |
D | libutils.so.lsdump | 16539 "field_name" : "uptime",
|
/system/core/libutils/abi-dumps/arm_arm64/source-based/ |
D | libutils.so.lsdump | 16579 "field_name" : "uptime",
|