HomeSort by relevance Sort by last modified time
    Searched refs:my_policy (Results 1 - 2 of 2) sorted by null

  /external/selinux/gui/
polgengui.py 480 my_policy = sepolicy.generate.policy(self.get_name(), self.get_type())
484 my_policy.add_boolean(self.boolean_store.get_value(iter, 0), self.boolean_store.get_value(iter, 1))
488 my_policy.set_program(self.exec_entry.get_text())
489 my_policy.gen_symbols()
491 my_policy.set_use_syslog(self.syslog_checkbutton.get_active() == 1)
492 my_policy.set_use_tmp(self.tmp_checkbutton.get_active() == 1)
493 my_policy.set_use_uid(self.uid_checkbutton.get_active() == 1)
494 my_policy.set_use_pam(self.pam_checkbutton.get_active() == 1)
496 my_policy.set_use_dbus(self.dbus_checkbutton.get_active() == 1)
497 my_policy.set_use_audit(self.audit_checkbutton.get_active() == 1
    [all...]
  /external/python/cpython3/Lib/test/test_email/
test_policy.py 188 my_policy = self.MyPolicy()
189 my_policy.handle_defect(foo, defect1)
190 self.assertEqual(my_policy.defects, [defect1])
193 my_policy.handle_defect(foo, defect2)
194 self.assertEqual(my_policy.defects, [defect1, defect2])

Completed in 292 milliseconds