/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) { 155 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::__anon2683 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
|
/system/core/libunwindstack/include/unwindstack/ |
H A D | DwarfError.h | 38 DwarfErrorCode code; member in struct:unwindstack::DwarfErrorData
|
H A D | Error.h | 35 ErrorCode code; member in struct:unwindstack::ErrorData 36 uint64_t address; // Only valid when code is ERROR_MEMORY_INVALID.
|
/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/core/lmkd/ |
H A D | statslog.c | 36 stats_write_lmk_state_changed(android_log_context ctx, int32_t code, int32_t state) { argument 49 if ((ret = android_log_write_int32(ctx, code)) < 0) { 65 stats_write_lmk_kill_occurred(android_log_context ctx, int32_t code, int32_t uid, argument 80 if ((ret = android_log_write_int32(ctx, code)) < 0) {
|
/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/netd/server/dns/ |
H A D | DnsTlsServer.h | 41 Response code; member in struct:android::net::DnsTlsServer::Result
|
H A D | DnsTlsDispatcher.cpp | 87 DnsTlsTransport::Response code = DnsTlsTransport::Response::internal_error; local 89 code = this->query(server, mark, query, ans, resplen); 90 switch (code) { 95 return code; 107 return code; 131 DnsTlsTransport::Response code = result.code; local 132 if (code == DnsTlsTransport::Response::success) { 135 code = DnsTlsTransport::Response::limit_error; 142 ALOGV("Query failed: %u", (unsigned int) code); [all...] |
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_rfc.cc | 47 static void bta_hf_client_port_cback(UNUSED_ATTR uint32_t code, argument 74 static void bta_hf_client_mgmt_cback(uint32_t code, uint16_t port_handle) { argument 78 APPL_TRACE_DEBUG("%s: code = %d, port_handle = %d serv = %d", __func__, code, 82 if (code != PORT_SUCCESS && client_cb != NULL && 92 if (code == PORT_SUCCESS) { 130 port_handle == client_cb->conn_handle) { /* code != PORT_SUC */
|
/system/connectivity/wificond/tests/ |
H A D | offload_test_utils.cpp | 91 OffloadStatus OffloadTestUtils::createOffloadStatus(OffloadStatusCode code) { argument 92 return createOffloadStatus(code, ""); 95 OffloadStatus OffloadTestUtils::createOffloadStatus(OffloadStatusCode code, argument 97 return {code, desc};
|
/system/netd/libnetdutils/include/netdutils/ |
H A D | Status.h | 28 // or moderate performance code. This can definitely be improved but 35 explicit Status(int code) : mCode(code) {} argument 37 Status(int code, const std::string& msg) : mCode(code), mMsg(msg) { assert(!ok()); } argument 39 int code() const { return mCode; } function in class:android::netdutils::Status 41 bool ok() const { return code() == 0; } 45 bool operator==(const Status& other) const { return code() == other.code(); }
|
/system/update_engine/payload_consumer/ |
H A D | filesystem_verifier_action.cc | 70 Cleanup(ErrorCode::kSuccess); // error code is ignored if canceled_ is true. 77 void FilesystemVerifierAction::Cleanup(ErrorCode code) { argument 84 if (code == ErrorCode::kSuccess && HasOutputPipe()) 86 processor_->ActionComplete(this, code); 250 // code to reflect the error in target partition.
|
/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) { 168 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::__anon1653::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/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/bt/bta/ag/ |
H A D | bta_ag_rfc.cc | 43 void bta_ag_port_cback_1(uint32_t code, uint16_t port_handle); 44 void bta_ag_port_cback_2(uint32_t code, uint16_t port_handle); 45 void bta_ag_port_cback_3(uint32_t code, uint16_t port_handle); 46 void bta_ag_port_cback_4(uint32_t code, uint16_t port_handle); 47 void bta_ag_port_cback_5(uint32_t code, uint16_t port_handle); 48 void bta_ag_port_cback_6(uint32_t code, uint16_t port_handle); 49 void bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle); 50 void bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle); 51 void bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle); 52 void bta_ag_mgmt_cback_4(uint32_t code, uint16_ 76 bta_ag_port_cback(UNUSED_ATTR uint32_t code, uint16_t port_handle, uint16_t handle) argument 108 bta_ag_mgmt_cback(uint32_t code, uint16_t port_handle, uint16_t handle) argument 173 bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle) argument 176 bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle) argument 179 bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle) argument 182 bta_ag_mgmt_cback_4(uint32_t code, uint16_t port_handle) argument 185 bta_ag_mgmt_cback_5(uint32_t code, uint16_t port_handle) argument 188 bta_ag_mgmt_cback_6(uint32_t code, uint16_t port_handle) argument 191 bta_ag_port_cback_1(uint32_t code, uint16_t port_handle) argument 194 bta_ag_port_cback_2(uint32_t code, uint16_t port_handle) argument 197 bta_ag_port_cback_3(uint32_t code, uint16_t port_handle) argument 200 bta_ag_port_cback_4(uint32_t code, uint16_t port_handle) argument 203 bta_ag_port_cback_5(uint32_t code, uint16_t port_handle) argument 206 bta_ag_port_cback_6(uint32_t code, uint16_t port_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...] |