sync_fence_count_with_status
int sync_fence_count_with_status(int fd, int status);
ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_ACTIVE) == 1,
ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_ACTIVE) == 1,
ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_SIGNALED) == 1,
ASSERT(sync_fence_count_with_status(d, FENCE_STATUS_ACTIVE) == 1,
ASSERT(sync_fence_count_with_status(b, FENCE_STATUS_SIGNALED) == 1,
ASSERT(sync_fence_count_with_status(d, FENCE_STATUS_ACTIVE) == 1,
ASSERT(sync_fence_count_with_status(c, FENCE_STATUS_SIGNALED) == 1,
ASSERT(sync_fence_count_with_status(d, FENCE_STATUS_ACTIVE) == 0 &&
sync_fence_count_with_status(d, FENCE_STATUS_SIGNALED) == 1,
ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_ACTIVE) == 1,
ASSERT(sync_fence_count_with_status(a, FENCE_STATUS_ACTIVE) == 1,
ASSERT(sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED) == 0,
ASSERT(sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED) == 1,
error = sync_fence_count_with_status(fence, FENCE_STATUS_ERROR);
active = sync_fence_count_with_status(fence,
active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE);
active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE);
signaled = sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED);
active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE);
signaled = sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED);
active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE);
signaled = sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED);