Home
last modified time | relevance | path

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

1234567

/device/google/cuttlefish/host/commands/secure_env/
Dencrypted_serializable.cpp44 LOG(ERROR) << "Esys_TR_SetAuth failed with return code " << rc in CreateKey()
71 LOG(ERROR) << "Tss2_MU_TPMT_PUBLIC_Marshal failed with return code " << rc in CreateKey()
81 LOG(ERROR) << "No slots available"; in CreateKey()
101 LOG(ERROR) << "Esys_CreateLoaded failed with return code " << rc in CreateKey()
115 LOG(ERROR) << "Esys_TR_SetAuth failed with return code " << rc in CreateKey()
135 LOG(ERROR) << "No slots available"; in LoadKey()
148 LOG(ERROR) << "Esys_Load failed with return code " << rc in LoadKey()
168 LOG(ERROR) << "Unable to create key"; in SerializedSize()
188 LOG(ERROR) << "Unable to load encryption parent key"; in Serialize()
194 LOG(ERROR) << "Unable to create key"; in Serialize()
[all …]
Dhmac_serializable.cpp46 LOG(ERROR) << "Serialized wrapped data did not match expected size."; in Serialize()
51 LOG(ERROR) << "Could not retrieve key"; in Serialize()
62 LOG(ERROR) << "Failed to produce hmac"; in Serialize()
66 LOG(ERROR) << "Unexpected digest size. Wanted " << digest_size_ in Serialize()
81 LOG(ERROR) << "Failed to retrieve signed data"; in Deserialize()
90 LOG(ERROR) << "Failed to retrieve signature"; in Deserialize()
94 LOG(ERROR) << "Digest size did not match expected size."; in Deserialize()
99 LOG(ERROR) << "Could not retrieve key"; in Deserialize()
110 LOG(ERROR) << "Unable to calculate signature check"; in Deserialize()
114 LOG(ERROR) << "Unexpected signature check size. Wanted " << digest_size_ in Deserialize()
[all …]
Dtpm_hmac.cpp31 LOG(ERROR) << "Logic error: OneshotSign called with data_size " in OneshotHmac()
50 LOG(ERROR) << "TPM2_HMAC failed: " << Tss2_RC_Decode(rc) << "(" << rc << ")"; in OneshotHmac()
54 LOG(ERROR) << "out_hmac unset"; in OneshotHmac()
74 LOG(ERROR) << "No slots available"; in SegmentedHmac()
87 LOG(ERROR) << "TPM2_HMAC_Start failed: " << Tss2_RC_Decode(rc) in SegmentedHmac()
95 LOG(ERROR) << "Esys_TR_SetAuth failed: " << Tss2_RC_Decode(rc) in SegmentedHmac()
113 LOG(ERROR) << "Esys_SequenceUpdate failed: " << Tss2_RC_Decode(rc) in SegmentedHmac()
133 LOG(ERROR) << "Esys_SequenceComplete failed: " << Tss2_RC_Decode(rc) in SegmentedHmac()
140 LOG(ERROR) << "out_hmac was null"; in SegmentedHmac()
Dtpm_key_blob_maker.cpp40 LOG(ERROR) << "Esys_TR_SetAuth failed with return code " << rc in SigningKey()
59 LOG(ERROR) << "Tss2_MU_TPMT_PUBLIC_Marshal failed with return code " << rc in SigningKey()
69 LOG(ERROR) << "No slots available"; in SigningKey()
88 LOG(ERROR) << "Esys_CreateLoaded failed with return code " << rc in SigningKey()
101 LOG(ERROR) << "Esys_TR_SetAuth failed with return code " << rc in ParentKey()
128 LOG(ERROR) << "Tss2_MU_TPMT_PUBLIC_Marshal failed with return code " << rc in ParentKey()
138 LOG(ERROR) << "No key slots available"; in ParentKey()
157 LOG(ERROR) << "Esys_CreateLoaded failed with return code " << rc in ParentKey()
219 LOG(ERROR) << "Serialized size did not match up with actual usage."; in SerializableToKeyBlob()
269 LOG(ERROR) << "Failed to serialize key."; in CreateKeyBlob()
[all …]
Dgatekeeper_responder.cpp29 LOG(ERROR) << "Could not receive message"; in ProcessMessage()
40 LOG(ERROR) << "Failed to deserialize Enroll Request"; in ProcessMessage()
51 LOG(ERROR) << "Failed to deserialize Verify Request"; in ProcessMessage()
59 LOG(ERROR) << "Unrecognized message id " << request->cmd; in ProcessMessage()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dsuper_image_mixer.cc92 LOG(ERROR) << "Could not open " << default_target_zip; in CombineTargetZipFiles()
97 LOG(ERROR) << "Could not open " << system_target_zip; in CombineTargetZipFiles()
101 LOG(ERROR) << "Could not create directory " << output_path; in CombineTargetZipFiles()
106 LOG(ERROR) << "Could not create directory " << output_meta; in CombineTargetZipFiles()
112 LOG(ERROR) << "Default target files zip does not have " << kMiscInfoPath; in CombineTargetZipFiles()
117 LOG(ERROR) << "System target files zip does not have " << kMiscInfoPath; in CombineTargetZipFiles()
123 LOG(ERROR) << "Could not read the default misc_info.txt file."; in CombineTargetZipFiles()
129 LOG(ERROR) << "Could not read the system misc_info.txt file."; in CombineTargetZipFiles()
149 LOG(ERROR) << "Failed to open output misc file: " in CombineTargetZipFiles()
154 LOG(ERROR) << "Failed to write output misc file contents: " in CombineTargetZipFiles()
[all …]
Dboot_image_unpacker.cc39 LOG(ERROR) << "Unable to open " << path; in ExtractFile()
44 LOG(ERROR) << "Failed to lseek: " << source->StrError(); in ExtractFile()
56 LOG(ERROR) << "Unable to open boot image (" << boot_image_path in FromImages()
63 LOG(ERROR) << "Error reading boot image header"; in FromImages()
70 LOG(ERROR) << "Unable to open vendor boot image (" << vendor_boot_image_path in FromImages()
77 LOG(ERROR) << "Error reading vendor boot image header"; in FromImages()
132 LOG(ERROR) << "Error extracting ramdisk from boot image"; in Unpack()
138 LOG(ERROR) << "Error extracting vendor ramdisk from venodr boot image"; in Unpack()
145 LOG(ERROR) << "Error extracting kernel from boot image"; in Unpack()
149 LOG(ERROR) << "No kernel found on boot image"; in Unpack()
Ddisk_flags.cc84 LOG(ERROR) << "--system_image_dir must be specified."; in ResolveInstanceFiles()
141 LOG(ERROR) << "Unable to create decompressed image file: " in DecompressKernel()
255 LOG(ERROR) << "Could not find space available at " << path << ", error was " in AvailableSpaceAtPath()
264 LOG(ERROR) << "Could not ensure " << config.composite_disk_path() << " exists"; in CreateCompositeDisk()
271 LOG(ERROR) << "Unable to determine size of \"" << FLAGS_data_image in CreateCompositeDisk()
277 LOG(ERROR) << "Not enough space remaining in fs containing " << FLAGS_data_image; in CreateCompositeDisk()
278 LOG(ERROR) << "Wanted " << (existing_sizes.sparse_size - existing_sizes.disk_size); in CreateCompositeDisk()
279 LOG(ERROR) << "Got " << available_space; in CreateCompositeDisk()
309 LOG(ERROR) << "File not found: " << FLAGS_boot_image; in CreateDynamicDiskFiles()
314 LOG(ERROR) << "File not found: " << FLAGS_vendor_boot_image; in CreateDynamicDiskFiles()
[all …]
/device/google/cuttlefish/host/commands/powerwash_cvd/
Dpowerwash_cvd.cc61 LOG(ERROR) << "Failed to obtain config object"; in main()
68 LOG(ERROR) << "No path to launcher monitor found"; in main()
74 LOG(ERROR) << "Unable to connect to launcher monitor at " << monitor_path in main()
81 LOG(ERROR) << "Error sending launcher monitor the status command: " in main()
92 LOG(ERROR) << "Failed communication with the launcher monitor: " in main()
97 LOG(ERROR) << "Timeout expired waiting for launcher monitor to respond"; in main()
103 LOG(ERROR) << "Error receiving response from launcher monitor: " in main()
108 LOG(ERROR) << "Received '" << static_cast<char>(response) in main()
114 LOG(ERROR) << "execv must have failed in the launcher."; in main()
116 LOG(ERROR) << monitor_socket->StrError(); in main()
/device/google/cuttlefish/guest/hals/gatekeeper/remote/
Dremote_gatekeeper.cpp60 LOG(ERROR) << "Gatekeeper in invalid state"; in enroll()
66 LOG(ERROR) << "Desired password size is 0"; in enroll()
77 LOG(ERROR) << "Enroll request gave error: " << error; in enroll()
80 LOG(ERROR) << "Enroll response has a retry error"; in enroll()
83 LOG(ERROR) << "Enroll response has an error: " << response.error; in enroll()
99 LOG(ERROR) << "Gatekeeper in invalid state"; in verify()
105 LOG(ERROR) << "Enrolled password size is 0"; in verify()
116 LOG(ERROR) << "Verify request gave error: " << error; in verify()
119 LOG(ERROR) << "Verify request response gave retry error"; in verify()
122 LOG(ERROR) << "Verify request response gave error: " << response.error; in verify()
[all …]
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp53 LOG(ERROR) << "Requested redirect of fd(" << dupped_fd in validate_redirects()
104 LOG(ERROR) in Wait()
114 LOG(ERROR) << "Error on call to waitpid: " << strerror(error); in Wait()
121 LOG(ERROR) << "Subprocess " << pid in Wait()
125 LOG(ERROR) << "Subprocess " << pid in Wait()
133 LOG(ERROR) in Wait()
191 LOG(ERROR) << "Could not acquire a new file descriptor: " << shared_fd->StrError(); in BuildParameter()
206 LOG(ERROR) << "Attempted multiple redirections of fd: " in RedirectStdIO()
212 LOG(ERROR) << "Could not acquire a new file descriptor: " << shared_fd->StrError(); in RedirectStdIO()
233 LOG(ERROR) << "Unable to create control socket pair: " << strerror(errno); in Start()
[all …]
/device/google/cuttlefish/host/commands/cvd_status/
Dcvd_status.cc58 LOG(ERROR) << "Failed to obtain config object"; in main()
65 LOG(ERROR) << "No path to launcher monitor found"; in main()
71 LOG(ERROR) << "Unable to connect to launcher monitor at " << monitor_path in main()
78 LOG(ERROR) << "Error sending launcher monitor the status command: " in main()
89 LOG(ERROR) << "Failed communication with the launcher monitor: " in main()
94 LOG(ERROR) << "Timeout expired waiting for launcher monitor to respond"; in main()
100 LOG(ERROR) << "Error receiving response from launcher monitor: " in main()
105 LOG(ERROR) << "Received '" << static_cast<char>(response) in main()
/device/google/cuttlefish/host/commands/run_cvd/
Dmain.cc90 LOG(ERROR) << "Fail to read a complete event, read " << bytes_read in OnBootEvtReceived()
97 LOG(ERROR) << "Virtual device failed to boot"; in OnBootEvtReceived()
161 LOG(ERROR) << "Unable to create cuttlefish.env file"; in WriteCuttlefishEnvironment()
178 LOG(ERROR) << "Unable to create pipe"; in DaemonizeLauncher()
189 LOG(ERROR) << "Failed to read a complete exit code, read " << bytes_read in DaemonizeLauncher()
195 LOG(ERROR) << "Virtual device failed to boot"; in DaemonizeLauncher()
197 LOG(ERROR) << "Unexpected exit code: " << exit_code; in DaemonizeLauncher()
208 LOG(ERROR) << "Failed to daemonize child process: " << strerror(errno); in DaemonizeLauncher()
217 LOG(ERROR) << "Failed to create launcher log file: " << log->StrError(); in DaemonizeLauncher()
225 LOG(ERROR) << "Failed to open /dev/null: " << dev_null->StrError(); in DaemonizeLauncher()
[all …]
/device/google/wahoo/usb/
DUsbGadget.cpp233 if (!WriteStringToFile("0", DEVICE_CLASS_PATH)) return Status::ERROR; in tearDownGadget()
235 if (!WriteStringToFile("0", DEVICE_SUB_CLASS_PATH)) return Status::ERROR; in tearDownGadget()
237 if (!WriteStringToFile("0", DEVICE_PROTOCOL_PATH)) return Status::ERROR; in tearDownGadget()
239 if (!WriteStringToFile("0", DESC_USE_PATH)) return Status::ERROR; in tearDownGadget()
241 if (unlinkFunctions(CONFIG_PATH)) return Status::ERROR; in tearDownGadget()
275 if (!WriteStringToFile(vid, VENDOR_ID_PATH)) return Status::ERROR; in setVidPid()
277 if (!WriteStringToFile(pid, PRODUCT_ID_PATH)) return Status::ERROR; in setVidPid()
429 return Status::ERROR; in setupFunctions()
439 if (!WriteStringToFile("1", DESC_USE_PATH)) return Status::ERROR; in setupFunctions()
442 return Status::ERROR; in setupFunctions()
[all …]
/device/google/cuttlefish/host/commands/console_forwarder/
Dmain.cpp73 LOG(ERROR) << "Failed to unlink " << console_path_.c_str() in OpenPTY()
80 LOG(ERROR) << "Failed to open a PTY: " << strerror(errno); in OpenPTY()
89 LOG(ERROR) << "Failed to get terminal control: " << strerror(errno); in OpenPTY()
95 LOG(ERROR) << "Failed to set terminal control: " << strerror(errno); in OpenPTY()
101 LOG(ERROR) << "Failed to obtain PTY device name: " << strerror(errno); in OpenPTY()
106 LOG(ERROR) << "Failed to create symlink to " << pty_dev_name << " at " in OpenPTY()
114 LOG(ERROR) << "Error dupping fd " << pty << ": " in OpenPTY()
149 LOG(ERROR) << "Error writing to fd: " << fd->StrError(); in WriteLoop()
184 LOG(ERROR) << "Error reading from console output: " in ReadLoop()
202 LOG(ERROR) << "Error reading from client fd: " in ReadLoop()
[all …]
/device/google/bonito/usb/
DUsbGadget.cpp249 if (!WriteStringToFile("0", DEVICE_CLASS_PATH)) return Status::ERROR; in tearDownGadget()
251 if (!WriteStringToFile("0", DEVICE_SUB_CLASS_PATH)) return Status::ERROR; in tearDownGadget()
253 if (!WriteStringToFile("0", DEVICE_PROTOCOL_PATH)) return Status::ERROR; in tearDownGadget()
255 if (!WriteStringToFile("0", DESC_USE_PATH)) return Status::ERROR; in tearDownGadget()
257 if (unlinkFunctions(CONFIG_PATH)) return Status::ERROR; in tearDownGadget()
300 if (!WriteStringToFile(vid, VENDOR_ID_PATH)) return Status::ERROR; in setVidPid()
302 if (!WriteStringToFile(pid, PRODUCT_ID_PATH)) return Status::ERROR; in setVidPid()
454 return Status::ERROR; in setupFunctions()
464 if (!WriteStringToFile("1", DESC_USE_PATH)) return Status::ERROR; in setupFunctions()
467 return Status::ERROR; in setupFunctions()
[all …]
/device/google/crosshatch/usb/
DUsbGadget.cpp249 if (!WriteStringToFile("0", DEVICE_CLASS_PATH)) return Status::ERROR; in tearDownGadget()
251 if (!WriteStringToFile("0", DEVICE_SUB_CLASS_PATH)) return Status::ERROR; in tearDownGadget()
253 if (!WriteStringToFile("0", DEVICE_PROTOCOL_PATH)) return Status::ERROR; in tearDownGadget()
255 if (!WriteStringToFile("0", DESC_USE_PATH)) return Status::ERROR; in tearDownGadget()
257 if (unlinkFunctions(CONFIG_PATH)) return Status::ERROR; in tearDownGadget()
300 if (!WriteStringToFile(vid, VENDOR_ID_PATH)) return Status::ERROR; in setVidPid()
302 if (!WriteStringToFile(pid, PRODUCT_ID_PATH)) return Status::ERROR; in setVidPid()
454 return Status::ERROR; in setupFunctions()
464 if (!WriteStringToFile("1", DESC_USE_PATH)) return Status::ERROR; in setupFunctions()
467 return Status::ERROR; in setupFunctions()
[all …]
/device/google/bonito/health/
DLearnedCapacityBackupRestore.cpp47 LOG(ERROR) << "Cannot read the storage file"; in ReadPersistData()
52 LOG(ERROR) << "data format is wrong in the storage file: " << buffer; in ReadPersistData()
65 LOG(ERROR) << "Write file error: " << strerror(errno); in SaveToStorage()
72 LOG(ERROR) << "Read nominal capacity error: " << strerror(errno); in ReadNominalCapacity()
79 LOG(ERROR) << "Failed to parse nominal capacity: " << buffer; in ReadNominalCapacity()
88 LOG(ERROR) << "Read capacity error: " << strerror(errno); in ReadCapacity()
95 LOG(ERROR) << "Failed to parse capacity: " << buffer; in ReadCapacity()
108 LOG(ERROR) << "Write data error: " << strerror(errno); in SaveToSRAM()
/device/google/cuttlefish/host/libs/config/
Ddata_image.cpp27 LOG(ERROR) << "`fsck.f2fs -y -f " << data_image << "` failed with code " in ForceFsckImage()
37 LOG(ERROR) << data_image << " is already " << file_mb << " MB, will not " in ResizeImage()
47 LOG(ERROR) << "`truncate --size=" << data_image_mb << "M " in ResizeImage()
58 LOG(ERROR) << "`resize.f2fs " << data_image << "` failed with code " in ResizeImage()
81 LOG(ERROR) << "`truncate --size=" << num_mb << "M " << image in CreateBlankImage()
118 LOG(ERROR) << "Writing MBR to " << image << " failed:" << fd->StrError(); in CreateBlankImage()
136 LOG(ERROR) << "Specified data image file does not exists: " << data_image; in ApplyDataImagePolicy()
140 LOG(ERROR) << "You should NOT use -blank_data_image_mb with -data_policy=" in ApplyDataImagePolicy()
160 LOG(ERROR) << "Invalid data_policy: " << config.data_policy(); in ApplyDataImagePolicy()
170 LOG(ERROR) << "-blank_data_image_mb is required to create data image"; in ApplyDataImagePolicy()
[all …]
/device/google/cuttlefish/host/commands/stop_cvd/
Dmain.cc109 LOG(ERROR) << "Unable to execute '" << cmd_str << "': " << strerror(errno); in GetCandidateProcessGroups()
117 LOG(ERROR) << "Unable to get process group of " << pid << ": " in GetCandidateProcessGroups()
136 LOG(ERROR) << "Failed to kill process group " << pgid << ": " in FallBackStop()
148 LOG(ERROR) << "No path to launcher monitor found"; in CleanStopInstance()
154 LOG(ERROR) << "Unable to connect to launcher monitor at " << monitor_path in CleanStopInstance()
161 LOG(ERROR) << "Error sending launcher monitor the stop command: " in CleanStopInstance()
172 LOG(ERROR) << "Failed communication with the launcher monitor: " in CleanStopInstance()
177 LOG(ERROR) << "Timeout expired waiting for launcher monitor to respond"; in CleanStopInstance()
183 LOG(ERROR) << "Error receiving response from launcher monitor: " in CleanStopInstance()
188 LOG(ERROR) << "Received '" << static_cast<char>(response) in CleanStopInstance()
[all …]
/device/google/wahoo/health/
DLearnedCapacityBackupRestore.cpp56 LOG(ERROR) << "Cannot read the storage file"; in ReadFromStorage()
61 LOG(ERROR) << "data format is wrong in the storage file: " << buffer; in ReadFromStorage()
74 LOG(ERROR) << "Write file error: " << strerror(errno); in SaveToStorage()
81 LOG(ERROR) << "Read cycle counter error: " << strerror(errno); in ReadFromSRAM()
88 LOG(ERROR) << "Failed to parse SRAM bins: " << buffer; in ReadFromSRAM()
101 LOG(ERROR) << "Write data error: " << strerror(errno); in SaveToSRAM()
DCycleCountBackupRestore.cpp48 LOG(ERROR) << "Cannot read the storage file"; in ReadFromStorage()
56 LOG(ERROR) << "data format is wrong in the storage file: " << buffer; in ReadFromStorage()
72 LOG(ERROR) << "Write file error: " << strerror(errno); in SaveToStorage()
80 LOG(ERROR) << "Read cycle counter error: " << strerror(errno); in ReadFromSRAM()
90 LOG(ERROR) << "Failed to parse SRAM bins: " << buffer; in ReadFromSRAM()
106 LOG(ERROR) << "Write data error: " << strerror(errno); in SaveToSRAM()
/device/google/cuttlefish/host/commands/fetcher/
Dcurl_wrapper.cc41 LOG(ERROR) << "curl_slist_append failed to add " << str; in build_slist()
57 LOG(ERROR) << "failed to initialize curl"; in CurlWrapper()
74 LOG(ERROR) << "curl was not initialized\n"; in DownloadToFile()
87 LOG(ERROR) << "could not open file " << path; in DownloadToFile()
97 LOG(ERROR) << "curl_easy_perform() failed. " in DownloadToFile()
114 LOG(ERROR) << "curl was not initialized\n"; in DownloadToString()
133 LOG(ERROR) << "curl_easy_perform() failed. " in DownloadToString()
152 LOG(ERROR) << "Could not parse json: " << reader.getFormattedErrorMessages(); in DownloadToJson()
/device/google/coral/usb/
DUsbGadget.cpp60 return Status::ERROR; in tearDownGadget()
226 return Status::ERROR; in setupFunctions()
235 return Status::ERROR; in setupFunctions()
237 return Status::ERROR; in setupFunctions()
239 return Status::ERROR; in setupFunctions()
241 return Status::ERROR; in setupFunctions()
243 return Status::ERROR; in setupFunctions()
245 return Status::ERROR; in setupFunctions()
247 return Status::ERROR; in setupFunctions()
255 return Status::ERROR; in setupFunctions()
[all …]
/device/google/cuttlefish/guest/commands/setup_wifi/
Dmain.cpp71 LOG(ERROR) << "setup_network: could not fix mac address"; in CreateWifiWrapper()
82 LOG(ERROR) << "setup_network: invalid interface name '" << source << "'\n"; in CreateWifiWrapper()
96 LOG(ERROR) << "setup_network: could not add link " << destination; in CreateWifiWrapper()
110 LOG(ERROR) << "setup_network: could not bring up backing " << source; in CreateWifiWrapper()
122 LOG(ERROR) << "setup_network: could not open " << name << " on device."; in RenameNetwork()
128 LOG(ERROR) << "setup_network: can't rename " << name << " to " << new_name; in RenameNetwork()

1234567