Searched refs:obbDir (Results 1 – 4 of 4) sorted by relevance
60 File obbDir = Environment.buildExternalStorageAppObbDirs(packageName)[0];61 if (obbDir != null) {62 if (obbDir.exists()) {63 ArrayList<File> obbList = allFileContents(obbDir);69 final String rootPath = obbDir.getCanonicalPath();
262 File obbDir = userEnv.buildExternalStorageAppObbDirs(packageInfo.packageName)[0]; in backupObb() local263 if (obbDir != null) { in backupObb()265 Log.i(TAG, "obb dir: " + obbDir.getAbsolutePath()); in backupObb()267 File[] obbFiles = obbDir.listFiles(); in backupObb()269 String obbDirName = obbDir.getAbsolutePath(); in backupObb()
354 File obbDir = createObbDirForPackage(packageInfo.packageName); in testBackupObb_withObbData_writesCorrectBytesToOutput() local356 File obbFile = createObbFileAndWrite(obbDir, obbBytes); in testBackupObb_withObbData_writesCorrectBytesToOutput()369 File obbDir = createObbDirForPackage(packageInfo.packageName); in testBackupObb_withNoObbData_doesNotWriteBytesToOutput() local441 private File createObbFileAndWrite(File obbDir, byte[] data) throws IOException { in createObbFileAndWrite() argument442 File obbFile = new File(obbDir, "obb"); in createObbFileAndWrite()456 File obbDir = in createObbDirForPackage() local460 obbDir.mkdirs(); in createObbDirForPackage()461 return obbDir; in createObbDirForPackage()
273 jobject messageQueue, jstring internalDataDir, jstring obbDir, in loadNativeCode_native() argument370 if (obbDir != NULL) { in loadNativeCode_native()371 dirStr = env->GetStringUTFChars(obbDir, NULL); in loadNativeCode_native()373 env->ReleaseStringUTFChars(obbDir, dirStr); in loadNativeCode_native()