Home
last modified time | relevance | path

Searched refs:dir_rec_t (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/cmds/installd/
Dglobals.h33 struct dir_rec_t { struct
40 dir_rec_t* dirs; argument
43 extern dir_rec_t android_app_dir;
44 extern dir_rec_t android_app_ephemeral_dir;
45 extern dir_rec_t android_app_lib_dir;
46 extern dir_rec_t android_app_private_dir;
47 extern dir_rec_t android_asec_dir;
48 extern dir_rec_t android_data_dir;
49 extern dir_rec_t android_media_dir;
50 extern dir_rec_t android_mnt_expand_dir;
[all …]
Dglobals.cpp50 dir_rec_t android_app_dir;
51 dir_rec_t android_app_ephemeral_dir;
52 dir_rec_t android_app_lib_dir;
53 dir_rec_t android_app_private_dir;
54 dir_rec_t android_asec_dir;
55 dir_rec_t android_data_dir;
56 dir_rec_t android_media_dir;
57 dir_rec_t android_mnt_expand_dir;
58 dir_rec_t android_profiles_dir;
127 android_system_dirs.dirs = (dir_rec_t*) calloc(android_system_dirs.count, sizeof(dir_rec_t)); in init_globals_from_data_and_root()
[all …]
Dutils.h36 struct dir_rec_t;
137 int get_path_from_env(dir_rec_t* rec, const char* var);
139 int get_path_from_string(dir_rec_t* rec, const char* path);
141 int copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix);
Dutils.cpp1051 static int validate_path(const dir_rec_t* dir, const char* path, int maxSubdirs) { in validate_path()
1095 int get_path_from_env(dir_rec_t* rec, const char* var) { in get_path_from_env()
1111 int get_path_from_string(dir_rec_t* rec, const char* path) { in get_path_from_string()
1160 int copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix) { in copy_and_append()
1182 const dir_rec_t* dir = NULL; in validate_apk_path_internal()
/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp71 … android_system_dirs.dirs = (dir_rec_t*) calloc(android_system_dirs.count, sizeof(dir_rec_t)); in SetUp()
273 dir_rec_t test1; in TEST_F()
279 dir_rec_t test1; in TEST_F()
285 dir_rec_t test1; in TEST_F()
291 dir_rec_t test1; in TEST_F()
303 dir_rec_t test3; in TEST_F()
410 dir_rec_t dst; in TEST_F()
411 dir_rec_t src; in TEST_F()