Home
last modified time | relevance | path

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

/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DFileDownloader.java77 int count = input.read(data, 0, needToRead); in download() local
78 if (count <= 0) { in download()
81 output.write(data, 0, count); in download()
82 total += count; in download()
/bootable/recovery/applypatch/
Dfreecache.cpp66 int count = readlink(fd_path.c_str(), link, sizeof(link)-1); in EliminateOpenFiles() local
67 if (count >= 0) { in EliminateOpenFiles()
68 link[count] = '\0'; in EliminateOpenFiles()
Dimgdiff.cpp767 int count = 0; in AddZipEntryToChunks() local
770 std::string name = entry_name + "-" + std::to_string(count); in AddZipEntryToChunks()
771 chunks_.emplace_back(CHUNK_NORMAL, entry->offset + limit_ * count, &file_content_, length, in AddZipEntryToChunks()
774 count++; in AddZipEntryToChunks()
/bootable/recovery/edify/
Dparser.yy44 static Expr* Build(Function fn, YYLTYPE loc, size_t count, ...) {
46 va_start(v, count);
48 for (size_t i = 0; i < count; ++i) {
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp120 int count = ItemsCount(); in Select() local
125 selection_ = count - 1; in Select()
126 } else if (sel >= count) { in Select()
137 } else if (sel >= count) { in Select()
138 selection_ = count - 1; in Select()
213 int count = graphic_items_.size(); in Select() local
217 selection_ = count - 1; in Select()
218 } else if (sel >= count) { in Select()
733 size_t count = 0; in draw_menu_and_text_buffer_locked() local
734 for (int ty = ScreenHeight() - margin_height_ - char_height_; ty >= y && count < text_rows_; in draw_menu_and_text_buffer_locked()
[all …]
Dui.cpp392 void RecoveryUI::TimeKey(int key_code, int count) { in TimeKey() argument
397 if (key_last_down == key_code && key_down_count == count) { in TimeKey()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dui.h225 void TimeKey(int key_code, int count);
/bootable/recovery/uncrypt/
Duncrypt.cpp533 int count = static_cast<int>(duration.count()); in uncrypt_wrapper() local
535 std::string uncrypt_message = android::base::StringPrintf("uncrypt_time: %d\n", count); in uncrypt_wrapper()
/bootable/recovery/install/
Dinstall.cpp658 int time_total = static_cast<int>(duration.count()); in install_package()
731 ui->Print("Update package verification took %.1f s (result %d).\n", duration.count(), err); in verify_package()
/bootable/recovery/
Drecovery_main.cpp282 std::chrono::duration_cast<std::chrono::duration<double>>(now - start).count(); in redirect_stdio()
/bootable/recovery/tests/component/
Dimgdiff_test.cpp705 static void GenerateAndCheckSplitTarget(const std::string& debug_dir, size_t count, in GenerateAndCheckSplitTarget() argument
708 for (size_t i = 0; i < count; i++) { in GenerateAndCheckSplitTarget()