Searched refs:assign_flag (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tools/hiddenapi/ |
D | generate_hiddenapi_lists_test.py | 36 flags.assign_flag(FLAG_GREYLIST, set(['C'])) 78 flags.assign_flag(FLAG_GREYLIST, set([ 'A', 'B' ])) 84 flags.assign_flag(FLAG_WHITELIST, set([ 'C' ])) 88 flags.assign_flag('foo', set([ 'A' ]))
|
D | generate_hiddenapi_lists.py | 251 def assign_flag(self, flag, apis, source="<unknown>"): member in FlagsDict 289 flags.assign_flag(FLAG_WHITELIST, flags.filter_apis(IS_SERIALIZATION)) 294 flags.assign_flag(flag, read_lines(filename), filename) 304 flags.assign_flag(flag, valid_entries, filename) 313 flags.assign_flag(flag, valid_entries) 316 flags.assign_flag(FLAG_BLACKLIST, flags.filter_apis(HAS_NO_API_LIST_ASSIGNED))
|