Home
last modified time | relevance | path

Searched refs:thread_state (Results 1 – 6 of 6) sorted by relevance

/aosp12/system/core/debuggerd/
H A Ddebuggerd_benchmark.cpp101 std::atomic<ThreadState> thread_state(ThreadState::Starting); in BM_maximum_pause_impl() local
102 auto thread = std::thread([&]() { max_pause = GetMaximumPause(thread_state); }); in BM_maximum_pause_impl()
104 while (thread_state != ThreadState::Started) { in BM_maximum_pause_impl()
110 thread_state = ThreadState::Stopping; in BM_maximum_pause_impl()
/aosp12/art/test/931-agent-thread/
H A Dagent_thread.cc158 jint thread_state; in Java_art_Test931_testAgentThread() local
159 jvmtiError state_result = jvmti_env->GetThreadState(thread.get(), &thread_state); in Java_art_Test931_testAgentThread()
163 if (thread_state == 0 || // Was never alive. in Java_art_Test931_testAgentThread()
164 (thread_state & JVMTI_THREAD_STATE_TERMINATED) != 0) { // Was alive and died. in Java_art_Test931_testAgentThread()
/aosp12/system/extras/ioshark/
H A Dioshark_bench.c59 struct thread_state_s thread_state[MAX_INPUT_FILES]; variable
159 work = &thread_state[work_next_file++]; in get_work()
194 (int)(state - thread_state), in create_files()
553 infile = thread_state[i].filename; in get_start_end()
735 thread_state[num_input_files].filename = infile; in main()
736 thread_state[num_input_files].fp = fp; in main()
/aosp12/art/openjdkjvmti/
H A Dti_thread.cc392 InternalThreadState thread_state = {}; in GetNativeThreadState() local
394 thread_state.native_thread = target; in GetNativeThreadState()
396 thread_state.art_state = art::ThreadState::kStarting; in GetNativeThreadState()
397 thread_state.thread_user_code_suspend_count = 0; in GetNativeThreadState()
399 thread_state.art_state = target->GetState(); in GetNativeThreadState()
400 thread_state.thread_user_code_suspend_count = target->GetUserCodeSuspendCount(); in GetNativeThreadState()
402 return thread_state; in GetNativeThreadState()
/aosp12/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp401 IPCThreadState* thread_state = IPCThreadState::self(); in onTransact() local
402 const int32_t strict_policy_before = thread_state->getStrictModePolicy(); in onTransact()
422 if (thread_state->getStrictModePolicy() != strict_policy_before) { in onTransact()
/aosp12/art/runtime/
H A DAndroid.bp560 "thread_state.h",