/aosp_15_r20/frameworks/native/services/inputflinger/rust/ |
H A D | slow_keys_filter.rs | 278 let test_thread = get_thread(test_callbacks.clone()); in test_is_notify_key_for_internal_non_alphabetic_keyboard_not_blocked() localVariable 282 test_thread.clone(), in test_is_notify_key_for_internal_non_alphabetic_keyboard_not_blocked() 296 let test_thread = get_thread(test_callbacks.clone()); in test_is_notify_key_for_external_stylus_not_blocked() localVariable 300 test_thread.clone(), in test_is_notify_key_for_external_stylus_not_blocked() 315 let test_thread = get_thread(test_callbacks.clone()); in test_notify_key_for_tv_remote_when_key_pressed_for_threshold_time() localVariable 319 test_thread.clone(), in test_notify_key_for_tv_remote_when_key_pressed_for_threshold_time() 372 let test_thread = get_thread(test_callbacks.clone()); in test_notify_key_for_internal_alphabetic_keyboard_when_key_pressed_for_threshold_time() localVariable 376 test_thread.clone(), in test_notify_key_for_internal_alphabetic_keyboard_when_key_pressed_for_threshold_time() 424 let test_thread = get_thread(test_callbacks.clone()); in test_notify_key_for_external_keyboard_when_key_pressed_for_threshold_time() localVariable 428 test_thread.clone(), in test_notify_key_for_external_keyboard_when_key_pressed_for_threshold_time() [all …]
|
H A D | input_filter_thread.rs | 286 let test_thread = get_thread(test_callbacks.clone()); in test_register_callback_creates_cpp_thread() localVariable 288 test_thread.register_thread_callback(Box::new(test_thread_callback)); in test_register_callback_creates_cpp_thread() 295 let test_thread = get_thread(test_callbacks.clone()); in test_unregister_callback_finishes_cpp_thread() localVariable 297 test_thread.register_thread_callback(Box::new(test_thread_callback.clone())); in test_unregister_callback_finishes_cpp_thread() 298 test_thread.unregister_thread_callback(Box::new(test_thread_callback)); in test_unregister_callback_finishes_cpp_thread() 305 let test_thread = get_thread(test_callbacks.clone()); in test_notify_timeout_called_after_timeout_expired() localVariable 307 test_thread.register_thread_callback(Box::new(test_thread_callback.clone())); in test_notify_timeout_called_after_timeout_expired() 310 test_thread.request_timeout_at_time((now + 10) * 1000000); in test_notify_timeout_called_after_timeout_expired() 319 let test_thread = get_thread(test_callbacks.clone()); in test_notify_timeout_not_called_before_timeout_expired() localVariable 321 test_thread.register_thread_callback(Box::new(test_thread_callback.clone())); in test_notify_timeout_not_called_before_timeout_expired() [all …]
|
H A D | input_filter.rs | 476 test_thread: Option<FakeCppThread>, field 512 if let Some(test_thread) = &self.0.read().unwrap().test_thread { in is_thread_running() 513 return test_thread.is_running(); in is_thread_running() 541 let test_thread = FakeCppThread::new(callback.clone()); in createInputFilterThread() localVariable 542 test_thread.start_looper(); in createInputFilterThread() 543 self.inner().test_thread = Some(test_thread.clone()); in createInputFilterThread() 544 Result::Ok(BnInputThread::new_binder(test_thread, BinderFeatures::default())) in createInputFilterThread()
|
/aosp_15_r20/external/trusty/lk/app/scstest/ |
D | scstest.c | 132 thread_t* test_thread = in TEST() local 136 ASSERT_NE(NULL, test_thread, "Failed to create test thread"); in TEST() 138 ASSERT_EQ(NO_ERROR, thread_resume(test_thread), "Failed to start thread"); in TEST() 141 thread_join(test_thread, &test_thread_ret, INFINITE_TIME), in TEST() 151 thread_t* test_thread = in TEST() local 156 ASSERT_NE(NULL, test_thread, "Failed to create test thread"); in TEST() 158 ASSERT_EQ(NO_ERROR, thread_resume(test_thread), "Failed to start thread"); in TEST() 161 thread_join(test_thread, &test_thread_ret, INFINITE_TIME), in TEST()
|
/aosp_15_r20/external/igt-gpu-tools/tests/ |
H A D | drm_import_export.c | 120 static void * test_thread(void * par) in test_thread() function 266 pthread_create(&test_thread_id1, NULL, test_thread, NULL); 267 pthread_create(&test_thread_id2, NULL, test_thread, NULL); 268 pthread_create(&test_thread_id3, NULL, test_thread, NULL); 269 pthread_create(&test_thread_id4, NULL, test_thread, NULL); 280 pthread_create(&test_thread_id1, NULL, test_thread, NULL); 281 pthread_create(&test_thread_id2, NULL, test_thread, NULL); 282 pthread_create(&test_thread_id3, NULL, test_thread, NULL); 283 pthread_create(&test_thread_id4, NULL, test_thread, NULL);
|
/aosp_15_r20/art/test/904-object-allocation/src/art/ |
H A D | Test904.java | 74 Thread test_thread = testThread(l, true, true); in doTest() local 79 new Thread[] { Thread.currentThread(), test_thread, }))); in doTest() 82 test_thread = testThread(l, true, false); in doTest() 85 new Thread[] { Thread.currentThread(), test_thread, }))); in doTest() 88 test_thread = testThread(l, false, true); in doTest() 97 new Thread[] { Thread.currentThread(), test_thread, }))); in doTest()
|
/aosp_15_r20/external/pigweed/pw_work_queue/ |
H A D | CMakeLists.txt | 36 pw_add_library(pw_work_queue.test_thread INTERFACE 38 public/pw_work_queue/test_thread.h 46 # test_thread you can create a pw_add_test which depends on this 48 # test_thread. See pw_work_queue.stl_work_queue_test as an example. 54 pw_work_queue.test_thread 63 pw_work_queue.test_thread
|
H A D | BUILD.gn | 45 pw_source_set("test_thread") { 47 public = [ "public/pw_work_queue/test_thread.h" ] 52 # test_thread you can create a pw_test target which depends on this 54 # test_thread. See ":stl_work_queue_test" as an example. 60 ":test_thread", 73 ":test_thread",
|
/aosp_15_r20/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
H A D | _metadata_flags_test.py | 271 test_thread = threading.Thread( 274 test_thread.daemon = True 275 test_thread.exception = None 276 test_thread.start() 277 test_threads.append(test_thread) 286 for test_thread in test_threads: 287 test_thread.join()
|
/aosp_15_r20/external/libchrome/base/message_loop/ |
H A D | message_loop_task_runner_unittest.cc | 340 std::unique_ptr<Thread> test_thread( in TEST_F() local 342 test_thread->Start(); in TEST_F() 344 test_thread->task_runner(); in TEST_F() 345 test_thread->Stop(); in TEST_F() 355 std::unique_ptr<Thread> test_thread( in TEST_F() local 357 test_thread->Start(); in TEST_F() 358 task_runner = test_thread->task_runner(); in TEST_F()
|
/aosp_15_r20/external/pigweed/pw_multisink/ |
H A D | CMakeLists.txt | 68 pw_add_library(pw_multisink.test_thread INTERFACE 70 public/pw_multisink/test_thread.h 80 # that provides the implementaiton of pw_multisink.test_thread. See 87 pw_multisink.test_thread 111 pw_multisink.test_thread
|
H A D | BUILD.gn | 81 pw_source_set("test_thread") { 83 public = [ "public/pw_multisink/test_thread.h" ] 90 # implementaiton of test_thread. See :stl_multisink_test as an example. 98 ":test_thread", 123 ":test_thread",
|
H A D | BUILD.bazel | 69 name = "test_thread", 70 hdrs = ["public/pw_multisink/test_thread.h"], 99 ":test_thread", 114 ":test_thread",
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/membarrier/ |
H A D | membarrier_test_multi_thread.c | 37 pthread_t test_thread; in test_mt_membarrier() local 39 pthread_create(&test_thread, NULL, in test_mt_membarrier() 57 pthread_join(test_thread, NULL); in test_mt_membarrier()
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap18.c | 132 pthread_t test_thread; in grow_stack() local 145 SAFE_PTHREAD_CREATE(&test_thread, &attr, check_depth_recursive, limit); in grow_stack() 146 SAFE_PTHREAD_JOIN(test_thread, NULL); in grow_stack()
|
/aosp_15_r20/external/ltp/testcases/kernel/sched/eas/ |
H A D | sched_boost.c | 146 pthread_t test_thread; in run() local 183 SAFE_PTHREAD_CREATE(&test_thread, NULL, test_fn, NULL); in run() 192 SAFE_PTHREAD_JOIN(test_thread, NULL); in run()
|
/aosp_15_r20/external/curl/tests/libtest/ |
H A D | lib3207.c | 86 test_thread(void *ptr) in test_thread() function 159 thread[i] = Curl_thread_create(test_thread, (void *)&ctx[i]); in execute() 181 test_thread((void *)&ctx[i]); in execute()
|
/aosp_15_r20/packages/modules/Bluetooth/system/gd/ |
D | module.h | 166 set_registry_and_handler(instance, &test_thread); in InjectTestModule() 181 os::Thread& GetTestThread() { return test_thread; } in GetTestThread() 196 os::Thread test_thread{"test_thread", os::Thread::Priority::NORMAL};
|
/aosp_15_r20/external/grpc-grpc/test/core/gprpp/ |
H A D | mpscq_test.cc | 73 static void test_thread(void* args) { in test_thread() function 92 thds[i] = grpc_core::Thread("grpc_mt_test", test_thread, &ta[i]); in TEST() 160 thds[i] = grpc_core::Thread("grpc_multipop_test", test_thread, &ta[i]); in TEST()
|
/aosp_15_r20/external/mesa3d/src/util/tests/perf/ |
H A D | u_trace_test.cpp | 11 test_thread(void *_state) in test_thread() function 27 thrd_create(&threads[i], test_thread, NULL); in TEST()
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_tunnel.c | 426 pthread_t test_thread; in serial_test_tunnel() local 433 err = pthread_create(&test_thread, NULL, &test_tunnel_run_tests, NULL); in serial_test_tunnel() 435 ASSERT_OK(pthread_join(test_thread, NULL), "pthread_join"); in serial_test_tunnel()
|
/aosp_15_r20/external/mesa3d/src/util/tests/ |
H A D | sparse_array_test.cpp | 34 test_thread(void *_state) in test_thread() function 58 int ret = thrd_create(&threads[i], test_thread, &arr); in TEST()
|
H A D | u_debug_test.cpp | 38 test_thread(void *_state) in test_thread() function 59 thrd_create(&threads[i], test_thread, NULL); in TEST()
|
/aosp_15_r20/external/python/cpython2/PC/VC6/ |
D | rt.bat | 10 @rem rt -O -d -x test_thread 12 @rem python_d -O ../../lib/test/regrtest.py -x test_thread
|
/aosp_15_r20/external/python/cpython2/PC/VS8.0/ |
D | rt.bat | 11 rem rt -O -d -x test_thread 13 rem python_d -O ../lib/test/regrtest.py -x test_thread
|