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