Home
last modified time | relevance | path

Searched refs:deadline (Results 1 – 16 of 16) sorted by relevance

/system/security/keystore2/src/
Dwatchdog.rs60 deadline: Instant, field
79 let timeout = r.deadline.saturating_duration_since(now); in update_overdue_and_find_next_timeout()
118 if r.deadline.saturating_duration_since(now) == Duration::new(0, 0) { in log_report()
126 r.deadline.elapsed(), in log_report()
136 r.deadline.elapsed() in log_report()
193 let deadline = Instant::now().checked_add(timeout); in watch_with_optional() localVariable
194 if deadline.is_none() { in watch_with_optional()
199 wd.arm(callback, id, deadline.unwrap()); in watch_with_optional()
224 deadline: Instant, in arm()
228 let record = Record { started: Instant::now(), deadline, callback }; in arm()
/system/logging/logd/
DLogReader.cpp117 std::chrono::steady_clock::time_point deadline = {}; in onDataAvailable() local
122 deadline = std::chrono::steady_clock::now() + std::chrono::seconds(timeout_seconds); in onDataAvailable()
211 (int)pid, start.nsec(), static_cast<int64_t>(deadline.time_since_epoch().count())); in onDataAvailable()
214 deadline = {}; in onDataAvailable()
220 logMask, pid, start, sequence, deadline); in onDataAvailable()
DLogReaderList.cpp26 if (entry->deadline().time_since_epoch().count() != 0) { in NotifyNewLog()
DLogReaderThread.h43 std::chrono::steady_clock::time_point deadline);
65 std::chrono::steady_clock::time_point deadline() const REQUIRES(logd_lock) { return deadline_; } in deadline() function
DLogReaderThread.cpp33 std::chrono::steady_clock::time_point deadline) in LogReaderThread() argument
42 deadline_(deadline), in LogReaderThread()
DLogBufferTest.h117 std::chrono::steady_clock::time_point deadline = {}; member
128 params.sequence, params.deadline)); in TestReaderThread()
DSerializedLogBuffer.cpp194 if (reader_thread->deadline().time_since_epoch().count() != 0) { in Prune()
239 if (reader_thread->deadline().time_since_epoch().count() != 0) { in UidClear()
DSimpleLogBuffer.cpp284 reader_thread->deadline().time_since_epoch().count() != 0)) { in Prune()
348 } else if (reader->deadline().time_since_epoch().count() != 0) { in KickReader()
DChattyLogBuffer.cpp343 reader_thread->deadline().time_since_epoch().count() != 0)) { in Prune()
/system/update_engine/cros/
Domaha_response_handler_action_unittest.cc199 in.deadline = "20101020"; in TEST_F()
207 string deadline; in TEST_F() local
208 EXPECT_TRUE(utils::ReadFile(test_deadline_file.path(), &deadline)); in TEST_F()
209 EXPECT_EQ("20101020", deadline); in TEST_F()
238 string deadline; in TEST_F() local
239 EXPECT_TRUE(utils::ReadFile(test_deadline_file.path(), &deadline) && in TEST_F()
240 deadline.empty()); in TEST_F()
254 in.deadline = "some-deadline"; in TEST_F()
268 string deadline; in TEST_F() local
269 EXPECT_TRUE(utils::ReadFile(test_deadline_file.path(), &deadline)); in TEST_F()
[all …]
Domaha_response.h64 std::string deadline; member
Domaha_response_handler_action.cc241 response.deadline.data(), in PerformAction()
242 response.deadline.size()); in PerformAction()
Domaha_request_action_unittest.cc178 (deadline.empty() ? "" : ("deadline=\"" + deadline + "\" ")) + in GetUpdateResponse()
256 string deadline = ""; member
663 fake_update_response_.deadline = "20101020"; in TEST_F()
678 EXPECT_EQ(fake_update_response_.deadline, response_.deadline); in TEST_F()
1035 fake_update_response_.deadline = "20101020"; in TEST_F()
1048 fake_update_response_.deadline = "20101020"; in TEST_F()
1590 EXPECT_TRUE(response_.deadline.empty()); in TEST_F()
1668 fake_update_response_.deadline = "&lt;20110101"; in TEST_F()
1678 EXPECT_EQ("<20110101", response_.deadline); in TEST_F()
2536 fake_update_response_.deadline = "20101020"; in TEST_F()
[all …]
Domaha_request_action.cc180 string deadline; member
283 .deadline = attrs[kAttrDeadline], in ParserHandlerStart()
922 output_object->deadline = app.postinstall_action->deadline; in ParseParams()
1292 if (!output_object->deadline.empty()) { in IsWallClockBasedWaitingSatisfied()
1558 (response.deadline.empty() || in ShouldIgnoreUpdate()
/system/core/fastboot/
Dusb_linux.cpp517 double deadline = now() + WAIT_FOR_DISCONNECT_TIMEOUT; in WaitForDisconnect() local
518 while (now() < deadline) { in WaitForDisconnect()
/system/chre/core/
Dsensor_request_manager.cc798 Nanoseconds deadline = request.deadlineTimestamp; in makeFlushRequest() local
799 if (now >= deadline) { in makeFlushRequest()
806 Nanoseconds delay = deadline - now; in makeFlushRequest()