Searched refs:newSnapshotFD (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 440 err = write_snapshot_file(newSnapshotFD, newSnapshot); in back_up_files() 1349 int newSnapshotFD; in backup_helper_test_files() local 1384 newSnapshotFD = creat(SCRATCH_DIR "before.snap", 0666); in backup_helper_test_files() 1385 if (newSnapshotFD == -1) { in backup_helper_test_files() 1393 err = back_up_files(-1, &dataStream, newSnapshotFD, files_before, keys_before, 5); in backup_helper_test_files() 1400 close(newSnapshotFD); in backup_helper_test_files() 1453 newSnapshotFD = creat(SCRATCH_DIR "after.snap", 0666); in backup_helper_test_files() 1454 if (newSnapshotFD == -1) { in backup_helper_test_files() 1462 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files() [all …]
|
/frameworks/base/include/androidfw/ |
D | BackupHelpers.h | 136 int back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD,
|