Lines Matching refs:self

174   art::Thread* self = art::Thread::Current();  in ~AdbConnectionState()  local
175 if (self != nullptr) { in ~AdbConnectionState()
176 art::ScopedObjectAccess soa(self); in ~AdbConnectionState()
205 art::Thread* self = art::Thread::Attach(kAdbConnectionThreadName, in CallbackFunction() local
208 CHECK(self != nullptr) << "threads_being_born_ should have ensured thread could be attached."; in CallbackFunction()
212 art::ScopedObjectAccess soa(self); in CallbackFunction()
213 self->SetThreadName(kAdbConnectionThreadName); in CallbackFunction()
217 JNIEnv* env = self->GetJniEnv(); in CallbackFunction()
223 art::MutexLock mu(self, *art::Locks::runtime_shutdown_lock_); in CallbackFunction()
226 data->this_->RunPollLoop(self); in CallbackFunction()
263 art::Thread* self = art::Thread::Current(); in StartDebuggerThreads() local
264 art::ScopedObjectAccess soa(self); in StartDebuggerThreads()
267 art::MutexLock mu(self, *art::Locks::runtime_shutdown_lock_); in StartDebuggerThreads()
526 void AdbConnectionState::RunPollLoop(art::Thread* self) { in RunPollLoop() argument
529 CHECK_EQ(self->GetState(), art::kNative); in RunPollLoop()
530 art::Locks::mutator_lock_->AssertNotHeld(self); in RunPollLoop()
531 self->SetState(art::kWaitingInMainDebuggerLoop); in RunPollLoop()
639 HandleDataWithoutAgent(self); in RunPollLoop()
663 void AdbConnectionState::HandleDataWithoutAgent(art::Thread* self) { in HandleDataWithoutAgent() argument
691 AttachJdwpAgent(self); in HandleDataWithoutAgent()
702 AttachJdwpAgent(self); in HandleDataWithoutAgent()
715 AttachJdwpAgent(self); in HandleDataWithoutAgent()
748 if (!art::Dbg::DdmHandleChunk(self->GetJniEnv(), in HandleDataWithoutAgent()
804 void AdbConnectionState::AttachJdwpAgent(art::Thread* self) { in AttachJdwpAgent() argument
806 self->AssertNoPendingException(); in AttachJdwpAgent()
810 if (self->IsExceptionPending()) { in AttachJdwpAgent()
812 art::ScopedObjectAccess soa(self); in AttachJdwpAgent()
813 self->GetException()->Dump(); in AttachJdwpAgent()
814 self->ClearException(); in AttachJdwpAgent()