Searched refs:error_code (Results 26 - 50 of 64) sorted by relevance

123

/system/security/keystore/
H A Dkeystore_client_impl.cpp332 auto error_code = keystore_->abort(active_operations_[handle]); local
333 if (error_code.isOk()) {
336 return error_code;
341 auto error_code = keystore_->exist(key_name16, kDefaultUID); local
342 return error_code.isOk();
349 auto error_code = keystore_->list(prefix16, kDefaultUID, &matches); local
350 if (error_code.isOk()) {
/system/bt/stack/avdt/
H A Davdt_api.cc537 uint16_t AVDT_ConfigRsp(uint8_t handle, uint8_t label, uint8_t error_code, argument
544 AVDT_TRACE_DEBUG("%s: handle=%d label=%d error_code=%d category=%d", __func__,
545 handle, label, error_code, category);
560 evt.msg.hdr.err_code = error_code;
563 if (error_code == 0) {
769 uint16_t AVDT_ReconfigRsp(uint8_t handle, uint8_t label, uint8_t error_code, argument
775 AVDT_TRACE_DEBUG("%s: handle=%d label=%d error_code=%d category=%d", __func__,
776 handle, label, error_code, category);
785 evt.msg.hdr.err_code = error_code;
848 uint16_t AVDT_SecurityRsp(uint8_t handle, uint8_t label, uint8_t error_code, argument
[all...]
/system/connectivity/wificond/net/
H A Dnetlink_manager.cpp338 int* error_code) {
349 *error_code = response->GetErrorCode();
354 int error_code; local
355 if (!SendMessageAndGetAckOrError(packet, &error_code)) {
358 if (error_code != 0) {
359 LOG(ERROR) << "Received error messsage: " << strerror(error_code);
337 SendMessageAndGetAckOrError(const NL80211Packet& packet, int* error_code) argument
H A Dnetlink_manager.h152 // Error code will be stored in |*error_code|
154 int* error_code);
/system/core/libziparchive/
H A Dzip_writer.cc73 const char* ZipWriter::ErrorCodeString(int32_t error_code) { argument
74 if (error_code < 0 && (-error_code) < static_cast<int32_t>(arraysize(sErrorCodes))) {
75 return sErrorCodes[-error_code];
125 int32_t ZipWriter::HandleError(int32_t error_code) { argument
128 return error_code;
H A Dzip_archive_test.cc681 int32_t error_code = 0; local
682 ExtractEntryToMemory(kDataDescriptorZipFile, &entry, &error_code);
684 ASSERT_EQ(0, error_code);
695 int32_t error_code = 0; local
696 ExtractEntryToMemory(invalid_csize, &entry, &error_code);
698 ASSERT_EQ(kInconsistentInformation, error_code);
703 error_code = 0;
705 ExtractEntryToMemory(invalid_csize, &entry, &error_code);
707 ASSERT_EQ(kInconsistentInformation, error_code);
/system/bt/stack/include/
H A Davdt_api.h637 uint8_t error_code, uint8_t category);
721 uint8_t error_code, uint8_t category);
754 uint8_t error_code, uint8_t* p_data,
/system/core/libunwindstack/
H A DUcontext.h47 uint32_t error_code; // unsigned long member in struct:unwindstack::arm_mcontext_t
/system/core/libziparchive/include/ziparchive/
H A Dzip_archive.h220 const char* ErrorCodeString(int32_t error_code);
/system/update_engine/
H A Dupdate_attempter_android.h103 void TerminateUpdateAndNotify(ErrorCode error_code);
H A Dcommon_service.cc353 ErrorCode error_code = system_state_->payload_state()->GetAttemptErrorCode(); local
354 *out_last_attempt_error = static_cast<int>(error_code);
H A Dupdate_attempter_android.cc419 void UpdateAttempterAndroid::TerminateUpdateAndNotify(ErrorCode error_code) { argument
428 (error_code == ErrorCode::kSuccess ? UpdateStatus::UPDATED_NEED_REBOOT
434 observer->SendPayloadApplicationComplete(error_code);
H A Dbinder_service_brillo.h54 void SendPayloadApplicationComplete(ErrorCode error_code) override {}
H A Ddbus_service.h176 void SendPayloadApplicationComplete(ErrorCode error_code) override {}
H A Domaha_request_action.cc160 string error_code; local
162 error_code = base::StringPrintf(" errorcode=\"%d\"",
163 static_cast<int>(event->error_code));
167 event->type, event->result, error_code.c_str());
1074 ErrorCode error_code = ErrorCode::kOmahaRequestXMLParseError; local
1076 error_code = ErrorCode::kOmahaRequestEmptyResponseError;
1078 error_code = ErrorCode::kOmahaRequestXMLHasEntityDecl;
1080 completer.set_code(error_code);
/system/tpm/trunks/
H A Derror_codes.cc353 std::string CreateErrorResponse(TPM_RC error_code) { argument
358 CHECK_EQ(Serialize_TPM_RC(error_code, &response), TPM_RC_SUCCESS);
/system/bt/bta/av/
H A Dbta_av_api.cc355 void BTA_AvProtectRsp(tBTA_AV_HNDL hndl, uint8_t error_code, uint8_t* p_data, argument
363 p_buf->error_code = error_code;
/system/connectivity/wificond/scanning/
H A Dscanner_impl.h85 OffloadScanCallbackInterface::AsyncErrorReason error_code);
/system/bt/stack/sdp/
H A Dsdp_utils.cc279 uint16_t error_code, char* p_error_text) {
285 error_code, p_ccb->connection_id);
298 UINT16_TO_BE_STREAM(p_rsp, error_code);
278 sdpu_build_n_send_error(tCONN_CB* p_ccb, uint16_t trans_num, uint16_t error_code, char* p_error_text) argument
H A Dsdpint.h258 uint16_t error_code, char* p_error_text);
/system/update_engine/common/
H A Dtest_utils.cc58 void PrintTo(const ErrorCode& error_code, ::std::ostream* os) { argument
59 *os << utils::ErrorCodeToString(error_code);
H A Dtest_utils.h48 void PrintTo(const ErrorCode& error_code, ::std::ostream* os);
/system/connectivity/wificond/tests/
H A Dnetlink_utils_unittest.cpp67 NL80211Packet CreateControlMessageError(int error_code) { argument
77 *error_field = -error_code;
H A Dscanner_unittest.cpp64 // |freqs_ignored|, |error_code| are mapped to existing parameters of ScanUtils::Scan().
72 int* error_code) {
73 *error_code = mock_error_code;
86 int* /* error_code */,
66 ReturnErrorCodeForScanRequest( int mock_error_code, uint32_t interface_index_ignored, bool request_random_mac_ignored, const std::vector<std::vector<uint8_t>>& ssids_ignored, const std::vector<uint32_t>& freqs_ignored, int* error_code) argument
/system/extras/simpleperf/
H A Dread_elf.cpp248 std::error_code err = it->getContents(data);
330 std::error_code err = section_ref.getName(section_name);

Completed in 424 milliseconds

123