Home
last modified time | relevance | path

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

/system/core/logd/tests/
Dlogd_test.cpp545 unsigned int alarm_wrap = 0, alarm_timeout = 0; in timeout_negative() local
576 alarm_wrap = alarm(5); in timeout_negative()
585 : (old_alarm > (1 + 3 - alarm_wrap)) in timeout_negative()
586 ? old_alarm - 3 + alarm_wrap in timeout_negative()
592 if (!content_wrap && !alarm_wrap && content_timeout && alarm_timeout) { in timeout_negative()
607 EXPECT_NE(0U, alarm_wrap); in timeout_negative()
624 unsigned int alarm_wrap = 0, alarm_timeout = 0; in TEST() local
660 alarm_wrap = alarm(5); in TEST()
669 : (old_alarm > (1 + 3 - alarm_wrap)) in TEST()
670 ? old_alarm - 3 + alarm_wrap in TEST()
[all …]