Lines Matching refs:dirs
68 if (android_system_dirs.dirs[i].path != NULL) { in free_globals()
69 free(android_system_dirs.dirs[i].path); in free_globals()
73 free(android_system_dirs.dirs); in free_globals()
125 android_system_dirs.dirs = (dir_rec_t*) calloc(android_system_dirs.count, sizeof(dir_rec_t)); in init_globals_from_data_and_root()
126 if (android_system_dirs.dirs == NULL) { in init_globals_from_data_and_root()
136 android_system_dirs.dirs[0].path = build_string2(android_root_dir.path, APP_SUBDIR); in init_globals_from_data_and_root()
137 android_system_dirs.dirs[0].len = strlen(android_system_dirs.dirs[0].path); in init_globals_from_data_and_root()
139 android_system_dirs.dirs[1].path = build_string2(android_root_dir.path, PRIV_APP_SUBDIR); in init_globals_from_data_and_root()
140 android_system_dirs.dirs[1].len = strlen(android_system_dirs.dirs[1].path); in init_globals_from_data_and_root()
142 android_system_dirs.dirs[2].path = strdup("/vendor/app/"); in init_globals_from_data_and_root()
143 android_system_dirs.dirs[2].len = strlen(android_system_dirs.dirs[2].path); in init_globals_from_data_and_root()
145 android_system_dirs.dirs[3].path = strdup("/oem/app/"); in init_globals_from_data_and_root()
146 android_system_dirs.dirs[3].len = strlen(android_system_dirs.dirs[3].path); in init_globals_from_data_and_root()