Searched refs:boot_id_path (Results 1 – 2 of 2) sorted by relevance
145 static const std::string boot_id_path = "/proc/sys/kernel/random/boot_id"; in get_ashmem_device_path() local147 if (!android::base::ReadFileToString(boot_id_path, &boot_id)) { in get_ashmem_device_path()148 ALOGE("Failed to read %s: %s.\n", boot_id_path.c_str(), strerror(errno)); in get_ashmem_device_path()
529 static const std::string boot_id_path = "/proc/sys/kernel/random/boot_id"; in HandleAshmemUevent() local531 if (!ReadFileToString(boot_id_path, &boot_id)) { in HandleAshmemUevent()532 PLOG(ERROR) << "Cannot duplicate ashmem device node. Failed to read " << boot_id_path; in HandleAshmemUevent()