Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Virtualization/compos/src/
Dcompilation.rs162 let exit_code = match jail.wait() { in odrefresh() localVariable
164 Err(minijail::Error::ReturnCode(exit_code)) => exit_code, in odrefresh()
168 let exit_code = ExitCode::from_i32(exit_code.into())?; in odrefresh() localVariable
169 info!("odrefresh exited with {:?}", exit_code); in odrefresh()
171 if exit_code == ExitCode::CompilationSuccess { in odrefresh()
176 Ok(exit_code) in odrefresh()
Dcompsvc.rs136 let exit_code = odrefresh(&self.odrefresh_path, args, authfs_service, |output_dir| { in do_odrefresh() localVariable
145 Ok(exit_code as i8) in do_odrefresh()
/packages/modules/adb/test_utils/
Dtest_utils.cpp48 int exit_code = -1; in ReadShellProtocol() local
62 EXPECT_EQ(-1, exit_code) << "Multiple exit packets received"; in ReadShellProtocol()
64 exit_code = protocol->data()[0]; in ReadShellProtocol()
71 return exit_code; in ReadShellProtocol()
/packages/modules/Virtualization/compos/composd/src/
Dodrefresh_task.rs101 let exit_code = run_in_vm(service, compilation_mode, &target_dir_name); in start_thread() localVariable
109 let result = match exit_code { in start_thread()
127 Ok(exit_code) => { in start_thread()
128 let message = format!("Unexpected odrefresh result: {:?}", exit_code); in start_thread()
219 let exit_code = service.odrefresh(&args)?; in run_in_vm() localVariable
222 ExitCode::from_i32(exit_code.into()) in run_in_vm()
/packages/modules/Virtualization/compos/common/
Dodrefresh.rs65 pub fn from_i32(exit_code: i32) -> Result<Self> { in from_i32()
66 FromPrimitive::from_i32(exit_code) in from_i32()
67 .ok_or_else(|| anyhow!("Unexpected odrefresh exit code: {}", exit_code)) in from_i32()
Dcompos_client.rs257 fn on_payload_finished(&self, cid: i32, exit_code: i32) { in on_payload_finished()
258 log::warn!("VM payload finished, cid = {}, exit code = {}", cid, exit_code); in on_payload_finished()
/packages/modules/adb/daemon/
Dshell_service.cpp761 int exit_code = 1; in WaitForExit() local
769 exit_code = 0x80 | WTERMSIG(status); in WaitForExit()
776 exit_code = WEXITSTATUS(status); in WaitForExit()
777 ADB_LOG(Shell) << "subprocess " << pid_ << " exited with status " << exit_code; in WaitForExit()
785 output_->data()[0] = exit_code; in WaitForExit()
787 D("wrote the exit code packet: %d", exit_code); in WaitForExit()
818 char exit_code = 126; in ReportError() local
821 WriteFdExactly(write.get(), &exit_code, sizeof(exit_code)); in ReportError()
/packages/modules/Wifi/
Dmetrics_pdd_hook.py83 exit_code = main() variable
84 sys.exit(exit_code)
Doverlayable_hook.py103 exit_code = main() variable
104 sys.exit(exit_code)
/packages/services/Car/cpp/security/vehicle_binding_util/src/
DVehicleBindingUtil.h76 virtual int run(const std::vector<std::string>& cmd_args, int* exit_code) const = 0;
81 int run(const std::vector<std::string>& cmd_args, int* exit_code) const override;
DVehicleBindingUtil.cpp144 int DefaultExecutor::run(const std::vector<std::string>& cmd_args, int* exit_code) const { in run()
151 return logwrap_fork_execvp(argv.size(), argv.data(), exit_code, false /*forward_signals*/, in run()
/packages/modules/adb/client/
Dcommandline.cpp292 int exit_code = 0; in read_and_dump_protocol() local
301 exit_code = SIGPIPE + 128; in read_and_dump_protocol()
306 exit_code = SIGPIPE + 128; in read_and_dump_protocol()
313 exit_code = static_cast<uint8_t>(protocol->data()[0]); in read_and_dump_protocol()
316 return exit_code; in read_and_dump_protocol()
321 int exit_code = 0; in read_and_dump() local
322 if (fd < 0) return exit_code; in read_and_dump()
325 exit_code = read_and_dump_protocol(fd, callback); in read_and_dump()
342 return callback->Done(exit_code); in read_and_dump()
678 int exit_code = read_and_dump(fd, use_shell_protocol); in RemoteShell() local
[all …]
/packages/modules/Virtualization/vmclient/src/
Dlib.rs162 fn on_payload_finished(&self, cid: i32, exit_code: i32) {} in on_payload_finished()
351 fn onPayloadFinished(&self, cid: i32, exit_code: i32) -> BinderResult<()> { in onPayloadFinished()
354 callback.on_payload_finished(cid, exit_code); in onPayloadFinished()
/packages/modules/Virtualization/vm/src/
Drun.rs337 fn on_payload_finished(&self, _cid: i32, exit_code: i32) { in on_payload_finished()
338 eprintln!("payload finished with exit code {}", exit_code); in on_payload_finished()
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs874 pub fn notify_payload_finished(&self, cid: Cid, exit_code: i32) { in notify_payload_finished()
877 if let Err(e) = callback.onPayloadFinished(cid as i32, exit_code) { in notify_payload_finished()
1152 fn notifyPayloadFinished(&self, exit_code: i32) -> binder::Result<()> { in notifyPayloadFinished()
1159 vm.callbacks.notify_payload_finished(cid, exit_code); in notifyPayloadFinished()
/packages/modules/Virtualization/microdroid_manager/src/
Dmain.rs854 Some(exit_code) => Ok(exit_code), in exec_task()