/system/core/debuggerd/ |
H A D | debuggerd.cpp | 35 static void usage(int exit_code) { argument 39 _exit(exit_code);
|
/system/core/base/ |
H A D | quick_exit.cpp | 30 void quick_exit(int exit_code) { argument 35 _Exit(exit_code);
|
/system/update_engine/ |
H A D | daemon.cc | 40 int exit_code = Daemon::OnInit(); local 41 if (exit_code != EX_OK) 42 return exit_code;
|
H A D | main.cc | 195 int exit_code = update_engine_daemon.Run(); local 198 << exit_code; 199 return exit_code;
|
H A D | hardware_chromeos.cc | 171 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 D | aidl_test_sentinel_searcher.cpp | 83 int exit_code = 1; local 98 exit_code = 0; 110 return exit_code;
|
/system/core/adb/ |
H A D | shell_service_test.cpp | 95 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 D | shell_service.cpp | 661 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 D | commandline.cpp | 258 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 D | workload.cpp | 177 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 D | environment.cpp | 654 int exit_code; local 655 if (!workload->WaitChildProcess(&exit_code) || exit_code != 0) {
|
/system/core/fastboot/ |
H A D | fs.cpp | 42 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 D | main.cc | 102 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 D | squashfs_filesystem.cc | 88 int exit_code; local 89 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout) || 90 exit_code != 0) {
|
/system/tpm/tpm_manager/client/ |
H A D | main.cc | 164 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 D | utils.cc | 581 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);
|