Home | History | Annotate | Download | only in releasetools

Lines Matching refs:apex

24       Add extra APK/APEX name/key pairs as though they appeared in apkcerts.txt
27 apkcerts.txt file, or the container key for an APEX. Option may be
31 Add a mapping for APEX package name to payload signing key, which will
101 --avb_{apex,boot,system,system_other,vendor,dtbo,vbmeta,vbmeta_system,
170 """Gets APEX payload and container signing keys by applying the mapping rules.
175 keys_info: A dict that maps from APEX filenames to a tuple of (payload_key,
180 A dict that contains the updated APEX key mapping, which should be used for
185 for apex, key in OPTIONS.extra_apex_payload_keys.items():
188 if apex not in keys_info:
189 logger.warning('Failed to find %s in target_files; Ignored', apex)
191 keys_info[apex] = (key, keys_info[apex][1])
194 for apex, (payload_key, container_key) in keys_info.items():
195 keys_info[apex] = (payload_key, key_map.get(container_key, container_key))
198 for apex, key in OPTIONS.extra_apks.items():
199 # Skip non-APEX containers.
200 if apex not in keys_info:
204 keys_info[apex] = (keys_info[apex][0], key_map.get(key, key))
264 apex_keys: A dict that contains the key mapping from APEX name to
272 # Handle APEXes first, e.g. SYSTEM/apex/com.android.tzdata.apex.
273 if (info.filename.startswith('SYSTEM/apex') and
274 info.filename.endswith('.apex')):
297 # For all the APEXes, double check that we won't have an APEX that has only
304 if (not info.filename.startswith('SYSTEM/apex') or
305 not info.filename.endswith('.apex')):
319 "Invalid APEX keys specified:\n {}\n".format(
437 # Sign bundled APEX files.
438 elif filename.startswith("SYSTEM/apex") and filename.endswith(".apex"):
456 OPTIONS.avb_extra_args.get('apex'))
466 elif (os.path.dirname(filename) == 'SYSTEM/etc/security/apex' and
467 filename != 'SYSTEM/etc/security/apex/'):
979 """Parses the APEX keys info from a given target-files zip.
982 dict that contains the mapping from APEX names (e.g. com.android.tzdata) to a
1125 OPTIONS.avb_extra_args['apex'] = a