Searched refs:validate_path (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/installd/ |
D | utils.cpp | 765 static int validate_path(const std::string& dir, const std::string& path, int maxSubdirs) { in validate_path() function 808 if (validate_path(dir, path, 1) == 0) { in validate_system_app_path() 859 if (validate_path(android_app_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal() 861 } else if (validate_path(android_app_private_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal() 863 } else if (validate_path(android_app_ephemeral_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal() 865 } else if (validate_path(android_asec_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal()
|