Home
last modified time | relevance | path

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

/bootable/recovery/update_verifier/
Dupdate_verifier.cpp125 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/
Dblockimg.cpp1483 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(), &params.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 …]
Dinstall.cpp73 std::vector<std::string> lines = android::base::Split(buffer, "\n"); in uiPrint() local
74 for (auto& line: lines) { in uiPrint()
/bootable/recovery/
Dscreen_ui.h170 void DrawTextLines(int x, int* y, const char* const* lines);
Dscreen_ui.cpp266 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()
Dinstall.cpp105 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()
Drecovery.cpp962 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()