Lines Matching refs:intent

50  * broadcasts the ACTION_NEW_OUTGOING_CALL intent which allows other
54 * ACTION_NEW_OUTGOING_CALL intent, it finally reaches the
56 * intent on to the {@link SipCallOptionHandler}, which will
82 * Identifier for intent extra for sending an empty Flash message for
86 * TODO: Receiving an intent extra to tell the phone to send this flash is a
140 public void onReceive(Context context, Intent intent) {
142 final boolean isAttemptingCall = doReceive(context, intent);
160 * Handes receipt of ordered new_outgoing_call intent. Verifies that the return from the
161 * ordered intent is valid.
164 public boolean doReceive(Context context, Intent intent) {
165 if (DBG) Log.v(TAG, "doReceive: " + intent);
171 alreadyCalled = intent.getBooleanExtra(
238 // calls via the ACTION_CALL intent, we also don't allow 3rd
245 originalUri = intent.getStringExtra(
266 startSipCallOptionHandler(context, intent, uri, number);
285 * @param intent the intent from the previous step of the outgoing-call
286 * sequence. Normally this will be the NEW_OUTGOING_CALL broadcast intent
288 * original ACTION_CALL intent that started the whole sequence (in cases
292 * @param uri the data URI from the original CALL intent, presumably either
303 private void startSipCallOptionHandler(Context context, Intent intent,
307 Log.i(TAG, "- intent: " + intent);
312 // Create a copy of the original CALL intent that started the whole
313 // outgoing-call sequence. This intent will ultimately be passed to
318 CallGatewayManager.checkAndCopyPhoneProviderExtras(intent, newIntent);
321 // original CALL intent stashed away in the EXTRA_NEW_CALL_INTENT
337 * This method is the single point of entry for the CALL intent, which is used (by built-in
348 Intent intent = getIntent();
352 Log.v(TAG, " - getIntent() = " + intent);
383 processIntent(intent);
400 * The exact behavior depends on the intent's data:
418 * - A CALL intent with the EXTRA_SEND_EMPTY_FLASH extra (and
424 private void processIntent(Intent intent) {
426 Log.v(TAG, "processIntent() = " + intent + ", thread: " + Thread.currentThread());
433 handleNonVoiceCapable(intent);
437 String action = intent.getAction();
438 String number = PhoneNumberUtils.getNumberFromIntent(intent, this);
476 if (getClass().getName().equals(intent.getComponent().getClassName())) {
480 if (!Intent.ACTION_CALL.equals(intent.getAction())) {
482 intent.setAction(Intent.ACTION_CALL);
510 // We're handling a CALL_PRIVILEGED intent, so we know this request came
523 intent.setAction(action);
529 + "' with CALL Intent " + intent + ".");
535 // DialtactsActivity. Build the intent 'manually' to
544 invokeFrameworkDialer.setData(intent.getData());
554 // intent that we just turned into a CALL_EMERGENCY intent (see
555 // above), or else it really is an CALL_EMERGENCY intent that
562 + " with EMERGENCY_CALL Intent " + intent + "."
569 Log.e(TAG, "Unhandled Intent " + intent + ". Finish the Activity immediately.");
589 if (intent.getBooleanExtra(EXTRA_SEND_EMPTY_FLASH, false)) {
605 Log.i(TAG, "onCreate(): callNow case! Calling placeCall(): " + intent);
609 PhoneGlobals.getInstance().callController.placeCall(intent);
624 // (1) update the NEW_OUTGOING_CALL intent documentation to explain this
629 Uri uri = intent.getData();
633 startSipCallOptionHandler(this, intent, uri, number);
646 CallGatewayManager.checkAndCopyPhoneProviderExtras(intent, broadcastIntent);
652 if (DBG) Log.v(TAG, " - Broadcasting intent: " + broadcastIntent + ".");
685 * Handle the specified CALL or CALL_* intent on a non-voice-capable
688 * This method may launch a different intent (if there's some useful
692 private void handleNonVoiceCapable(Intent intent) {
693 if (DBG) Log.v(TAG, "handleNonVoiceCapable: handling " + intent