/bootable/recovery/install/ |
D | adb_install.cpp | 63 static MinadbdCommand ParseMinadbdCommand(const std::string& message) { in ParseMinadbdCommand() argument 64 if (!android::base::StartsWith(message, kMinadbdCommandPrefix)) { in ParseMinadbdCommand() 65 LOG(ERROR) << "Failed to parse command in message " << message; in ParseMinadbdCommand() 69 auto cmd_code_string = message.substr(strlen(kMinadbdCommandPrefix)); in ParseMinadbdCommand() 80 char message[kMinadbdMessageSize]; in WriteStatusToFd() local 81 memcpy(message, kMinadbdStatusPrefix, strlen(kMinadbdStatusPrefix)); in WriteStatusToFd() 82 android::base::put_unaligned(message + strlen(kMinadbdStatusPrefix), status); in WriteStatusToFd() 84 if (!android::base::WriteFully(fd, message, kMinadbdMessageSize)) { in WriteStatusToFd() 85 PLOG(ERROR) << "Failed to write message " << message; in WriteStatusToFd() 164 std::string message(buffer, buffer + kMinadbdMessageSize); in HandleMessageFromMinadbd() local [all …]
|
D | install.cpp | 687 LOG(ERROR) << "Failed to get canonical of " << package_path << ", " << ec.message(); in SetupPackageMount()
|
/bootable/recovery/tests/unit/ |
D | uncrypt_test.cpp | 80 void SetupOrClearBcb(bool isSetup, const std::string& message, in SetupOrClearBcb() argument 109 int length = static_cast<int>(message.size()); in SetupOrClearBcb() 113 ASSERT_TRUE(android::base::WriteFully(sockfd, message.data(), length)) in SetupOrClearBcb() 185 std::string message = "--update_message=abc value"; in TEST_F() local 187 SetupOrClearBcb(true, message, message_in_bcb); in TEST_F() 195 message = "--wipe_ab\n--wipe_package="s + wipe_package.path + "\n--reason=wipePackage"s; in TEST_F() 197 SetupOrClearBcb(true, message, message_in_bcb); in TEST_F()
|
D | screen_ui_test.cpp | 79 std::string message; in TEST_F() local 80 ASSERT_FALSE(menu.ItemsOverflow(&message)); in TEST_F() 94 std::string message; in TEST_F() local 95 ASSERT_FALSE(menu.ItemsOverflow(&message)); in TEST_F() 109 std::string message; in TEST_F() local 110 ASSERT_FALSE(menu.ItemsOverflow(&message)); in TEST_F() 124 std::string message; in TEST_F() local 125 ASSERT_TRUE(menu.ItemsOverflow(&message)); in TEST_F() 126 ASSERT_EQ("Current item: 1/5", message); in TEST_F()
|
/bootable/recovery/minadbd/ |
D | minadbd_services.cpp | 68 char message[kMinadbdMessageSize]; in WriteCommandToFd() local 69 memcpy(message, kMinadbdCommandPrefix, strlen(kMinadbdStatusPrefix)); in WriteCommandToFd() 70 android::base::put_unaligned(message + strlen(kMinadbdStatusPrefix), cmd); in WriteCommandToFd() 72 if (!android::base::WriteFully(fd, message, kMinadbdMessageSize)) { in WriteCommandToFd() 73 PLOG(ERROR) << "Failed to write message " << message; in WriteCommandToFd() 88 std::string message(buffer, buffer + kMinadbdMessageSize); in WaitForCommandStatus() local 89 if (!android::base::StartsWith(message, kMinadbdStatusPrefix)) { in WaitForCommandStatus() 90 LOG(ERROR) << "Failed to parse status in " << message; in WaitForCommandStatus() 95 message.substr(strlen(kMinadbdStatusPrefix)).c_str()); in WaitForCommandStatus()
|
/bootable/recovery/edify/include/edify/ |
D | updater_interface.h | 34 virtual void WriteToCommandPipe(const std::string_view message, bool flush = false) const = 0; 37 virtual void UiPrint(const std::string_view message) const = 0;
|
/bootable/recovery/updater/ |
D | updater.cpp | 98 void Updater::WriteToCommandPipe(const std::string_view message, bool flush) const { in WriteToCommandPipe() argument 99 fprintf(cmd_pipe_.get(), "%s\n", std::string(message).c_str()); in WriteToCommandPipe() 105 void Updater::UiPrint(const std::string_view message) const { in UiPrint() 108 std::vector<std::string> lines = android::base::Split(std::string(message), "\n"); in UiPrint() 118 LOG(INFO) << message; in UiPrint()
|
D | updater_main.cpp | 44 const char* message) { in UpdaterLogger() argument 45 fprintf(stdout, "%s\n", message); in UpdaterLogger()
|
/bootable/recovery/update_verifier/ |
D | care_map.proto | 22 message CareMap { 23 message PartitionInfo {
|
D | care_map_generator.py | 62 def ParseProtoMessage(message, fingerprint_enabled): argument 74 care_map_proto.MergeFromString(message)
|
/bootable/recovery/updater/include/updater/ |
D | updater.h | 49 void WriteToCommandPipe(const std::string_view message, bool flush = false) const override; 52 void UiPrint(const std::string_view message) const override;
|
/bootable/recovery/bootloader_message/ |
D | bootloader_message.cpp | 297 bool ReadMiscVirtualAbMessage(misc_virtual_ab_message* message, std::string* err) { in ReadMiscVirtualAbMessage() argument 298 return ReadMiscPartitionSystemSpace(message, sizeof(*message), in ReadMiscVirtualAbMessage() 302 bool WriteMiscVirtualAbMessage(const misc_virtual_ab_message& message, std::string* err) { in WriteMiscVirtualAbMessage() argument 303 return WriteMiscPartitionSystemSpace(&message, sizeof(message), in WriteMiscVirtualAbMessage()
|
/bootable/recovery/bootloader_message/include/bootloader_message/ |
D | bootloader_message.h | 172 bool ReadMiscVirtualAbMessage(misc_virtual_ab_message* message, std::string* err); 173 bool WriteMiscVirtualAbMessage(const misc_virtual_ab_message& message, std::string* err);
|
/bootable/recovery/ |
D | recovery_main.cpp | 78 const char* message) { in UiLogger() argument 81 ui->Print("E:%s\n", message); in UiLogger() 83 fprintf(stdout, "%c:%s\n", log_characters[severity], message); in UiLogger()
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/ |
D | PrepareUpdateService.java | 304 PreparationFailedException(String message) { in PreparationFailedException() argument 305 super(message); in PreparationFailedException()
|
/bootable/recovery/tools/image_generator/ |
D | ImageGenerator.java | 160 public LocalizedStringNotFoundException(String message) { in LocalizedStringNotFoundException() argument 161 super(message); in LocalizedStringNotFoundException() 164 public LocalizedStringNotFoundException(String message, Throwable cause) { in LocalizedStringNotFoundException() argument 165 super(message, cause); in LocalizedStringNotFoundException()
|