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.cpp186 std::string pipe_size_str; in debuggerd_trigger_dump() local
188 if (android::base::ReadFileToString("/proc/sys/fs/pipe-max-size", &pipe_size_str)) { in debuggerd_trigger_dump()
189 pipe_size_str = android::base::Trim(pipe_size_str); in debuggerd_trigger_dump()
191 if (!android::base::ParseInt(pipe_size_str.c_str(), &pipe_buffer_size, 0)) { in debuggerd_trigger_dump()
192 LOG(FATAL) << "failed to parse pipe max size '" << pipe_size_str << "'"; in debuggerd_trigger_dump()
/system/core/debuggerd/
Ddebuggerd_test.cpp132 std::string pipe_size_str; in tombstoned_intercept() local
134 if (!android::base::ReadFileToString("/proc/sys/fs/pipe-max-size", &pipe_size_str)) { in tombstoned_intercept()
138 pipe_size_str = android::base::Trim(pipe_size_str); in tombstoned_intercept()
140 if (!android::base::ParseInt(pipe_size_str.c_str(), &pipe_buffer_size, 0)) { in tombstoned_intercept()