Home
last modified time | relevance | path

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

/packages/services/Car/tests/BugReportApp/utils/
Dbugreport_app_tester.py181 exit_code = popen.wait()
182 return (exit_code, stdout_lines)
193 exit_code, stdout_lines = self.adb(cmd)
194 if exit_code != 0:
195 _fail_program('Failed to run command %s, exit_code=%s' % (cmd, exit_code))
273 exit_code, stdout_lines = self._device.adb(['pull', SQLITE_DB_DIR, tmpdir])
274 if exit_code != 0:
277 (stdout_lines, exit_code))
516 exit_code, stdout_lines = self._device.adb(
518 if exit_code != 0:
[all …]
Dbugreport_app_tester_test.py50 exit_code, stdout_lines = self._subject.adb(['some', 'command'])
53 self.assertEqual(exit_code, 0)
/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()
Dshell_service_test.cpp97 int exit_code = -1; in ReadShellProtocol() local
111 EXPECT_EQ(-1, exit_code) << "Multiple exit packets received"; in ReadShellProtocol()
113 exit_code = protocol->data()[0]; in ReadShellProtocol()
120 return exit_code; in ReadShellProtocol()
/packages/modules/Virtualization/compos/src/
Dpvm_exec.rs159 let exit_code = get_local_service().execute(&args, &metadata).context("Binder call failed")?; in main() localVariable
164 if exit_code > 0 { in main()
165 error!("remote execution failed with exit code {}", exit_code); in main()
166 exit(exit_code as i32); in main()
Dcompsvc.rs113 Err(minijail::Error::ReturnCode(exit_code)) => { in execute()
114 error!("Task failed with exit code {}", exit_code); in execute()
Dcompsvc_worker.rs228 Err(minijail::Error::ReturnCode(exit_code)) => { in main()
229 exit(exit_code as i32); in main()
/packages/modules/Wifi/
Dmetrics_pdd_hook.py83 exit_code = main() variable
84 sys.exit(exit_code)
/packages/modules/adb/client/
Dcommandline.cpp281 int exit_code = 0; in read_and_dump() local
282 if (fd < 0) return exit_code; in read_and_dump()
315 exit_code = static_cast<uint8_t>(protocol->data()[0]); in read_and_dump()
332 return callback->Done(exit_code); in read_and_dump()
668 int exit_code = read_and_dump(fd, use_shell_protocol); in RemoteShell() local
676 return exit_code; in RemoteShell()