Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/health/cts/
DSystemHealthManagerTest.java45 Thread[] threads = new Thread[10]; in testTakeMyUidSnapshot() local
46 HealthStats[] results = new HealthStats[threads.length]; in testTakeMyUidSnapshot()
47 for (int i = 0; i < threads.length; i++) { in testTakeMyUidSnapshot()
49 threads[index] = new Thread(() -> results[index] = healthy.takeMyUidSnapshot()); in testTakeMyUidSnapshot()
50 threads[index].start(); in testTakeMyUidSnapshot()
53 for (int i = 0; i < threads.length; i++) { in testTakeMyUidSnapshot()
54 threads[i].join(); in testTakeMyUidSnapshot()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0330/
Dpoc.cpp50 pthread_t threads[kMaxThreads]; in main() local
53 pthread_create(&threads[t], nullptr, trigger_onUserStarted, nullptr); in main()
56 pthread_join(threads[t], nullptr); in main()
/cts/tests/tests/content/src/android/content/cts/
DContextMoreTest.java90 final Thread[] threads = new Thread[NUM_THREADS]; in testGetSystemService_multiThreaded() local
92 threads[i] = new Thread(tester); in testGetSystemService_multiThreaded()
95 threads[i].start(); in testGetSystemService_multiThreaded()
104 threads[i].join(); in testGetSystemService_multiThreaded()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/
Dpoc.cpp206 pthread_t threads[2]; in main() local
207 pthread_create(&threads[0], NULL, getSecureStops, NULL); in main()
208 pthread_create(&threads[1], NULL, removeAllSecureStops, NULL); in main()
209 pthread_join(threads[0], NULL); in main()
210 pthread_join(threads[1], NULL); in main()
/cts/hostsidetests/os/src/android/os/cts/
DProcfsHostTests.java228 String[] threads = lsOutput.split("\\s+"); in lookForTidsInProcess() local
229 int[] tids = new int[threads.length]; in lookForTidsInProcess()
230 for (int i = 0; i < threads.length; i++) { in lookForTidsInProcess()
231 tids[i] = Integer.parseInt(threads[i]); in lookForTidsInProcess()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp166 pthread_t threads[THREADS_NUM]; in main() local
168 FAIL_CHECK(pthread_create(threads + i, NULL, thread_func, NULL) == 0); in main()
185 FAIL_CHECK(pthread_join(threads[i], (void **)&thread_result) == 0); in main()
/cts/hostsidetests/theme/
Dgenerate_images.py99 threads = []
103 threads.append(t)
104 for t in threads:
/cts/hostsidetests/adpf/app/hintsession/src/cpp/
DRenderer.h72 void startHintSession(std::vector<pid_t> &threads, int64_t target);
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0034/
Dpoc.cpp78 cfg.threads = 1; in main()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2639 ArrayList<Thread> threads = new ArrayList<>(); in importKeyManyTimes() local
2641 threads.add(new Thread(() -> { in importKeyManyTimes()
2667 for (int i = 0; i < threads.size(); ++i) { in importKeyManyTimes()
2668 threads.get(i).start(); in importKeyManyTimes()
2670 for (int i = 0; i < threads.size(); ++i) { in importKeyManyTimes()
2671 threads.get(i).join(); in importKeyManyTimes()
2703 ArrayList<Thread> threads = new ArrayList<>(); in deleteManyTestKeys() local
2706 threads.add(new Thread(() -> { in deleteManyTestKeys()
2721 for (int i = 0; i < threads.size(); ++i) { in deleteManyTestKeys()
2722 threads.get(i).start(); in deleteManyTestKeys()
[all …]
/cts/tests/jdwp/runner/host-side/resources/expectations/
Dexternal_oj_libjdwp_art_failures.txt8 description: "Test fails due to unexpectedly getting the thread-groups of zombie threads",
/cts/hostsidetests/gwp_asan/common/proto/
Dtombstone.proto35 map<uint32, Thread> threads = 16; field
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java2316 Thread[] threads = new Thread[10]; in testAsyncRelease() local
2317 threads[0] = new Thread(first); in testAsyncRelease()
2318 for (int j = 1; j < threads.length; ++j) { in testAsyncRelease()
2319 threads[j] = new Thread(() -> { cv.block(); codec.release(); }); in testAsyncRelease()
2321 for (Thread thread : threads) { in testAsyncRelease()
2327 for (Thread thread : threads) { in testAsyncRelease()