Home
last modified time | relevance | path

Searched refs:current_timestamp (Results 1 – 2 of 2) sorted by relevance

/device/google/trout/hal/audiocontrol/aidl/1.0/
DAudioControlServer.cpp79 void CheckSessionHeartbeats(std::chrono::steady_clock::time_point current_timestamp);
208 auto current_timestamp = std::chrono::steady_clock::now(); in RequestWorker() local
211 HandleHeartbeat(active_session, current_timestamp); in RequestWorker()
215 HandleAcquiring(std::move(acquire_request), current_timestamp); in RequestWorker()
222 if (current_timestamp >= nextHeartbeatCheckTime) { in RequestWorker()
224 CheckSessionHeartbeats(current_timestamp); in RequestWorker()
332 std::chrono::steady_clock::time_point current_timestamp) { in CheckSessionHeartbeats() argument
347 if (current_session_info.mLastHeartbeat + kSessionHeartbeatTimeout < current_timestamp) { in CheckSessionHeartbeats()
356 << ", current timestamp is " << timestamp_to_sec(current_timestamp) in CheckSessionHeartbeats()
/device/google/trout/hal/audiocontrol/aidl/1.0/libandroid_audio_controller/
Dandroid_audio_controller.cpp232 auto current_timestamp = std::chrono::steady_clock::now(); in RequestWorker() local
234 (current_timestamp > nextHeartbeatTime && !mActiveSessions.empty()); in RequestWorker()
245 auto current_timestamp = std::chrono::steady_clock::now(); in RequestWorker() local
246 if (current_timestamp > nextHeartbeatTime) { in RequestWorker()
247 nextHeartbeatTime = current_timestamp + 1s; in RequestWorker()