Home
last modified time | relevance | path

Searched refs:urandom (Results 1 – 5 of 5) sorted by relevance

/system/extras/tests/pagingtest/
Dpagingtest.c21 int urandom; in create_tmp_file() local
29 urandom = open("/dev/urandom", O_RDONLY); in create_tmp_file()
30 if (urandom < 0) { in create_tmp_file()
51 rc = read(urandom, buf, size); in create_tmp_file()
80 close(urandom); in create_tmp_file()
88 close(urandom); in create_tmp_file()
/system/vold/
DExt4Crypt.cpp544 std::ifstream urandom("/dev/urandom"); in e4crypt_get_key() local
545 if (!urandom) { in e4crypt_get_key()
551 urandom.read(key_bytes, sizeof(key_bytes)); in e4crypt_get_key()
552 if (!urandom) { in e4crypt_get_key()
/system/core/adb/tests/
Dtest_adb.py117 rand_str = os.urandom(size)
320 rand_str = os.urandom(1024 * kbytes)
/system/core/rootdir/
Dueventd.rc10 /dev/urandom 0666 root root
Dinit.rc305 copy /data/system/entropy.dat /dev/urandom