Home | History | Annotate | Download | only in phone

Lines Matching refs:number

50  * contains the phone number being dialed. Applications can use this intent to (1) see which numbers
51 * are being dialed, (2) redirect a call (change the number being dialed), or (3) prevent a call
60 * Calls where no number is present (like for a CDMA "empty flash" or a nonexistent voicemail
61 * number) are exempt from being broadcast.
140 * a modified phone number and optional provider info (uri + package name + remote views.)
174 String number;
185 // is used as the actual number to call. (If null, no call will be
188 number = getResultData();
189 if (VDBG) Log.v(TAG, "- got number from resultData: '" + number + "'");
234 if (number == null) {
235 if (DBG) Log.v(TAG, "CALL cancelled (null number), returning...");
239 && (app.phone.isOtaSpNumber(number))) {
242 } else if (PhoneNumberUtils.isPotentialLocalEmergencyNumber(context, number)) {
246 // an outgoing call into an emergency number.
247 Log.w(TAG, "Cannot modify outgoing call to emergency number " + number + ".");
263 // too, since the number might have been modified/rewritten during
265 number = PhoneNumberUtils.convertKeypadLettersToDigits(number);
266 number = PhoneNumberUtils.stripSeparators(number);
270 if (VDBG) Log.v(TAG, "- actual number to dial: '" + number + "'");
272 startSipCallOptionHandler(context, intent, uri, number);
283 * (*) We now know exactly what phone number we need to dial, so the next
304 * @param number the actual number (or SIP address) to dial. This is
305 * guaranteed to be either a PSTN phone number with separators stripped
310 Uri uri, String number) {
416 String number = PhoneNumberUtils.getNumberFromIntent(intent, this);
417 // Check the number, don't convert for sip uri
419 if (number != null) {
420 if (!PhoneNumberUtils.isUriNumber(number)) {
421 number = PhoneNumberUtils.convertKeypadLettersToDigits(number);
422 number = PhoneNumberUtils.stripSeparators(number);
425 Log.w(TAG, "The number obtained from Intent is null.");
449 // of call (most likely an emergency number) that 3rd parties aren't allowed
464 // Check whether or not this is an emergency number, in order to
472 // "invalid" number like "9111234" that isn't technically an
473 // emergency number but might still result in an emergency call
476 (number != null) && PhoneNumberUtils.isLocalEmergencyNumber(this, number);
478 (number != null) && PhoneNumberUtils.isPotentialLocalEmergencyNumber(this, number);
480 Log.v(TAG, " - Checking restrictions for number '" + number + "':");
489 // from a trusted source (like the built-in dialer.) So even a number
490 // that's *potentially* an emergency number can safely be promoted to
494 Log.i(TAG, "ACTION_CALL_PRIVILEGED is used while the number is a potential"
495 + " emergency number. Use ACTION_CALL_EMERGENCY as an action instead.");
506 Log.w(TAG, "Cannot call potential emergency number '" + number
537 // emergency number.
539 Log.w(TAG, "Cannot call non-potential-emergency number " + number
563 // If number is null, we're probably trying to call a non-existent voicemail number,
565 // number, so there's no point in allowing apps to modify the number.
566 if (TextUtils.isEmpty(number)) {
573 Log.i(TAG, "onCreate: null or empty number, setting callNow=true...");
579 // This is a special kind of call (most likely an emergency number)
609 if (PhoneAccount.SCHEME_SIP.equals(scheme) || PhoneNumberUtils.isUriNumber(number)) {
610 Log.i(TAG, "The requested number was detected as SIP call.");
611 startSipCallOptionHandler(this, intent, uri, number);
621 if (number != null) {
622 broadcastIntent.putExtra(Intent.EXTRA_PHONE_NUMBER, number);
642 number, // initialData: initial value for the result data