Lines Matching refs:Aapt
112 class Aapt(object):
117 """Run an aapt command with the given args.
122 The output of the aapt command as a string.
135 _aapt_path: The path to aapt.
141 self.aapt = Resources._resolve_aapt(aapt_path)
202 """Resolves AAPT from either the cmdline argument or the os environment.
205 An Aapt Object
209 return Aapt(aapt_path)
211 raise MissingResourceError('Cannot resolve aapt: No such file '
215 return Aapt(get_output('which aapt').strip())
217 print('Cannot resolve aapt: AAPT does not exist within path. '
219 '--aapt?',
368 '--aapt',
372 help='Path to aapt. If none specified, uses the environment\'s aapt.'
407 priv_permissions = extract_priv_permissions(resources.aapt,
413 pkg_info = extract_pkg_and_requested_permissions(resources.aapt,
474 def extract_pkg_and_requested_permissions(aapt, apk_path):
480 txt = aapt.call(aapt_args)
499 def extract_priv_permissions(aapt, apk_path):
502 txt = aapt.call(aapt_args)
569 aapt_path=args.aapt,