Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dglobals.h28 struct dir_rec_t { struct
35 dir_rec_t* dirs; argument
38 extern dir_rec_t android_app_dir;
39 extern dir_rec_t android_app_ephemeral_dir;
40 extern dir_rec_t android_app_lib_dir;
41 extern dir_rec_t android_app_private_dir;
42 extern dir_rec_t android_asec_dir;
43 extern dir_rec_t android_data_dir;
44 extern dir_rec_t android_media_dir;
45 extern dir_rec_t android_mnt_expand_dir;
[all …]
Dglobals.cpp34 dir_rec_t android_app_dir;
35 dir_rec_t android_app_ephemeral_dir;
36 dir_rec_t android_app_lib_dir;
37 dir_rec_t android_app_private_dir;
38 dir_rec_t android_asec_dir;
39 dir_rec_t android_data_dir;
40 dir_rec_t android_media_dir;
41 dir_rec_t android_mnt_expand_dir;
42 dir_rec_t android_profiles_dir;
111 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;
129 int get_path_from_env(dir_rec_t* rec, const char* var);
131 int get_path_from_string(dir_rec_t* rec, const char* path);
133 int copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix);
Dutils.cpp961 static int validate_path(const dir_rec_t* dir, const char* path, int maxSubdirs) { in validate_path()
1005 int get_path_from_env(dir_rec_t* rec, const char* var) { in get_path_from_env()
1021 int get_path_from_string(dir_rec_t* rec, const char* path) { in get_path_from_string()
1070 int copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix) { in copy_and_append()
1092 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()