Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java61 private ParcelFileDescriptor mDataFile; field in BackupDataTest
77 if (mDataFile != null) { in tearDown()
78 mDataFile.close(); in tearDown()
85 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testSingle()
89 mDataFile.close(); in testSingle()
92 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testSingle()
104 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testMultiple()
110 mDataFile.close(); in testMultiple()
113 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testMultiple()
125 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testDelete()
[all …]
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java60 File mDataFile; field in HugeBackupActivity
79 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME); in onCreate()
104 boolean exists = mDataFile.exists(); in populateUI()
106 file = new RandomAccessFile(mDataFile, "rw"); in populateUI()
188 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); in recordNewUIState()
DHugeAgent.java63 File mDataFile; field in HugeAgent
68 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME); in onCreate()
96 RandomAccessFile file = new RandomAccessFile(mDataFile, "r"); in onBackup()
244 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); in onRestore()