/system/update_engine/common/ |
H A D | error_code_utils.cc | 26 string ErrorCodeToString(ErrorCode code) { argument 27 // If the given code has both parts (i.e. the error code part and the flags 29 // has case statements only for the base error code or a single flag but 31 if ((static_cast<int>(code) & static_cast<int>(ErrorCode::kSpecialFlags)) && 32 (static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags))) 33 code = static_cast<ErrorCode>( 34 static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags)); 35 switch (code) { 151 return "Unknown error: " + base::UintToString(static_cast<unsigned>(code)); [all...] |
H A D | action_processor.cc | 108 ErrorCode code) { 111 delegate_->ActionCompleted(this, actionptr, code); 113 current_action_->ActionCompleted(code); 119 << " with code " << utils::ErrorCodeToString(code); 120 if (!actions_.empty() && code != ErrorCode::kSuccess) { 128 suspended_error_code_ = code; 131 StartNextActionOrFinish(code); 134 void ActionProcessor::StartNextActionOrFinish(ErrorCode code) { argument 137 delegate_->ProcessingDone(this, code); 107 ActionComplete(AbstractAction* actionptr, ErrorCode code) argument [all...] |
H A D | action_processor.h | 28 // is based on the KSAction* classes from the Google Update Engine code at 29 // http://code.google.com/p/update-engine/ . The author of this file sends 89 void ActionComplete(AbstractAction* actionptr, ErrorCode code); 93 // the passed error code. If there are no more actions to process, the 95 void StartNextActionOrFinish(ErrorCode code); 105 // being suspended. This error code is stored here to be reported back to the 126 // to the ActionProcessor is passed. |code| is set to the exit code of the 129 ErrorCode code) {} 139 ErrorCode code) {} 128 ProcessingDone(const ActionProcessor* processor, ErrorCode code) argument 137 ActionCompleted(ActionProcessor* processor, AbstractAction* action, ErrorCode code) argument [all...] |
H A D | http_common.cc | 27 const char *GetHttpResponseDescription(HttpResponseCode code) { argument 29 HttpResponseCode code; member in struct:chromeos_update_engine::__anon2549 60 if ((is_found = (http_response_table[i].code == code)))
|
H A D | action.h | 32 // is based on the KSAction* classes from the Google Update Engine code at 33 // http://code.google.com/p/update-engine/ . The author of this file sends 38 // http://code.google.com/p/update-engine/wiki/ActionProcessor 49 // of what fired and calls the appropriate code to handle it. As such, all the 50 // code in the Action* classes and the code that is calls is non-blocking. 88 // Begin performing the action. Since this code is asynchronous, when this 101 virtual void ActionCompleted(ErrorCode code) {} argument
|
H A D | action_processor_unittest.cc | 68 ErrorCode code) { 80 ErrorCode code) { 84 action_exit_code_ = code; 67 ProcessingDone(const ActionProcessor* processor, ErrorCode code) argument 78 ActionCompleted(ActionProcessor* processor, AbstractAction* action, ErrorCode code) argument
|
/system/core/libpixelflinger/tests/arch-arm64/disassembler/ |
H A D | arm64_diassembler_test.cpp | 8 * * Redistributions of source code must retain the above copyright 32 int arm64_disassemble(uint32_t code, char* instr); 36 uint32_t code; member in struct:test_table_entry_t 301 arm64_disassemble(test->code, instr); 307 "Actual : %s\n", test->code, test->instr, instr);
|
/system/core/libpixelflinger/tests/arch-mips64/disassembler/ |
H A D | mips64_disassembler_test.cpp | 8 * * Redistributions of source code must retain the above copyright 38 uint32_t code; member in struct:test_table_entry_t 120 uint32_t code; member in struct:test_branches_table_entry_t 137 uint32_t code; member in struct:test_jump_table_entry_t 156 mips_disassem(&test->code, instr, 0); 162 "Actual : %s\n", test->code, test->instr, instr); 170 mips_disassem(&test->code, instr, 0); 171 //printf("DBG code address: %lx\n", (uint64_t)(&test->code)); 183 "Actual : %s\n", test->code, tem [all...] |
/system/media/audio_utils/ |
H A D | ErrorLog.cpp | 31 void error_log_log(error_log_t *error_log, int32_t code, int64_t now_ns) argument 36 reinterpret_cast<ErrorLog<int32_t> *>(error_log)->log(code, now_ns);
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_rfc.cc | 46 static void bta_hf_client_port_cback(UNUSED_ATTR uint32_t code, argument 73 static void bta_hf_client_mgmt_cback(uint32_t code, uint16_t port_handle) { argument 77 APPL_TRACE_DEBUG("%s: code = %d, port_handle = %d serv = %d", __func__, code, 81 if (code != PORT_SUCCESS && client_cb != NULL && 91 if (code == PORT_SUCCESS) { 129 port_handle == client_cb->conn_handle) { /* code != PORT_SUC */
|
/system/update_engine/ |
H A D | metrics_utils.cc | 33 metrics::AttemptResult GetAttemptResult(ErrorCode code) { argument 35 static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags)); 127 LOG(ERROR) << "Unexpected error code " << base_code; 131 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code) { argument 133 static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags)); 144 // The code is using HTTP Status 0 for "Unable to get http 145 // response code." 148 LOG(WARNING) << "Unexpected HTTP status code " << http_status; 224 LOG(ERROR) << "Unexpected error code " << base_code;
|
H A D | omaha_response_handler_action_unittest.cc | 72 ErrorCode code) { 74 code_ = code; 70 ActionCompleted(ActionProcessor* processor, AbstractAction* action, ErrorCode code) argument
|
/system/vold/ |
H A D | vdc.cpp | 160 int code = atoi(strtok(res, " ")); local 161 if (code >= 200 && code < 600) { 164 if (code == 200) { 167 return code;
|
/system/bt/service/ |
H A D | logging_helpers.cc | 22 #define CASE_RETURN_TEXT(code) \ 23 case code: \ 24 return #code 62 return "unknown state code"; 71 return "unknown discovery state code"; 100 return "unknown status code"; 130 return "unknown state code"; 134 const char* BtAclText(const bt_acl_state_t code) { argument 135 switch (code) { 139 return "unknown ACL code"; [all...] |
/system/core/gatekeeperd/ |
H A D | IGateKeeperService.cpp | 30 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) { 31 switch(code) { 162 return BBinder::onTransact(code, data, reply, flags); 29 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
/system/core/libappfuse/tests/ |
H A D | FuseAppLoopTest.cc | 36 uint32_t code; member in struct:android::fuse::__anon1514::CallbackRequest 56 requests.push_back({.code = FUSE_FSYNC, .inode = inode}); 62 requests.push_back({.code = FUSE_WRITE, .inode = inode}); 68 requests.push_back({.code = FUSE_READ, .inode = inode}); 73 requests.push_back({.code = FUSE_OPEN, .inode = inode}); 78 requests.push_back({.code = FUSE_RELEASE, .inode = inode}); 101 size_t data_size, uint32_t code, size_t expected_out_size) { 102 request_.Reset(data_size, code, 1); 116 EXPECT_EQ(code, callback_.requests[0].code); 100 CheckCallback( size_t data_size, uint32_t code, size_t expected_out_size) argument [all...] |
/system/core/storaged/ |
H A D | storaged_service.cpp | 55 status_t BnStoraged::onTransact(uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) { argument 56 switch(code) { 71 return BBinder::onTransact(code, data, reply, flags);
|
/system/core/trusty/storage/proxy/ |
H A D | proxy.c | 51 static void show_usage_and_exit(int code) argument 54 exit(code);
|
/system/netd/server/ |
H A D | ndc.cpp | 166 int code; local 171 code = atoi(tmp); 175 if (code >= 200 && code < 600)
|
/system/tpm/trunks/ |
H A D | resource_manager.h | 49 // ResourceManager synchronous simplifies the code and improves readability. 73 TPM_CC code; // For a response message this is the TPM_RC response code. member in struct:trunks::ResourceManager::MessageInfo 163 // Returns a resource manager error code given a particular |tpm_error| and
|
/system/update_engine/payload_consumer/ |
H A D | filesystem_verifier_action.cc | 73 Cleanup(ErrorCode::kSuccess); // error code is ignored if canceled_ is true. 80 void FilesystemVerifierAction::Cleanup(ErrorCode code) { argument 87 if (code == ErrorCode::kSuccess && HasOutputPipe()) 89 processor_->ActionComplete(this, code); 250 // code to reflect the error in target partition.
|
/system/bt/bta/ag/ |
H A D | bta_ag_rfc.cc | 44 void bta_ag_port_cback_1(uint32_t code, uint16_t port_handle); 45 void bta_ag_port_cback_2(uint32_t code, uint16_t port_handle); 46 void bta_ag_port_cback_3(uint32_t code, uint16_t port_handle); 48 void bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle); 49 void bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle); 50 void bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle); 78 static void bta_ag_port_cback(UNUSED_ATTR uint32_t code, uint16_t port_handle, argument 109 static void bta_ag_mgmt_cback(uint32_t code, uint16_t port_handle, argument 116 APPL_TRACE_DEBUG("ag_mgmt_cback : code = %d, port_handle = %d, handle = %d", 117 code, port_handl 191 bta_ag_mgmt_cback_1(uint32_t code, uint16_t handle) argument 194 bta_ag_mgmt_cback_2(uint32_t code, uint16_t handle) argument 197 bta_ag_mgmt_cback_3(uint32_t code, uint16_t handle) argument 200 bta_ag_port_cback_1(uint32_t code, uint16_t handle) argument 203 bta_ag_port_cback_2(uint32_t code, uint16_t handle) argument 206 bta_ag_port_cback_3(uint32_t code, uint16_t handle) argument [all...] |
/system/core/libpixelflinger/codeflinger/ |
H A D | Arm64Disassembler.cpp | 8 * * Redistributions of source code must retain the above copyright 134 static void decode_token(uint32_t code, char *token, char *instr_part) argument 137 sprintf(instr_part, "0x%x", bits_unsigned(code, 21,10)); 139 sprintf(instr_part, "0x%x", bits_unsigned(code, 20,5)); 141 sprintf(instr_part, "lsl #%d", bits_unsigned(code, 23,22) * 12); 145 sprintf(instr_part, "%s", shift2_table[bits_unsigned(code, 23,22)]); 148 sprintf(instr_part, "%d", bits_unsigned(code, 22,21) * 16); 150 sprintf(instr_part, "%d", bits_unsigned(code, 15,10)); 152 sprintf(instr_part, "%d", bits_unsigned(code, 12,12) * 2); 154 sprintf(instr_part, "%d", bits_unsigned(code, 1 270 arm64_disassemble(uint32_t code, char* instr) argument [all...] |
/system/core/libsysutils/src/ |
H A D | SocketListener.cpp | 272 void SocketListener::sendBroadcast(int code, const char *msg, bool addErrno) { argument 293 if (c->sendMsg(code, msg, addErrno, false)) {
|
/system/media/audio_utils/include/audio_utils/ |
H A D | ErrorLog.h | 38 * together with the first time the error code occurs and the last time the error code occurs. 40 * The type T represents the error code type and is an int32_t for the C API. 61 * \brief Adds new error code to the error log. 63 * Consecutive errors with the same code will be aggregated 66 * \param code error code of type T. 69 void log(const T &code, int64_t nowNs) argument 76 if (code == mEntries[mIdx].mCode 87 mEntries[mIdx].setFirstError(code, nowN 171 setFirstError(T code, int64_t time) argument [all...] |