Home
last modified time | relevance | path

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

/system/update_engine/common/
Dsubprocess_unittest.cc85 int return_code, in ExpectedResults() argument
87 EXPECT_EQ(expected_return_code, return_code); in ExpectedResults()
92 void ExpectedEnvVars(int return_code, const string& output) { in ExpectedEnvVars() argument
93 EXPECT_EQ(0, return_code); in ExpectedEnvVars()
108 int return_code, in ExpectedDataOnPipe() argument
110 EXPECT_EQ(expected_return_code, return_code); in ExpectedDataOnPipe()
222 void CallbackBad(int return_code, const string& output) { in CallbackBad() argument
Dsubprocess.cc233 int* return_code, in SynchronousExec() argument
238 return SynchronousExecFlags(cmd, kSearchPath, return_code, stdout, stderr); in SynchronousExec()
243 int* return_code, in SynchronousExecFlags() argument
291 if (return_code) in SynchronousExecFlags()
292 *return_code = proc_return_code; in SynchronousExecFlags()
Dsubprocess.h93 int* return_code,
98 int* return_code,
/system/bt/gd/cert/
Dgd_base_test.py110return_code = self.rootcanal_process.wait(timeout=self.SUBPROCESS_WAIT_TIMEOUT_SECONDS)
116return_code = self.rootcanal_process.wait(timeout=self.SUBPROCESS_WAIT_TIMEOUT_SECONDS)
119 return_code = -65536
120 if return_code != 0 and return_code != -stop_signal:
121 logging.error("rootcanal stopped with code: %d" % return_code)
Dgd_device.py264 return_code = self.backing_process.wait(timeout=self.WAIT_CHANNEL_READY_TIMEOUT_SECONDS)
270return_code = self.backing_process.wait(timeout=self.WAIT_CHANNEL_READY_TIMEOUT_SECONDS)
273 return_code = -65536
274 if return_code not in [-stop_signal, 0]:
275 logging.error("backing process %s stopped with code: %d" % (self.label, return_code))
439 return_code = self.logcat_process.wait(timeout=self.WAIT_CHANNEL_READY_TIMEOUT_SECONDS)
446return_code = self.logcat_process.wait(timeout=self.WAIT_CHANNEL_READY_TIMEOUT_SECONDS)
449 return_code = -65536
450 if return_code not in [-stop_signal, 0]:
451 …error("logcat_process %s_%s stopped with code: %d" % (self.label, self.serial_number, return_code))
/system/iorap/src/inode2filename/
Dmain.cc132 int return_code = 1; in main() local
133 inode_results.subscribe([&return_code](const InodeResult& result) { in main()
137 return_code = 0; in main()
149 return return_code; in main()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc302 int return_code, const string& output) { in CompletePartitionPostinstall() argument
306 if (return_code != 0) { in CompletePartitionPostinstall()
307 LOG(ERROR) << "Postinst command failed with code: " << return_code; in CompletePartitionPostinstall()
310 if (return_code == 3) { in CompletePartitionPostinstall()
317 if (return_code == 4) { in CompletePartitionPostinstall()
Dpostinstall_runner_action.h94 void CompletePartitionPostinstall(int return_code, const std::string& output);
Ddelta_performer_integration_test.cc160 int return_code = ftruncate(fd, size); in WriteSparseFile() local
161 TEST_AND_RETURN_FALSE_ERRNO(return_code == 0); in WriteSparseFile()
/system/update_engine/
Dtest_http_server.cc78 HttpResponseCode return_code{kHttpResponseOk}; member
132 request->return_code = kHttpResponsePartialContent; in ParseRequest()
186 HttpResponseCode return_code) { in WriteHeaders() argument
190 string("HTTP/1.1 ") + Itoa(return_code) + " " + in WriteHeaders()
191 GetHttpResponseDescription(return_code) + in WriteHeaders()
333 << ", return code=" << request.return_code; in HandleGet()
334 if ((ret = WriteHeaders(fd, start_offset, end_offset, request.return_code)) < in HandleGet()
487 if ((ret = WriteHeaders(fd, start_offset, size, request.return_code)) < 0) in HandleDefault()
Dupdate_engine_client_android.cc55 int ExitWhenIdle(int return_code);
283 int UpdateEngineClientAndroid::ExitWhenIdle(int return_code) { in ExitWhenIdle() argument
285 &Daemon::QuitWithExitCode, base::Unretained(this), return_code); in ExitWhenIdle()
Dp2p_manager.cc250 int return_code = 0; in EnsureP2P() local
256 if (!Subprocess::SynchronousExec(args, &return_code, nullptr, &stderr)) { in EnsureP2P()
266 if (return_code != 0) { in EnsureP2P()
456 void OnLookupDone(int return_code, const string& output) { in OnLookupDone() argument
458 if (return_code != 0) { in OnLookupDone()
459 LOG(INFO) << "Child exited with non-zero exit code " << return_code; in OnLookupDone()
Dboot_control_chromeos.cc77 int return_code, in OnMarkBootSuccessfulDone() argument
79 callback.Run(return_code == 0); in OnMarkBootSuccessfulDone()
/system/bt/test/
Drun_host_unit_tests.py147 return_code = p.wait()
148 if return_code != 0:
149 print 'BUILD FAILED, return code: {0}'.format(str(return_code))
/system/iorap/src/perfetto/
Dmain.cc217 int return_code = 0; in main() local
241 return return_code; in main()
/system/core/libunwindstack/tools/
Dunwind_for_offline.cpp353 int return_code = SaveData(pid); in main() local
357 return return_code; in main()