Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java55 import com.android.server.backup.FileMetadata;
110 FileMetadata fileMetadata = tarBackupReader.readTarHeaders(); in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata()
127 FileMetadata fileMetadata = tarBackupReader.readTarHeaders(); in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata()
147 FileMetadata fileMetadata = tarBackupReader.readTarHeaders(); in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader()
184 FileMetadata fileMetadata = tarBackupReader.readTarHeaders(); in readAppManifest_backupEncrypted_correctlyParsesAppManifest()
205 FileMetadata fileMetadata = tarBackupReader.readTarHeaders(); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
228 true /* allowApks */, new FileMetadata(), null /* signatures */, in chooseRestorePolicy_signaturesIsNull_returnsIgnore()
244 FileMetadata info = new FileMetadata(); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
269 FileMetadata info = new FileMetadata(); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
300 false /* allowApks */, new FileMetadata(), new Signature[0] /* signatures */, in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreFileRunnable.java23 import com.android.server.backup.FileMetadata;
35 private final FileMetadata mInfo;
41 FileMetadata info, ParcelFileDescriptor socket, int token) throws IOException { in RestoreFileRunnable()
DFullRestoreEngine.java49 import com.android.server.backup.FileMetadata;
183 FileMetadata info; in restoreOneFile()
650 private static boolean isRestorableFile(FileMetadata info) { in isRestorableFile()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbRestoreEngine.java43 private final FileMetadata mInfo;
49 File dataDir, FileMetadata info, ParcelFileDescriptor inFD, IBackupAgent agent, in KeyValueAdbRestoreEngine()
70 … private File prepareRestoreData(FileMetadata info, ParcelFileDescriptor inFD) throws IOException { in prepareRestoreData()
82 private void invokeAgentForAdbRestore(IBackupAgent agent, FileMetadata info, File restoreData) in invokeAgentForAdbRestore()
DFileMetadata.java30 public class FileMetadata { class
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java59 import com.android.server.backup.FileMetadata;
102 public FileMetadata readTarHeaders() throws IOException { in readTarHeaders()
104 FileMetadata info = null; in readTarHeaders()
110 info = new FileMetadata(); in readTarHeaders()
275 public Signature[] readAppManifestAndReturnSignatures(FileMetadata info) in readAppManifestAndReturnSignatures()
390 boolean allowApks, FileMetadata info, Signature[] signatures, in chooseRestorePolicy()
560 public void readMetadata(FileMetadata info) throws IOException { in readMetadata()
686 private boolean readPaxExtendedHeader(FileMetadata info) in readPaxExtendedHeader()
DRestoreUtils.java42 import com.android.server.backup.FileMetadata;
74 FileMetadata info, in installApk()