Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Dbootloader_message_test.cpp60 strlcpy(boot.stage, "stage bytes", sizeof(boot.stage)); in TEST()
72 ASSERT_EQ("stage bytes", std::string(boot.stage)); in TEST()
90 ASSERT_EQ(std::string(sizeof(boot.stage), '\0'), std::string(boot.stage, sizeof(boot.stage))); in TEST()
117 ASSERT_EQ(std::string(sizeof(boot.stage), '\0'), std::string(boot.stage, sizeof(boot.stage))); in TEST()
Dupdater_test.cpp537 strlcpy(boot.stage, "2/3", sizeof(boot.stage)); in TEST_F()
561 strlcpy(boot.stage, "2/3", sizeof(boot.stage)); in TEST_F()
574 ASSERT_STREQ("1/3", boot_verify.stage); in TEST_F()
/bootable/recovery/otautil/include/otautil/
Dboot_state.h24 BootState(std::string_view reason, std::string_view stage) : reason_(reason), stage_(stage) {} in BootState() argument
29 std::string stage() const { in stage() function
/bootable/recovery/
Drecovery_main.cpp92 static std::vector<std::string> get_args(const int argc, char** const argv, std::string* stage) { in get_args() argument
102 if (stage) { in get_args()
103 *stage = std::string(boot.stage); in get_args()
341 std::string stage; in main() local
342 std::vector<std::string> args = get_args(argc, argv, &stage); in main()
435 BootState boot_state(reason, stage); // recovery_main owns the state of boot. in main()
D.clang-format3 # Alternatively, one can stage and format a change with `git clang-format` directly.
/bootable/recovery/recovery_ui/
Ddevice.cpp109 return boot_state_ ? std::make_optional(boot_state_->stage()) : std::nullopt; in GetStage()
Dscreen_ui.cpp334 stage(-1), in ScreenRecoveryUI()
429 const auto& stage_surface = (i < stage) ? stage_marker_fill_ : stage_marker_empty_; in draw_background_locked()
1046 stage = current; in SetStage()
/bootable/recovery/bootloader_message/include/bootloader_message/
Dbootloader_message.h77 char stage[32]; member
/bootable/recovery/updater/
Dinstall.cpp772 strlcpy(boot.stage, stagestr.c_str(), sizeof(boot.stage)); in SetStageFn()
801 return StringValue(boot.stage); in GetStageFn()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h396 int stage, max_stage; variable