Lines Matching refs:line
53 std::string line; in scanBinderContext() local
54 while (getline(ifs, line)) { in scanBinderContext()
55 if (base::StartsWith(line, "context")) { in scanBinderContext()
56 isDesiredContext = base::Split(line, " ").back() == contextName; in scanBinderContext()
62 eachLine(line); in scanBinderContext()
75 status_t ret = scanBinderContext(pid, contextStr, [&](const std::string& line) { in getBinderPidInfo() argument
76 if (base::StartsWith(line, " node")) { in getBinderPidInfo()
77 std::vector<std::string> splitString = base::Tokenize(line, " "); in getBinderPidInfo()
105 } else if (base::StartsWith(line, " thread")) { in getBinderPidInfo()
106 auto pos = line.find("l "); in getBinderPidInfo()
111 bool isInUse = line.at(pos + 2) != '1'; in getBinderPidInfo()
115 bool isBinderThread = line.at(pos + 3) != '0'; in getBinderPidInfo()
139 status_t ret = scanBinderContext(pid, contextStr, [&](const std::string& line) { in getBinderClientPids() argument
140 if (!base::StartsWith(line, " ref")) return; in getBinderClientPids()
142 std::vector<std::string> splitString = base::Tokenize(line, " "); in getBinderClientPids()
165 ret = scanBinderContext(servicePid, contextStr, [&](const std::string& line) { in getBinderClientPids() argument
166 if (!base::StartsWith(line, " node")) return; in getBinderClientPids()
168 std::vector<std::string> splitString = base::Tokenize(line, " "); in getBinderClientPids()
213 std::string line; in getBinderTransactions() local
214 while (getline(ifs, line)) { in getBinderTransactions()
218 if (base::StartsWith(line, "proc " + std::to_string(pid))) { in getBinderTransactions()
220 transactionsOutput += line + '\n'; in getBinderTransactions()
221 } while (getline(ifs, line) && !base::StartsWith(line, "proc ")); in getBinderTransactions()