Home
last modified time | relevance | path

Searched refs:obbDir (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java60 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();
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java262 File obbDir = userEnv.buildExternalStorageAppObbDirs(packageInfo.packageName)[0]; in backupObb() local
263 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()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java354 File obbDir = createObbDirForPackage(packageInfo.packageName); in testBackupObb_withObbData_writesCorrectBytesToOutput() local
356 File obbFile = createObbFileAndWrite(obbDir, obbBytes); in testBackupObb_withObbData_writesCorrectBytesToOutput()
369 File obbDir = createObbDirForPackage(packageInfo.packageName); in testBackupObb_withNoObbData_doesNotWriteBytesToOutput() local
441 private File createObbFileAndWrite(File obbDir, byte[] data) throws IOException { in createObbFileAndWrite() argument
442 File obbFile = new File(obbDir, "obb"); in createObbFileAndWrite()
456 File obbDir = in createObbDirForPackage() local
460 obbDir.mkdirs(); in createObbDirForPackage()
461 return obbDir; in createObbDirForPackage()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp273 jobject messageQueue, jstring internalDataDir, jstring obbDir, in loadNativeCode_native() argument
370 if (obbDir != NULL) { in loadNativeCode_native()
371 dirStr = env->GetStringUTFChars(obbDir, NULL); in loadNativeCode_native()
373 env->ReleaseStringUTFChars(obbDir, dirStr); in loadNativeCode_native()