Home
last modified time | relevance | path

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

/frameworks/base/libs/utils/
DBackupHelpers.cpp332 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()
1363 int newSnapshotFD; in backup_helper_test_files() local
1398 newSnapshotFD = creat(SCRATCH_DIR "before.snap", 0666); in backup_helper_test_files()
1399 if (newSnapshotFD == -1) { in backup_helper_test_files()
1407 err = back_up_files(-1, &dataStream, newSnapshotFD, files_before, keys_before, 5); in backup_helper_test_files()
1414 close(newSnapshotFD); in backup_helper_test_files()
1467 newSnapshotFD = creat(SCRATCH_DIR "after.snap", 0666); in backup_helper_test_files()
1468 if (newSnapshotFD == -1) { in backup_helper_test_files()
1476 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files()
[all …]
/frameworks/base/include/utils/
DBackupHelpers.h134 int back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD,