Home
last modified time | relevance | path

Searched refs:looperThread (Results 1 – 2 of 2) 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()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java586 final Thread looperThread = new Thread(() -> { in testOpenProxyFileDescriptor_async() local
595 looperThread.start(); in testOpenProxyFileDescriptor_async()
630 looperThread.join(); in testOpenProxyFileDescriptor_async()