Searched refs:phone_number (Results 1 – 2 of 2) sorted by relevance
278 std::string phone_number = sms_pdu.GetPhoneNumberFromAddress(); in HandleSendSMSPDU() local281 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()
45 std::string phone_number = smspdu.GetPhoneNumberFromAddress(); in TEST() local47 ASSERT_STREQ(phone_number.c_str(), expect); in TEST()