Home
last modified time | relevance | path

Searched refs:phone_number (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/commands/modem_simulator/
Dsms_service.cpp278 std::string phone_number = sms_pdu.GetPhoneNumberFromAddress(); in HandleSendSMSPDU() local
281 if (phone_number.length() == 11) { in HandleSendSMSPDU()
282 port = std::stoi(phone_number.substr(7)); in HandleSendSMSPDU()
283 } else if (phone_number.length() == 4) { in HandleSendSMSPDU()
284 port = std::stoi(phone_number); in HandleSendSMSPDU()
287 if (phone_number == "") { /* Phone number unknown */ in HandleSendSMSPDU()
305 } else if (sim_service_ && phone_number == sim_service_->GetPhoneNumber()) { in HandleSendSMSPDU()
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Dpdu_parser_test.cpp45 std::string phone_number = smspdu.GetPhoneNumberFromAddress(); in TEST() local
47 ASSERT_STREQ(phone_number.c_str(), expect); in TEST()