Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DBackupHelpers.cpp333 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, in back_up_files() argument
439 err = write_snapshot_file(newSnapshotFD, newSnapshot); in back_up_files()
1354 int newSnapshotFD; in backup_helper_test_files() local
1389 newSnapshotFD = creat(SCRATCH_DIR "before.snap", 0666); in backup_helper_test_files()
1390 if (newSnapshotFD == -1) { in backup_helper_test_files()
1398 err = back_up_files(-1, &dataStream, newSnapshotFD, files_before, keys_before, 5); in backup_helper_test_files()
1405 close(newSnapshotFD); in backup_helper_test_files()
1458 newSnapshotFD = creat(SCRATCH_DIR "after.snap", 0666); in backup_helper_test_files()
1459 if (newSnapshotFD == -1) { in backup_helper_test_files()
1467 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h136 int back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD,