Home
last modified time | relevance | path

Searched refs:count (Results 1 – 12 of 12) 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.cpp766 int count = 0; in AddZipEntryToChunks() local
769 std::string name = entry_name + "-" + std::to_string(count); in AddZipEntryToChunks()
770 chunks_.emplace_back(CHUNK_NORMAL, entry->offset + limit_ * count, &file_content_, length, in AddZipEntryToChunks()
773 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.cpp121 int count = ItemsCount(); in Select() local
126 selection_ = count - 1; in Select()
127 } else if (sel >= count) { in Select()
138 } else if (sel >= count) { in Select()
139 selection_ = count - 1; in Select()
214 int count = graphic_items_.size(); in Select() local
218 selection_ = count - 1; in Select()
219 } else if (sel >= count) { in Select()
740 size_t count = 0; in draw_menu_and_text_buffer_locked() local
741 for (int ty = ScreenHeight() - margin_height_ - char_height_; ty >= y && count < text_rows_; in draw_menu_and_text_buffer_locked()
[all …]
Dui.cpp388 void RecoveryUI::TimeKey(int key_code, int count) { in TimeKey() argument
393 if (key_last_down == key_code && key_down_count == count) { in TimeKey()
/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/recovery_ui/include/recovery_ui/
Dui.h229 void TimeKey(int key_code, int count);
/bootable/recovery/install/
Dinstall.cpp580 int time_total = static_cast<int>(duration.count()); in InstallPackage()
653 ui->Print("Update package verification took %.1f s (result %d).\n", duration.count(), err); in verify_package()
/bootable/recovery/
Drecovery_main.cpp288 std::chrono::duration_cast<std::chrono::duration<double>>(now - start).count(); in redirect_stdio()
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp704 static void GenerateAndCheckSplitTarget(const std::string& debug_dir, size_t count, in GenerateAndCheckSplitTarget() argument
707 for (size_t i = 0; i < count; i++) { in GenerateAndCheckSplitTarget()
/bootable/recovery/tests/testdata/
Drecovery_body117 vidc.enc.dcvs.extra-buff-count=2