Lines Matching refs:apk
209 def ExtractLibFromApk(self, apk, shared_lib_name): argument
214 if subprocess.call(["unzip", "-p", apk, shared_lib_name], stdout=tmp_fd) == 0:
236 def GetLibFromApk(self, apk, offset): argument
241 if apk in self.apk_info:
242 apk_full_path, offset_list, tmp_files = self.apk_info[apk]
261 if apk.startswith("/"):
262 apk_full_path = out_dir + apk
264 apk_full_path = os.path.join(out_dir, apk)
266 print "Cannot find apk " + apk;
294 self.apk_info[apk] = [apk_full_path, offset_list, tmp_files]
373 apk = None
375 apk = area
387 apk = area[0:index + 4]
388 if apk:
389 lib_name, lib = self.GetLibFromApk(apk, so_offset)