Searched refs:HW_RNG_DEVICE (Results 1 – 1 of 1) sorted by relevance
/cts/hostsidetests/security/src/android/security/cts/ |
D | FileSystemPermissionTest.java | 56 private static String HW_RNG_DEVICE = "/dev/hw_random"; field in FileSystemPermissionTest 59 if (!mDevice.doesFileExist(HW_RNG_DEVICE)) { in testDevHwRandomPermissions() 76 String command = "ls -l " + HW_RNG_DEVICE; in testDevHwRandomPermissions() 78 if (!output.endsWith(" " + HW_RNG_DEVICE)) { in testDevHwRandomPermissions() 82 assertEquals("Wrong mode on " + HW_RNG_DEVICE, "cr--------", outputWords[0]); in testDevHwRandomPermissions() 83 assertEquals("Wrong owner of " + HW_RNG_DEVICE, "prng_seeder", outputWords[2]); in testDevHwRandomPermissions() 84 assertEquals("Wrong group of " + HW_RNG_DEVICE, "prng_seeder", outputWords[3]); in testDevHwRandomPermissions() 85 assertEquals("Wrong device major on " + HW_RNG_DEVICE, "10,", outputWords[4]); in testDevHwRandomPermissions() 86 assertEquals("Wrong device minor on " + HW_RNG_DEVICE, "183", outputWords[5]); in testDevHwRandomPermissions()
|