Searched refs:mBackupFile (Results 1 – 3 of 3) sorted by relevance
33 mBackupFile(NULL) { in LiveDataSource()35 mBackupFile = fopen("/data/misc/backup.ts", "wb"); in LiveDataSource()36 CHECK(mBackupFile != NULL); in LiveDataSource()41 if (mBackupFile != NULL) { in ~LiveDataSource()42 fclose(mBackupFile); in ~LiveDataSource()43 mBackupFile = NULL; in ~LiveDataSource()144 if (mBackupFile != NULL) { in queueBuffer()145 CHECK_EQ(fwrite(buffer->data(), 1, buffer->size(), mBackupFile), in queueBuffer()
55 FILE *mBackupFile; member
61 private final File mBackupFile; field in SharedPreferencesImpl77 mBackupFile = makeBackupFile(file); in SharedPreferencesImpl()101 if (mBackupFile.exists()) { in loadFromDiskLocked()103 mBackupFile.renameTo(mFile); in loadFromDiskLocked()579 if (!mBackupFile.exists()) { in writeToFile()580 if (!mFile.renameTo(mBackupFile)) { in writeToFile()582 + " to backup file " + mBackupFile); in writeToFile()614 mBackupFile.delete(); in writeToFile()