Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DBackupHelpers.cpp86 read_snapshot_file(int fd, KeyedVector<String8,FileState>* snapshot) in read_snapshot_file()
104 FileState file; in read_snapshot_file()
107 amt = read(fd, &file, sizeof(FileState)); in read_snapshot_file()
108 if (amt != sizeof(FileState)) { in read_snapshot_file()
153 bytesWritten += sizeof(FileState) + round_up(name.length()); in write_snapshot_file()
175 amt = write(fd, &r.s, sizeof(FileState)); in write_snapshot_file()
176 if (amt != sizeof(FileState)) { in write_snapshot_file()
337 KeyedVector<String8,FileState> oldSnapshot; in back_up_files()
403 const FileState& f = oldSnapshot.valueAt(n); in back_up_files()
947 KeyedVector<String8,FileState> readSnapshot; in backup_helper_test_empty()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h45 struct FileState { struct
57 FileState s; argument