Home
last modified time | relevance | path

Searched refs:TestThread (Results 1 – 25 of 35) sorted by relevance

12

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DThreadUtilsTest.java47 private static class TestThread extends Thread { class in ThreadUtilsTest
50 TestThread(final String name) { in TestThread() method in ThreadUtilsTest.TestThread
54 TestThread(final ThreadGroup group, final String name) { in TestThread() method in ThreadUtilsTest.TestThread
104 final Thread t1 = new TestThread("thread1_X__"); in testComplexThreadGroups()
105 final Thread t2 = new TestThread(threadGroup1, "thread2_X__"); in testComplexThreadGroups()
106 final Thread t3 = new TestThread(threadGroup2, "thread3_X__"); in testComplexThreadGroups()
107 final Thread t4 = new TestThread(threadGroup3, "thread4_X__"); in testComplexThreadGroups()
108 final Thread t5 = new TestThread(threadGroup4, "thread5_X__"); in testComplexThreadGroups()
109 final Thread t6 = new TestThread(threadGroup5, "thread6_X__"); in testComplexThreadGroups()
110 final Thread t7 = new TestThread(threadGroup6, "thread7_X__"); in testComplexThreadGroups()
[all …]
/external/deqp/framework/platform/android/
DtcuAndroidTestActivity.cpp41 TestThread::TestThread (NativeActivity& activity, const std::string& cmdLineString, const CommandLi… in TestThread() function in tcu::Android::TestThread
54 TestThread::~TestThread (void) in ~TestThread()
59 void TestThread::run (void) in run()
64 void TestThread::onWindowCreated (ANativeWindow* window) in onWindowCreated()
69 void TestThread::onWindowDestroyed (ANativeWindow* window) in onWindowDestroyed()
74 void TestThread::onWindowResized (ANativeWindow* window) in onWindowResized()
80 bool TestThread::render (void) in render()
DtcuAndroidTestActivity.hpp39 class TestThread : public RenderThread class
42TestThread (NativeActivity& activity, const std::string& cmdLineString, const CommandLine& cmd…
43 ~TestThread (void);
73 TestThread m_testThread;
/external/deqp/external/openglcts/modules/runner/
DglcAndroidTestActivity.cpp66 TestThread::TestThread(NativeActivity& activity, tcu::Android::AssetArchive& archive, const std::st… in TestThread() function in glcts::Android::TestThread
76 TestThread::~TestThread(void) in ~TestThread()
81 void TestThread::run(void) in run()
86 void TestThread::onWindowCreated(ANativeWindow* window) in onWindowCreated()
91 void TestThread::onWindowDestroyed(ANativeWindow* window) in onWindowDestroyed()
96 void TestThread::onWindowResized(ANativeWindow* window) in onWindowResized()
103 bool TestThread::render(void) in render()
DglcAndroidTestActivity.hpp41 class TestThread : public tcu::Android::RenderThread class
44 TestThread(tcu::Android::NativeActivity& nativeActivity, tcu::Android::AssetArchive& archive,
46 ~TestThread(void);
75 TestThread m_testThread;
/external/python/pybind11/tests/
Dtest_iostream.cpp36 struct TestThread { struct
37 TestThread() : t_{nullptr}, stop_{false} { in TestThread() function
46 ~TestThread() { in ~TestThread() argument
113 py::class_<TestThread>(m, "TestThread") in TEST_SUBMODULE()
115 .def("stop", &TestThread::stop) in TEST_SUBMODULE()
116 .def("join", &TestThread::join) in TEST_SUBMODULE()
117 .def("sleep", &TestThread::sleep); in TEST_SUBMODULE()
/external/deqp/modules/egl/
DteglMultiThreadTests.cpp105 class TestThread : public de::Thread class
115 TestThread (MultiThreadedTest& test, int id);
147 virtual bool runThread (TestThread& thread) = 0;
149 void execTest (TestThread& thread);
163 vector<TestThread*> m_threads;
173 inline const Library& TestThread::getLibrary (void) const in getLibrary()
178 TestThread::TestThread (MultiThreadedTest& test, int id) in TestThread() function in deqp::egl::TestThread
185 void TestThread::run (void) in run()
193 catch (const TestThread::TestStop&) in run()
214 void MultiThreadedTest::execTest (TestThread& thread) in execTest()
[all …]
DteglGLES2SharedRenderingPerfTests.cpp717 class TestThread : de::Thread class
720 TestThread (const vector<TestContext*> contexts, const Library& egl);
721 ~TestThread (void);
746 TestThread& operator= (const TestThread&);
747 TestThread (const TestThread&);
750 TestThread::TestThread (const vector<TestContext*> contexts, const Library& egl) in TestThread() function in deqp::egl::__anone671526d0111::TestThread
764 TestThread::~TestThread (void) in ~TestThread()
769 void TestThread::start (void) in start()
776 void TestThread::join (void) in join()
783 void TestThread::run (void) in run()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceThreadTest.java117 static class TestThread extends Thread { class in ICUServiceThreadTest
122 public TestThread(String name, ICUService service, long delay) { in TestThread() method in ICUServiceThreadTest.TestThread
193 static class RegisterFactoryThread extends TestThread {
206 static class UnregisterFactoryThread extends TestThread {
231 static class UnregisterFactoryListThread extends TestThread {
252 static class GetVisibleThread extends TestThread {
270 static class GetDisplayThread extends TestThread {
303 static class GetThread extends TestThread {
322 static class GetListThread extends TestThread {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceThreadTest.java120 static class TestThread extends Thread { class in ICUServiceThreadTest
125 public TestThread(String name, ICUService service, long delay) { in TestThread() method in ICUServiceThreadTest.TestThread
196 static class RegisterFactoryThread extends TestThread {
209 static class UnregisterFactoryThread extends TestThread {
234 static class UnregisterFactoryListThread extends TestThread {
255 static class GetVisibleThread extends TestThread {
273 static class GetDisplayThread extends TestThread {
306 static class GetThread extends TestThread {
325 static class GetListThread extends TestThread {
/external/cronet/base/message_loop/
Dwork_id_provider_unittest.cc20 class TestThread : public SimpleThread { class
22 TestThread(OnceCallback<void(WorkIdProvider*)> validate_func) in TestThread() function in base::__anon0f3307130111::TestThread
36 TestThread thread(BindLambdaForTesting(func)); in RunTest()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/
DInvokeMethodWithSuspensionDebuggee.java39 private class TestThread extends Thread { class in InvokeMethodWithSuspensionDebuggee
40 public TestThread() { in TestThread() method in InvokeMethodWithSuspensionDebuggee.TestThread
110 testThread = new TestThread(); in run()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_connection_context_test.cc112 class TestThread : public QuicThread { class
114 TestThread() : QuicThread("TestThread") {} in TestThread() function in quic::test::__anond77d0be30111::TestThread
115 ~TestThread() override = default;
123 using ThreadType = TestThread<func>; in RunInThreads()
/external/cronet/base/task/common/
Doperations_controller_unittest.cc109 class TestThread : public SimpleThread { class
111 explicit TestThread(OperationsController* ref_controller, in TestThread() function in base::internal::__anonbc2329ae0111::TestThread
147 std::vector<std::unique_ptr<TestThread>> threads; in TEST()
149 threads.push_back(std::make_unique<TestThread>(&ref_controller, &started, in TEST()
/external/deqp/framework/delibs/decpp/
DdeAppendList.cpp69 class TestThread : public Thread class
72 TestThread (SharedState* shared, deUint32 threadNdx) in TestThread() function in de::__anon12b4cc770111::TestThread
95 typedef SharedPtr<TestThread> TestThreadSp;
104 threads[threadNdx] = TestThreadSp(new TestThread(&sharedState, threadNdx)); in runAppendListTest()
DdeSpinBarrier.cpp172 class TestThread : public de::Thread class
175 TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx) in TestThread() function in de::__anonf1f0faa40111::TestThread
238 std::vector<TestThread*> threads (numThreads, static_cast<TestThread*>(DE_NULL)); in multiThreadTest()
242 threads[ndx] = new TestThread(barrier, &sharedVar, numThreads, ndx); in multiThreadTest()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DThreadOnlyModifierDebuggee.java38 static class TestThread implements Runnable { class in ThreadOnlyModifierDebuggee
41 public TestThread(TestClass obj) { in TestThread() method in ThreadOnlyModifierDebuggee.TestThread
87 threads[i] = new Thread(new TestThread(obj)); in run()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DMonitorTestCase.java52 private TestThread<Monitor> thread1;
53 private TestThread<Monitor> thread2;
63 tearDownStack.addTearDown(thread1 = new TestThread<>(monitor, "TestThread #1")); in setUp()
64 tearDownStack.addTearDown(thread2 = new TestThread<>(monitor, "TestThread #2")); in setUp()
DTestThread.java51 public final class TestThread<L> extends Thread implements TearDown { class
63 public TestThread(L lockLikeObject, String threadName) { in TestThread() method in TestThread
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMonitorTestCase.java52 private TestThread<Monitor> thread1;
53 private TestThread<Monitor> thread2;
63 tearDownStack.addTearDown(thread1 = new TestThread<>(monitor, "TestThread #1")); in setUp()
64 tearDownStack.addTearDown(thread2 = new TestThread<>(monitor, "TestThread #2")); in setUp()
/external/python/cpython2/Lib/test/
Dtest_dummy_threading.py8 class TestThread(_threading.Thread): class in DummyThreadingTestCase
48 t = self.TestThread(name="<thread %d>"%i)
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/dev/test/
DTestUtil.java162 static class TestThread extends Thread { class in TestUtil
166 TestThread(Lock lock, Runnable target) { in TestThread() method in TestUtil.TestThread
197 new TestThread(lock, targets[i]).start(); in runUntilDone()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/
DTestThread.java45 public class TestThread extends Thread { class
51 public TestThread() { in TestThread() method in TestThread
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DTestUtil.java174 static class TestThread extends Thread { class in TestUtil
178 TestThread(Lock lock, Runnable target) { in TestThread() method in TestUtil.TestThread
209 new TestThread(lock, targets[i]).start(); in runUntilDone()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestUtil.java171 static class TestThread extends Thread { class in TestUtil
175 TestThread(Lock lock, Runnable target) { in TestThread() method in TestUtil.TestThread
206 new TestThread(lock, targets[i]).start(); in runUntilDone()

12