Home | History | Annotate | Download | only in cts

Lines Matching refs:block

39         assertFalse(mConditionVariable.block(BLOCK_TIME));
40 assertFalse(new ConditionVariable(false).block(BLOCK_TIME));
41 assertTrue(new ConditionVariable(true).block(BLOCK_TIME));
45 // test open then block(long)
48 assertTrue(mConditionVariable.block(BLOCK_TIME));
51 // test close then block(long)
54 assertFalse(mConditionVariable.block(BLOCK_TIME));
57 // test block then open
72 mConditionVariable.block();
91 assertTrue(mConditionVariable.block(BLOCK_TIME));