Searched refs:CAP_TO_INDEX (Results 1 – 3 of 3) sorted by relevance
26 import static android.system.OsConstants.CAP_TO_INDEX;119 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_CHOWN)); in test_CAP_TO_INDEX()120 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_DAC_OVERRIDE)); in test_CAP_TO_INDEX()121 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_DAC_READ_SEARCH)); in test_CAP_TO_INDEX()122 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_FOWNER)); in test_CAP_TO_INDEX()123 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_FSETID)); in test_CAP_TO_INDEX()124 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_KILL)); in test_CAP_TO_INDEX()125 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_SETGID)); in test_CAP_TO_INDEX()126 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_SETUID)); in test_CAP_TO_INDEX()127 assertEquals(0, CAP_TO_INDEX(OsConstants.CAP_SETPCAP)); in test_CAP_TO_INDEX()[all …]
43 public static int CAP_TO_INDEX(int x) { return x >>> 5; } in CAP_TO_INDEX() method in OsConstants
59 method public static int CAP_TO_INDEX(int);