Home
last modified time | relevance | path

Searched refs:fileHasOnly (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DFileUtils.java105 private native static boolean fileHasOnly(String path, in fileHasOnly() method in FileUtils.CapabilitySet
108 public boolean fileHasOnly(String path) { in fileHasOnly() method in FileUtils.CapabilitySet
109 return fileHasOnly(path, Ints.toArray(mCapabilities)); in fileHasOnly()
DFileSystemPermissionTest.java1126 .fileHasOnly("/system/bin/run-as"); in testFileHasOnlyCapsThrowsOnInvalidCaps()
1137 .fileHasOnly("/system/bin/run-as"); in testFileHasOnlyCapsThrowsOnInvalidCaps()
1173 .fileHasOnly("/system/bin/run-as")); in testRunAsHasCorrectCapabilities()