• Home
  • Raw
  • Download

Lines Matching refs:process

152     JdwpProcess(unique_fd socket, ProcessInfo process) {  in JdwpProcess()
153 CHECK(process.pid != 0); in JdwpProcess()
156 this->process = process; in JdwpProcess()
184 ProcessInfo process; member
195 if (!proc->process.debuggable) continue; in jdwp_process_list()
196 std::string next = std::to_string(proc->process.pid) + "\n"; in jdwp_process_list()
216 if (!proc->process.debuggable && !proc->process.profileable) continue; in app_process_list()
218 entry->set_pid(proc->process.pid); in app_process_list()
219 entry->set_debuggable(proc->process.debuggable); in app_process_list()
220 entry->set_profileable(proc->process.profileable); in app_process_list()
221 entry->set_architecture(proc->process.arch_name, proc->process.arch_name_length); in app_process_list()
265 D("terminating JDWP connection %" PRId64, proc->process.pid); in jdwp_process_event()
275 D("sending new file descriptor to JDWP %" PRId64 " failed: %s", proc->process.pid, in jdwp_process_event()
280 D("sent file descriptor %d to JDWP process %" PRId64, fd, proc->process.pid); in jdwp_process_event()
291 bool debuggable = proc->process.debuggable; in jdwp_process_event()
292 bool profileable = proc->process.profileable; in jdwp_process_event()
303 if (!proc->process.debuggable) continue; in create_jdwp_connection_fd()
304 if (proc->process.pid == static_cast<uint64_t>(pid)) { in create_jdwp_connection_fd()
496 adbconnection_listen([](int fd, ProcessInfo process) { in init_jdwp() argument
497 LOG(INFO) << "jdwp connection from " << process.pid; in init_jdwp()
498 fdevent_run_on_main_thread([fd, process] { in init_jdwp()
500 auto proc = std::make_unique<JdwpProcess>(std::move(ufd), process); in init_jdwp()
505 if (process.debuggable) jdwp_process_list_updated(); in init_jdwp()
506 if (process.debuggable || process.profileable) app_process_list_updated(); in init_jdwp()