Lines Matching refs:resources
576 def create_permission_file(resources): argument
579 priv_permissions = extract_priv_permissions(resources.aapt,
580 resources.framework_res_apk)
583 for p in resources.partitions:
585 generate_missing_permissions(resources, priv_permissions, p)
589 if resources.writetodisk:
592 out_file_name = resources.productfile;
595 out_file_name = resources.systemfile
615 def generate_missing_permissions(resources, priv_permissions, partition): argument
621 list_xml_files(resources.permissions_dirs[partition]),
622 list_xml_files(resources.sysconfig_dirs[partition]))
629 for priv_app in resources.privapp_apks[partition]:
630 pkg_info = extract_pkg_and_requested_permissions(resources.aapt,