Home | History | Annotate | Download | only in component

Lines Matching full:bcb

37 static const std::string INIT_SVC_SETUP_BCB = "init.svc.setup-bcb";
38 static const std::string INIT_SVC_CLEAR_BCB = "init.svc.clear-bcb";
43 ASSERT_TRUE(android::base::SetProperty("ctl.stop", "setup-bcb"));
44 ASSERT_TRUE(android::base::SetProperty("ctl.stop", "clear-bcb"));
52 GTEST_LOG_(INFO) << "setup-bcb: [" << setup_bcb << "] clear-bcb: [" << clear_bcb
74 // Clear the BCB.
77 ASSERT_TRUE(clear_bootloader_message(&err)) << "Failed to clear BCB: " << err;
83 // Restart the setup-bcb service.
85 ASSERT_TRUE(android::base::SetProperty("ctl.start", isSetup ? "setup-bcb" : "clear-bcb"));
109 // Send out the BCB message.
129 ASSERT_TRUE(android::base::SetProperty("ctl.stop", isSetup ? "setup-bcb" : "clear-bcb"));
131 // Verify the message by reading from BCB directly.
134 ASSERT_TRUE(read_bootloader_message(&boot, &err)) << "Failed to read BCB: " << err;
145 // Clear the BCB.
146 ASSERT_TRUE(clear_bootloader_message(&err)) << "Failed to clear BCB: " << err;
157 ASSERT_TRUE(read_bootloader_message(&boot, &err)) << "Failed to read BCB: " << err;
180 ASSERT_TRUE(write_bootloader_message(boot, &err)) << "Failed to write BCB: " << err;
183 ASSERT_TRUE(clear_bootloader_message(&err)) << "Failed to clear BCB: " << err;