Searched refs:apk_path (Results 1 – 3 of 3) sorted by relevance
/packages/modules/adb/client/ |
D | fastdeploy.cpp | 151 static std::string get_package_name_from_apk(const char* apk_path) { in get_package_name_from_apk() argument 153 std::unique_ptr<android::ZipFileRO> zip_file((android::ZipFileRO::open)(apk_path)); in get_package_name_from_apk() 156 perror_exit("Could not open %s", apk_path); in get_package_name_from_apk() 160 error_exit("Could not find AndroidManifest.xml inside %s", apk_path); in get_package_name_from_apk() 164 error_exit("Could not read AndroidManifest.xml inside %s", apk_path); in get_package_name_from_apk() 168 error_exit("Could not uncompress AndroidManifest.xml inside %s", apk_path); in get_package_name_from_apk() 173 error_exit("Could not parse AndroidManifest.xml inside %s", apk_path); in get_package_name_from_apk() 214 error_exit("Could not find package name tag in AndroidManifest.xml inside %s", apk_path); in get_package_name_from_apk() 238 std::optional<APKMetaData> extract_metadata(const char* apk_path) { in extract_metadata() argument 244 std::string package_name = get_package_name_from_apk(apk_path); in extract_metadata() [all …]
|
D | fastdeploy.h | 35 std::optional<com::android::fastdeploy::APKMetaData> extract_metadata(const char* apk_path); 38 int stream_patch(const char* apk_path, com::android::fastdeploy::APKMetaData metadata,
|
/packages/modules/Virtualization/microdroid/signature/ |
D | mk_payload.cc | 302 std::string apk_path = ToAbsolute(config.apk->path, config.dirname); in MakePayload() local 303 if (auto ret = add_partition("microdroid-apk", apk_path); !ret.ok()) { in MakePayload()
|