/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() 160 std::string message(buffer, buffer + kMinadbdMessageSize); in HandleMessageFromMinadbd() local [all …]
|
/bootable/recovery/tests/component/ |
D | bootloader_message_test.cpp | 131 std::string message; in TEST() local 132 message.resize(kTestMessage.size()); in TEST() 133 ASSERT_TRUE(ReadMiscPartitionVendorSpace(message.data(), message.size(), 0, &err)); in TEST() 134 ASSERT_EQ(kTestMessage, message); in TEST() 138 ASSERT_TRUE(ReadMiscPartitionVendorSpace(message.data(), message.size(), 0, &err)); in TEST() 139 ASSERT_EQ("kTest\x00\x00ssage"s, message); in TEST()
|
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()
|
/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/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/tests/unit/ |
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/updater/ |
D | updater.cpp | 54 const char* message) { in UpdaterLogger() argument 55 fprintf(stdout, "%s\n", message); in UpdaterLogger()
|
/bootable/recovery/bootloader_message/include/bootloader_message/ |
D | bootloader_message.h | 112 struct bootloader_message message; member
|
/bootable/recovery/ |
D | recovery_main.cpp | 75 const char* message) { in UiLogger() argument 78 ui->Print("E:%s\n", message); in UiLogger() 80 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()
|