Searched refs:android_data_dir (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/cmds/installd/ |
D | globals.cpp | 55 dir_rec_t android_data_dir; variable 80 if (get_path_from_string(&android_data_dir, data) < 0) { in init_globals_from_data_and_root() 85 if (copy_and_append(&android_app_dir, &android_data_dir, APP_SUBDIR) < 0) { in init_globals_from_data_and_root() 90 if (copy_and_append(&android_app_private_dir, &android_data_dir, PRIVATE_APP_SUBDIR) < 0) { in init_globals_from_data_and_root() 95 if (copy_and_append(&android_app_ephemeral_dir, &android_data_dir, EPHEMERAL_APP_SUBDIR) < 0) { in init_globals_from_data_and_root() 100 if (copy_and_append(&android_app_lib_dir, &android_data_dir, APP_LIB_SUBDIR) < 0) { in init_globals_from_data_and_root() 110 if (copy_and_append(&android_media_dir, &android_data_dir, MEDIA_SUBDIR) < 0) { in init_globals_from_data_and_root() 120 if (copy_and_append(&android_profiles_dir, &android_data_dir, PROFILES_SUBDIR) < 0) { in init_globals_from_data_and_root()
|
D | globals.h | 48 extern dir_rec_t android_data_dir;
|
D | installd.cpp | 143 android_data_dir.len + in create_cache_path() 155 android_data_dir.path, in create_cache_path() 163 android_data_dir.len + in create_cache_path() 586 snprintf(version_path, PATH_MAX, "%s.layout_version", android_data_dir.path); in initialize_directories() 608 snprintf(misc_dir, PATH_MAX, "%smisc", android_data_dir.path); in initialize_directories()
|
D | utils.cpp | 256 if ((android_data_dir.len + strlen(PRIMARY_USER_PREFIX) + strlen(pkgname) + strlen(leaf) + 1) in create_move_path() 261 sprintf(path, "%s%s%s/%s", android_data_dir.path, PRIMARY_USER_PREFIX, pkgname, leaf); in create_move_path()
|
D | commands.cpp | 1833 android_data_dir.path, in mark_boot_complete()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 60 android_data_dir.path = (char*) TEST_DATA_DIR; in SetUp() 61 android_data_dir.len = strlen(TEST_DATA_DIR); in SetUp()
|