Home
last modified time | relevance | path

Searched refs:PDUParser (Results 1 – 6 of 6) sorted by relevance

/device/google/cuttlefish/host/commands/modem_simulator/
Dpdu_parser.cpp33 PDUParser::PDUParser(std::string &pdu) { in PDUParser() function in cuttlefish::PDUParser
37 bool PDUParser::IsValidPDU() { in IsValidPDU()
48 bool PDUParser::DecodePDU(std::string& pdu) { in DecodePDU()
120 std::string PDUParser::CreatePDU() { in CreatePDU()
146 bool PDUParser::IsNeededStatuReport() { in IsNeededStatuReport()
157 std::string PDUParser::CreateStatuReport(int message_reference) { in CreateStatuReport()
176 std::string PDUParser::CreateRemotePDU(std::string& host_port) { in CreateRemotePDU()
202 std::string PDUParser::GetPhoneNumberFromAddress() { in GetPhoneNumberFromAddress()
216 int PDUParser::HexCharToInt(char c) { in HexCharToInt()
224 int PDUParser::Hex2ToByte(const std::string& hex) { in Hex2ToByte()
[all …]
Dpdu_parser.h22 class PDUParser {
24 explicit PDUParser(std::string &pdu);
25 ~PDUParser() = default;
Dsms_service.h53 void HandleReceiveSMS(PDUParser sms_pdu);
54 void HandleSMSStatuReport(PDUParser sms_pdu, int message_reference);
55 void SendSmsToRemote(std::string remote_port, PDUParser& sms_pdu);
Dsms_service.cpp251 void SmsService::SendSmsToRemote(std::string remote_port, PDUParser& sms_pdu) { in SendSmsToRemote()
271 PDUParser sms_pdu(command); in HandleSendSMSPDU()
331 void SmsService::HandleReceiveSMS(PDUParser sms_pdu) { in HandleReceiveSMS()
358 void SmsService::HandleSMSStatuReport(PDUParser sms_pdu, int message_reference) { in HandleSMSStatuReport()
377 PDUParser sms_pdu(pdu); in HandleReceiveRemoteSMS()
Dsim_service.cpp691 std::string fdn = PDUParser::BCDToString(bcd_fdn); in IsFixedDialNumber()
742 return PDUParser::BCDToString(bcd_number); in GetPhoneNumber()
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Dpdu_parser_test.cpp22 cuttlefish::PDUParser smspdu(pdu); in TEST()
28 cuttlefish::PDUParser smspdu(pdu); in TEST()
34 cuttlefish::PDUParser smspdu(pdu); in TEST()
43 cuttlefish::PDUParser smspdu(pdu); in TEST()
52 std::string process_value = cuttlefish::PDUParser::BCDToString(value); in TEST()