Home
last modified time | relevance | path

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

/system/core/bootstat/
Dbootstat.cpp769 std::string subReason(content.substr(pos, max_reason_length)); in getSubreason() local
772 correctForBitErrorOrUnderline(subReason, s); in getSubreason()
777 if (correctForBitErrorOrUnderline(subReason, m.first + terminator)) continue; in getSubreason()
780 correctForBitErrorOrUnderline(subReason, m.first.substr(strlen("reboot,")) + terminator); in getSubreason()
782 correctForBitErrorOrUnderline(subReason, in getSubreason()
785 … correctForBitErrorOrUnderline(subReason, m.first.substr(strlen("kernel_panic,")) + terminator); in getSubreason()
788 for (pos = 0; pos < subReason.length(); ++pos) { in getSubreason()
789 char c = subReason[pos]; in getSubreason()
792 subReason.erase(pos); in getSubreason()
796 transformReason(subReason); in getSubreason()
[all …]