Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DBackupHelpers.cpp87 read_snapshot_file(int fd, KeyedVector<String8,FileState>* snapshot) in read_snapshot_file()
105 FileState file; in read_snapshot_file()
108 amt = read(fd, &file, sizeof(FileState)); in read_snapshot_file()
109 if (amt != sizeof(FileState)) { in read_snapshot_file()
154 bytesWritten += sizeof(FileState) + round_up(name.length()); in write_snapshot_file()
176 amt = write(fd, &r.s, sizeof(FileState)); in write_snapshot_file()
177 if (amt != sizeof(FileState)) { in write_snapshot_file()
338 KeyedVector<String8,FileState> oldSnapshot; in back_up_files()
404 const FileState& f = oldSnapshot.valueAt(n); in back_up_files()
942 KeyedVector<String8,FileState> readSnapshot; in backup_helper_test_empty()
[all …]
/frameworks/base/include/androidfw/
DBackupHelpers.h45 struct FileState { struct
57 FileState s; argument