Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DLinuxRngTest.java31 assertEquals("/dev/random minor", 8, getCharDeviceMinor("/dev/random")); in testDevRandomMajorMinor()
37 assertEquals("/dev/urandom minor", 9, getCharDeviceMinor("/dev/urandom")); in testDevUrandomMajorMinor()
41 public static native int getCharDeviceMinor(String file) throws IOException; in getCharDeviceMinor() method in LinuxRngTest
DHwRngTest.java111 int minor = LinuxRngTest.getCharDeviceMinor(DEV_HW_RANDOM.getCanonicalPath()); in testConfigurationIfFilePresent()