Searched refs:HaveSelinux (Results 1 – 1 of 1) sorted by relevance
141 static bool HaveSelinux() { return 1 == is_selinux_enabled(); } in HaveSelinux() function in android::apex::ApexServiceTest406 ASSERT_TRUE(0 == rc || !HaveSelinux()) << strerror(errno); in Prepare()410 ASSERT_TRUE(0 == rc || !HaveSelinux()) << strerror(errno); in Prepare()577 TEST_F(ApexServiceTest, HaveSelinux) { in TEST_F() argument579 EXPECT_TRUE(HaveSelinux()); in TEST_F()