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.cpp280 std::string phone_number = sms_pdu.GetPhoneNumberFromAddress(); in HandleSendSMSPDU() local
283 if (phone_number.length() == 11) { in HandleSendSMSPDU()
284 port = std::stoi(phone_number.substr(7)); in HandleSendSMSPDU()
285 } else if (phone_number.length() == 4) { in HandleSendSMSPDU()
286 port = std::stoi(phone_number); in HandleSendSMSPDU()
289 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.cpp49 std::string phone_number = smspdu.GetPhoneNumberFromAddress(); in TEST() local
51 ASSERT_STREQ(phone_number.c_str(), expect); in TEST()