Lines Matching refs:outFile
105 final File outFile = new File(filesDir, name);
106 return outFile;
109 private void copyRawToFile(int rawResId, File outFile) {
117 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG
119 assertTrue(FileUtils.copyToFile(is, outFile));
120 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG
202 final File outFile = getFilePath("test1.obb");
204 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED);
206 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED);
208 final String mountPath = checkMountedPath(sm, outFile);
214 unmountObb(sm, outFile, OnObbStateChangeListener.UNMOUNTED);
221 final File outFile = getFilePath("test1_nosig.obb");
223 mountObb(sm, R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL);
226 sm.isObbMounted(outFile.getPath()));
229 sm.getMountedObbPath(outFile.getPath()));
236 final File outFile = getFilePath("test1_wrongpackage.obb");
238 mountObb(sm, R.raw.test1_wrongpackage, outFile,
242 sm.isObbMounted(outFile.getPath()));
245 sm.getMountedObbPath(outFile.getPath()));