Home
last modified time | relevance | path

Searched refs:now_time (Results 1 – 9 of 9) sorted by relevance

/external/adhd/cras/src/server/
Dcras_audio_thread_monitor.c28 struct timespec now_time; in take_snapshot() local
29 clock_gettime(CLOCK_MONOTONIC_RAW, &now_time); in take_snapshot()
30 snapshot->timestamp = now_time; in take_snapshot()
106 struct timespec now_time; in handle_audio_thread_event_message() local
117 clock_gettime(CLOCK_REALTIME, &now_time); in handle_audio_thread_event_message()
123 subtract_timespecs(&now_time, last_snapshot_time, &diff_time); in handle_audio_thread_event_message()
128 *last_snapshot_time = now_time; in handle_audio_thread_event_message()
/external/webrtc/modules/audio_device/
Daudio_device_buffer.cc107 const int64_t now_time = rtc::TimeMillis(); in StartPlayout() local
109 play_start_time_ = now_time; in StartPlayout()
363 int64_t now_time = rtc::TimeMillis(); in LogStats() local
369 last_timer_task_time_ = now_time; in LogStats()
383 int64_t next_callback_time = now_time + kTimerIntervalInMilliseconds; in LogStats()
384 int64_t time_since_last = rtc::TimeDiff(now_time, last_timer_task_time_); in LogStats()
385 last_timer_task_time_ = now_time; in LogStats()
Daudio_device_unittest.cc264 int64_t now_time = rtc::TimeMillis(); in Write() local
266 PRINTD("[%d]", rtc::checked_cast<int>(now_time - pulse_time_)); in Write()
273 latencies_.push_back(now_time - *pulse_time_ + extra_delay); in Write()
/external/autotest/client/cros/audio/
Daudio_quality_measurement.py538 now_time = float(index) / rate - APPEND_ZEROS_SECS
539 if abs(now_time - start_time) < NEAR_START_OR_END_SECS:
541 if abs(now_time - end_time) < NEAR_START_OR_END_SECS:
/external/zlib/google/
Dzip_unittest.cc272 base::Time now_time; in TestTimeStamp() local
273 EXPECT_TRUE(base::Time::FromLocalExploded(now_parts, &now_time)); in TestTimeStamp()
289 EXPECT_GE(file_info.last_modified, now_time); in TestTimeStamp()
/external/angle/third_party/zlib/google/
Dzip_unittest.cc303 base::Time now_time; in TestTimeStamp() local
304 EXPECT_TRUE(base::Time::FromUTCExploded(now_parts, &now_time)); in TestTimeStamp()
320 EXPECT_GE(file_info.last_modified, now_time); in TestTimeStamp()
/external/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc294 int64_t now_time = rtc::TimeMillis(); in Write() local
296 PRINTD("[%d]", static_cast<int>(now_time - pulse_time_)); in Write()
303 latencies_.push_back(now_time - pulse_time_ + extra_delay); in Write()
/external/webrtc/sdk/android/native_unittests/audio_device/
Daudio_device_unittest.cc291 int64_t now_time = rtc::TimeMillis(); in Write() local
293 PRINTD("[%d]", static_cast<int>(now_time - pulse_time_)); in Write()
300 latencies_.push_back(now_time - pulse_time_ + extra_delay); in Write()
/external/webrtc/sdk/objc/native/src/audio/
Daudio_device_ios.mm442 const int64_t now_time = rtc::TimeMillis();
444 const int64_t delta_time = now_time - last_playout_time_;
464 last_playout_time_ = now_time;