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