Searched refs:anr_traces_dir (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | utils.c | 393 char anr_traces_dir[PATH_MAX]; in dump_traces() local 394 strlcpy(anr_traces_dir, traces_path, sizeof(anr_traces_dir)); in dump_traces() 395 char *slash = strrchr(anr_traces_dir, '/'); in dump_traces() 398 if (!mkdir(anr_traces_dir, 0775)) { in dump_traces() 399 chown(anr_traces_dir, AID_SYSTEM, AID_SYSTEM); in dump_traces() 400 chmod(anr_traces_dir, 0775); in dump_traces() 402 fprintf(stderr, "mkdir(%s): %s\n", anr_traces_dir, strerror(errno)); in dump_traces()
|