Home
last modified time | relevance | path

Searched refs:ocsdError (Results 1 – 25 of 29) sorted by relevance

12

/external/OpenCSD/decoder/include/common/
Docsd_error.h58 class ocsdError {
60ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code); /**< Default error constr…
61ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx); …
62ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx, c…
63ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const std::string &msg); /…
64ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx, c…
65ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx, c…
67 ocsdError(const ocsdError *pError); /**< Copy constructor */
68 ocsdError(const ocsdError &Error); /**< Copy constructor */
69 ~ocsdError(); /**< Destructor */
[all …]
Docsd_error_logger.h59 virtual void LogError(const ocsd_hndl_err_log_t handle, const ocsdError *Error);
64 virtual ocsdError *GetLastError() { return m_lastErr; }; in GetLastError()
65 virtual ocsdError *GetLastIDError(const uint8_t chan_id) in GetLastIDError()
73 void CreateErrorObj(ocsdError **ppErr, const ocsdError *p_from);
75 ocsdError *m_lastErr;
76 ocsdError *m_lastErrID[0x80];
Dtrc_pkt_decode_base.h236 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_NOT_INIT,init_err_msg)); in PacketDataIn()
245 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PARAM_VAL)); in PacketDataIn()
269 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PARAM_VAL)); in PacketDataIn()
Dtrc_component.h124 void LogError(const ocsdError &Error);
/external/OpenCSD/decoder/source/
Docsd_error.cpp100 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code) : in ocsdError() function in ocsdError
108 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_inde… in ocsdError() function in ocsdError
116 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_inde… in ocsdError() function in ocsdError
124 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const std::string &… in ocsdError() function in ocsdError
133 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_inde… in ocsdError() function in ocsdError
142 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_inde… in ocsdError() function in ocsdError
152 ocsdError::ocsdError(const ocsdError *pError) : in ocsdError() function in ocsdError
161 ocsdError::ocsdError(const ocsdError &Error) : in ocsdError() function in ocsdError
170 ocsdError::ocsdError(): in ocsdError() function in ocsdError
178 ocsdError::~ocsdError() in ~ocsdError()
[all …]
Docsd_error_logger.cpp100 void ocsdDefaultErrorLogger::LogError(const ocsd_hndl_err_log_t handle, const ocsdError *Error) in LogError()
113 errStr += " : " + ocsdError::getErrorString(Error); in LogError()
154 void ocsdDefaultErrorLogger::CreateErrorObj(ocsdError **ppErr, const ocsdError *p_from) in CreateErrorObj()
156 *ppErr = new (std::nothrow) ocsdError(p_from); in CreateErrorObj()
Dtrc_frame_deformatter.cpp245 throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_DFMTR_NOTCONTTRACE,index); in processTraceData()
250 ocsdError err(OCSD_ERR_SEV_ERROR, OCSD_ERR_INVALID_PARAM_VAL); in processTraceData()
254 throw ocsdError(&err); in processTraceData()
276 catch(const ocsdError &err) { in processTraceData()
281 LogError(ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_FAIL)); in processTraceData()
321 ocsdError errObj(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PARAM_VAL); in DecodeConfigure()
539 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_DFMTR_BAD_FHSYNC, m_trc_curr_idx, "Bad FSYNC in frame… in extractFrame()
564 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_DFMTR_BAD_FHSYNC, m_trc_curr_idx, "Bad HSYNC in frame… in extractFrame()
Dtrc_component.cpp101 void TraceComponent::LogError(const ocsdError &Error) in LogError()
/external/OpenCSD/decoder/source/etmv3/
Dtrc_pkt_decode_etmv3.cpp116 … LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_index_curr_pkt,"Unknown Decoder State")); in processPacket()
140 catch(ocsdError &err) in onEOT()
181 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv3 trace decoder : data trace dec… in onProtocolConfig()
225 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_MEM,m_index_curr_pkt,m_CSID,"Memory Allocation Error … in GetNextOpElem()
263 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_index_curr_pkt,m_CSID,"Trace Packet S… in decodePacket()
340 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,m_index_curr_pkt,m_CSID,"Invalid packet … in decodePacket()
346 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_index_curr_pkt,m_CSID,"Bad Packet seq… in decodePacket()
352 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_index_curr_pkt,m_CSID,"Reserved or un… in decodePacket()
358 catch(ocsdError &err) in decodePacket()
367 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_index_curr_pkt,m_CSID,"Bad Packet sequence."… in decodePacket()
[all …]
Dtrc_pkt_proc_etmv3_impl.h153 … throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_packet_index,m_chanIDCopy,pszErrMsg); in throwMalformedPacketErr()
158 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PCKT_HDR,m_packet_index,m_chanIDCopy,pszErrMsg… in throwPacketHeaderErr()
163 … throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,m_packet_index,m_chanIDCopy,pszErrMsg); in throwUnsupportedErr()
Dtrc_pkt_proc_etmv3_impl.cpp59 m_interface->LogError(ocsdError(OCSD_ERR_SEV_ERROR,err)); in Configure()
100 catch(ocsdError &err) in processData()
119ocsdError fatal = ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_packet_index,m_chanIDCopy); in processData()
520 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_PKT_INTERP_FAIL,m_packet_index,m_chanIDCopy,"Interpret… in processPayloadByte()
Dtrc_pkt_proc_etmv3.cpp76 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_MEM)); in onProtocolConfig()
/external/OpenCSD/decoder/include/interfaces/
Dtrc_error_log_i.h42 class ocsdError; variable
90 virtual void LogError(const ocsd_hndl_err_log_t handle, const ocsdError *Error) = 0;
108 virtual ocsdError *GetLastError() = 0;
118 virtual ocsdError *GetLastIDError(const uint8_t chan_id) = 0;
/external/OpenCSD/decoder/source/etmv4/
Dtrc_pkt_decode_etmv4i.cpp145 …LogError(ocsdError(OCSD_ERR_SEV_ERROR, err, "Error flushing element stack at end of trace data.")); in onEOT()
209 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv4 instruction decode : Data trac… in onProtocolConfig()
214 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv4 instruction decode : LSP0 elem… in onProtocolConfig()
219 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv4 instruction decode : Trace on … in onProtocolConfig()
224 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv4 instruction decode : Trace usi… in onProtocolConfig()
512 LogError(ocsdError(sev, err, "Data trace releated, unsupported packet type.")); in decodePacket()
519 LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,"Unknown packet type.")); in decodePacket()
534 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_MEM,"Memory allocation error.")); in decodePacket()
741 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_COMMIT_PKT_OVERRUN,err_idx,m_CSID,"Not enough eleme… in commitElements()
761 LogError(ocsdError(OCSD_ERR_SEV_ERROR, err, "Trace Return Stack Overflow.")); in returnStackPop()
[all …]
Dtrc_pkt_proc_etmv4i.cpp147 catch(ocsdError &err) in processData()
169 …const ocsdError &fatal = ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_packet_index,m_config.getTra… in processData()
319 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_INVALID_PCKT_HDR,m_packet_index,m_config.getTraceID()… in iPktReserved()
325 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_INVALID_PCKT_HDR, m_packet_index, m_config.getTraceID… in iPktInvalidCfg()
1663 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_BAD_PACKET_SEQ,m_packet_index,m_config.getTraceID(),p… in throwBadSequenceError()
/external/OpenCSD/decoder/tests/snapshot_parser_lib/source/
Dsnapshot_parser.cpp75 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Couldn't parse '" + kv + "' as … in SplitKeyValue()
112 … throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Duplicate key: " + keyStr); in AddUniqueKey()
120 throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, in PreventDupes()
149 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Definition of '" + k + "' has … in Define()
172 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, string("Only one ") + GlobalSec… in GlobalSection()
186 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Unknown global option '" + k + … in Define()
236 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Unknown dump section key '" + … in Define()
244 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Dump section is missing mandat… in End()
248 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Dump section is missing mandato… in End()
428 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Illegal snapshot file version:… in Define()
[all …]
Dss_to_dcdtree.cpp207 ocsdError err(OCSD_ERR_SEV_ERROR,OCSD_ERR_TEST_SS_TO_DECODER,msg); in LogError()
211 void CreateDcdTreeFromSnapShot::LogError(const ocsdError &err) in LogError()
287 LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,msg)); in createETMv4Decoder()
327 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,"Snapshot processor : failed to create ETMV3 decoder on … in createETMv3Decoder()
365 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,"Snapshot processor : failed to create PTM decoder on de… in createPTMDecoder()
412 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,"Snapshot processor : failed to create STM decoder on de… in createSTMDecoder()
531 LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,oss.str())); in processDumpfiles()
Ddevice_parser.cpp94 catch (ocsdError & /*e*/) in getUniqueDeviceID()
123 throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, ost.str()); in getDevice()
/external/OpenCSD/decoder/include/opencsd/ptm/
Dtrc_pkt_proc_ptm.h197 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_curr_pkt_index,m_chanIDCopy,pszErrMsg… in throwMalformedPacketErr()
202 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PCKT_HDR,m_curr_pkt_index,m_chanIDCopy,pszErrM… in throwPacketHeaderErr()
/external/OpenCSD/decoder/source/stm/
Dtrc_pkt_proc_stm.cpp118 catch(ocsdError &err) in processData()
140ocsdError fatal = ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_packet_index,m_config->getTraceID()… in processData()
200 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_packet_index,this->m_config->getTrace… in throwBadSequenceError()
206 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PCKT_HDR,m_packet_index,this->m_config->getTra… in throwReservedHdrError()
/external/OpenCSD/decoder/source/ptm/
Dtrc_pkt_proc_ptm.cpp128 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_PKT_INTERP_FAIL,m_curr_pkt_index,this->m_chanIDCopy,"D… in processData()
143 catch(ocsdError &err) in processData()
162 …const ocsdError &fatal = ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_curr_pkt_index,m_chanIDCopy,… in processData()
Dtrc_pkt_decode_ptm.cpp526 LogError(ocsdError(OCSD_ERR_SEV_WARN,err,m_index_curr_pkt,m_CSID,oss.str())); in processAtomRange()
534 LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,m_index_curr_pkt,m_CSID,oss.str())); in processAtomRange()
575 …LogError(ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_RET_STACK_OVERFLOW, m_index_curr_pkt, m_CSID, oss.… in processAtomRange()
/external/OpenCSD/decoder/tests/snapshot_parser_lib/include/
Dsnapshot_parser_util.h67 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Could not parse '" + s + "' as … in ThrowUnsignedConversionError()
Dss_to_dcdtree.h89 void LogError(const ocsdError &err);
/external/OpenCSD/decoder/source/c_api/
Docsd_c_api_custom_obj.cpp311 …((CustomDecoderWrapper *)lib_context)->LogError(ocsdError(filter_level, code, idx, chan_id, std::s… in LogErrorCB()
313 … ((CustomDecoderWrapper *)lib_context)->LogError(ocsdError(filter_level, code, idx, chan_id)); in LogErrorCB()

12