Searched refs:oldSnapshotFD (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 333 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, in back_up_files() argument 340 if (oldSnapshotFD != -1) { in back_up_files() 341 err = read_snapshot_file(oldSnapshotFD, &oldSnapshot); in back_up_files() 1352 int oldSnapshotFD; in backup_helper_test_files() local 1446 oldSnapshotFD = open(SCRATCH_DIR "before.snap", O_RDONLY); in backup_helper_test_files() 1447 if (oldSnapshotFD == -1) { in backup_helper_test_files() 1467 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files() 1473 close(oldSnapshotFD); in backup_helper_test_files()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | BackupHelpers.h | 136 int back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD,
|