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