Home
last modified time | relevance | path

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

/system/update_engine/common/
Dsubprocess_unittest.cc82 int return_code, const string& output) { in ExpectedResults() argument
83 EXPECT_EQ(expected_return_code, return_code); in ExpectedResults()
88 void ExpectedEnvVars(int return_code, const string& output) { in ExpectedEnvVars() argument
89 EXPECT_EQ(0, return_code); in ExpectedEnvVars()
104 int return_code, in ExpectedDataOnPipe() argument
106 EXPECT_EQ(expected_return_code, return_code); in ExpectedDataOnPipe()
219 void CallbackBad(int return_code, const string& output) { in CallbackBad() argument
Dsubprocess.cc234 int* return_code, in SynchronousExec() argument
241 return_code, in SynchronousExec()
247 int* return_code, in SynchronousExecFlags() argument
279 if (return_code) in SynchronousExecFlags()
280 *return_code = proc_return_code; in SynchronousExecFlags()
Dsubprocess.h92 int* return_code,
96 int* return_code,
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc294 int return_code, const string& output) { in CompletePartitionPostinstall() argument
298 if (return_code != 0) { in CompletePartitionPostinstall()
299 LOG(ERROR) << "Postinst command failed with code: " << return_code; in CompletePartitionPostinstall()
302 if (return_code == 3) { in CompletePartitionPostinstall()
309 if (return_code == 4) { in CompletePartitionPostinstall()
Dpostinstall_runner_action.h92 void CompletePartitionPostinstall(int return_code,
Ddelta_performer_integration_test.cc156 int return_code = ftruncate(fd, size); in WriteSparseFile() local
157 TEST_AND_RETURN_FALSE_ERRNO(return_code == 0); in WriteSparseFile()
/system/update_engine/
Dtest_http_server.cc80 HttpResponseCode return_code{kHttpResponseOk}; member
130 request->return_code = kHttpResponsePartialContent; in ParseRequest()
181 HttpResponseCode return_code) { in WriteHeaders() argument
185 string("HTTP/1.1 ") + Itoa(return_code) + " " + in WriteHeaders()
186 GetHttpResponseDescription(return_code) + in WriteHeaders()
324 << ", return code=" << request.return_code; in HandleGet()
326 request.return_code)) < 0) in HandleGet()
474 if ((ret = WriteHeaders(fd, start_offset, size, request.return_code)) < 0) in HandleDefault()
Dupdate_engine_client_android.cc56 int ExitWhenIdle(int return_code);
230 int UpdateEngineClientAndroid::ExitWhenIdle(int return_code) { in ExitWhenIdle() argument
232 &Daemon::QuitWithExitCode, base::Unretained(this), return_code); in ExitWhenIdle()
Dp2p_manager.cc258 int return_code = 0; in EnsureP2P() local
264 if (!Subprocess::SynchronousExec(args, &return_code, &output)) { in EnsureP2P()
274 if (return_code != 0) { in EnsureP2P()
463 void OnLookupDone(int return_code, const string& output) { in OnLookupDone() argument
465 if (return_code != 0) { in OnLookupDone()
467 << return_code; in OnLookupDone()
Dboot_control_chromeos.cc66 int return_code, in OnMarkBootSuccessfulDone() argument
68 callback.Run(return_code == 0); in OnMarkBootSuccessfulDone()
/system/tpm/trunks/
Dtpm_utility_impl.cc128 TPM_RC return_code = factory_.GetTpm()->ShutdownSync(TPM_SU_CLEAR, nullptr); in Shutdown() local
129 if (return_code && return_code != TPM_RC_INITIALIZE) { in Shutdown()
132 << ": Error shutting down: " << GetErrorString(return_code); in Shutdown()
618 TPM_RC return_code = GetKeyPublicArea(key_handle, &public_area); in Verify() local
619 if (return_code) { in Verify()
621 return return_code; in Verify()
654 return_code = factory_.GetTpm()->VerifySignatureSync( in Verify()
656 if (return_code == TPM_RC_SIGNATURE) { in Verify()
659 } else if (return_code && return_code != TPM_RC_SIGNATURE) { in Verify()
661 << GetErrorString(return_code); in Verify()
[all …]
/system/nfc/halimpl/bcm2079x/hal/hal/
Dnfc_hal_prm.c366 uint8_t return_code = NFC_HAL_PRM_COMPLETE_EVT; in nfc_hal_prm_spd_check_version() local
467 return_code = NFC_HAL_PRM_ABORT_INVALID_PATCH_EVT; in nfc_hal_prm_spd_check_version()
483 return_code = NFC_HAL_PRM_COMPLETE_EVT; in nfc_hal_prm_spd_check_version()
500 return_code = NFC_HAL_PRM_ABORT_INVALID_PATCH_EVT; in nfc_hal_prm_spd_check_version()
536 nfc_hal_prm_spd_handle_download_complete(return_code); in nfc_hal_prm_spd_check_version()