Lines Matching refs:Error
94 return Error() << "Failed to set bootloader message: " << err; in reboot_into_recovery()
126 return Error() << "command 'class_start_post_data' only available in init context"; in do_class_start_post_data()
151 return Error() << "command 'class_reset_post_data' only available in init context"; in do_class_reset_post_data()
167 return Error() << "Unable to write to /proc/sys/kernel/domainname: " << result.error(); in do_domainname()
174 if (!svc) return Error() << "Could not find service"; in do_enable()
177 return Error() << "Could not enable service: " << result.error(); in do_enable()
186 return Error() << "Could not create exec service"; in do_exec()
189 return Error() << "Could not start exec service: " << result.error(); in do_exec()
199 return Error() << "Could not create exec background service"; in do_exec_background()
202 return Error() << "Could not start exec background service: " << result.error(); in do_exec_background()
212 return Error() << "Service not found"; in do_exec_start()
216 return Error() << "Could not start exec service: " << result.error(); in do_exec_start()
231 return Error() << "Unable to write to /proc/sys/kernel/hostname: " << result.error(); in do_hostname()
280 if (!svc) return Error() << "interface " << args[1] << " not found"; in do_interface_restart()
287 if (!svc) return Error() << "interface " << args[1] << " not found"; in do_interface_start()
289 return Error() << "Could not start interface: " << result.error(); in do_interface_start()
296 if (!svc) return Error() << "interface " << args[1] << " not found"; in do_interface_stop()
322 return Error() << "Unable to decode UID for '" << args[3] << "': " << uid.error(); in do_mkdir()
329 return Error() << "Unable to decode GID for '" << args[3] << "': " << gid.error(); in do_mkdir()
439 return Error() << "out of loopback devices"; in do_mount()
501 return Error() << "child aborted"; in handle_fstab()
517 return Error() << "fork() failed"; in handle_fstab()
578 return Error() << "cannot wipe within GSI"; in queue_fs_event()
586 return Error() << "fscrypt_install_keyring() failed"; in queue_fs_event()
597 return Error() << "fscrypt_install_keyring() failed"; in queue_fs_event()
608 return Error() << "fscrypt_install_keyring() failed"; in queue_fs_event()
618 Error() << "fs_mgr_mount_all() returned unexpected error " << code; in queue_fs_event()
622 return Error() << "Invalid code: " << code; in queue_fs_event()
657 return Error() << "mount_fstab() failed " << mount_fstab_return_code.error(); in do_mount_all()
671 return Error() << "queue_fs_event() failed: " << queue_fs_result.error(); in do_mount_all()
682 return Error() << "umount_fstab() failed " << umount_fstab_return_code.error(); in do_umount_all()
690 return Error() << "Could not read fstab '" << args[1] << "'"; in do_swapon_all()
694 return Error() << "fs_mgr_swapon_all() failed"; in do_swapon_all()
717 if (!svc) return Error() << "service " << args[1] << " not found"; in do_start()
719 return Error() << "Could not start service: " << result.error(); in do_start()
726 if (!svc) return Error() << "service " << args[1] << " not found"; in do_stop()
733 if (!svc) return Error() << "service " << args[1] << " not found"; in do_restart()
790 return Error() << "Unable to parse mins_west_of_gmt"; in do_sysclktz()
805 if (!loaded) return Error() << "Could not load verity state"; in do_verity_load_state()
813 return Error() << "fs_mgr_load_verity_state() failed"; in do_verity_update_state()
818 return Error() << "Failed to read default fstab"; in do_verity_update_state()
837 return Error() << "Unable to write to file '" << args[1] << "': " << result.error(); in do_write()
928 … return Error() << "Could not read input file '" << args[1] << "': " << file_contents.error(); in do_copy()
931 return Error() << "Could not write to output file '" << args[2] << "': " << result.error(); in do_copy()
940 return Error() << "Unable to decode UID for '" << args[1] << "': " << uid.error(); in do_chown()
950 return Error() << "Unable to decode GID for '" << args[2] << "': " << gid.error(); in do_chown()
999 return Error() << "flags must precede paths"; in do_restorecon()
1010 return Error() << "bad flag " << args[i]; in do_restorecon()
1045 return Error() << "invalid log level " << log_level; in do_loglevel()
1066 return Error() << "failed to parse timeout"; in do_wait()
1072 return Error() << "wait_for_file() failed"; in do_wait()
1084 return Error() << "IsLegalPropertyName(" << name << ") failed"; in do_wait_for_prop()
1087 return Error() << "value too long"; in do_wait_for_prop()
1090 return Error() << "already waiting for a property"; in do_wait_for_prop()
1103 return Error() << "Could not create exec service"; in ExecWithRebootOnFailure()
1121 return Error() << "Could not start exec service: " << result.error(); in ExecWithRebootOnFailure()
1160 return Error() << "glob pattern '" << glob_pattern << "' failed"; in do_parse_apex_configs()
1181 return Error() << "Could not parse apex configs"; in do_parse_apex_configs()
1189 return Error() << "Failed to enter into default mount namespace"; in do_enter_default_mount_ns()