Lines Matching defs:path
218 if (info.path.equals(BACKUP_MANIFEST_FILENAME)) {
234 } else if (info.path.equals(BACKUP_METADATA_FILENAME)) {
311 // Is it a *file* we need to drop or is it not a canonical path?
312 if (!isRestorableFile(info) || !isCanonicalFilePath(info.path)) {
409 + " : " + info.path);
412 info.size, info.type, info.path, info.mode,
420 + " : " + info.path);
430 Slog.d(TAG, "Invoking agent to restore file " + info.path);
443 info.domain, info.path, info.mode, info.mtime,
607 Slog.i(TAG, "Dropping cache file path " + info.path);
617 if (info.path.startsWith("no_backup/")) {
619 Slog.i(TAG, "Dropping no_backup file path " + info.path);
629 private static boolean isCanonicalFilePath(String path) {
630 if (path.contains("..") || path.contains("//")) {
632 Slog.w(TAG, "Dropping invalid path " + path);