Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.cpp831 static int validate_path(const std::string& dir, const std::string& path, int maxSubdirs) { in validate_path() argument
859 if (count > maxSubdirs) { in validate_path()
924 static int validate_apk_path_internal(const std::string& path, int maxSubdirs) { in validate_apk_path_internal() argument
925 if (validate_path(android_app_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal()
927 } else if (validate_path(android_staging_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal()
929 } else if (validate_path(android_app_private_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal()
931 } else if (validate_path(android_app_ephemeral_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal()
933 } else if (validate_path(android_asec_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal()
941 return validate_apk_path_internal(modified, maxSubdirs); in validate_apk_path_internal()