Home
last modified time | relevance | path

Searched refs:taskname (Results 1 – 4 of 4) sorted by relevance

/system/memory/lmkd/
Dstatslog.cpp41 char taskname[LINE_MAX]; member
107 return stats_write_lmk_kill_occurred(uid, proc->taskname, oom_score, min_oom_score, in stats_write_lmk_kill_occurred_pid()
244 void stats_store_taskname(int pid, const char* taskname) { in stats_store_taskname() argument
251 if (strcmp(procp->taskname, taskname) == 0) { in stats_store_taskname()
258 strncpy(procp->taskname, taskname, LINE_MAX - 1); in stats_store_taskname()
259 procp->taskname[LINE_MAX - 1] = '\0'; in stats_store_taskname()
Dstatslog.h77 void stats_store_taskname(int pid, const char* taskname);
111 static inline void stats_store_taskname(int pid __unused, const char* taskname __unused) {} in stats_store_taskname()
Dlmkd.cpp786 char* taskname = 0; in poll_kernel() local
793 &rss_in_pages, &oom_score_adj, &min_score_adj, &starttime, &taskname); in poll_kernel()
804 free(taskname); in poll_kernel()
2051 char *taskname; in kill_one_process() local
2064 taskname = proc_get_name(pid, buf, sizeof(buf)); in kill_one_process()
2065 if (!taskname) { in kill_one_process()
2105 ALOGI("Kill '%s' (%d), uid %d, oom_adj %d to free %ldkB; reason: %s", taskname, pid, in kill_one_process()
2108 ALOGI("Kill '%s' (%d), uid %d, oom_adj %d to free %ldkB", taskname, pid, in kill_one_process()
2112 stats_write_lmk_kill_occurred(uid, taskname, procp->oomadj, min_oom_score, tasksize, mem_st); in kill_one_process()
/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc182 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()