/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 101 LOG(ERROR) << "No dm block device found."; in FindDmPartitions() 175 LOG(INFO) << "Finished reading " << block_count << " blocks on " << dm_block_device; in ReadBlocks() 186 LOG(INFO) << "Finished reading blocks on " << dm_block_device << " with " << thread_num in ReadBlocks() 194 LOG(ERROR) << "No dm-enabled block device is found."; in VerifyPartitions() 200 LOG(ERROR) << "Failed to find dm block device for " << partition_name; in VerifyPartitions() 217 LOG(ERROR) << care_map_name << " doesn't exist"; in ParseCareMap() 237 LOG(WARNING) << "Unexpected empty care map"; in ParseCareMap() 243 LOG(WARNING) << "Failed to parse " << care_map_name << " in protobuf format."; in ParseCareMap() 249 LOG(WARNING) << "Unexpected empty partition name."; in ParseCareMap() 253 LOG(WARNING) << "Unexpected block ranges for partition " << partition.name(); in ParseCareMap() [all …]
|
/bootable/recovery/install/ |
D | verifier.cpp | 129 LOG(ERROR) << "not big enough to contain footer"; in verify_file() 135 LOG(ERROR) << "Failed to read footer"; in verify_file() 140 LOG(ERROR) << "footer is wrong"; in verify_file() 146 LOG(INFO) << "comment is " << comment_size << " bytes; signature is " << signature_start in verify_file() 150 LOG(ERROR) << "signature start: " << signature_start in verify_file() 156 LOG(ERROR) << "Signature start is in the footer"; in verify_file() 166 LOG(ERROR) << "not big enough to contain EOCD"; in verify_file() 177 LOG(ERROR) << "Failed to read EOCD of " << eocd_size << " bytes"; in verify_file() 183 LOG(ERROR) << "signature length doesn't match EOCD marker"; in verify_file() 192 LOG(ERROR) << "EOCD marker occurs after start of EOCD"; in verify_file() [all …]
|
D | install.cpp | 79 LOG(ERROR) << "Failed to find " << METADATA_PATH; in ReadMetadataFromPackage() 88 LOG(ERROR) << "Failed to extract " << METADATA_PATH << ": " << ErrorCodeString(err); in ReadMetadataFromPackage() 147 LOG(ERROR) << "Package is for source build " << pkg_pre_build << " but expected " in CheckAbSpecificMetadata() 155 LOG(ERROR) << "Package is for source build " << pkg_pre_build_fingerprint << " but expected " in CheckAbSpecificMetadata() 171 LOG(ERROR) << "Update package is older than the current build, expected a build " in CheckAbSpecificMetadata() 178 LOG(ERROR) << "Downgrade package must have a pre-build version set, not allowed."; in CheckAbSpecificMetadata() 190 LOG(INFO) << "Skip package metadata check for ota type " << expected_ota_type; in CheckPackageMetadata() 195 LOG(ERROR) << "Unexpected ota package type, expects " << expected_ota_type << ", actual " in CheckPackageMetadata() 203 LOG(ERROR) << "Package is for product " << pkg_device << " but expected " << device; in CheckPackageMetadata() 220 LOG(ERROR) << "Package is for serial " << pkg_serial_no; in CheckPackageMetadata() [all …]
|
D | adb_install.cpp | 65 LOG(ERROR) << "Failed to parse command in message " << message; in ParseMinadbdCommand() 72 LOG(ERROR) << "Unsupported command code: " << cmd_code; in ParseMinadbdCommand() 166 LOG(ERROR) << "Unsupported command: " in HandleMessageFromMinadbd() 175 LOG(INFO) << "Command " << static_cast<uint32_t>(command_type) << " finished with " << result; in HandleMessageFromMinadbd() 222 LOG(ERROR) << "Timeout waiting for messages from minadbd"; in ListenAndExecuteMinadbdCommands() 229 LOG(INFO) << "Socket has been closed"; in ListenAndExecuteMinadbdCommands() 311 LOG(ERROR) << "Failed to set usb config to sideload"; in CreateMinadbdServiceAndExecuteCommands() 325 LOG(ERROR) << "\nYou need adb 1.0.32 or newer to sideload\nto this device.\n"; in CreateMinadbdServiceAndExecuteCommands() 327 LOG(ERROR) << "\n(adbd status " << WEXITSTATUS(status) << ")"; in CreateMinadbdServiceAndExecuteCommands() 339 LOG(ERROR) << "Failed to clear USB config"; in ApplyFromAdb() [all …]
|
D | fuse_sdcard_install.cpp | 52 LOG(ERROR) << "Failed to set BCB message: " << err; in SetSdcardUpdateBootloaderMessage() 138 LOG(ERROR) << "\n-- Couldn't mount " << SDCARD_ROOT << ".\n"; in ApplyFromSdcard() 144 LOG(ERROR) << "\n-- No package file selected.\n"; in ApplyFromSdcard() 180 LOG(ERROR) << "Timed out waiting for the fuse-provided package."; in ApplyFromSdcard() 201 LOG(ERROR) << "Error exit from the fuse process: " << WEXITSTATUS(status); in ApplyFromSdcard()
|
/bootable/recovery/applypatch/ |
D | applypatch.cpp | 74 LOG(ERROR) << "Failed to parse target hash \"" << partition.hash << "\""; in ReadPartitionToBuffer() 96 LOG(ERROR) << "Partition contents don't have the expected checksum"; in ReadPartitionToBuffer() 105 LOG(ERROR) << "Both of partition contents and backup don't have the expected checksum"; in ReadPartitionToBuffer() 179 LOG(INFO) << " caches dropped"; in WriteBufferToPartition() 203 LOG(ERROR) << "Verification failed starting at " << p; in WriteBufferToPartition() 210 LOG(INFO) << "Verification read succeeded (attempt " << attempt + 1 << ")"; in WriteBufferToPartition() 222 LOG(ERROR) << "Failed to verify after all attempts"; in WriteBufferToPartition() 270 LOG(INFO) << "Patching " << target.name; in PatchPartition() 277 LOG(INFO) << " already " << target.hash.substr(0, 8); in PatchPartition() 286 LOG(ERROR) << "Failed to find any match"; in PatchPartition() [all …]
|
D | freecache.cpp | 71 LOG(INFO) << link << " is open by " << de->d_name; in EliminateOpenFiles() 111 LOG(INFO) << files.size() << " regular files in deletable directory"; in FindExpendableFiles() 147 LOG(ERROR) << "Invalid block size or overflow (sf.f_bsize " << sf.f_bsize << ", sf.f_bavail " in FreeSpaceForFile() 157 LOG(WARNING) << "Skipped making (" << bytes in CheckAndFreeSpaceOnCache() 177 LOG(ERROR) << "Invalid arg of bytes_needed: " << bytes_needed; in RemoveFilesInDirectory() 187 LOG(ERROR) << dirname << " is not a directory"; in RemoveFilesInDirectory() 193 LOG(ERROR) << "Failed to check free space for " << dirname; in RemoveFilesInDirectory() 196 LOG(INFO) << free_now << " bytes free on " << dirname << " (" << bytes_needed << " needed)"; in RemoveFilesInDirectory() 237 LOG(ERROR) << "Failed to check free space for " << dirname; in RemoveFilesInDirectory() 240 LOG(INFO) << "Deleted " << file << "; now " << free_now << " bytes free"; in RemoveFilesInDirectory()
|
D | imgpatch.cpp | 72 LOG(ERROR) << "Failed to init uncompressed data deflation: " << ret; in ApplyBSDiffPatchAndStreamOutput() 96 LOG(ERROR) << "Failed to deflate stream: " << ret; in ApplyBSDiffPatchAndStreamOutput() 104 LOG(ERROR) << "Failed to write " << have << " compressed bytes to output."; in ApplyBSDiffPatchAndStreamOutput() 121 LOG(ERROR) << "ret is expected to be Z_STREAM_END, but it's " << ret; in ApplyBSDiffPatchAndStreamOutput() 126 LOG(ERROR) << "target length is expected to be " << expected_target_length << ", but it's " in ApplyBSDiffPatchAndStreamOutput() 130 LOG(DEBUG) << "bspatch wrote " << total_written << " bytes in total to streaming output."; in ApplyBSDiffPatchAndStreamOutput() 189 LOG(DEBUG) << "Processed chunk type normal"; in ApplyImagePatch() 210 LOG(DEBUG) << "Processed chunk type raw"; in ApplyImagePatch() 281 LOG(ERROR) << "Fail to apply streaming bspatch."; in ApplyImagePatch() 285 LOG(DEBUG) << "Processed chunk type deflate"; in ApplyImagePatch()
|
D | applypatch_modes.cpp | 42 LOG(ERROR) << "Failed to parse target \"" << target_emmc << "\": " << err; in CheckMode() 52 LOG(ERROR) << "Failed to parse target \"" << target_emmc << "\": " << err; in FlashMode() 63 LOG(ERROR) << "Failed to parse target \"" << target_emmc << "\": " << err; in PatchMode() 69 LOG(ERROR) << "Failed to parse source \"" << source_emmc << "\": " << err; in PatchMode() 165 LOG(ERROR) << "Invalid argument"; in applypatch_modes() 176 LOG(ERROR) << "bonus file not supported in flash mode"; in applypatch_modes()
|
D | imgdiff.cpp | 232 LOG(INFO) << "Removing block " << used_ranges.ToString() << " from " << *start << " - " in RemoveUsedBlocks() 244 LOG(WARNING) << "Failed to remove the overlapped block ranges; skip the source"; in RemoveUsedBlocks() 289 LOG(INFO) << "chunk: " << index << ", type: " << type_ << ", start: " << start_ in Dump() 351 LOG(ERROR) << "bsdiff() failed: " << r; in MakePatch() 382 LOG(ERROR) << "Attempted to reconstruct non-deflate chunk"; in ReconstructDeflateChunk() 412 LOG(ERROR) << "Failed to initialize deflate: " << ret; in TryReconstruction() 423 LOG(ERROR) << "Failed to deflate: " << ret; in TryReconstruction() 503 LOG(INFO) << android::base::StringPrintf("chunk %zu: normal (%10zu, %10zu) %10zu", index, in WriteHeaderToFd() 510 LOG(INFO) << android::base::StringPrintf("chunk %zu: deflate (%10zu, %10zu) %10zu", index, in WriteHeaderToFd() 524 LOG(INFO) << android::base::StringPrintf("chunk %zu: raw (%10zu, %10zu)", index, in WriteHeaderToFd() [all …]
|
D | bspatch.cpp | 76 LOG(ERROR) << "bspatch failed, result: " << result; in ApplyBSDiffPatch() 83 LOG(ERROR) << "Patch may be corrupted, offset: " << patch_offset << ", SHA1: " << patch_sha1; in ApplyBSDiffPatch()
|
/bootable/recovery/ |
D | fsck_unshare_blocks.cpp | 78 LOG(INFO) << "No fstab entry for " << partition << ", skipping."; in run_e2fsck() 82 LOG(INFO) << "Running e2fsck on device " << volume->blk_device; in run_e2fsck() 105 LOG(ERROR) << "e2fsck exited abnormally: " << status; in run_e2fsck() 110 LOG(ERROR) << "e2fsck could not unshare blocks: " << return_code; in run_e2fsck() 114 LOG(INFO) << "Successfully unshared blocks on " << partition; in run_e2fsck() 128 LOG(ERROR) << "Failed to mount system image."; in do_fsck_unshare_blocks() 132 LOG(ERROR) << "Could not copy e2fsck to /tmp."; in do_fsck_unshare_blocks() 146 LOG(INFO) << "Finished running e2fsck."; in do_fsck_unshare_blocks() 148 LOG(ERROR) << "Finished running e2fsck, but not all partitions succceeded."; in do_fsck_unshare_blocks()
|
D | recovery_main.cpp | 94 LOG(ERROR) << err; in get_args() 107 LOG(INFO) << "Boot command: " << boot_command; in get_args() 112 LOG(INFO) << "Boot status: " << boot_status; in get_args() 127 LOG(INFO) << "Got " << args.size() << " arguments from boot message"; in get_args() 129 LOG(ERROR) << "Bad boot message: \"" << boot_recovery << "\""; in get_args() 145 LOG(INFO) << "Got " << args.size() << " arguments from " << COMMAND_FILE; in get_args() 154 LOG(ERROR) << "Failed to set BCB message: " << err; in get_args() 170 LOG(ERROR) << "Can't mount " << LOCALE_FILE; in load_locale_from_cache() 220 LOG(ERROR) << "Unrecognized char from socket " << msg; in ListenRecoverySocket() 435 LOG(INFO) << "Starting recovery (pid " << getpid() << ") on " << ctime(&start); in main() [all …]
|
D | recovery.cpp | 139 LOG(INFO) << "Saving locale \"" << locale << "\""; in finish_recovery() 141 LOG(ERROR) << "Failed to mount " << LOCALE_FILE; in finish_recovery() 152 LOG(ERROR) << "Failed to clear BCB message: " << err; in finish_recovery() 158 LOG(WARNING) << "Can't unlink " << COMMAND_FILE; in finish_recovery() 238 LOG(INFO) << "Secure-wiping \"" << partition << "\" from " << range[0] << " to " << range[1]; in secure_wipe_partition() 240 LOG(INFO) << " Trying BLKSECDISCARD..."; in secure_wipe_partition() 247 LOG(INFO) << " Trying BLKDISCARD..."; in secure_wipe_partition() 253 LOG(INFO) << " Trying BLKZEROOUT..."; in secure_wipe_partition() 261 LOG(INFO) << " Done"; in secure_wipe_partition() 267 LOG(ERROR) << "wipe_package_size is zero"; in ReadWipePackage() [all …]
|
/bootable/recovery/updater/ |
D | updater.cpp | 71 LOG(ERROR) << "unexpected number of arguments: " << argc; in main() 78 LOG(ERROR) << "wrong updater binary API; expected 1, 2, or 3; got " << argv[1]; in main() 93 LOG(ERROR) << "failed to map package " << argv[3]; in main() 99 LOG(ERROR) << "failed to open package " << argv[3] << ": " << ErrorCodeString(open_err); in main() 108 LOG(ERROR) << "failed to find " << SCRIPT_NAME << " in " << package_filename << ": " in main() 119 LOG(ERROR) << "failed to read script from package: " << ErrorCodeString(extract_err); in main() 138 LOG(ERROR) << error_count << " parse errors"; in main() 174 LOG(ERROR) << "script aborted (no error message)"; in main() 177 LOG(ERROR) << "script aborted: " << state.errmsg; in main() 184 LOG(ERROR) << "Failed to parse error code: [" << line << "]"; in main() [all …]
|
D | dynamic_partitions.cpp | 100 LOG(ERROR) << "Unknown device mapper state: " in UnmapPartitionOnDeviceMapper() 115 LOG(ERROR) << "Unknown device mapper state: " in MapPartitionOnDeviceMapper() 148 LOG(ERROR) << "Op " << op() << " expects " << size << " args, got " << actual; in ExpectArgSize() 165 LOG(ERROR) << "Op " << op() << " expects uint64 for argument " << name << ", got " << str; in uint_arg() 183 LOG(ERROR) << "Failed to find partition " << partition_name in PerformOpResize() 188 LOG(ERROR) << "Cannot unmap " << partition_name << " before resizing."; in PerformOpResize() 192 LOG(ERROR) << "Failed to resize partition " << partition_name << " to size " << *size << "."; in PerformOpResize() 203 LOG(ERROR) << "Cannot unmap " << partition_name << " before removing."; in PerformOpRemove() 217 LOG(ERROR) << "Failed to add partition " << partition_name << " to group " << group_name << "."; in PerformOpAdd() 230 LOG(ERROR) << "Cannot move partition " << partition_name << " to group " << new_group in PerformOpMove() [all …]
|
D | blockimg.cpp | 97 LOG(INFO) << last_command_file << " doesn't exist."; in ParseLastCommandFile() 104 LOG(ERROR) << "Failed to read: " << last_command_file; in ParseLastCommandFile() 110 LOG(ERROR) << "Unexpected line counts in last command file: " << content; in ParseLastCommandFile() 115 LOG(ERROR) << "Failed to parse integer in: " << lines[0]; in ParseLastCommandFile() 186 LOG(INFO) << "Wrote updated marker to " << marker; in SetUpdatedMarker() 250 LOG(ERROR) << "range sink write overrun; can't write " << size << " bytes"; in Write() 377 LOG(ERROR) << "Failed to write " << write_now << " bytes."; in receive_new_data() 418 LOG(ERROR) << "No space left in output range"; in receive_brotli_new_data() 431 LOG(ERROR) << "Decompression failed with " in receive_brotli_new_data() 436 LOG(DEBUG) << "bytes to write: " << buffer_size - available_out << ", bytes consumed " in receive_brotli_new_data() [all …]
|
/bootable/recovery/otautil/ |
D | sysutil.cpp | 41 LOG(ERROR) << "Failed to read " << block_map_path; in ParseBlockMapFile() 47 LOG(ERROR) << "Block map file is too short: " << lines.size(); in ParseBlockMapFile() 56 LOG(ERROR) << "Failed to parse file size and block size: " << lines[1]; in ParseBlockMapFile() 61 LOG(ERROR) << "Invalid size in block map file: size " << file_size << ", blksize " << blksize; in ParseBlockMapFile() 67 LOG(ERROR) << "Failed to parse block map header: " << lines[2]; in ParseBlockMapFile() 74 LOG(ERROR) << "Invalid data in block map file: size " << file_size << ", blksize " << blksize in ParseBlockMapFile() 85 LOG(ERROR) << "failed to parse range " << i << ": " << line; in ParseBlockMapFile() 90 LOG(ERROR) << "Invalid range: " << start << " " << end; in ParseBlockMapFile() 128 LOG(ERROR) << "File size is too large for mmap " << block_map_data.file_size(); in MapBlockFile() 167 LOG(ERROR) << "Invalid ranges: remaining_size " << remaining_size; in MapBlockFile() [all …]
|
D | roots.cpp | 56 LOG(ERROR) << "Failed to read default fstab"; in load_volume_table() 104 LOG(ERROR) << args[0] << " failed with status " << WEXITSTATUS(status); in exec_cmd() 135 LOG(ERROR) << "unknown volume \"" << volume << "\""; in format_volume() 139 LOG(ERROR) << "can't format_volume \"" << volume << "\""; in format_volume() 143 LOG(ERROR) << "can't give path \"" << volume << "\" to format_volume"; in format_volume() 147 LOG(ERROR) << "format_volume: Failed to unmount \"" << v->mount_point << "\""; in format_volume() 151 LOG(ERROR) << "format_volume: fs_type \"" << v->fs_type << "\" unsupported"; in format_volume() 158 LOG(INFO) << "Wiping " << v->key_loc; in format_volume() 179 LOG(ERROR) << "get_file_size: invalid size " << length << " for " << v->blk_device; in format_volume() 255 LOG(ERROR) << "can't set up install mounts: no fstab loaded"; in setup_install_mounts() [all …]
|
D | thermalutil.cpp | 48 LOG(ERROR) << "Failed to find CPU thermal info in " << THERMAL_PREFIX; in InitThermalPaths() 73 LOG(WARNING) << "Failed to parse integer in " << content; in GetMaxValueFromThermalZone() 78 LOG(INFO) << "current maximum temperature: " << max_temperature; in GetMaxValueFromThermalZone()
|
D | rangeset.cpp | 35 LOG(ERROR) << "Invalid number of tokens"; in RangeSet() 50 LOG(ERROR) << "Invalid range text: " << range_text; in Parse() 56 LOG(ERROR) << "Failed to parse the number of tokens: " << range_text; in Parse() 60 LOG(ERROR) << "Invalid number of tokens: " << range_text; in Parse() 64 LOG(ERROR) << "Number of tokens must be even: " << range_text; in Parse() 68 LOG(ERROR) << "Mismatching number of tokens: " << range_text; in Parse() 87 LOG(ERROR) << "Empty or negative range: " << range.first << ", " << range.second; in PushBack() 92 LOG(ERROR) << "RangeSet size overflow"; in PushBack()
|
/bootable/recovery/misc_writer/ |
D | misc_writer.cpp | 74 LOG(ERROR) << "Invalid command argument"; in main() 80 LOG(ERROR) << "Failed to parse the offset: " << optarg; in main() 92 LOG(ERROR) << "Invalid input hex string: " << hex_string; in main() 98 LOG(ERROR) << "Failed to parse the input hex string: " << hex_string; in main() 102 LOG(ERROR) << "Failed to write to misc partition: " << err; in main()
|
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 239 LOG(ERROR) << "fibmap of " << head_block << " always returns 0"; in RetryFibmap() 247 LOG(ERROR) << "failed to remove the existing map file " << map_file << ": " << err; in ProductBlockMap() 259 LOG(ERROR) << "failed to write to socket " << socket; in ProductBlockMap() 269 LOG(INFO) << " block size: " << sb.st_blksize << " bytes"; in ProductBlockMap() 272 LOG(INFO) << " file size: " << sb.st_size << " bytes, " << blocks << " blocks"; in ProductBlockMap() 351 LOG(ERROR) << "failed to find block " << head_block << ", retrying"; in ProductBlockMap() 396 LOG(ERROR) << "failed to find block " << head_block << ", retrying"; in ProductBlockMap() 470 LOG(INFO) << "update package is \"" << input_path << "\""; in Uncrypt() 485 LOG(ERROR) << "Failed to find block device for " << path; in Uncrypt() 491 LOG(INFO) << "encryptable: " << (encryptable ? "yes" : "no"); in Uncrypt() [all …]
|
/bootable/recovery/recovery_ui/ |
D | ui.cpp | 126 LOG(WARNING) << "Failed to parse max brightness: " << content; in InitScreensaver() 138 LOG(INFO) << "Brightness: " << brightness_normal_value_ << " (" << brightness_normal_ << "%)"; in InitScreensaver() 167 LOG(INFO) << "Screensaver disabled"; in Init() 193 LOG(DEBUG) << "Ignored " << dx << " " << dy << " (low: " << touch_low_threshold_ in OnTouchDetected() 204 LOG(DEBUG) << "Swipe direction=" << direction; in OnTouchDetected() 419 LOG(INFO) << "Brightness: " << brightness_normal_value_ << " (" << brightness_normal_ in SetScreensaverState() 422 LOG(ERROR) << "Unable to set brightness to normal"; in SetScreensaverState() 428 LOG(INFO) << "Brightness: " << brightness_dimmed_value_ << " (" << brightness_dimmed_ in SetScreensaverState() 432 LOG(ERROR) << "Unable to set brightness to dim"; in SetScreensaverState() 437 LOG(INFO) << "Brightness: 0 (off)"; in SetScreensaverState() [all …]
|
/bootable/recovery/minadbd/ |
D | minadbd.cpp | 41 LOG(ERROR) << "minadbd has invalid arguments, argc: " << argc; in main() 47 LOG(ERROR) << "Failed to parse int in " << argv[2]; in main()
|