Home
last modified time | relevance | path

Searched refs:mBackupFile (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.cpp33 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()
DLiveDataSource.h55 FILE *mBackupFile; member
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java68 private final File mBackupFile; field in SharedPreferencesImpl
107 mBackupFile = makeBackupFile(file); in SharedPreferencesImpl()
130 if (mBackupFile.exists()) { in loadFromDisk()
132 mBackupFile.renameTo(mFile); in loadFromDisk()
697 boolean backupFileExists = mBackupFile.exists(); in writeToFile()
704 if (!mFile.renameTo(mBackupFile)) { in writeToFile()
706 + " to backup file " + mBackupFile); in writeToFile()
759 mBackupFile.delete(); in writeToFile()