Home
last modified time | relevance | path

Searched refs:obb (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/cmds/installd/
Dmigrate_legacy_obb_data.sh18 rm -rf /data/media/0/Android/obb/test_probe
19 mkdir -p /data/media/0/Android/obb/
20 touch /data/media/0/Android/obb/test_probe
21 if ! test -f /data/media/0/Android/obb/test_probe ; then
23 rm -rf /data/media/0/Android/obb/test_probe
28 rm -rf /data/media/0/Android/obb/test_probe
29 rmdir /data/media/obb
31 if ! test -d /data/media/obb ; then
37 rm -rf /data/media/0/Android/obb
38 cp -F -p -R -P -d /data/media/obb /data/media/0/Android
[all …]
DAndroid.bp299 // Script to migrate legacy obb data.
/frameworks/base/tools/obbtool/
DMain.cpp93 ObbFile *obb = new ObbFile(); in doAdd() local
94 if (obb->readFrom(filename)) { in doAdd()
99 obb->setPackageName(String8(info->packageName)); in doAdd()
100 obb->setVersion(info->packageVersion); in doAdd()
101 obb->setOverlay(info->overlay); in doAdd()
103 obb->setSalt(info->salt, SALT_LEN); in doAdd()
106 if (!obb->writeTo(filename)) { in doAdd()
116 ObbFile *obb = new ObbFile(); in doRemove() local
117 if (!obb->readFrom(filename)) { in doRemove()
122 if (!obb->removeFrom(filename)) { in doRemove()
[all …]
/frameworks/base/core/jni/
Dandroid_content_res_ObbScanner.cpp46 sp<ObbFile> obb = new ObbFile(); in android_content_res_ObbScanner_getObbInfo() local
47 if (!obb->readFrom(filePath)) { in android_content_res_ObbScanner_getObbInfo()
55 const char* packageNameStr = obb->getPackageName().c_str(); in android_content_res_ObbScanner_getObbInfo()
64 env->SetIntField(obbInfo, gObbInfoClassInfo.version, obb->getVersion()); in android_content_res_ObbScanner_getObbInfo()
65 env->SetIntField(obbInfo, gObbInfoClassInfo.flags, obb->getFlags()); in android_content_res_ObbScanner_getObbInfo()
68 const unsigned char* salt = obb->getSalt(&saltLen); in android_content_res_ObbScanner_getObbInfo()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java270 for (File obb : obbFiles) { in backupObb()
276 obb.getAbsolutePath(), in backupObb()
/frameworks/base/native/android/
DAndroid.bp67 "obb.cpp",