Home
last modified time | relevance | path

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

/aosp12/system/core/libcutils/
H A Dashmem-dev.cpp193 static const std::string boot_id_path = "/proc/sys/kernel/random/boot_id"; in get_ashmem_device_path() local
195 if (!android::base::ReadFileToString(boot_id_path, &boot_id)) { in get_ashmem_device_path()
196 ALOGE("Failed to read %s: %s.\n", boot_id_path.c_str(), strerror(errno)); in get_ashmem_device_path()
/aosp12/system/core/init/
H A Ddevices.cpp455 static const std::string boot_id_path = "/proc/sys/kernel/random/boot_id"; in HandleAshmemUevent() local
457 if (!ReadFileToString(boot_id_path, &boot_id)) { in HandleAshmemUevent()
458 PLOG(ERROR) << "Cannot duplicate ashmem device node. Failed to read " << boot_id_path; in HandleAshmemUevent()