Searched refs:looperThread (Results 1 – 2 of 2) sorted by relevance
46 TestLooperThread looperThread = new TestLooperThread(Test.ADD_IDLE_HANDLER); in testAddIdleHandler() local47 looperThread.start(); in testAddIdleHandler()50 if (!looperThread.hasIdleHandlerBeenCalled()) { in testAddIdleHandler()51 fail("IdleHandler#queueIdle was NOT called: " + looperThread.getTestProgress()); in testAddIdleHandler()54 assertTrue("The looper should have been running.", looperThread.quit()); in testAddIdleHandler()59 TestLooperThread looperThread = new TestLooperThread(Test.REMOVE_IDLE_HANDLER); in testRemoveIdleHandler() local60 looperThread.start(); in testRemoveIdleHandler()63 if (looperThread.hasIdleHandlerBeenCalled()) { in testRemoveIdleHandler()64 fail("IdleHandler#queueIdle was called: " + looperThread.getTestProgress()); in testRemoveIdleHandler()67 assertTrue("The looper should have been running.", looperThread.quit()); in testRemoveIdleHandler()
586 final Thread looperThread = new Thread(() -> { in testOpenProxyFileDescriptor_async() local595 looperThread.start(); in testOpenProxyFileDescriptor_async()630 looperThread.join(); in testOpenProxyFileDescriptor_async()