Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/provider/
DContacts.java1968 public static final class Intents { class in Contacts
1973 public Intents() { in Intents() method in Contacts.Intents
1982 ContactsContract.Intents.SEARCH_SUGGESTION_CLICKED;
1991 ContactsContract.Intents.SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED;
2000 ContactsContract.Intents.SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED;
2008 public static final String ATTACH_IMAGE = ContactsContract.Intents.ATTACH_IMAGE;
2036 ContactsContract.Intents.SHOW_OR_CREATE_CONTACT;
2047 public static final String EXTRA_FORCE_CREATE = ContactsContract.Intents.EXTRA_FORCE_CREATE;
2059 ContactsContract.Intents.EXTRA_CREATE_DESCRIPTION;
2070 public static final String EXTRA_TARGET_RECT = ContactsContract.Intents.EXTRA_TARGET_RECT;
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java23 import android.provider.Telephony.Sms.Intents;
122 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
129 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
141 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
147 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
153 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
161 return Intents.RESULT_SMS_UNSUPPORTED; in dispatchMessageRadioSpecific()
169 return Intents.RESULT_SMS_OUT_OF_MEMORY; in dispatchMessageRadioSpecific()
206 case Intents.RESULT_SMS_HANDLED: in resultToCause()
209 case Intents.RESULT_SMS_OUT_OF_MEMORY: in resultToCause()
[all …]
DCdmaServiceCategoryProgramHandler.java27 import android.provider.Telephony.Sms.Intents;
104 Intent intent = new Intent(Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION); in handleServiceCategoryProgramData()
137 if ((resultCode != Activity.RESULT_OK) && (resultCode != Intents.RESULT_SMS_HANDLED)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java22 import android.provider.Telephony.Sms.Intents;
112 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
133 return Intents.RESULT_SMS_HANDLED; in dispatchMessageRadioSpecific()
140 return Intents.RESULT_SMS_OUT_OF_MEMORY; in dispatchMessageRadioSpecific()
178 case Intents.RESULT_SMS_HANDLED: in resultToCause()
181 case Intents.RESULT_SMS_OUT_OF_MEMORY: in resultToCause()
183 case Intents.RESULT_SMS_GENERIC_ERROR: in resultToCause()
DUsimDataDownloadHandler.java23 import android.provider.Telephony.Sms.Intents;
113 return Intents.RESULT_SMS_GENERIC_ERROR; in startDataDownload()
DGsmSMSDispatcher.java21 import android.provider.Telephony.Sms.Intents;
157 mCi.acknowledgeLastIncomingGsmSms(true, Intents.RESULT_SMS_HANDLED, null); in handleStatusReport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java56 import android.provider.Telephony.Sms.Intents;
603 result = Intents.RESULT_SMS_GENERIC_ERROR; in handleNewSms()
609 boolean handled = (result == Intents.RESULT_SMS_HANDLED); in handleNewSms()
626 result = Intents.RESULT_SMS_GENERIC_ERROR; in handleInjectSms()
633 result = Intents.RESULT_SMS_GENERIC_ERROR; in handleInjectSms()
653 return Intents.RESULT_SMS_GENERIC_ERROR; in dispatchMessage()
660 return Intents.RESULT_SMS_HANDLED; in dispatchMessage()
673 return Intents.RESULT_SMS_GENERIC_ERROR; in dispatchMessage()
680 if (result != Intents.RESULT_SMS_HANDLED) { in dispatchMessage()
718 Intent intent = new Intent(Intents.SMS_REJECTED_ACTION); in notifyAndAcknowledgeLastIncomingSms()
[all …]
DWapPushOverSms.java46 import android.provider.Telephony.Sms.Intents;
199 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu()
204 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu()
220 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu()
242 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu()
280 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu()
319 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu()
398 return Intents.RESULT_SMS_HANDLED; in dispatchWapPdu()
408 return Intents.RESULT_SMS_GENERIC_ERROR; in dispatchWapPdu()
411 Intent intent = new Intent(Intents.WAP_PUSH_DELIVER_ACTION); in dispatchWapPdu()
DSmsStorageMonitor.java28 import android.provider.Telephony.Sms.Intents;
147 Intent intent = new Intent(Intents.SIM_FULL_ACTION); in handleIccFull()
DImsSmsDispatcher.java23 import android.provider.Telephony.Sms.Intents;
183 case Intents.RESULT_SMS_HANDLED:
186 case Intents.RESULT_SMS_OUT_OF_MEMORY:
189 case Intents.RESULT_SMS_UNSUPPORTED:
DAppSmsManager.java31 import android.provider.Telephony.Sms.Intents;
172 if (intent.getAction() != Intents.SMS_DELIVER_ACTION) { in handleSmsReceivedIntent()
236 SmsMessage[] messages = Intents.getMessagesFromIntent(intent); in extractMessage()
DCellBroadcastHandler.java108 intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); in handleBroadcastSms()
144 intent = new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION); in handleBroadcastSms()
DSmsDispatchersController.java35 import android.provider.Telephony.Sms.Intents;
392 callback.onSmsInjectedResult(Intents.RESULT_SMS_GENERIC_ERROR); in injectSmsPdu()
399 callback.onSmsInjectedResult(Intents.RESULT_SMS_GENERIC_ERROR); in injectSmsPdu()
416 callback.onSmsInjectedResult(Intents.RESULT_SMS_GENERIC_ERROR); in injectSmsPdu()
420 callback.onSmsInjectedResult(Intents.RESULT_SMS_GENERIC_ERROR); in injectSmsPdu()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAppSmsManagerTest.java21 import android.provider.Telephony.Sms.Intents;
65 intent.setAction(Intents.SMS_DELIVER_ACTION); in testHandleSmsReceivedIntent()
DWapPushOverSmsTest.java97 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction()); in testDispatchWapPdu()
140 assertEquals(Telephony.Sms.Intents.RESULT_SMS_HANDLED, in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
DSmsDispatchersControllerTest.java36 import android.provider.Telephony.Sms.Intents;
169 assertEquals(Intents.RESULT_SMS_GENERIC_ERROR, result); in testInjectNullSmsPdu()
/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/telephony/java/com/android/internal/telephony/
DSmsApplication.java41 import android.provider.Telephony.Sms.Intents;
249 Intent intent = new Intent(Intents.SMS_DELIVER_ACTION); in getApplicationCollectionInternal()
278 intent = new Intent(Intents.WAP_PUSH_DELIVER_ACTION); in getApplicationCollectionInternal()
338 intent = new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in getApplicationCollectionInternal()
365 intent = new Intent(Telephony.Sms.Intents.ACTION_EXTERNAL_PROVIDER_CHANGE); in getApplicationCollectionInternal()
392 intent = new Intent(Intents.SIM_FULL_ACTION); in getApplicationCollectionInternal()
692 new Intent(Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in broadcastSmsAppChange()
696 oldAppIntent.putExtra(Intents.EXTRA_IS_DEFAULT_SMS_APP, false); in broadcastSmsAppChange()
710 new Intent(Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in broadcastSmsAppChange()
714 intent.putExtra(Intents.EXTRA_IS_DEFAULT_SMS_APP, true); in broadcastSmsAppChange()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandlerTest.java126 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION, in testBroadcastSms()
130 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION, in testBroadcastSms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java72 profileFilter.addAction(ContactsContract.Intents.ACTION_PROFILE_CHANGED); in UserInfoControllerImpl()
101 if (ContactsContract.Intents.ACTION_PROFILE_CHANGED.equals(action) ||
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java203 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, in testNewSms()
211 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, in testNewSms()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java32 import android.provider.ContactsContract.Intents;
397 final Intent intent = new Intent(Intents.SHOW_OR_CREATE_CONTACT, createUri); in onQueryComplete()

12