Lines Matching refs:p
211 for p in partitions.split(','):
212 if p.endswith('/'):
213 p = p[:-1]
214 self.partitions.append(p)
216 self._check_dir(p + '/priv-app')
409 for p in partitions:
410 results[p] = self._resolve_all_privapps(p)
415 p = partitions[0]
416 results[p] = []
426 results[p].append(apk)
430 results[p].append(apk)
464 for p in partitions:
465 results[p] = self._resolve_sys_path(p + '/' + file_path)
583 for p in resources.partitions:
584 results[p], apps_redefine_base = \
585 generate_missing_permissions(resources, priv_permissions, p)
591 if p.endswith('product'):
594 elif p.endswith('system'):
598 out_file_name = str(p).replace('/', '_') + '.xml'
601 vprint(enable_print, '# %s XML written to %s:', p, out_file_name)
604 print_xml(results[p], apps_redefine_base, p, out_file)
607 vprint(enable_print, '# %s XML:', p)
612 print_xml(results[p], apps_redefine_base, p)
659 for p in results[package_name]:
660 fd.write(' <permission name="%s"/>\n' % p)
767 for p in permissions:
768 perm_name = p.getAttribute('name')