Home
last modified time | relevance | path

Searched refs:ERROR (Results 1 – 25 of 42) sorted by relevance

12

/bootable/recovery/applypatch/
Dapplypatch.cpp60 PLOG(ERROR) << "Failed to read \"" << filename << "\""; in LoadFileContents()
74 LOG(ERROR) << "Failed to parse target hash \"" << partition.hash << "\""; in ReadPartitionToBuffer()
80 PLOG(ERROR) << "Failed to open eMMC partition \"" << partition << "\""; in ReadPartitionToBuffer()
84 PLOG(ERROR) << "Failed to read " << buffer.size() << " bytes of data for partition " 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()
113 PLOG(ERROR) << "Failed to open \"" << filename << "\" for write"; in SaveFileContents()
118 PLOG(ERROR) << "Failed to write " << file->data.size() << " bytes of data to " << filename; in SaveFileContents()
123 PLOG(ERROR) << "Failed to fsync \"" << filename << "\""; in SaveFileContents()
128 PLOG(ERROR) << "Failed to close \"" << filename << "\""; in SaveFileContents()
[all …]
Dapplypatch_modes.cpp42 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()
75 PLOG(ERROR) << "Failed to read patch file \"" << patch_file << "\""; in PatchMode()
84 PLOG(ERROR) << "Failed to read bonus file \"" << bonus_file << "\""; in PatchMode()
165 LOG(ERROR) << "Invalid argument"; in applypatch_modes()
176 LOG(ERROR) << "bonus file not supported in flash mode"; in applypatch_modes()
Dfreecache.cpp45 PLOG(ERROR) << "Failed to open /proc"; in EliminateOpenFiles()
59 PLOG(ERROR) << "Failed to open " << path; in EliminateOpenFiles()
84 PLOG(ERROR) << "Failed to open " << dirname; in FindExpendableFiles()
140 PLOG(ERROR) << "Failed to statfs " << filename; in FreeSpaceForFile()
147 LOG(ERROR) << "Invalid block size or overflow (sf.f_bsize " << sf.f_bsize << ", sf.f_bavail " in FreeSpaceForFile()
177 LOG(ERROR) << "Invalid arg of bytes_needed: " << bytes_needed; in RemoveFilesInDirectory()
183 PLOG(ERROR) << "Failed to stat " << dirname; in RemoveFilesInDirectory()
187 LOG(ERROR) << dirname << " is not a directory"; in RemoveFilesInDirectory()
193 LOG(ERROR) << "Failed to check free space for " << dirname; in RemoveFilesInDirectory()
231 PLOG(ERROR) << "Failed to delete " << file; in RemoveFilesInDirectory()
[all …]
Dimgdiff.cpp343 PLOG(ERROR) << "MakePatch failed to create a temporary file"; in MakePatch()
351 LOG(ERROR) << "bsdiff() failed: " << r; in MakePatch()
357 PLOG(ERROR) << "Failed to open " << ptemp; in MakePatch()
362 PLOG(ERROR) << "Failed to stat patch file " << ptemp; in MakePatch()
370 PLOG(ERROR) << "Failed to read " << ptemp; 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()
557 PLOG(ERROR) << "Failed to write \"IMGDIFF" << VERSION << "\""; in WritePatchDataToFd()
573 PLOG(ERROR) << "Failed to write " << patch.data_.size() << " bytes patch to patch_fd"; in WritePatchDataToFd()
[all …]
/bootable/recovery/
Dfsck_unshare_blocks.cpp47 PLOG(ERROR) << "open %s failed" << source; in copy_file()
53 PLOG(ERROR) << "open %s failed" << dest; in copy_file()
61 PLOG(ERROR) << "read failed"; in copy_file()
68 PLOG(ERROR) << "write failed"; in copy_file()
94 PLOG(ERROR) << "posix_spawn failed"; in run_e2fsck()
101 PLOG(ERROR) << "waitpid failed"; 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()
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()
[all …]
Drecovery_main.cpp77 if (severity >= android::base::ERROR && ui != nullptr) { in UiLogger()
94 LOG(ERROR) << err; in get_args()
129 LOG(ERROR) << "Bad boot message: \"" << boot_recovery << "\""; 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()
176 PLOG(ERROR) << "Can't read " << LOCALE_FILE; in load_locale_from_cache()
192 PLOG(ERROR) << "Failed to open recovery socket"; in ListenRecoverySocket()
201 PLOG(ERROR) << "Failed to accept socket connection"; in ListenRecoverySocket()
209 PLOG(ERROR) << "Couldn't read from socket"; in ListenRecoverySocket()
220 LOG(ERROR) << "Unrecognized char from socket " << msg; in ListenRecoverySocket()
[all …]
Drecovery.cpp141 LOG(ERROR) << "Failed to mount " << LOCALE_FILE; in finish_recovery()
143 PLOG(ERROR) << "Failed to save locale to " << LOCALE_FILE; in finish_recovery()
152 LOG(ERROR) << "Failed to clear BCB message: " << err; in finish_recovery()
229 PLOG(ERROR) << "Failed to open \"" << partition << "\""; in secure_wipe_partition()
235 PLOG(ERROR) << "Failed to get partition size"; in secure_wipe_partition()
249 PLOG(ERROR) << " Failed"; in secure_wipe_partition()
255 PLOG(ERROR) << " Failed"; in secure_wipe_partition()
267 LOG(ERROR) << "wipe_package_size is zero"; in ReadWipePackage()
274 PLOG(ERROR) << "Failed to read wipe package" << err_str; in ReadWipePackage()
288 LOG(ERROR) << "Failed to verify package"; in CheckWipePackage()
[all …]
Drecovery-persist.cpp59 PLOG(ERROR) << "Error in " << name; in check_and_fclose()
67 PLOG(ERROR) << "Can't open " << destination; in copy_file()
142 PLOG(ERROR) << "failed to open " << mounts_file; in main()
162 PLOG(ERROR) << "Failed to unlink " << LAST_INSTALL_FILE_IN_CACHE; in main()
186 PLOG(ERROR) << "Failed to unlink " << LAST_INSTALL_FILE; in main()
/bootable/recovery/otautil/
Dsysutil.cpp41 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()
103 PLOG(ERROR) << "fstat(" << fd << ") failed"; in MapFD()
109 PLOG(ERROR) << "mmap(" << sb.st_size << ", R, PRIVATE, " << fd << ", 0) failed"; in MapFD()
[all …]
Droots.cpp56 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()
161 PLOG(ERROR) << "format_volume: Failed to open " << v->key_loc; in format_volume()
174 PLOG(ERROR) << "format_volume: failed to open " << v->blk_device; in format_volume()
179 LOG(ERROR) << "get_file_size: invalid size " << length << " for " << v->blk_device; in format_volume()
[all …]
Dlogging.cpp63 LOG(ERROR) << "Can't mount " << path; in fopen_path()
78 PLOG(ERROR) << "Failed to fsync " << name; in check_and_fclose()
81 PLOG(ERROR) << "Error in " << name; in check_and_fclose()
123 LOG(ERROR) << "failed to parse uint in " << number; in logrotate()
185 PLOG(ERROR) << "Can't open " << destination; in copy_log_file()
246 PLOG(ERROR) << "Error getting klog size"; in save_kernel_log()
253 PLOG(ERROR) << "Error in reading klog"; in save_kernel_log()
267 PLOG(ERROR) << "Failed to opendir " << CACHE_LOG_DIR; in ReadLogFilesToMemory()
279 PLOG(ERROR) << "Failed to stat " << path; in ReadLogFilesToMemory()
288 PLOG(ERROR) << "Failed to read log file " << path; in ReadLogFilesToMemory()
[all …]
Drangeset.cpp35 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/uncrypt/
Duncrypt.cpp147 PLOG(ERROR) << "error seeking to offset " << offset; in write_at_offset()
151 PLOG(ERROR) << "error writing offset " << offset; in write_at_offset()
214 PLOG(ERROR) << "failed to open \"" << uncrypt_path_file << "\""; in FindUncryptPackage()
227 PLOG(ERROR) << "failed to fsync \"" << name << "\""; in RetryFibmap()
231 PLOG(ERROR) << "failed to find block " << head_block; in RetryFibmap()
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()
253 PLOG(ERROR) << "failed to open " << tmp_map_file; in ProductBlockMap()
259 LOG(ERROR) << "failed to write to socket " << socket; in ProductBlockMap()
265 PLOG(ERROR) << "failed to stat " << path; in ProductBlockMap()
[all …]
/bootable/recovery/install/
Dverifier.cpp129 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()
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()
254 LOG(ERROR) << "Could not find signature DER block"; in verify_file()
[all …]
Dadb_install.cpp65 LOG(ERROR) << "Failed to parse command in message " << message; in ParseMinadbdCommand()
72 LOG(ERROR) << "Unsupported command code: " << cmd_code; in ParseMinadbdCommand()
85 PLOG(ERROR) << "Failed to write message " << message; in WriteStatusToFd()
156 PLOG(ERROR) << "Failed to read message from minadbd"; in HandleMessageFromMinadbd()
166 LOG(ERROR) << "Unsupported command: " in HandleMessageFromMinadbd()
189 PLOG(ERROR) << "Failed to create epoll"; in ListenAndExecuteMinadbdCommands()
200 PLOG(ERROR) << "Failed to add socket fd to epoll"; in ListenAndExecuteMinadbdCommands()
217 PLOG(ERROR) << "Failed to wait for epoll events"; in ListenAndExecuteMinadbdCommands()
222 LOG(ERROR) << "Timeout waiting for messages from minadbd"; in ListenAndExecuteMinadbdCommands()
282 PLOG(ERROR) << "Failed to create socket"; in CreateMinadbdServiceAndExecuteCommands()
[all …]
Dinstall.cpp79 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()
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()
242 LOG(ERROR) << "Failed to find " << AB_OTA_PAYLOAD_PROPERTIES; in SetUpAbUpdateCommands()
[all …]
Dpackage.cpp108 LOG(ERROR) << "failed to map file"; in CreateMemoryPackage()
119 PLOG(ERROR) << "Failed to open " << path; in CreateFilePackage()
125 PLOG(ERROR) << "Failed to get the package size"; in CreateFilePackage()
162 LOG(ERROR) << "Out of bound read, offset: " << offset << ", size: " << byte_count in ReadFullyAtOffset()
173 LOG(ERROR) << "Out of bound read, offset: " << start << ", size: " << length in UpdateHashAtOffset()
192 LOG(ERROR) << "Can't open package" << path_ << " : " << ErrorCodeString(err); in GetZipArchiveHandle()
213 LOG(ERROR) << "Out of bound read, offset: " << offset << ", size: " << byte_count in ReadFullyAtOffset()
219 PLOG(ERROR) << "Failed to read " << byte_count << " bytes data at offset " << offset; in ReadFullyAtOffset()
229 LOG(ERROR) << "Out of bound read, offset: " << start << ", size: " << length in UpdateHashAtOffset()
257 LOG(ERROR) << "Can't open package" << path_ << " : " << ErrorCodeString(err); in GetZipArchiveHandle()
Dfuse_sdcard_install.cpp52 LOG(ERROR) << "Failed to set BCB message: " << err; in SetSdcardUpdateBootloaderMessage()
62 PLOG(ERROR) << "error opening " << path; in BrowseDirectory()
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/updater/
Ddynamic_partitions.cpp100 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 …]
Dupdater.cpp71 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()
Dblockimg.cpp82 PLOG(ERROR) << "Failed to unlink: " << last_command_file; in DeleteLastCommandFile()
93 PLOG(ERROR) << "Failed to open " << last_command_file; 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()
126 PLOG(ERROR) << "Failed to open " << dirname; in FsyncDir()
131 PLOG(ERROR) << "Failed to fsync " << dirname; in FsyncDir()
145 PLOG(ERROR) << "Failed to update last command"; in UpdateLastCommandIndex()
150 PLOG(ERROR) << "Failed to fsync " << last_command_tmp; in UpdateLastCommandIndex()
155 PLOG(ERROR) << "Failed to change owner for " << last_command_tmp; in UpdateLastCommandIndex()
[all …]
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdaterState.java32 public static final int ERROR = 1; field in UpdaterState
55 .put(IDLE, ImmutableSet.of(IDLE, ERROR, RUNNING))
56 .put(ERROR, ImmutableSet.of(IDLE))
58 IDLE, ERROR, PAUSED, REBOOT_REQUIRED, SLOT_SWITCH_REQUIRED))
59 .put(PAUSED, ImmutableSet.of(ERROR, RUNNING, IDLE))
60 .put(SLOT_SWITCH_REQUIRED, ImmutableSet.of(ERROR, REBOOT_REQUIRED, IDLE))
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp97 PLOG(ERROR) << "Failed to scan dir " << DM_PATH_PREFIX; in FindDmPartitions()
101 LOG(ERROR) << "No dm block device found."; in FindDmPartitions()
150 PLOG(ERROR) << "Error reading " << dm_block_device << " for partition " << partition_name; in ReadBlocks()
160 PLOG(ERROR) << "lseek to " << range_start << " failed"; in ReadBlocks()
168 PLOG(ERROR) << "Failed to read blocks " << range_start << " to " << range_end; 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()
299 LOG(ERROR) << "Failed to reboot."; in reboot_device()
312 LOG(ERROR) << "Error getting bootctrl module."; in update_verifier()
[all …]
/bootable/recovery/misc_writer/
Dmisc_writer.cpp74 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/minadbd/
Dminadbd.cpp41 LOG(ERROR) << "minadbd has invalid arguments, argc: " << argc; in main()
47 LOG(ERROR) << "Failed to parse int in " << argv[2]; in main()
51 PLOG(ERROR) << "Failed to get minadbd socket"; in main()

12