Lines Matching refs:policy_check_own

79         assert_se(policy_check_own(&p, 0, 0, "org.test.test1") == true);
80 assert_se(policy_check_own(&p, 1, 0, "org.test.test1") == true);
82 assert_se(policy_check_own(&p, 0, 0, "org.test.test2") == true);
83 assert_se(policy_check_own(&p, 1, 0, "org.test.test2") == false);
85 assert_se(policy_check_own(&p, 0, 0, "org.test.test3") == false);
86 assert_se(policy_check_own(&p, 1, 0, "org.test.test3") == false);
88 assert_se(policy_check_own(&p, 0, 0, "org.test.test4") == false);
89 assert_se(policy_check_own(&p, 1, 0, "org.test.test4") == true);
129 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop") == false);
130 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop.ManySystem") == false);
131 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop.ManySystems") == true);
132 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop.ManySystems.foo") == true);
133 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop.ManySystems.foo.bar") == true);
134 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop.ManySystems2") == false);
135 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop.ManySystems2.foo") == false);
136 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop.ManySystems2.foo.bar") == false);
151 assert_se(policy_check_own(&p, 0, 0, "org.foo.FooService") == true);
152 assert_se(policy_check_own(&p, 0, 0, "org.foo.FooService2") == false);
159 assert_se(policy_check_own(&p, 100, 0, "org.foo.FooService") == false);
160 assert_se(policy_check_own(&p, 100, 0, "org.foo.FooService2") == false);