Searched refs:lines (Results 1 – 7 of 7) sorted by relevance
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 125 std::vector<std::string> lines; in verify_image() local 126 lines = android::base::Split(android::base::Trim(file_content), "\n"); in verify_image() 127 if (lines.size() != 2 && lines.size() != 4) { in verify_image() 129 lines.size()); in verify_image() 133 for (size_t i = 0; i < lines.size(); i += 2) { in verify_image() 134 if (!read_blocks(lines[i], lines[i+1])) { in verify_image()
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 1483 std::vector<std::string> lines = android::base::Split(transfer_list, "\n"); in PerformBlockImageUpdate() local 1484 if (lines.size() < 2) { in PerformBlockImageUpdate() 1486 lines.size()); in PerformBlockImageUpdate() 1491 if (!android::base::ParseInt(lines[0].c_str(), ¶ms.version, 1, 4)) { in PerformBlockImageUpdate() 1492 fprintf(stderr, "unexpected transfer list version [%s]\n", lines[0].c_str()); in PerformBlockImageUpdate() 1500 if (!android::base::ParseInt(lines[1].c_str(), &total_blocks, 0)) { in PerformBlockImageUpdate() 1501 ErrorAbort(state, kArgsParsingFailure, "unexpected block count [%s]\n", lines[1].c_str()); in PerformBlockImageUpdate() 1511 if (lines.size() < 4) { in PerformBlockImageUpdate() 1513 lines.size()); in PerformBlockImageUpdate() 1518 fprintf(stderr, "maximum stash entries %s\n", lines[2].c_str()); in PerformBlockImageUpdate() [all …]
|
D | install.cpp | 73 std::vector<std::string> lines = android::base::Split(buffer, "\n"); in uiPrint() local 74 for (auto& line: lines) { in uiPrint()
|
/bootable/recovery/ |
D | screen_ui.h | 170 void DrawTextLines(int x, int* y, const char* const* lines);
|
D | screen_ui.cpp | 266 void ScreenRecoveryUI::DrawTextLines(int x, int* y, const char* const* lines) { in DrawTextLines() argument 267 for (size_t i = 0; lines != nullptr && lines[i] != nullptr; ++i) { in DrawTextLines() 268 DrawTextLine(x, y, lines[i], false); in DrawTextLines()
|
D | install.cpp | 105 std::vector<std::string> lines = android::base::Split(meta_data, "\n"); in read_source_target_build() local 106 for (const std::string& line : lines) { in read_source_target_build()
|
D | recovery.cpp | 962 std::vector<std::string> lines = android::base::Split(metadata, "\n"); in check_wipe_package() local 967 for (const auto& line : lines) { in check_wipe_package() 1002 std::vector<std::string> lines = android::base::Split(partition_list, "\n"); in wipe_ab_device() local 1003 for (const std::string& line : lines) { in wipe_ab_device()
|