Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dosi.cc37 int rand_fd = open(RANDOM_PATH, O_RDONLY); in osi_rand() local
39 if (rand_fd == INVALID_FD) { in osi_rand()
42 CHECK(rand_fd != INVALID_FD); in osi_rand()
45 ssize_t read_bytes = read(rand_fd, &rand, sizeof(rand)); in osi_rand()
46 close(rand_fd); in osi_rand()