Home
last modified time | relevance | path

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

/device/linaro/hikey/gralloc/
Dalloc_device.cpp59 unsigned int first_fail = 0; in __ump_alloc_should_fail() local
71 sscanf(prop_value, "%11u", &first_fail); in __ump_alloc_should_fail()
81 if (first_fail > 0) in __ump_alloc_should_fail()
83 LOGI("iteration %u (fail=%u, period=%u)\n", call_count, first_fail, fail_period); in __ump_alloc_should_fail()
85 fail = (call_count == first_fail) || in __ump_alloc_should_fail()
86 … (call_count > first_fail && fail_period > 0 && 0 == (call_count - first_fail) % fail_period); in __ump_alloc_should_fail()