Lines Matching refs:android_system_dirs
60 dir_rec_array_t android_system_dirs; variable
69 for (i = 0; i < android_system_dirs.count; i++) { in free_globals()
70 if (android_system_dirs.dirs[i].path != NULL) { in free_globals()
71 free(android_system_dirs.dirs[i].path); in free_globals()
75 free(android_system_dirs.dirs); in free_globals()
125 android_system_dirs.count = 4; in init_globals_from_data_and_root()
127 android_system_dirs.dirs = (dir_rec_t*) calloc(android_system_dirs.count, sizeof(dir_rec_t)); in init_globals_from_data_and_root()
128 if (android_system_dirs.dirs == NULL) { in init_globals_from_data_and_root()
138 android_system_dirs.dirs[0].path = build_string2(android_root_dir.path, APP_SUBDIR); in init_globals_from_data_and_root()
139 android_system_dirs.dirs[0].len = strlen(android_system_dirs.dirs[0].path); in init_globals_from_data_and_root()
141 android_system_dirs.dirs[1].path = build_string2(android_root_dir.path, PRIV_APP_SUBDIR); in init_globals_from_data_and_root()
142 android_system_dirs.dirs[1].len = strlen(android_system_dirs.dirs[1].path); in init_globals_from_data_and_root()
144 android_system_dirs.dirs[2].path = strdup("/vendor/app/"); in init_globals_from_data_and_root()
145 android_system_dirs.dirs[2].len = strlen(android_system_dirs.dirs[2].path); in init_globals_from_data_and_root()
147 android_system_dirs.dirs[3].path = strdup("/oem/app/"); in init_globals_from_data_and_root()
148 android_system_dirs.dirs[3].len = strlen(android_system_dirs.dirs[3].path); in init_globals_from_data_and_root()