Searched refs:onCompleteCallback (Results 1 – 1 of 1) sorted by relevance
1173 TimedTransactionListener onCompleteCallback = new TimedTransactionListener(); in testSurfaceTransaction_setOnComplete() local1184 false /* waitForFence */, onCompleteCallback); in testSurfaceTransaction_setOnComplete()1189 onCompleteCallback.mLatch.await(1, TimeUnit.SECONDS); in testSurfaceTransaction_setOnComplete()1192 if (onCompleteCallback.mLatch.getCount() > 0) { in testSurfaceTransaction_setOnComplete()1205 assertEquals(0, onCompleteCallback.mLatch.getCount()); in testSurfaceTransaction_setOnComplete()1206 assertTrue(onCompleteCallback.mCallbackTime > 0); in testSurfaceTransaction_setOnComplete()1212 TimedTransactionListener onCompleteCallback = new TimedTransactionListener(); in testSurfaceTransaction_setDesiredPresentTime_now() local1225 true /* waitForFence */, onCompleteCallback); in testSurfaceTransaction_setDesiredPresentTime_now()1229 onCompleteCallback.mLatch.await(1, TimeUnit.SECONDS); in testSurfaceTransaction_setDesiredPresentTime_now()1232 if (onCompleteCallback.mLatch.getCount() > 0) { in testSurfaceTransaction_setDesiredPresentTime_now()[all …]