Home | History | Annotate | Download | only in installd

Lines Matching refs:dirs

291         if (android_system_dirs.dirs[i].path != NULL) {
292 free(android_system_dirs.dirs[i].path);
296 free(android_system_dirs.dirs);
333 android_system_dirs.dirs = calloc(android_system_dirs.count, sizeof(dir_rec_t));
334 if (android_system_dirs.dirs == NULL) {
335 ALOGE("Couldn't allocate array for dirs; aborting\n");
345 android_system_dirs.dirs[0].path = build_string2(android_root_dir.path, APP_SUBDIR);
346 android_system_dirs.dirs[0].len = strlen(android_system_dirs.dirs[0].path);
348 android_system_dirs.dirs[1].path = build_string2(android_root_dir.path, PRIV_APP_SUBDIR);
349 android_system_dirs.dirs[1].len = strlen(android_system_dirs.dirs[1].path);
351 android_system_dirs.dirs[2].path = "/vendor/app/";
352 android_system_dirs.dirs[2].len = strlen(android_system_dirs.dirs[2].path);
354 android_system_dirs.dirs[3].path = "/oem/app/";
355 android_system_dirs.dirs[3].len = strlen(android_system_dirs.dirs[3].path);