Lines Matching refs:state
156 JdwpNetStateBase::JdwpNetStateBase(JdwpState* state) in JdwpNetStateBase() argument
157 : state_(state), socket_lock_("JdwpNetStateBase lock", kJdwpSocketLock) { in JdwpNetStateBase()
367 std::unique_ptr<JdwpState> state(new JdwpState(options)); in Create() local
370 InitSocketTransport(state.get(), options); in Create()
374 InitAdbTransport(state.get(), options); in Create()
385 state->thread_start_lock_.AssertNotHeld(self); in Create()
386 MutexLock thread_start_locker(self, state->thread_start_lock_); in Create()
392 CHECK_PTHREAD_CALL(pthread_create, (&state->pthread_, nullptr, StartJdwpThread, state.get()), in Create()
398 while (!state->debug_thread_started_) { in Create()
399 state->thread_start_cond_.Wait(self); in Create()
414 MutexLock attach_locker(self, state->attach_lock_); in Create()
415 while (state->debug_thread_id_ == 0) { in Create()
416 state->attach_cond_.Wait(self); in Create()
419 if (!state->IsActive()) { in Create()
433 return state.release(); in Create()
554 JdwpState* state = reinterpret_cast<JdwpState*>(arg); in StartJdwpThread() local
555 CHECK(state != nullptr); in StartJdwpThread()
557 state->Run(); in StartJdwpThread()