Lines Matching refs:intent

71      * Key to retrieve the call ID from an incoming call intent.
78 * intent.
91 * Action string for the incoming call intent for the Phone app.
98 * Action string for the add-phone intent.
105 * Action string for the remove-phone intent.
192 * receives a new call, it will send out an intent with the provided action
193 * string. The intent contains a call ID extra and an offer session
201 * intent to the caller with {@link #INCOMING_CALL_RESULT_CODE} as the
202 * result code and the intent to fill in the call ID and session
373 * @param incomingCallIntent the incoming call broadcast intent
382 throw new SipException("Cannot retrieve session with null intent");
387 throw new SipException("Call ID missing in incoming call intent");
393 + "call intent");
412 * Checks if the intent is an incoming call broadcast intent.
414 * @param intent the intent in question
415 * @return true if the intent is an incoming call broadcast intent
417 public static boolean isIncomingCallIntent(Intent intent) {
418 if (intent == null) return false;
419 String callId = getCallId(intent);
420 String offerSd = getOfferSessionDescription(intent);
425 * Gets the call ID from the specified incoming call broadcast intent.
427 * @param incomingCallIntent the incoming call broadcast intent
428 * @return the call ID or null if the intent does not contain it
436 * broadcast intent.
438 * @param incomingCallIntent the incoming call broadcast intent
439 * @return the offer session description or null if the intent does not
447 * Creates an incoming call broadcast intent.
451 * @return the incoming call intent
456 Intent intent = new Intent();
457 intent.putExtra(EXTRA_CALL_ID, callId);
458 intent.putExtra(EXTRA_OFFER_SD, sessionDescription);
459 return intent;
519 * for the same intent. For subsequent calls on the same intent, the method
522 * @param incomingCallIntent the incoming call broadcast intent