/aosp12/system/bt/osi/test/ |
H A D | thread_test.cc | 14 thread_t* thread = thread_new("test_thread"); in TEST_F() local 20 thread_t* thread = thread_new("test_thread"); in TEST_F() local 25 thread_t* thread = thread_new("test_name"); in TEST_F() local 31 thread_t* thread = thread_new("0123456789abcdef"); in TEST_F() local 37 thread_t* thread = thread_new("0123456789abcdefg"); in TEST_F() local 43 thread_t* thread = (thread_t*)context; in thread_is_self_fn() local 48 thread_t* thread = thread_new("test_thread"); in TEST_F() local 54 thread_t* thread = thread_new("test_thread"); in TEST_F() local
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
H A D | VibrationThreadTest.java | 139 VibrationThread thread = startThreadAndDispatcher(vibrationId, effect); in vibrate_noVibrator_ignoresVibration() local 153 VibrationThread thread = startThreadAndDispatcher(vibrationId, effect); in vibrate_missingVibrators_ignoresVibration() local 166 VibrationThread thread = startThreadAndDispatcher(vibrationId, effect); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local 185 VibrationThread thread = startThreadAndDispatcher(vibrationId, effect); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local 207 VibrationThread thread = startThreadAndDispatcher(vibrationId, effect); in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local 231 VibrationThread thread = startThreadAndDispatcher(vibrationId, effect); in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled() local 267 VibrationThread thread = startThreadAndDispatcher(vibrationId, effect); in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForASecond() local 289 VibrationThread thread = startThreadAndDispatcher(vibrationId, effect); in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local 415 VibrationThread thread = startThreadAndDispatcher(vibration); in vibrate_singleVibratorPrebakedAndUnsupportedEffectWithFallback_runsFallback() local 1320 private void waitForCompletion(Thread thread) { in waitForCompletion() [all …]
|
/aosp12/system/bt/osi/src/ |
H A D | thread.cc | 52 thread_t* thread; member 108 void thread_free(thread_t* thread) { in thread_free() 119 void thread_join(thread_t* thread) { in thread_join() 126 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post() 143 void thread_stop(thread_t* thread) { in thread_stop() 148 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority() 161 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority() 177 bool thread_is_self(const thread_t* thread) { in thread_is_self() 182 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor() 187 const char* thread_name(const thread_t* thread) { in thread_name() [all …]
|
/aosp12/system/extras/memory_replay/tests/ |
H A D | ThreadTest.cpp | 30 Thread thread; in TEST() local 38 Thread* thread = thread_data->first; in ThreadWaitForReady() local 48 Thread thread; in TEST() local 68 Thread* thread = thread_data->first; in ThreadWaitForPending() local 78 Thread thread; in TEST() local 96 Thread thread; in TEST() local
|
/aosp12/bionic/libc/bionic/ |
H A D | pthread_internal.cpp | 48 pthread_t __pthread_internal_add(pthread_internal_t* thread) { in __pthread_internal_add() 61 void __pthread_internal_remove(pthread_internal_t* thread) { in __pthread_internal_remove() 74 static void __pthread_internal_free(pthread_internal_t* thread) { in __pthread_internal_free() 81 void __pthread_internal_remove_and_free(pthread_internal_t* thread) { in __pthread_internal_remove_and_free() 87 pthread_internal_t* thread = __pthread_internal_find(thread_id, caller); in __pthread_internal_gettid() local 92 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(thread_id); in __pthread_internal_find() local
|
H A D | pthread_exit.cpp | 53 pthread_internal_t* thread = __get_thread(); in __pthread_cleanup_push() local 62 pthread_internal_t* thread = __get_thread(); in __pthread_cleanup_pop() local 74 pthread_internal_t* thread = __get_thread(); in pthread_exit() local
|
H A D | pthread_create.cpp | 89 static void __init_alternate_signal_stack(pthread_internal_t* thread) { in __init_alternate_signal_stack() 137 void __init_additional_stacks(pthread_internal_t* thread) { in __init_additional_stacks() 142 int __init_thread(pthread_internal_t* thread) { in __init_thread() 280 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(stack_top); in __allocate_thread() local 315 pthread_internal_t* thread = __get_thread(); in __set_stack_and_tls_vma_name() local 340 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(arg); in __pthread_start() local 400 pthread_internal_t* thread = tcb->thread(); in pthread_create() local
|
H A D | __cxa_thread_atexit_impl.cpp | 42 pthread_internal_t* thread = __get_thread(); in __cxa_thread_atexit_impl() local 52 pthread_internal_t* thread = __get_thread(); in __cxa_thread_finalize() local
|
/aosp12/art/runtime/ |
H A D | thread_list.cc | 128 for (const auto& thread : list_) { in DumpNativeStacks() local 173 Thread* thread; in DumpUnattachedThreads() local 205 void Run(Thread* thread) override { in Run() 270 for (const auto& thread : list_) { in AssertThreadsAreSuspended() local 325 for (const auto& thread : list_) { in RunCheckpoint() local 888 Thread* thread; in SuspendThreadByPeer() local 1020 Thread* thread = nullptr; in SuspendThreadByThreadId() local 1100 for (const auto& thread : list_) { in FindThreadByThreadId() local 1109 for (const auto& thread : list_) { in FindThreadByTid() local 1365 for (const auto& thread : list_) { in ForEach() local [all …]
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | Profile.java | 42 Thread thread; field in Profile.WatchEntry 77 public synchronized void addWatchEntry(Thread thread, int cycleTime) { in addWatchEntry() 87 public synchronized void removeWatchEntry(Thread thread) { in removeWatchEntry() 112 Thread thread = entry.thread; in processList() local 126 Thread thread = entry.thread; in sampleStack() local 139 private WatchEntry findEntry(Thread thread) { in findEntry()
|
/aosp12/art/test/924-threads/ |
H A D | threads.cc | 83 jthread thread = nullptr; in Java_art_Test924_getCurrentThread() local 92 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getThreadInfo() 140 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getThreadState() 170 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getTLS() 180 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread, jlong val) { in Java_art_Test924_setTLS() 191 jthread thread, in ThreadEvent() 215 jthread thread) { in ThreadStart() 221 jthread thread) { in ThreadEnd()
|
/aosp12/art/openjdkjvmti/ |
H A D | events-inl.h | 193 inline std::vector<impl::EventHandlerFunc<kEvent>> EventHandler::CollectEvents(art::Thread* thread, in CollectEvents() 209 inline void EventHandler::DispatchClassFileLoadHookEvent(art::Thread* thread, in DispatchClassFileLoadHookEvent() 274 inline void EventHandler::DispatchEvent(art::Thread* thread, Args... args) const { in DispatchEvent() 288 inline void EventHandler::DispatchEvent(art::Thread* thread, JNIEnv* jnienv, Args... args) const { in DispatchEvent() 300 ArtJvmTiEnv* env, art::Thread* thread, JNIEnv* jnienv, Args... args) const { in DispatchEventOnEnv() 311 ArtJvmTiEnv* env, art::Thread* thread, Args... args) const { in DispatchEventOnEnv() 478 inline void EventHandler::DispatchClassLoadOrPrepareEvent(art::Thread* thread, in DispatchClassLoadOrPrepareEvent() 621 inline bool EventHandler::ShouldDispatchOnThread(ArtJvmTiEnv* env, art::Thread* thread) const { in ShouldDispatchOnThread() 633 art::Thread* thread, in ShouldDispatch()
|
H A D | OpenjdkJvmTi.cc | 240 jthread thread, in RunAgentThread() 288 jthread thread, in GetStackTrace() 523 jthread thread, in GetLocalObject() 542 jthread thread, in GetLocalInt() 552 jthread thread, in GetLocalLong() 562 jthread thread, in GetLocalFloat() 572 jthread thread, in GetLocalDouble() 582 jthread thread, in SetLocalObject() 592 jthread thread, in SetLocalInt() 602 jthread thread, in SetLocalLong() [all …]
|
H A D | ti_thread.cc | 105 ScopedLocalRef<jthread> thread(self->GetJniEnv(), GetThreadObject(self)); in Post() local 230 bool ThreadUtil::GetNativeThread(jthread thread, in GetNativeThread() 247 bool ThreadUtil::GetAliveNativeThread(jthread thread, in GetAliveNativeThread() 567 jthread thread, in GetThreadState() 711 JvmtiGlobalTLSData* ThreadUtil::GetOrCreateGlobalTLSData(art::Thread* thread) { in GetOrCreateGlobalTLSData() 721 JvmtiGlobalTLSData* ThreadUtil::GetGlobalTLSData(art::Thread* thread) { in GetGlobalTLSData() 726 jthread thread, in GetThreadLocalStorage() 759 jthread thread; member 803 jthread thread, in RunAgentThread() 960 jthread thread) { in ResumeThread() [all …]
|
/aosp12/art/runtime/native/ |
H A D | java_lang_Thread.cc | 46 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_isInterrupted() local 76 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_nativeGetStatus() local 122 Thread* thread = soa.Self(); in Thread_holdsLock() local 129 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_interrupt0() local 150 Thread* thread = thread_list->SuspendThreadByPeer(peer, in Thread_setNativeName() local 174 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_setPriority0() local
|
/aosp12/hardware/interfaces/broadcastradio/common/tests/ |
H A D | WorkerThread_test.cpp | 42 WorkerThread thread; in TEST() local 62 WorkerThread thread; in TEST() local 78 WorkerThread thread; in TEST() local 125 WorkerThread thread; in TEST() local
|
/aosp12/packages/apps/Camera2/src/com/android/camera/async/ |
H A D | HandlerFactory.java | 32 final HandlerThread thread = new HandlerThread(threadName); in create() local 52 final HandlerThread thread = new HandlerThread(threadName); in create() local
|
/aosp12/packages/apps/TV/common/src/com/android/tv/common/concurrent/ |
H A D | NamedThreadFactory.java | 37 final Thread thread = mDefaultThreadFactory.newThread(runnable); in newThread() local 42 public boolean namedWithPrefix(Thread thread) { in namedWithPrefix()
|
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/ |
H A D | CarMessengerApp.java | 48 public void uncaughtException(final Thread thread, final Throwable ex) { in uncaughtException() 59 private static void nullSafeUncaughtException(@NonNull Thread thread, @NonNull Throwable ex) { in nullSafeUncaughtException()
|
/aosp12/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 80 ThreadBase *thread, in TrackBase() 618 PlaybackThread *thread, in Track() 1052 sp<ThreadBase> thread = mThread.promote(); in start() local 1157 sp<ThreadBase> thread = mThread.promote(); in stop() local 1190 sp<ThreadBase> thread = mThread.promote(); in pause() local 1227 sp<ThreadBase> thread = mThread.promote(); in flush() local 1323 sp<ThreadBase> thread = mThread.promote(); in setParameters() local 2322 RecordThread *thread, in RecordTrack() 2813 sp<ThreadBase>* thread) in obtainStream() 2841 sp<ThreadBase> thread; in obtainBuffer() local [all …]
|
H A D | AudioFlinger.cpp | 1037 ThreadBase *thread = checkThread_l(ioHandle); in sampleRate() local 1059 ThreadBase *thread = checkThread_l(ioHandle); in frameCount() local 1072 ThreadBase *thread = checkThread_l(ioHandle); in frameCountHAL() local 1612 sp<ThreadBase> thread; in setParameters() local 1907 sp<ThreadBase> thread; in getEffectThread_l() local 2565 sp<MmapPlaybackThread> thread = in openOutput_l() local 2572 sp<PlaybackThread> thread; in openOutput_l() local 2847 sp<ThreadBase> thread = openInput_l( in openInput() local 2936 sp<MmapCaptureThread> thread = in openInput_l() local 3413 PlaybackThread* thread, in updateSecondaryOutputsForTrack_l() [all …]
|
/aosp12/system/core/fs_mgr/tests/ |
H A D | file_wait_test.cpp | 56 std::thread thread([this] { in TEST_F() local 65 std::thread thread([this] { in TEST_F() local 80 std::thread thread([this] { in TEST_F() local
|
/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | UnwindTest.cpp | 361 std::thread thread([&]() { in TEST_F() local 484 for (auto thread : threads) { in TEST_F() local 494 std::thread thread([&tid]() { in TEST_F() local 515 std::thread thread([&tid]() { in TEST_F() local 578 std::thread thread([&tid]() { in TEST_F() local 600 for (auto* thread : threads) { in TEST_F() local 616 std::thread* thread = new std::thread([&tids, i]() { in TEST_F() local 640 for (auto* thread : unwinder_threads) { in TEST_F() local 647 for (auto* thread : threads) { in TEST_F() local 690 for (auto* thread : unwinder_threads) { in TEST_F() local [all …]
|
/aosp12/system/extras/memory_replay/ |
H A D | Threads.cpp | 35 Thread* thread = reinterpret_cast<Thread*>(data); in ThreadRunner() local 76 Thread* thread = FindEmptyEntry(tid); in CreateThread() local 136 void Threads::Finish(Thread* thread) { in Finish()
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 149 RenderThread& thread = RenderThread::getInstance(); in destroyFunctor() local 165 auto& thread = RenderThread::getInstance(); in copyLayerInto() local 190 RenderThread& thread = RenderThread::getInstance(); in trimMemory() local 197 RenderThread& thread = RenderThread::getInstance(); in purgeCaches() local 262 auto& thread = RenderThread::getInstance(); in dumpGraphicsMemory() local 269 auto& thread = RenderThread::getInstance(); in getMemoryUsage() local 355 auto& thread = RenderThread::getInstance(); in copySurfaceInto() local 390 RenderThread& thread = RenderThread::getInstance(); in copyHWBitmapInto() local 401 RenderThread& thread = RenderThread::getInstance(); in copyImageInto() local 417 auto& thread = RenderThread::getInstance(); in preload() local
|