Searched refs:cpuinfo_path (Results 1 – 1 of 1) sorted by relevance
/art/libnativebridge/ |
D | native_bridge.cc | 302 static bool MountCpuinfo(const char* cpuinfo_path) { in MountCpuinfo() argument 305 if (TEMP_FAILURE_RETRY(mount(cpuinfo_path, // Source. in MountCpuinfo() 310 ALOGW("Failed to bind-mount %s as /proc/cpuinfo: %s", cpuinfo_path, strerror(errno)); in MountCpuinfo() 340 char cpuinfo_path[1024]; in MountCpuinfoForInstructionSet() local 343 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/etc/cpuinfo.%s.txt", instruction_set); in MountCpuinfoForInstructionSet() 344 if (MountCpuinfo(cpuinfo_path)) { in MountCpuinfoForInstructionSet() 351 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/lib64/%s/cpuinfo", instruction_set); in MountCpuinfoForInstructionSet() 353 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/lib/%s/cpuinfo", instruction_set); in MountCpuinfoForInstructionSet() 355 MountCpuinfo(cpuinfo_path); in MountCpuinfoForInstructionSet()
|