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.cpp32 PDUParser::PDUParser(std::string &pdu) { in PDUParser() function in cuttlefish::PDUParser
36 bool PDUParser::IsValidPDU() { in IsValidPDU()
47 bool PDUParser::DecodePDU(std::string& pdu) { in DecodePDU()
121 std::string PDUParser::CreatePDU() { in CreatePDU()
149 bool PDUParser::IsNeededStatuReport() { in IsNeededStatuReport()
162 std::string PDUParser::CreateStatuReport(int message_reference) { in CreateStatuReport()
183 std::string PDUParser::CreateRemotePDU(std::string& host_port) { in CreateRemotePDU()
209 std::string PDUParser::GetPhoneNumberFromAddress() { in GetPhoneNumberFromAddress()
225 int PDUParser::HexCharToInt(char c) { in HexCharToInt()
239 int PDUParser::Hex2ToByte(const std::string& hex) { in Hex2ToByte()
[all …]
Dsms_service.cpp253 void SmsService::SendSmsToRemote(std::string remote_port, PDUParser& sms_pdu) { in SendSmsToRemote()
273 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()
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);
Dsim_service.cpp731 std::string fdn = PDUParser::BCDToString(bcd_fdn); in IsFixedDialNumber()
765 return PDUParser::BCDToString(bcd_number); in GetPhoneNumber()
778 std::string bcd_number = PDUParser::StringToBCD(number); in SetPhoneNumber()
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Dpdu_parser_test.cpp22 cuttlefish::PDUParser smspdu(pdu); in TEST()
26 cuttlefish::PDUParser pduUnicode(pdu_unicode); in TEST()
32 cuttlefish::PDUParser smspdu(pdu); in TEST()
38 cuttlefish::PDUParser smspdu(pdu); in TEST()
47 cuttlefish::PDUParser smspdu(pdu); in TEST()
56 std::string process_value = cuttlefish::PDUParser::BCDToString(value); in TEST()