Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java46 TestLooperThread looperThread = new TestLooperThread(Test.ADD_IDLE_HANDLER); in testAddIdleHandler() local
47 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() local
60 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()