Home
last modified time | relevance | path

Searched refs:QueryTypeAttribute (Results 1 – 2 of 2) sorted by relevance

/system/sepolicy/tests/
Dpolicy.py110 TypesPol = self.QueryTypeAttribute(Attr, True) - set(ExcludedTypes)
133 TypesPol = self.QueryTypeAttribute(Attr, True)
151 TypesPol = self.QueryTypeAttribute(Attr, True) | set(ExcludedTypes)
173 systemProps = self.QueryTypeAttribute('system_property_type', True)
174 vendorProps = self.QueryTypeAttribute('vendor_property_type', True)
192 def QueryTypeAttribute(self, Type, IsAttr): member in Policy
245 return self.QueryTypeAttribute(Type, False)
248 Types = self.QueryTypeAttribute(Type, True)
251 TypesAndAttributes |= self.QueryTypeAttribute(T, False)
554 for result in self.pol.QueryTypeAttribute("domain", True):
[all …]
Dsepolicy_tests.py222 if target in test_policy.pol.QueryTypeAttribute(Type=attr, IsAttr=True):
228 …allowedMemberTypes = test_policy.pol.QueryTypeAttribute(Type="isolated_compute_allowed_service", I…
229 … .union(test_policy.pol.QueryTypeAttribute(Type="isolated_compute_allowed_device", IsAttr=True))
248 isolatedMemberTypes = test_policy.pol.QueryTypeAttribute(Type="isolated_app_all", IsAttr=True)