Lines Matching refs:obb
93 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()
131 ObbFile *obb = new ObbFile(); in doInfo() local
132 if (!obb->readFrom(filename)) { in doInfo()
138 printf("Package name: %s\n", obb->getPackageName().c_str()); in doInfo()
139 printf(" Version: %d\n", obb->getVersion()); in doInfo()
140 printf(" Flags: 0x%08x\n", obb->getFlags()); in doInfo()
141 printf(" Overlay: %s\n", obb->isOverlay() ? "true" : "false"); in doInfo()
145 const unsigned char* salt = obb->getSalt(&saltLen); in doInfo()