Searched refs:newSnapshotFD (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 337 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, in back_up_files() argument 443 err = write_snapshot_file(newSnapshotFD, newSnapshot); in back_up_files() 1359 int newSnapshotFD; in backup_helper_test_files() local 1394 newSnapshotFD = creat(SCRATCH_DIR "before.snap", 0666); in backup_helper_test_files() 1395 if (newSnapshotFD == -1) { in backup_helper_test_files() 1403 err = back_up_files(-1, &dataStream, newSnapshotFD, files_before, keys_before, 5); in backup_helper_test_files() 1410 close(newSnapshotFD); in backup_helper_test_files() 1463 newSnapshotFD = creat(SCRATCH_DIR "after.snap", 0666); in backup_helper_test_files() 1464 if (newSnapshotFD == -1) { in backup_helper_test_files() 1472 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files() [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | BackupHelpers.h | 136 int back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD,
|