Home
last modified time | relevance | path

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

/system/core/logd/tests/
Dlogd_test.cpp317 unsigned int old_alarm = alarm(10); in TEST() local
328 alarm(old_alarm); in TEST()
563 unsigned int old_alarm = alarm(3); in timeout_negative() local
568 alarm(old_alarm); in timeout_negative()
583 alarm_timeout = alarm((old_alarm <= 0) in timeout_negative()
584 ? old_alarm in timeout_negative()
585 : (old_alarm > (1 + 3 - alarm_wrap)) in timeout_negative()
586 ? old_alarm - 3 + alarm_wrap in timeout_negative()
647 unsigned int old_alarm = alarm(3); in TEST() local
652 alarm(old_alarm); in TEST()
[all …]
/system/core/liblog/
Dlogd_reader.c484 unsigned int old_alarm = 0; in logdOpen() local
568 old_alarm = alarm(30); in logdOpen()
576 alarm(old_alarm); in logdOpen()
602 unsigned int old_alarm = 0; in logdRead() local
617 old_alarm = alarm(30); in logdRead()
629 alarm(old_alarm); in logdRead()