Home
last modified time | relevance | path

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

/system/core/debuggerd/client/
Ddebuggerd_client.cpp137 std::string pipe_size_str; in debuggerd_trigger_dump() local
139 if (android::base::ReadFileToString("/proc/sys/fs/pipe-max-size", &pipe_size_str)) { in debuggerd_trigger_dump()
140 pipe_size_str = android::base::Trim(pipe_size_str); in debuggerd_trigger_dump()
142 if (!android::base::ParseInt(pipe_size_str.c_str(), &pipe_buffer_size, 0)) { in debuggerd_trigger_dump()
143 LOG(FATAL) << "failed to parse pipe max size '" << pipe_size_str << "'"; in debuggerd_trigger_dump()
/system/core/debuggerd/
Ddebuggerd_test.cpp111 std::string pipe_size_str; in tombstoned_intercept() local
113 if (!android::base::ReadFileToString("/proc/sys/fs/pipe-max-size", &pipe_size_str)) { in tombstoned_intercept()
117 pipe_size_str = android::base::Trim(pipe_size_str); in tombstoned_intercept()
119 if (!android::base::ParseInt(pipe_size_str.c_str(), &pipe_buffer_size, 0)) { in tombstoned_intercept()