Searched defs:exit_code (Results 1 - 16 of 16) sorted by relevance

/system/core/debuggerd/
H A Ddebuggerd.cpp35 static void usage(int exit_code) { argument
39 _exit(exit_code);
/system/core/base/
H A Dquick_exit.cpp30 void quick_exit(int exit_code) { argument
35 _Exit(exit_code);
/system/update_engine/
H A Ddaemon.cc40 int exit_code = Daemon::OnInit(); local
41 if (exit_code != EX_OK)
42 return exit_code;
H A Dmain.cc195 int exit_code = update_engine_daemon.Run(); local
198 << exit_code;
199 return exit_code;
H A Dhardware_chromeos.cc171 int exit_code = 0; local
174 bool success = Subprocess::SynchronousExec(cmd, &exit_code, &input_line);
175 if (!success || exit_code) {
176 LOG(ERROR) << "Unable to read ec info from mosys (" << exit_code << ")";
258 int exit_code = 0; local
261 if (!Subprocess::SynchronousExec(cmd, &exit_code, &active_ping_str) ||
262 exit_code) {
264 << " with exit code: " << exit_code; local
281 int exit_code = 0; local
285 if (!Subprocess::SynchronousExec(vpd_set_cmd, &exit_code,
[all...]
/system/tools/aidl/tests/
H A Daidl_test_sentinel_searcher.cpp83 int exit_code = 1; local
98 exit_code = 0;
110 return exit_code;
/system/core/adb/
H A Dshell_service_test.cpp95 int exit_code = -1; local
109 EXPECT_EQ(-1, exit_code) << "Multiple exit packets received";
111 exit_code = protocol->data()[0];
119 return exit_code;
H A Dshell_service.cpp661 int exit_code = 1; local
669 exit_code = 0x80 | WTERMSIG(status);
676 exit_code = WEXITSTATUS(status);
685 output_->data()[0] = exit_code;
687 D("wrote the exit code packet: %d", exit_code);
718 char exit_code = 126; local
721 WriteFdExactly(pipefd[1], &exit_code, sizeof(exit_code));
H A Dcommandline.cpp258 int exit_code = 0; local
259 if (fd < 0) return exit_code;
289 exit_code = protocol->data()[0];
306 return callback->Done(exit_code);
662 int exit_code = read_and_dump(fd, use_shell_protocol); local
670 return exit_code;
1114 int exit_code = read_and_dump(fd, use_shell_protocol, callback); local
1120 return exit_code;
/system/extras/simpleperf/
H A Dworkload.cpp177 bool Workload::WaitChildProcess(int* exit_code) { argument
178 return WaitChildProcess(true, false, exit_code);
181 bool Workload::WaitChildProcess(bool wait_forever, bool is_child_killed, int* exit_code) { argument
196 if (exit_code != nullptr) {
197 *exit_code = WEXITSTATUS(status);
H A Denvironment.cpp654 int exit_code; local
655 if (!workload->WaitChildProcess(&exit_code) || exit_code != 0) {
/system/core/fastboot/
H A Dfs.cpp42 DWORD exit_code = 0; local
74 GetExitCodeProcess(pi.hProcess, &exit_code);
79 if (exit_code != 0) {
80 fprintf(stderr, "%s failed: %lu\n", path, exit_code);
/system/tpm/attestation/client/
H A Dmain.cc102 int exit_code = ClientLoopBase::OnInit(); variable
103 if (exit_code != EX_OK) {
104 return exit_code;
110 exit_code = ScheduleCommand();
111 if (exit_code == EX_USAGE) {
114 return exit_code;
117 void OnShutdown(int* exit_code) override {
119 ClientLoopBase::OnShutdown(exit_code);
/system/update_engine/payload_generator/
H A Dsquashfs_filesystem.cc88 int exit_code; local
89 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout) ||
90 exit_code != 0) {
/system/tpm/tpm_manager/client/
H A Dmain.cc164 int exit_code = ClientLoopBase::OnInit(); variable
165 if (exit_code != EX_OK) {
167 return exit_code;
194 exit_code = ScheduleCommand();
195 if (exit_code == EX_USAGE) {
198 return exit_code;
201 void OnShutdown(int* exit_code) override {
204 ClientLoopBase::OnShutdown(exit_code);
/system/update_engine/common/
H A Dutils.cc581 int exit_code; local
589 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr));
590 TEST_AND_RETURN_FALSE(exit_code == 0);
597 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr));
598 TEST_AND_RETURN_FALSE(exit_code == 0);

Completed in 365 milliseconds