Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dobb.cpp29 AObbInfo* obbFile = new AObbInfo(); in AObbScanner_getObbInfo() local
30 if (obbFile == NULL || !obbFile->readFrom(filename)) { in AObbScanner_getObbInfo()
31 delete obbFile; in AObbScanner_getObbInfo()
34 obbFile->incStrong((void*)AObbScanner_getObbInfo); in AObbScanner_getObbInfo()
35 return static_cast<AObbInfo*>(obbFile); in AObbScanner_getObbInfo()
Dstorage_manager.cpp84 sp<ObbFile> obbFile = new ObbFile(); in getObbInfo() local
85 if (!obbFile->readFrom(canonicalPath)) { in getObbInfo()
89 String16 fileName(obbFile->getFileName()); in getObbInfo()
90 String16 packageName(obbFile->getPackageName()); in getObbInfo()
92 const unsigned char* salt = obbFile->getSalt(&length); in getObbInfo()
94 obbFile->getVersion(), obbFile->getFlags(), length, salt); in getObbInfo()
/frameworks/base/core/java/android/content/res/
DObbScanner.java43 final File obbFile = new File(filePath); in getObbInfo() local
44 if (!obbFile.exists()) { in getObbInfo()
52 final String canonicalFilePath = obbFile.getCanonicalPath(); in getObbInfo()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java356 File obbFile = createObbFileAndWrite(obbDir, obbBytes); in testBackupObb_withObbData_writesCorrectBytesToOutput() local
362 obbFile.delete(); in testBackupObb_withObbData_writesCorrectBytesToOutput()
442 File obbFile = new File(obbDir, "obb"); in createObbFileAndWrite() local
443 obbFile.createNewFile(); in createObbFileAndWrite()
444 Files.write(obbFile.toPath(), data); in createObbFileAndWrite()
445 return obbFile; in createObbFileAndWrite()