Lines Matching refs:state
38 JdwpNetStateBase::JdwpNetStateBase(JdwpState* state) in JdwpNetStateBase() argument
39 : state_(state), socket_lock_("JdwpNetStateBase lock", kJdwpSocketLock) { in JdwpNetStateBase()
238 std::unique_ptr<JdwpState> state(new JdwpState(options)); in Create() local
241 InitSocketTransport(state.get(), options); in Create()
245 InitAdbTransport(state.get(), options); in Create()
257 MutexLock thread_start_locker(self, state->thread_start_lock_); in Create()
263 CHECK_PTHREAD_CALL(pthread_create, (&state->pthread_, nullptr, StartJdwpThread, state.get()), in Create()
269 while (!state->debug_thread_started_) { in Create()
270 state->thread_start_cond_.Wait(self); in Create()
285 MutexLock attach_locker(self, state->attach_lock_); in Create()
286 while (state->debug_thread_id_ == 0) { in Create()
287 state->attach_cond_.Wait(self); in Create()
290 if (!state->IsActive()) { in Create()
304 return state.release(); in Create()
400 JdwpState* state = reinterpret_cast<JdwpState*>(arg); in StartJdwpThread() local
401 CHECK(state != NULL); in StartJdwpThread()
403 state->Run(); in StartJdwpThread()