Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/services/
Dcredentials_unittest.cc183 CHECK(Credentials::HasCapability(Credentials::Capability::SYS_ADMIN)); in SANDBOX_TEST()
184 CHECK(Credentials::HasCapability(Credentials::Capability::SYS_CHROOT)); in SANDBOX_TEST()
190 CHECK(!Credentials::HasCapability(Credentials::Capability::SYS_ADMIN)); in SANDBOX_TEST()
191 CHECK(Credentials::HasCapability(Credentials::Capability::SYS_CHROOT)); in SANDBOX_TEST()
205 CHECK(Credentials::HasCapability(Credentials::Capability::SYS_CHROOT)); in SANDBOX_TEST()
Dcredentials.h61 static bool HasCapability(Capability cap);
Dcredentials.cc226 bool Credentials::HasCapability(Capability cap) { in HasCapability() function in sandbox::Credentials