Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/system/core/adb/
Dbenchmark_device.py22 import time
73 begin = time.time()
75 end = time.time()
89 begin = time.time()
91 end = time.time()
108 begin = time.time()
110 end = time.time()
126 begin = time.time()
128 end = time.time()
139 begin = time.time()
[all …]
/system/update_engine/update_manager/
Dweekly_time.cc52 WeeklyTime WeeklyTime::FromTime(const Time& time) { in FromTime() argument
54 time.LocalExplode(&exploded); in FromTime()
60 bool WeeklyTimeInterval::InRange(const WeeklyTime& time) const { in InRange()
61 return time == start_ || in InRange()
62 (time.GetDurationTo(start_) >= time.GetDurationTo(end_) && in InRange()
63 time != end_); in InRange()
70 start_.time().InMinutes(), in ToString()
72 end_.time().InMinutes()); in ToString()
Dweekly_time.h30 WeeklyTime(const int& day_of_week, const base::TimeDelta& time) in WeeklyTime() argument
31 : day_of_week_(day_of_week), time_(time) {} in WeeklyTime()
34 static WeeklyTime FromTime(const base::Time& time);
37 return time_ == other.time() && day_of_week_ == other.day_of_week();
56 base::TimeDelta time() const { return time_; } in time() function
74 bool InRange(const WeeklyTime& time) const;
/system/update_engine/common/
Dfake_clock.h35 void SetWallclockTime(const base::Time& time) { wallclock_time_ = time; } in SetWallclockTime() argument
37 void SetMonotonicTime(const base::Time& time) { monotonic_time_ = time; } in SetMonotonicTime() argument
39 void SetBootTime(const base::Time& time) { boot_time_ = time; } in SetBootTime() argument
/system/timezone/debug_tools/host/
DREADME.android1 This directory contains tooling to help when debugging time zone issues on
14 - A tool that visualizes time zones, specifically when time zones "sync up"
16 there is a distinction between time zones, e.g. if a sub-region moved
18 region, then a new time zone ID is required to represent the sub-region's
19 behavior because neither of the IDs for the major region describe the time
20 zone behavior of the sub-region throughout time. Once created, zone IDs
24 same from time X until the end of time? If the answer is no, one of the
/system/chre/chre_api/legacy/v1_2/chre/
Dre.h275 uint64_t time = chreGetTime(); in chreGetEstimatedHostTime() local
282 time += (uint64_t) offset; in chreGetEstimatedHostTime()
290 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime()
293 return time; in chreGetEstimatedHostTime()
/system/chre/chre_api/legacy/v1_1/chre/
Dre.h269 uint64_t time = chreGetTime(); in chreGetEstimatedHostTime() local
276 time += (uint64_t) offset; in chreGetEstimatedHostTime()
284 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime()
287 return time; in chreGetEstimatedHostTime()
/system/chre/chre_api/include/chre_api/chre/
Dre.h276 uint64_t time = chreGetTime(); in chreGetEstimatedHostTime() local
283 time += (uint64_t) offset; in chreGetEstimatedHostTime()
291 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime()
294 return time; in chreGetEstimatedHostTime()
/system/extras/boottime_tools/io_analysis/
Dcheck_file_read.py68 def add_access(self, time, offset, size, process_name, read_sizes): argument
69 self.accesses.append((time, offset, size, process_name))
81 def add_merged_access(self, time, offsets, lens, process_names): argument
84 self.accesses.append((time, offsets[i], lens[i], process_names[i]))
143 def add_access(self, is_read, time, offset, size, process_name, read_sizes): argument
145 self.read.add_access(time, offset, size, process_name, read_sizes)
147 self.write.add_access(time, offset, size, process_name, read_sizes)
149 def add_merged_access(self, is_read, time, offsets, lens, process_names): argument
151 self.read.add_merged_access(time, offsets, lens, process_names)
153 self.write.add_merged_access(time, offsets, lens, process_names)
[all …]
/system/core/liblog/
Dlogprint.cpp1198 struct timespec time; in convertMonotonic() member
1201 struct timespec time, convert; in convertMonotonic() local
1259 e = readSeconds(e, &time); in convertMonotonic()
1266 suspended_diff = time; in convertMonotonic()
1277 cp = readSeconds(cp - 10, &time); in convertMonotonic()
1290 time.tv_sec = mktime(&tm); in convertMonotonic()
1299 list->time = time; in convertMonotonic()
1300 subTimespec(&list->convert, &time, &monotonic); in convertMonotonic()
1305 if (subTimespec(&time, subTimespec(&time, &list->time, &list->convert), in convertMonotonic()
1314 time = suspended_monotonic; in convertMonotonic()
[all …]
/system/netd/tests/benchmarks/
DREADME.md17 <td>Mean wall-clock time taken for each iteration of the function under test to complete. This
18 includes any time spent in other processes.
25 <td>Mean time spent in the current thread during each iteration of the function under test. This
26 does not include any time spent in other processes or blocking on I/O.
34 the test to reach the minimum amount of time run. Most tests here define 'minimum time run'
35 in terms of real time or 'manual time', rather than CPU time, for the reasons above.
/system/extras/cpustats/
Dcpustats.c41 long unsigned time; member
249 new_total_cpu.freqs[i].time = 0; in read_stats()
276 &new_cpus[cpu].freqs[i].time); in read_freq_stats()
280 new_cpus[cpu].freqs[i].time = old_cpus[cpu].freqs[i].time; in read_freq_stats()
284 new_total_cpu.freqs[i].time += new_cpus[cpu].freqs[i].time; in read_freq_stats()
365 delta_time = new_cpu->freqs[i].time - old_cpu->freqs[i].time; in print_freq_stats()
378 new_cpu->freqs[i].time - old_cpu->freqs[i].time); in print_freq_stats()
396 if (new_cpus[i].freqs[j].time - old_cpus[i].freqs[j].time != in should_print_freq_stats()
397 new_cpus[0].freqs[j].time - old_cpus[0].freqs[j].time) { in should_print_freq_stats()
/system/timezone/
DREADME.android1 This directory contains code, tools and data related to time zone rules data
8 - Code related to the Android time zone update APEX file that can be used
9 to update time zone rules on Android devices.
12 - Contains tools useful for debugging time zone issues on Android devices.
16 update time zone rules on Android devices. See distro/README for details.
19 - Contains files that provide inputs to the time zone rules update process.
24 - Contains tools that generate Android time zone files.
27 - Contains some derived files from the time zone rules update process and
32 - Contains tools and scripts related to testing time zone update code. See
36 - This is for the "time zone updates via APK" feature.
[all …]
/system/core/logcat/
Devent.logtags33 # s: Number of seconds (monotonic time)
56 # contacts aggregation: time and number of contacts.
58 2747 contacts_aggregation (aggregation time|2|3), (count|1|1)
64 3000 boot_progress_start (time|2|3)
66 3020 boot_progress_preload_start (time|2|3)
68 3030 boot_progress_preload_end (time|2|3)
71 20003 dvm_lock_sample (process|3),(main|1|5),(thread|3),(time|1|3),(file|3),(line|1|5),(ownerfile|3…
101 # time: cpu time millis (not wall time), including lock acquisition
104 52000 db_sample (db|3),(sql|3),(time|1|3),(blocking_package|3),(sample_percent|1|6)
108 60000 viewroot_draw (Draw time|1|3)
[all …]
/system/core/bootstat/
DREADME.md4 `boot_complete`) and the relative time at which these events occurred. The
15 --record_time_since_factory_reset Record the time since the device was reset
17 ## Relative time ##
24 To record the relative time of an event during the boot phase, call `bootstat`
29 The relative time at which the command runs is recorded along with the name of
40 for aggregation and analysis of boot time across different devices and
/system/sepolicy/public/
Dtzdatacheck.te9 # can modify the /data time zone rules directories. This is to make it very
10 # clear that only these domains should modify the actual time zone rules data.
13 # If other users / binaries could modify time zone rules on device this might
16 # responsible for updating time zone rules.
/system/sepolicy/prebuilts/api/29.0/public/
Dtzdatacheck.te9 # can modify the /data time zone rules directories. This is to make it very
10 # clear that only these domains should modify the actual time zone rules data.
13 # If other users / binaries could modify time zone rules on device this might
16 # responsible for updating time zone rules.
/system/sepolicy/prebuilts/api/28.0/public/
Dtzdatacheck.te9 # can modify the /data time zone rules directories. This is to make it very
10 # clear that only these domains should modify the actual time zone rules data.
13 # If other users / binaries could modify time zone rules on device this might
16 # responsible for updating time zone rules.
/system/sepolicy/prebuilts/api/30.0/public/
Dtzdatacheck.te9 # can modify the /data time zone rules directories. This is to make it very
10 # clear that only these domains should modify the actual time zone rules data.
13 # If other users / binaries could modify time zone rules on device this might
16 # responsible for updating time zone rules.
/system/sepolicy/prebuilts/api/27.0/public/
Dtzdatacheck.te9 # can modify the /data time zone rules directories. This is to make it very
10 # clear that only these domains should modify the actual time zone rules data.
13 # If other users / binaries could modify time zone rules on device this might
16 # responsible for updating time zone rules.
/system/chre/apps/chqts/src/general_test/
Dget_time_test.cc87 uint64_t time = nanoapp_testing::hostToLittleEndian(chreGetTime()); in handleEvent() local
88 sendMessageToHost(MessageType::kContinue, &time, sizeof(time)); in handleEvent()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc342 Task(std::chrono::steady_clock::time_point time, in Task() argument
345 : time(time), in Task()
351 Task(std::chrono::steady_clock::time_point time, in Task() argument
353 : time(time), in Task()
361 return std::make_pair(time, task_id) < std::make_pair(another.time, another.task_id); in operator <()
370 std::chrono::steady_clock::time_point time; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task
441 if (task_p->time < std::chrono::steady_clock::now()) { in ThreadRoutine()
447 task_p->time += task_p->period; in ThreadRoutine()
465 internal_cond_var_.wait_until(guard, (*task_queue_.begin())->time); in ThreadRoutine()
/system/sepolicy/prebuilts/api/29.0/private/
Dradio.te7 # Telephony code contains time / time zone detection logic so it reads the associated properties.
/system/media/audio_utils/include/audio_utils/
DErrorLog.h134 << " " << audio_utils_time_string_from_ns(entry.mFirstTime).time
135 << " " << audio_utils_time_string_from_ns(entry.mLastTime).time << "\n";
171 void setFirstError(T code, int64_t time) { in setFirstError()
174 mFirstTime = time; in setFirstError()
175 mLastTime = time; in setFirstError()
/system/extras/tests/framebuffer/
Drefresh.c145 int64_t time = systemTime(); in main() local
159 time = now - time; in main()
160 printf("refresh rate = %f Hz\n", (c*1000000000.0 / (double)time)); in main()
162 time = now; in main()

12345678910>>...14