Home
last modified time | relevance | path

Searched refs:Intents (Results 1 – 25 of 157) sorted by relevance

1234567

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java24 import android.provider.Telephony.Sms.Intents;
121 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
128 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
140 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
146 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
152 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
160 return Intents.RESULT_SMS_UNSUPPORTED; in dispatchMessageRadioSpecific()
168 return Intents.RESULT_SMS_OUT_OF_MEMORY; in dispatchMessageRadioSpecific()
217 case Intents.RESULT_SMS_HANDLED: in resultToCause()
220 case Intents.RESULT_SMS_OUT_OF_MEMORY: in resultToCause()
[all …]
DCdmaServiceCategoryProgramHandler.java27 import android.provider.Telephony.Sms.Intents;
105 Intent intent = new Intent(Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION); in handleServiceCategoryProgramData()
129 if ((resultCode != Activity.RESULT_OK) && (resultCode != Intents.RESULT_SMS_HANDLED)) {
/frameworks/base/core/java/android/provider/
DContacts.java1974 public static final class Intents { class in Contacts
1979 public Intents() { in Intents() method in Contacts.Intents
1988 ContactsContract.Intents.SEARCH_SUGGESTION_CLICKED;
1997 ContactsContract.Intents.SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED;
2006 ContactsContract.Intents.SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED;
2014 public static final String ATTACH_IMAGE = ContactsContract.Intents.ATTACH_IMAGE;
2042 ContactsContract.Intents.SHOW_OR_CREATE_CONTACT;
2053 public static final String EXTRA_FORCE_CREATE = ContactsContract.Intents.EXTRA_FORCE_CREATE;
2065 ContactsContract.Intents.EXTRA_CREATE_DESCRIPTION;
2076 public static final String EXTRA_TARGET_RECT = ContactsContract.Intents.EXTRA_TARGET_RECT;
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java57 import android.provider.Telephony.Sms.Intents;
517 result = Intents.RESULT_SMS_GENERIC_ERROR; in handleNewSms()
523 boolean handled = (result == Intents.RESULT_SMS_HANDLED); in handleNewSms()
539 result = Intents.RESULT_SMS_GENERIC_ERROR; in handleInjectSms()
545 result = Intents.RESULT_SMS_GENERIC_ERROR; in handleInjectSms()
567 return Intents.RESULT_SMS_GENERIC_ERROR; in dispatchMessage()
574 return Intents.RESULT_SMS_HANDLED; in dispatchMessage()
587 return Intents.RESULT_SMS_GENERIC_ERROR; in dispatchMessage()
637 Intent intent = new Intent(Intents.SMS_REJECTED_ACTION); in notifyAndAcknowledgeLastIncomingSms()
704 case Intents.RESULT_SMS_HANDLED: in addTrackerToRawTableAndSendMessage()
[all …]
DWapPushOverSms.java43 import android.provider.Telephony.Sms.Intents;
150 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu()
155 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu()
171 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu()
193 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu()
231 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu()
270 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu()
328 return Intents.RESULT_SMS_HANDLED; in dispatchWapPdu()
338 return Intents.RESULT_SMS_GENERIC_ERROR; in dispatchWapPdu()
341 Intent intent = new Intent(Intents.WAP_PUSH_DELIVER_ACTION); in dispatchWapPdu()
DCellBroadcastHandler.java84 intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); in handleBroadcastSms()
89 intent = new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION); in handleBroadcastSms()
DSmsApplication.java39 import android.provider.Telephony.Sms.Intents;
203 Intent intent = new Intent(Intents.SMS_DELIVER_ACTION); in getApplicationCollectionInternal()
229 intent = new Intent(Intents.WAP_PUSH_DELIVER_ACTION); in getApplicationCollectionInternal()
286 intent = new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in getApplicationCollectionInternal()
311 intent = new Intent(Telephony.Sms.Intents.ACTION_EXTERNAL_PROVIDER_CHANGE); in getApplicationCollectionInternal()
576 new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in setDefaultApplicationInternal()
580 oldAppIntent.putExtra(Telephony.Sms.Intents.EXTRA_IS_DEFAULT_SMS_APP, false); in setDefaultApplicationInternal()
594 new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in setDefaultApplicationInternal()
598 intent.putExtra(Telephony.Sms.Intents.EXTRA_IS_DEFAULT_SMS_APP, true); in setDefaultApplicationInternal()
DSmsStorageMonitor.java27 import android.provider.Telephony.Sms.Intents;
145 Intent intent = new Intent(Intents.SIM_FULL_ACTION); in handleIccFull()
DImsSMSDispatcher.java25 import android.provider.Telephony.Sms.Intents;
223 receivedIntent.send(Intents.RESULT_SMS_GENERIC_ERROR); in injectSmsPdu()
241 receivedIntent.send(Intents.RESULT_SMS_GENERIC_ERROR); in injectSmsPdu()
247 receivedIntent.send(Intents.RESULT_SMS_GENERIC_ERROR); in injectSmsPdu()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java22 import android.provider.Telephony.Sms.Intents;
101 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
121 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
128 return Intents.RESULT_SMS_OUT_OF_MEMORY; in dispatchMessageRadioSpecific()
191 case Intents.RESULT_SMS_HANDLED: in resultToCause()
194 case Intents.RESULT_SMS_OUT_OF_MEMORY: in resultToCause()
196 case Intents.RESULT_SMS_GENERIC_ERROR: in resultToCause()
DUsimDataDownloadHandler.java23 import android.provider.Telephony.Sms.Intents;
109 return Intents.RESULT_SMS_GENERIC_ERROR; in startDataDownload()
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DMainActivity.java8 import com.android.ex.photo.Intents;
9 import com.android.ex.photo.Intents.PhotoViewIntentBuilder;
24 Intents.newPhotoViewActivityIntentBuilder(this); in onClick()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java245 if (intent.hasExtra(Intents.EXTRA_PHOTOS_URI)) { in onCreate()
246 mPhotosUri = intent.getStringExtra(Intents.EXTRA_PHOTOS_URI); in onCreate()
250 Intents.EXTRA_ENABLE_TIMER_LIGHTS_OUT, true); in onCreate()
252 if (intent.getBooleanExtra(Intents.EXTRA_SCALE_UP_ANIMATION, false)) { in onCreate()
254 mAnimationStartX = intent.getIntExtra(Intents.EXTRA_ANIMATION_START_X, 0); in onCreate()
255 mAnimationStartY = intent.getIntExtra(Intents.EXTRA_ANIMATION_START_Y, 0); in onCreate()
256 mAnimationStartWidth = intent.getIntExtra(Intents.EXTRA_ANIMATION_START_WIDTH, 0); in onCreate()
257 mAnimationStartHeight = intent.getIntExtra(Intents.EXTRA_ANIMATION_START_HEIGHT, 0); in onCreate()
260 Intents.EXTRA_ACTION_BAR_HIDDEN_INITIALLY, false) in onCreate()
263 Intents.EXTRA_DISPLAY_THUMBS_FULLSCREEN, false); in onCreate()
[all …]
/frameworks/base/docs/html/training/contacts-provider/
Dmodify-data.jd1 page.title=Modifying Contacts Using Intents
27 <a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent Filters</a>
87 {@link android.provider.ContactsContract.Intents.Insert#ACTION Intents.Insert.ACTION}.
94 Intent intent = new Intent(Intents.Insert.ACTION);
101 {@link android.provider.ContactsContract.Intents.Insert Intents.Insert}. The contacts app
117 intent.putExtra(Intents.Insert.EMAIL, mEmailAddress.getText())
122 .putExtra(Intents.Insert.EMAIL_TYPE, CommonDataKinds.Email.TYPE_WORK)
124 .putExtra(Intents.Insert.PHONE, mPhoneNumber.getText())
129 .putExtra(Intents.Insert.PHONE_TYPE, Phone.TYPE_WORK);
265 {@link android.provider.ContactsContract.Intents.Insert Intents.Insert}. Remember that some
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java40 import com.android.ex.photo.Intents;
197 Intents.EXTRA_DISPLAY_THUMBS_FULLSCREEN, false); in onCreate()
211 mResolvedPhotoUri = mIntent.getStringExtra(Intents.EXTRA_RESOLVED_PHOTO_URI); in onCreate()
212 mThumbnailUri = mIntent.getStringExtra(Intents.EXTRA_THUMBNAIL_URI); in onCreate()
213 mContentDescription = mIntent.getStringExtra(Intents.EXTRA_CONTENT_DESCRIPTION); in onCreate()
214 mWatchNetworkState = mIntent.getBooleanExtra(Intents.EXTRA_WATCH_NETWORK, false); in onCreate()
228 mPhotoView.setMaxInitialScale(mIntent.getFloatExtra(Intents.EXTRA_MAX_INITIAL_SCALE, 1)); in initializeView()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DPhotoPagerAdapter.java26 import com.android.ex.photo.Intents;
27 import com.android.ex.photo.Intents.PhotoViewIntentBuilder;
62 Intents.newPhotoViewFragmentIntentBuilder(mContext, getPhotoViewFragmentClass()); in getItem()
/frameworks/base/docs/html/guide/appendix/
Dindex.jd7 …<dt><a href="g-app-intents.html">Intents List: Invoking Google Applications on Android Devices</a>…
8 <dd>Intents you can send to invoke Google applications on Android devices.</dd>
/frameworks/base/docs/html/distribute/engage/
Dintents.jd1 page.title=Increase Usage with Android Intents
2 page.metaDescription=Use Android Intents to make your app available to users as they perform tasks …
8 Android's open Intents system. By adding Intent filters for the tasks your app can handle,
Dengage_toc.cs5 <span class="en">Increase Usage through Intents</span></a>
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandlerTest.java97 Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION) || in testBroadcastSms()
99 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION)); in testBroadcastSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWapPushOverSmsTest.java96 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction()); in testDispatchWapPdu()
138 assertEquals(Telephony.Sms.Intents.RESULT_SMS_HANDLED, in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoController.java63 profileFilter.addAction(ContactsContract.Intents.ACTION_PROFILE_CHANGED); in UserInfoController()
92 if (ContactsContract.Intents.ACTION_PROFILE_CHANGED.equals(action) ||
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java172 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, in testNewSms()
180 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, in testNewSms()
/frameworks/base/docs/html/training/basics/intents/
Dindex.jd27 Integrating Application with Intents (blog post)</a></li>
28 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java33 import android.provider.ContactsContract.Intents;
395 final Intent intent = new Intent(Intents.SHOW_OR_CREATE_CONTACT, createUri); in onQueryComplete()

1234567