Home
last modified time | relevance | path

Searched refs:valid_types (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/perf_insights/third_party/cloudstorage/
Dapi_utils.py284 valid_types = [val_type]
286 valid_types.append(int)
288 if type(val) not in valid_types:
/external/selinux/policycoreutils/semanage/
Dseobject.py1019 valid_types = sepolicy.info(sepolicy.ATTRIBUTE, "port_type")[0]["types"] variable in portRecords
1021 valid_types = [] variable in portRecords
1062 if type not in self.valid_types:
1124 if setype and setype not in self.valid_types:
1282 valid_types = sepolicy.info(sepolicy.ATTRIBUTE, "node_type")[0]["types"] variable in nodeRecords
1284 valid_types = [] variable in nodeRecords
1327 if ctype not in self.valid_types:
1394 if setype and setype not in self.valid_types:
1707 valid_types = sepolicy.info(sepolicy.ATTRIBUTE, "file_type")[0]["types"] variable in fcontextRecords
1708 valid_types += sepolicy.info(sepolicy.ATTRIBUTE, "device_node")[0]["types"]
[all …]
/external/selinux/policycoreutils/sepolicy/sepolicy/
D__init__.py52 valid_types = [ALLOW, AUDITALLOW, NEVERALLOW, DONTAUDIT, TRANSITION, ROLE_ALLOW]
54 if setype not in valid_types:
55 raise ValueError("Type has to be in %s" % valid_types)