Home
last modified time | relevance | path

Searched refs:pdu (Results 1 – 12 of 12) sorted by relevance

/device/google/cuttlefish/host/commands/modem_simulator/
Dpdu_parser.cpp32 PDUParser::PDUParser(std::string &pdu) { in PDUParser() argument
33 is_valid_pdu_ = DecodePDU(pdu); in PDUParser()
47 bool PDUParser::DecodePDU(std::string& pdu) { in DecodePDU() argument
49 auto pdu_total_length = pdu.size(); in DecodePDU()
54 std::string_view pdu_view = pdu; in DecodePDU()
58 std::string temp = pdu.substr(0, 2); in DecodePDU()
127 std::string pdu = kWithoutServiceCenterAddress; in CreatePDU() local
131 pdu += kUDHIAndSRIAndMMSIndicator; in CreatePDU()
133 pdu += kSRIAndMMSIndicator; in CreatePDU()
136 pdu += originator_address_ + protocol_id_ + data_code_scheme_; in CreatePDU()
[all …]
Dsms_service.cpp260 auto pdu = sms_pdu.CreateRemotePDU(local_host_id); in SendSmsToRemote() local
262 std::string command = "AT+REMOTESMS=" + pdu + "\r"; in SendSmsToRemote()
332 std::string pdu = sms_pdu.CreatePDU(); in HandleReceiveSMS() local
333 if (pdu != "") { in HandleReceiveSMS()
335 SendUnsolicitedCommand(pdu); in HandleReceiveSMS()
362 auto pdu = sms_pdu.CreateStatuReport(message_reference); in HandleSMSStatuReport() local
363 auto pdu_length = (pdu.size() - 2) / 2; // Not Including SMSC Address in HandleSMSStatuReport()
364 if (pdu != "" && pdu_length > 0) { in HandleSMSStatuReport()
367 SendUnsolicitedCommand(pdu); in HandleSMSStatuReport()
376 std::string pdu(*cmd); in HandleReceiveRemoteSMS() local
[all …]
Dpdu_parser.h24 explicit PDUParser(std::string &pdu);
38 bool DecodePDU(std::string& pdu);
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Dpdu_parser_test.cpp21 std::string pdu = "0001000D91688118109844F0000017AFD7903AB55A9BBA69D639D4ADCBF99E3DCCAE9701"; in TEST() local
22 cuttlefish::PDUParser smspdu(pdu); in TEST()
31 std::string pdu = "000100fD91688118109844F0000017AFD7903AB55A9BBA69D639D4ADCBF99E3DCCAE9701"; in TEST() local
32 cuttlefish::PDUParser smspdu(pdu); in TEST()
37 std::string pdu = "0001000D91688118109844F0000017AFD7903AB55A9BBA69D639D4ADCBF99E3DCCAE9701"; in TEST() local
38 cuttlefish::PDUParser smspdu(pdu); in TEST()
46 std::string pdu = "0001000D91688118109844F0000017AFD7903AB55A9BBA69D639D4ADCBF99E3DCCAE9701"; in TEST() local
47 cuttlefish::PDUParser smspdu(pdu); in TEST()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Datchannel.c836 const char *pdu, in at_send_command_sms() argument
843 pdu, 0, pp_outResponse); in at_send_command_sms()
Datchannel.h106 int at_send_command_sms (const char *command, const char *pdu,
Dreference-ril.c1299 length = strlen(p_args->pdu)/2;
1302 err = at_send_command_sms(cmd, p_args->pdu, "+CMGW:", &p_response);
2181 const char *pdu; local
2199 pdu = ((const char **)data)[1];
2201 tpLayerLength = strlen(pdu)/2;
2209 asprintf(&cmd2, "%s%s", smsc, pdu);
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp1361 2, message.smscPdu.c_str(), message.pdu.c_str()); in sendSms()
1370 2, message.smscPdu.c_str(), message.pdu.c_str()); in sendSms_1_6()
1379 2, message.smscPdu.c_str(), message.pdu.c_str()); in sendSMSExpectMore()
1388 2, message.smscPdu.c_str(), message.pdu.c_str()); in sendSmsExpectMore_1_6()
1962 if (!copyHidlStringToRil(&args.pdu, smsWriteArgs.pdu, pRI)) { in writeSmsToSim()
1967 memsetAndFreeStrings(1, args.pdu); in writeSmsToSim()
1973 memsetAndFreeStrings(2, args.smsc, args.pdu); in writeSmsToSim()
2613 if (!copyHidlStringToRil(&pStrings[1], message.gsmMessage[0].pdu, pRI)) { in dispatchImsGsmSms()
10772 hidl_vec<uint8_t> pdu; in newSmsInd() local
10773 pdu.setToExternal(bytes, responseLen/2); in newSmsInd()
[all …]
Dril.h671 char * pdu; /* PDU of message to write, as an ASCII hex string less the SMSC address, member
/device/generic/goldfish/radio/include/telephony/
Dril.h595 char * pdu; /* PDU of message to write, as an ASCII hex string less the SMSC address, member
/device/google/atv/products/lowram_boot_profiles/
Dpreloaded-classes14404 com.google.android.mms.pdu.EncodedStringValue
14405 com.google.android.mms.pdu.GenericPdu
14406 com.google.android.mms.pdu.NotificationInd
14407 com.google.android.mms.pdu.PduParser
Dboot-image-profile.txt13755 Lcom/google/android/mms/pdu/EncodedStringValue;
13756 Lcom/google/android/mms/pdu/GenericPdu;
13757 Lcom/google/android/mms/pdu/NotificationInd;
13758 Lcom/google/android/mms/pdu/PduParser;