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.java52 private ParcelFileDescriptor mDataFile; field in BackupDataTest
68 if (mDataFile != null) { in tearDown()
69 mDataFile.close(); in tearDown()
76 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testSingle()
80 mDataFile.close(); in testSingle()
83 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testSingle()
95 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testMultiple()
101 mDataFile.close(); in testMultiple()
104 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testMultiple()
116 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()