Home
last modified time | relevance | path

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

/system/core/libcutils/
Dashmem-dev.cpp191 static const std::string boot_id_path = "/proc/sys/kernel/random/boot_id"; in get_ashmem_device_path() local
193 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()
/system/core/init/
Ddevices.cpp447 static const std::string boot_id_path = "/proc/sys/kernel/random/boot_id"; in HandleAshmemUevent() local
449 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()