Lines Matching defs:phone
232 newFromDialString(String dialString, ImsPhone phone) {
240 ret = new ImsPhoneMmiCode(phone);
257 ret = new ImsPhoneMmiCode(phone);
265 ret = new ImsPhoneMmiCode(phone);
267 } else if (isTwoDigitShortCode(phone.getContext(), dialString)) {
270 } else if (isShortCode(dialString, phone)) {
272 ret = new ImsPhoneMmiCode(phone);
281 boolean isUssdRequest, ImsPhone phone) {
284 ret = new ImsPhoneMmiCode(phone);
301 ImsPhone phone) {
302 ImsPhoneMmiCode ret = new ImsPhoneMmiCode(phone);
448 ImsPhoneMmiCode(ImsPhone phone) {
451 super(phone.getHandler().getLooper());
452 mPhone = phone;
453 mContext = phone.getContext();
546 static private boolean isShortCode(String dialString, ImsPhone phone) {
560 if (PhoneNumberUtils.isLocalEmergencyNumber(phone.getContext(), dialString)) {
563 return isShortCodeUSSD(dialString, phone);
580 * The phone shall initiate a USSD/SS commands.
582 static private boolean isShortCodeUSSD(String dialString, ImsPhone phone) {
584 if (phone.isInCall()) {
1211 // a phone number is considered "registered"