Home
last modified time | relevance | path

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

12345678910>>...31

/hardware/interfaces/tv/tuner/1.0/
DITimeFilter.hal20 * Timer Filter is used by Demux to filter data based on time stamp.
24 * Set time stamp for time based filter.
26 * It is used by the client to set initial time stamp and enable time
27 * filtering. The time will be incremented locally. The demux discards
28 * the content which time stamp is older than the time in the time filter.
30 * @param timeStamp initial time stamp for the time filter. It based on
39 * Clear the time stamp in the time filter.
41 * It is used by the client to clear the time value of the time filter,
42 * then disable time filter.
51 * Get the current time in the time filter.
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dos_time.c69 struct timespec time; in os_time_sleep() local
70 time.tv_sec = usecs / 1000000; in os_time_sleep()
71 time.tv_nsec = (usecs % 1000000) * 1000; in os_time_sleep()
72 while (clock_nanosleep(CLOCK_MONOTONIC, 0, &time, &time) == EINTR); in os_time_sleep()
93 int64_t time, abs_timeout; in os_time_get_absolute_timeout() local
99 time = os_time_get_nano(); in os_time_get_absolute_timeout()
100 abs_timeout = time + (int64_t)timeout; in os_time_get_absolute_timeout()
103 if (abs_timeout < time) in os_time_get_absolute_timeout()
/hardware/qcom/sm8150p/gps/android/2.0/
DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
126 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
135 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
136 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
137 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm8150/gps/android/2.0/
DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
126 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
135 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
136 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
137 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm8150/gps/android/2.1/
DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
126 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
135 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
136 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
137 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm7250/gps/android/2.1/
DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
126 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
135 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
136 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
137 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm7150/gps/android/2.0/
DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
126 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
135 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
136 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
137 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm7250/gps/android/2.0/
DGnssDebug.cpp125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
126 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
135 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
136 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
137 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm7150/gps/android/1.1/
DGnssDebug.cpp120 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
121 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
122 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
126 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
127 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
129 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
131 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
132 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
134 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm7250/gps/android/1.1/
DGnssDebug.cpp120 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
121 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
122 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
126 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
127 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
129 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
131 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
132 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
134 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm8150p/gps/android/1.1/
DGnssDebug.cpp120 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
121 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
122 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
126 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
127 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
129 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
131 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
132 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
134 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/qcom/sm8150/gps/android/1.1/
DGnssDebug.cpp120 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
121 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
122 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
126 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
127 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
129 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
131 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
132 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
134 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
[all …]
/hardware/google/aemu/host-common/
Dlogging_unittest.cpp37 std::tm time = {}; in defaultTimestamp() local
38 time.tm_year = 2020 - 1900; in defaultTimestamp()
39 time.tm_mon = 9 - 1; // month starts at 0 in defaultTimestamp()
40 time.tm_mday = 13; in defaultTimestamp()
41 time.tm_hour = 12; in defaultTimestamp()
42 time.tm_min = 26; in defaultTimestamp()
43 time.tm_sec = 40; in defaultTimestamp()
44 time.tm_isdst = -1; // let mktime determine whether DST is in effect in defaultTimestamp()
45 int64_t timestamp_s = mktime(&time); in defaultTimestamp()
/hardware/google/aemu/base/include/aemu/base/
DStopwatch.h49 RaiiTimeTracker(Counter& time) : mTime(time) {} in RaiiTimeTracker() argument
70 auto measure(Counter& time, Func&& f) -> decltype(f()) {
71 RaiiTimeTracker<Counter> rtt(time);
76 auto measureMs(Counter& time, Func&& f) -> decltype(f()) {
77 RaiiTimeTracker<Counter, 1000> rtt(time);
/hardware/qcom/sm7250/gps/android/1.0/
DGnssDebug.cpp119 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
120 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
121 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
125 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
126 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
128 if (data.time.timeUncertaintyNs <= 0 || in getDebugData()
129 data.time.timeUncertaintyNs > (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC; in getDebugData()
132 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
133 data.time.frequencyUncertaintyNsPerSec > (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC) { in getDebugData()
[all …]
/hardware/qcom/sm8150p/gps/android/1.0/
DGnssDebug.cpp119 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
120 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
121 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
125 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
126 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
128 if (data.time.timeUncertaintyNs <= 0 || in getDebugData()
129 data.time.timeUncertaintyNs > (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC; in getDebugData()
132 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
133 data.time.frequencyUncertaintyNsPerSec > (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC) { in getDebugData()
[all …]
/hardware/qcom/sm7150/gps/android/1.0/
DGnssDebug.cpp119 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
120 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
121 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
125 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
126 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
128 if (data.time.timeUncertaintyNs <= 0 || in getDebugData()
129 data.time.timeUncertaintyNs > (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC; in getDebugData()
132 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
133 data.time.frequencyUncertaintyNsPerSec > (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC) { in getDebugData()
[all …]
/hardware/qcom/sm8150/gps/android/1.0/
DGnssDebug.cpp119 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
120 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
121 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
125 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
126 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
128 if (data.time.timeUncertaintyNs <= 0 || in getDebugData()
129 data.time.timeUncertaintyNs > (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC; in getDebugData()
132 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
133 data.time.frequencyUncertaintyNsPerSec > (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC) { in getDebugData()
[all …]
/hardware/interfaces/security/keymint/aidl/default/ta/
Dclock.rs32 let mut time = libc::timespec { tv_sec: 0, tv_nsec: 0 }; in now() localVariable
37 unsafe { libc::clock_gettime(libc::CLOCK_BOOTTIME, &mut time as *mut libc::timespec) }; in now()
42 crypto::MillisecondsSinceEpoch(((time.tv_sec * 1000) + (time.tv_nsec / 1000 / 1000)).into()) in now()
/hardware/interfaces/wifi/1.5/
Dtypes.hal139 * Contention time statistics for different traffic categories.
143 * Data packet min contention time (usec). It includes both the internal contention time
144 * among different access categories within the chipset and the contention time for the medium.
149 * Data packet max contention time (usec). It includes both the internal contention time
150 * among different access categories within the chipset and the contention time for the medium.
154 * Data packet average contention time (usec). It includes both the internal contention time
155 * among different access categories within the chipset and the contention time for the medium.
202 * Channel utilization: The percentage of time (normalized to 255, i.e., x% corresponds to
224 * if this iface is being served using time slicing on a radio with one or more ifaces
226 * If not using time slicing (i.e SCC or DBS), set to 100.
[all …]
/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp93 int64_t time = getTime(); in uploadMetrics() local
98 LOG(INFO) << "Uploading metrics at time " << std::to_string(time) << " w/ " in uploadMetrics()
130 last_upload_ = time; in uploadMetrics()
138 int32_t time = getTime(); in recordSample() local
140 LOG(INFO) << "Recording a sample at time " << std::to_string(time); in recordSample()
158 int32_t sample[NUM_FIELDS] = {[TIME] = time, in recordSample()
190 last_sample_ = time; in recordSample()
195 int32_t time = getTime(); in logBatteryProperties() local
196 if (last_sample_ == 0 || time - last_sample_ >= kSamplePeriod) in logBatteryProperties()
/hardware/interfaces/wifi/1.3/
Dtypes.hal30 * Total time for which the radio is awake on this channel.
34 * Total time for which CCA is held busy on this channel.
46 * Total time for which the radio is awake due to NAN scan since boot or crash.
51 * Total time for which the radio is awake due to background scan since boot or crash.
56 * Total time for which the radio is awake due to roam scan since boot or crash.
61 * Total time for which the radio is awake due to PNO scan since boot or crash.
66 * Total time for which the radio is awake due to Hotspot 2.0 scans and GAS exchange since boot
/hardware/interfaces/tv/tuner/1.1/default/
DTimeFilter.cpp43 mBeginTime = time(NULL); in setTimeStamp()
61 uint64_t currentTimeStamp = mTimeStamp + difftime(time(NULL), mBeginTime) * 900000; in getTimeStamp()
69 uint64_t time = 0; in getSourceTime() local
71 _hidl_cb(Result::SUCCESS, time); in getSourceTime()
/hardware/interfaces/tv/tuner/1.0/default/
DTimeFilter.cpp43 mBeginTime = time(NULL); in setTimeStamp()
61 uint64_t currentTimeStamp = mTimeStamp + difftime(time(NULL), mBeginTime) * 900000; in getTimeStamp()
69 uint64_t time = 0; in getSourceTime() local
71 _hidl_cb(Result::SUCCESS, time); in getSourceTime()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_calibrated_timestamps.adoc15 …ion 1.0, but does not provide a way to interpret these against wall clock time or other components…
16 For performance tuning and certain time-sensitive applications, getting an accurate picture of how …
34 As for comparing device timestamps to system time, the following options were considered:
41 …between them; however some clocks may be adjusted or otherwise drift over time, requiring implemen…
42 …alibrate timestamps at any point, which also handles adjustments or drift between clocks over time.
52 The only exception to this is if the system has been running for a long enough time that the timest…
75 … corresponds to https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html[`CLOCK_MONOT…
78 For Windows systems, `VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT` corresponds to the time domain …
80 Finally, the `VK_TIME_DOMAIN_DEVICE_EXT` is the time domain used by the device for all link:{refpag…
105 The value returned in each element of `pTimestamps` will be a raw timestamp value in the time domai…
[all …]

12345678910>>...31