Searched refs:taskname (Results 1 – 4 of 4) sorted by relevance
/system/memory/lmkd/ |
D | statslog.cpp | 47 char taskname[MAX_TASKNAME_LEN]; member 199 void stats_store_taskname(int pid, const char* taskname) { in stats_store_taskname() argument 200 if (!enable_stats_log || !taskname) { in stats_store_taskname() 206 if (strcmp(procp->taskname, taskname) == 0) { in stats_store_taskname() 213 strncpy(procp->taskname, taskname, MAX_TASKNAME_LEN - 1); in stats_store_taskname() 214 procp->taskname[MAX_TASKNAME_LEN - 1] = '\0'; in stats_store_taskname() 239 return proc ? proc->taskname : NULL; in stats_get_task_name() 329 index = pack_string(packet, index, kill_stat->taskname); in lmkd_pack_set_kill_occurred()
|
D | statslog.h | 73 const char *taskname; member 125 void stats_store_taskname(int pid, const char* taskname); 159 static inline void stats_store_taskname(int pid __unused, const char* taskname __unused) {} in stats_store_taskname()
|
D | lmkd.cpp | 796 kill_st->taskname = stats_get_task_name(pid); in stats_write_lmk_kill_occurred_pid() 797 if (kill_st->taskname != NULL) { in stats_write_lmk_kill_occurred_pid() 838 char* taskname = 0; in poll_kernel() local 845 &rss_in_pages, &oom_score_adj, &min_score_adj, &starttime, &taskname); in poll_kernel() 864 free(taskname); in poll_kernel() 1210 char *taskname = proc_get_name(cred->pid, buf, sizeof(buf)); in cmd_procprio() local 1213 taskname ? taskname : "A process ", cred->uid, cred->pid); in cmd_procprio() 1248 char *taskname = proc_get_name(cred->pid, buf, sizeof(buf)); in cmd_procremove() local 1251 taskname ? taskname : "A process ", cred->uid, cred->pid); in cmd_procremove() 2136 char *taskname; in kill_one_process() local [all …]
|
/system/nfc/src/gki/ulinux/ |
D | gki_ulinux.cc | 182 uint8_t GKI_create_task(TASKPTR task_entry, uint8_t task_id, int8_t* taskname, in GKI_create_task() argument 194 task_entry, task_id, taskname, stack, stacksize); in GKI_create_task() 203 gki_cb.com.OSTName[task_id] = taskname; in GKI_create_task() 240 << StringPrintf("pthread_create failed(%d), %s!", ret, taskname); in GKI_create_task() 262 gki_cb.os.thread_id[task_id], taskname, stack, stacksize); in GKI_create_task()
|