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

/system/extras/tests/net_test/
H A Dall_tests.sh35 exit_code=0
43 $test || exit_code=$(( exit_code + 1 ))
47 echo "$PREFIX $exit_code failed $(maybePlural $exit_code test tests)."
48 exit $exit_code
/system/media/camera/docs/
H A Dmetadata-parser-sanity-check55 exit_code=$?
58 if [[ $exit_code -ne 0 ]]
65 exit $exit_code
/system/webservd/test-client/
H A Dmain.cc79 int exit_code = WebservTestClientBaseClass::OnInit(); variable
80 if (exit_code != EX_OK)
81 return exit_code;
104 return exit_code;
/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/update_engine/
H A Ddaemon.cc47 int exit_code = Daemon::OnInit(); local
48 if (exit_code != EX_OK)
49 return exit_code;
H A Dhardware_chromeos.cc118 int exit_code = 0; local
121 bool success = Subprocess::SynchronousExec(cmd, &exit_code, &input_line);
122 if (!success || exit_code) {
123 LOG(ERROR) << "Unable to read ec info from mosys (" << exit_code << ")";
H A Dmain.cc126 int exit_code = update_engine_daemon.Run(); local
129 << exit_code;
130 return exit_code;
/system/media/brillo/audio/audioservice/
H A Daudio_daemon.cpp100 int exit_code = Daemon::OnInit(); local
101 if (exit_code != EX_OK) return exit_code;
/system/tpm/tpm_manager/client/
H A Dmain.cc95 int exit_code = ClientLoopBase::OnInit(); variable
96 if (exit_code != EX_OK) {
98 return exit_code;
112 exit_code = ScheduleCommand();
113 if (exit_code == EX_USAGE) {
116 return exit_code;
119 void OnShutdown(int* exit_code) override {
122 ClientLoopBase::OnShutdown(exit_code);
/system/core/adb/
H A Dshell_service_test.cpp115 int exit_code = -1; local
129 EXPECT_EQ(-1, exit_code) << "Multiple exit packets received";
131 exit_code = protocol->data()[0];
139 return exit_code;
H A Dshell_service.cpp662 int exit_code = 1; local
670 exit_code = 0x80 | WTERMSIG(status);
677 exit_code = WEXITSTATUS(status);
686 output_->data()[0] = exit_code;
688 D("wrote the exit code packet: %d", exit_code);
735 char exit_code = 126; local
738 WriteFdExactly(pipefd[1], &exit_code, sizeof(exit_code));
H A Dcommandline.cpp298 int exit_code = 0; local
299 if (fd < 0) return exit_code;
332 exit_code = protocol->data()[0];
355 return exit_code;
697 int exit_code = 1; local
702 exit_code = read_and_dump(fd, use_shell_protocol);
711 return exit_code;
1169 int exit_code = read_and_dump(fd, use_shell_protocol, output, err); local
1175 return 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/core/metricsd/uploader/
H A Dupload_service.h77 void OnShutdown(int* exit_code) override;
H A Dupload_service.cc91 void UploadService::OnShutdown(int* exit_code) { argument
/system/update_engine/common/
H A Dutils.cc576 int exit_code; local
584 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr));
585 TEST_AND_RETURN_FALSE(exit_code == 0);
592 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr));
593 TEST_AND_RETURN_FALSE(exit_code == 0);

Completed in 3232 milliseconds