Lines Matching refs:api
111 def should_omit_version(version, arch, api, vndk, apex): argument
131 if not symbol_in_api(version.tags, arch, api):
136 def should_omit_symbol(symbol, arch, api, vndk, apex): argument
146 if not symbol_in_api(symbol.tags, arch, api):
166 def symbol_in_api(tags, arch, api): argument
178 return api == FUTURE_API_LEVEL
185 return api >= int(get_tag_value(introduced_tag))
188 def symbol_versioned_in_api(tags, api): argument
202 return api >= int(get_tag_value(tag))
253 def __init__(self, input_file, api_map, arch, api, vndk, apex): argument
257 self.api = api
287 if should_omit_version(version, self.arch, self.api, self.vndk, self.apex):
291 if should_omit_symbol(symbol, self.arch, self.api, self.vndk, self.apex):
375 def __init__(self, src_file, version_script, arch, api, vndk, apex): argument
379 self.api = api
390 if should_omit_version(version, self.arch, self.api, self.vndk, self.apex):
393 section_versioned = symbol_versioned_in_api(version.tags, self.api)
397 if should_omit_symbol(symbol, self.arch, self.api, self.vndk, self.apex):
400 if symbol_versioned_in_api(symbol.tags, self.api):
409 emit_version = symbol_versioned_in_api(symbol.tags, self.api)
429 def decode_api_level(api, api_map): argument
437 return int(api)
441 if api == "current":
444 return api_map[api]
485 api = decode_api_level(args.api, api_map)
495 versions = SymbolFileParser(symbol_file, api_map, args.arch, api,
502 generator = Generator(src_file, version_file, args.arch, api,