Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/android/system/
DOsConstantsTest.java26 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 …]
/libcore/luni/src/main/java/android/system/
DOsConstants.java43 public static int CAP_TO_INDEX(int x) { return x >>> 5; } in CAP_TO_INDEX() method in OsConstants
/libcore/api/
Dmodule-lib-current.txt59 method public static int CAP_TO_INDEX(int);