platform_build_soong/scripts/hiddenapi
Paul Duffin 19255f1d91 Make signature_to_elements stricter and more consistent
Previously, signature_to_elements would return a string array where
non-wildcard strings were of the form <type>:<value> but wildcard
strings were just * or **. This change makes it handle wildcards
consistently with the other element types and adds some extra
checking for edge cases.

Bug: 202154151
Test: m out/soong/hiddenapi/hiddenapi-flags.csv
      atest --host signature_trie_test verify_overlaps_test
      pyformat -s 4 --force_quote_type double -i scripts/hiddenapi/signature_trie*
      /usr/bin/pylint --rcfile $ANDROID_BUILD_TOP/tools/repohooks/tools/pylintrc scripts/hiddenapi/signature_trie*
Change-Id: I5bfaf5e75c7da54b6241f68e03231939c9d65501
2022-03-15 15:16:04 +00:00
..
Android.bp Extract signature_trie.py from verify_overlaps.py 2022-03-09 14:04:23 +00:00
generate_hiddenapi_lists.py Apply pylint to scripts/hiddenapi/generate_hiddenapi_lists* 2021-08-27 00:09:25 +00:00
generate_hiddenapi_lists_test.py Apply pylint to scripts/hiddenapi/generate_hiddenapi_lists* 2021-08-27 00:09:25 +00:00
merge_csv.py Apply pylint to remaining scripts in hiddenapi 2021-08-27 00:30:41 +00:00
signature_patterns.py Allow implementation details to be excluded from signature patterns file 2021-10-05 15:47:05 +01:00
signature_patterns_test.py Allow implementation details to be excluded from signature patterns file 2021-10-05 15:47:05 +01:00
signature_trie.py Make signature_to_elements stricter and more consistent 2022-03-15 15:16:04 +00:00
signature_trie_test.py Make signature_to_elements stricter and more consistent 2022-03-15 15:16:04 +00:00
verify_overlaps.py Extract signature_trie.py from verify_overlaps.py 2022-03-09 14:04:23 +00:00
verify_overlaps_test.py Extract signature_trie.py from verify_overlaps.py 2022-03-09 14:04:23 +00:00