Home
last modified time | relevance | path

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

/system/core/libsync/tests/
Dsync_test.cpp417 SyncFence mergedFence({fenceA, fenceB, fenceC}); in TEST() local
418 ASSERT_TRUE(mergedFence.isValid()); in TEST()
421 ASSERT_EQ(mergedFence.getActiveCount(), 3); in TEST()
422 ASSERT_EQ(mergedFence.wait(0), -1); in TEST()
426 ASSERT_EQ(mergedFence.getActiveCount(), 2); in TEST()
427 ASSERT_EQ(mergedFence.getSignaledCount(), 1); in TEST()
430 ASSERT_EQ(mergedFence.getActiveCount(), 1); in TEST()
431 ASSERT_EQ(mergedFence.getSignaledCount(), 2); in TEST()
434 ASSERT_EQ(mergedFence.getActiveCount(), 0); in TEST()
435 ASSERT_EQ(mergedFence.getSignaledCount(), 3); in TEST()
[all …]