Home
last modified time | relevance | path

Searched refs:ApkManifestInfo (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/libs/apkmanifest/native/
Dapkmanifest.hpp23 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);
Dapkmanifest.cpp48 struct ApkManifestInfo { struct
143 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()
/packages/modules/Virtualization/libs/apkmanifest/src/
Dapkmanifest.rs32 pub struct ApkManifestInfo { struct
42 pub fn get_manifest_info<P: AsRef<Path>>(apk_path: P) -> Result<ApkManifestInfo> { in get_manifest_info() argument
69 Ok(ApkManifestInfo { package, version_code }) in get_manifest_info()