Searched refs:ApkManifestInfo (Results 1 – 3 of 3) sorted by relevance
23 struct ApkManifestInfo;31 const ApkManifestInfo* extractManifestInfo(const void* manifest, size_t size);35 void freeManifestInfo(const ApkManifestInfo* info);40 const char* getPackageName(const ApkManifestInfo* info);43 uint64_t getVersionCode(const ApkManifestInfo* info);
48 struct ApkManifestInfo { struct143 Result<unique_ptr<ApkManifestInfo>> parseManifest(const void* manifest, size_t size) { in parseManifest()152 unique_ptr<ApkManifestInfo> info{new ApkManifestInfo{}}; in parseManifest()188 const ApkManifestInfo* extractManifestInfo(const void* manifest, size_t size) { in extractManifestInfo()197 void freeManifestInfo(const ApkManifestInfo* info) { in freeManifestInfo()201 const char* getPackageName(const ApkManifestInfo* info) { in getPackageName()205 uint64_t getVersionCode(const ApkManifestInfo* info) { in getVersionCode()
32 pub struct ApkManifestInfo { struct42 pub fn get_manifest_info<P: AsRef<Path>>(apk_path: P) -> Result<ApkManifestInfo> { in get_manifest_info() argument69 Ok(ApkManifestInfo { package, version_code }) in get_manifest_info()