Home
last modified time | relevance | path

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

/device/linaro/hikey/gralloc/
Dalloc_device.cpp76 unsigned int first_fail = 0; in __ump_alloc_should_fail() local
88 sscanf(prop_value, "%11u", &first_fail); in __ump_alloc_should_fail()
98 if (first_fail > 0) in __ump_alloc_should_fail()
100 LOGI("iteration %u (fail=%u, period=%u)\n", call_count, first_fail, fail_period); in __ump_alloc_should_fail()
102 fail = (call_count == first_fail) || in __ump_alloc_should_fail()
103 … (call_count > first_fail && fail_period > 0 && 0 == (call_count - first_fail) % fail_period); in __ump_alloc_should_fail()