Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 177) sorted by relevance

12345678

/system/core/libunwindstack/tools/
Dunwind.cpp37 static bool Attach(pid_t pid) { in Attach()
54 static bool Detach(pid_t pid) { in Detach()
58 void DoUnwind(pid_t pid) { in DoUnwind()
151 pid_t pid = atoi(argv[1]); in main() local
/system/vold/
DProcess.cpp73 void Process::getProcessName(int pid, std::string& out_name) { in getProcessName()
79 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint) { in checkFileDescriptorSymLinks()
83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_… in checkFileDescriptorSymLinks()
124 int Process::checkFileMaps(int pid, const char *mountPoint) { in checkFileMaps()
128 int Process::checkFileMaps(int pid, const char *mountPoint, char *openFilename, size_t max) { in checkFileMaps()
154 int Process::checkSymLink(int pid, const char *mountPoint, const char *name) { in checkSymLink()
191 int pid = getPid(de->d_name); in killProcessesWithOpenFiles() local
/system/core/libunwindstack/tests/
DMemoryRemoteTest.cpp48 static bool Attach(pid_t pid) { in Attach()
65 static bool Detach(pid_t pid) { in Detach()
76 pid_t pid; in TEST_F() local
108 pid_t pid; in TEST_F() local
149 pid_t pid; in TEST_F() local
/system/core/libprocessgroup/
Dprocessgroup.cpp112 static int convertUidPidToPath(char *path, size_t size, uid_t uid, int pid) in convertUidPidToPath()
122 bool ProcessGroup::Open(uid_t uid, int pid) { in Open()
169 long pid = strtol(buf_ptr_, &pid_eptr, 10); in GetOneAppProcess() local
185 static int removeProcessGroup(uid_t uid, int pid) in removeProcessGroup()
266 pid_t pid; in doKillProcessGroupOnce() local
306 for (const auto pid : pids) { in doKillProcessGroupOnce() local
417 static bool setProcessGroupValue(uid_t uid, int pid, const char* fileName, int64_t value) { in setProcessGroupValue()
434 bool setProcessGroupSwappiness(uid_t uid, int pid, int swappiness) { in setProcessGroupSwappiness()
438 bool setProcessGroupSoftLimit(uid_t uid, int pid, int64_t soft_limit_in_bytes) { in setProcessGroupSoftLimit()
442 bool setProcessGroupLimit(uid_t uid, int pid, int64_t limit_in_bytes) { in setProcessGroupLimit()
/system/core/libunwindstack/
DMapInfo.cpp30 Memory* MapInfo::CreateMemory(pid_t pid) { in CreateMemory()
78 Elf* MapInfo::GetElf(pid_t pid, bool init_gnu_debugdata) { in GetElf()
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp41 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) { in dump_process_header()
55 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer()
63 static void dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid, in dump_thread()
76 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, const std::string& process_nam… in dump_backtrace()
97 pid_t pid = getpid(); in dump_backtrace_ucontext() local
Dtombstone.cpp272 static void dump_thread_info(log_t* log, pid_t pid, pid_t tid, const char* process_name, in dump_thread_info()
500 static void dump_thread(log_t* log, pid_t pid, pid_t tid, const std::string& process_name, in dump_thread()
538 log_t* log, pid_t pid, const char* filename, unsigned int tail) { in dump_log_file()
656 static void dump_logs(log_t* log, pid_t pid, unsigned int tail) { in dump_logs()
662 static void dump_crash(log_t* log, BacktraceMap* map, const OpenFilesList* open_files, pid_t pid, in dump_crash()
751 pid_t pid, pid_t tid, const std::string& process_name, in engrave_tombstone()
764 pid_t pid = getpid(); in engrave_tombstone_ucontext() local
/system/core/libbacktrace/
DUnwindMap.cpp36 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap()
40 UnwindMapRemote::UnwindMapRemote(pid_t pid) : UnwindMap(pid) { in UnwindMapRemote()
153 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { in Create()
DBacktraceMap.cpp32 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap()
139 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) {
149 BacktraceMap* BacktraceMap::Create(pid_t pid, const std::vector<backtrace_map_t>& maps) {
DThreadEntry.cpp33 ThreadEntry::ThreadEntry(pid_t pid, pid_t tid) in ThreadEntry()
49 ThreadEntry* ThreadEntry::Get(pid_t pid, pid_t tid, bool create) { in Get()
DBacktrace.cpp42 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace()
126 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create()
Dbacktrace_test.cpp103 static void WaitForStop(pid_t pid) { in WaitForStop()
116 static void CreateRemoteProcess(pid_t* pid) { in CreateRemoteProcess()
130 static void FinishRemoteProcess(pid_t pid) { in FinishRemoteProcess()
307 static void VerifyProcTest(pid_t pid, pid_t tid, bool share_map, bool (*ReadyFunc)(Backtrace*), in VerifyProcTest()
347 pid_t pid; in TEST() local
360 pid_t pid; in TEST() local
374 pid_t pid; in TEST() local
401 pid_t pid; in TEST() local
419 static void GetThreads(pid_t pid, std::vector<pid_t>* threads) { in GetThreads()
437 pid_t pid; in TEST() local
[all …]
DBacktracePtrace.h29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktracePtrace()
/system/netd/server/
DClatdController.cpp55 pid_t pid = getClatdPid(interface); in startClatd() local
120 pid_t pid = getClatdPid(interface); in stopClatd() local
140 pid_t pid = getClatdPid(interface); in isClatdStarted() local
/system/hwservicemanager/
DHidlService.cpp17 pid_t pid) in HidlService()
27 void HidlService::setService(sp<IBase> service, pid_t pid) { in setService()
75 void HidlService::registerPassthroughClient(pid_t pid) { in registerPassthroughClient()
/system/extras/iotop/
Dtasklist.cpp40 pid_t pid = atoi(entry->d_name); in ScanPidsInDir() local
62 return ScanPidsInDir(filename, [&pid_list](pid_t pid) { in ScanPid()
/system/tools/hidl/test/
Dhidl_test_servers.cpp73 pid_t pid; in forkServer() local
86 static void killServer(pid_t pid, const char *serverName) { in killServer()
/system/extras/perfprofd/quipper/
Dperf_parser.cc309 const uint32_t pid, in MapCallchain()
353 bool PerfParser::MapBranchStack(const uint32_t pid, in MapBranchStack()
415 uint32_t pid, in MapIPAndPidAndGetNameAndOffset()
468 uint32_t pid, in MapMmapEvent()
538 uint32_t pid, uint32_t *ppid) { in GetOrCreateProcessMapper()
569 const uint32_t pid = event.pid; in MapForkEvent() local
/system/core/libunwindstack/include/unwindstack/
DMemory.h104 MemoryRemote(pid_t pid) : pid_(pid) {} in MemoryRemote()
109 pid_t pid() { return pid_; } in pid() function
/system/core/libmemtrack/
Dmemtrack_test.c28 static int getprocname(pid_t pid, char *buf, int len) { in getprocname()
105 pid_t pid = pids[i]; in main() local
Dmemtrack.cpp42 pid_t pid; member
66 pid_t pid, MemtrackType type) in memtrack_proc_get_type()
100 int memtrack_proc_get(memtrack_proc *p, pid_t pid) in memtrack_proc_get()
/system/core/debuggerd/
Dsignal_sender.cpp37 pid_t pid; member
151 bool send_signal(pid_t pid, pid_t tid, int signal) { in send_signal()
/system/extras/tests/cpueater/
Dcpueater.c30 pid_t pid; in main() local
/system/core/logd/
DLogBufferInterface.cpp24 uid_t LogBufferInterface::pidToUid(pid_t pid) { in pidToUid()
/system/extras/simpleperf/
Dthread_tree.cpp48 void ThreadTree::SetThreadName(int pid, int tid, const std::string& comm) { in SetThreadName()
57 void ThreadTree::ForkThread(int pid, int tid, int ppid, int ptid) { in ForkThread()
67 ThreadEntry* ThreadTree::FindThreadOrNew(int pid, int tid) { in FindThreadOrNew()
82 ThreadEntry* ThreadTree::CreateThread(int pid, int tid) { in CreateThread()
129 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, in AddThreadMap()

12345678