Lines Matching refs:apk
208 def ExtractLibFromApk(self, apk, shared_lib_name): argument
213 if subprocess.call(["unzip", "-p", apk, shared_lib_name], stdout=tmp_fd) == 0:
235 def GetLibFromApk(self, apk, offset): argument
240 if apk in self.apk_info:
241 apk_full_path, offset_list, tmp_files = self.apk_info[apk]
260 if apk.startswith("/"):
261 apk_full_path = out_dir + apk
263 apk_full_path = os.path.join(out_dir, apk)
265 print("Cannot find apk", apk)
298 self.apk_info[apk] = [apk_full_path, offset_list, tmp_files]
474 apk = None
476 apk = area
488 apk = area[0:index + 4]
489 if apk:
490 lib_name, lib = self.GetLibFromApk(apk, so_offset)