Searched refs:Intents (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DMainActivity.java8 import com.android.ex.photo.Intents;
9 import com.android.ex.photo.Intents.PhotoViewIntentBuilder;
24 Intents.newPhotoViewActivityIntentBuilder(this);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java23 import android.provider.Telephony.Sms.Intents;
119 return Intents.RESULT_SMS_HANDLED;
126 return Intents.RESULT_SMS_HANDLED;
138 return Intents.RESULT_SMS_HANDLED;
144 return Intents.RESULT_SMS_HANDLED;
150 return Intents.RESULT_SMS_HANDLED;
158 return Intents.RESULT_SMS_UNSUPPORTED;
166 return Intents.RESULT_SMS_OUT_OF_MEMORY;
216 case Intents.RESULT_SMS_HANDLED:
219 case Intents
[all...]
H A DCdmaServiceCategoryProgramHandler.java27 import android.provider.Telephony.Sms.Intents;
104 Intent intent = new Intent(Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION);
130 if ((resultCode != Activity.RESULT_OK) && (resultCode != Intents.RESULT_SMS_HANDLED)) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DAppSmsManagerTest.java21 import android.provider.Telephony.Sms.Intents;
65 intent.setAction(Intents.SMS_DELIVER_ACTION);
H A DWapPushOverSmsTest.java97 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction());
139 assertEquals(Telephony.Sms.Intents.RESULT_SMS_HANDLED,
H A DSmsStorageMonitorTest.java83 assertEquals(Telephony.Sms.Intents.SIM_FULL_ACTION,
H A DSmsDispatchersControllerTest.java42 import android.provider.Telephony.Sms.Intents;
175 assertEquals(Intents.RESULT_SMS_GENERIC_ERROR, result);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmInboundSmsHandler.java22 import android.provider.Telephony.Sms.Intents;
92 * @return a result code from {@link android.provider.Telephony.Sms.Intents},
113 return Intents.RESULT_SMS_HANDLED;
133 return Intents.RESULT_SMS_HANDLED;
140 return Intents.RESULT_SMS_OUT_OF_MEMORY;
203 case Intents.RESULT_SMS_HANDLED:
206 case Intents.RESULT_SMS_OUT_OF_MEMORY:
208 case Intents.RESULT_SMS_GENERIC_ERROR:
H A DGsmSMSDispatcher.java21 import android.provider.Telephony.Sms.Intents;
157 mCi.acknowledgeLastIncomingGsmSms(true, Intents.RESULT_SMS_HANDLED, null);
H A DUsimDataDownloadHandler.java23 import android.provider.Telephony.Sms.Intents;
109 return Intents.RESULT_SMS_GENERIC_ERROR;
/frameworks/base/core/java/android/provider/
H A DContacts.java1963 * Contains helper classes used to create or manage {@link android.content.Intent Intents}
1968 public static final class Intents { class in class:Contacts
1973 public Intents() { method in class: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
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java55 import android.provider.Telephony.Sms.Intents;
547 result = Intents.RESULT_SMS_GENERIC_ERROR;
553 boolean handled = (result == Intents.RESULT_SMS_HANDLED);
569 result = Intents.RESULT_SMS_GENERIC_ERROR;
575 result = Intents.RESULT_SMS_GENERIC_ERROR;
588 * @return a result code from {@link android.provider.Telephony.Sms.Intents},
595 return Intents.RESULT_SMS_GENERIC_ERROR;
602 return Intents.RESULT_SMS_HANDLED;
615 return Intents.RESULT_SMS_GENERIC_ERROR;
627 * @return a result code from {@link android.provider.Telephony.Sms.Intents},
[all...]
H A DAppSmsManager.java24 import android.provider.Telephony.Sms.Intents;
67 * {@link Intents.SMS_RECEIVED_ACTION} intent will be delivered only to the calling package and
99 if (intent.getAction() != Intents.SMS_DELIVER_ACTION) {
126 SmsMessage[] messages = Intents.getMessagesFromIntent(intent);
H A DCellBroadcastHandler.java52 * @param context the context to use for dispatching Intents
96 intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION);
104 intent = new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION);
H A DSmsStorageMonitor.java27 import android.provider.Telephony.Sms.Intents;
145 Intent intent = new Intent(Intents.SIM_FULL_ACTION);
H A DWapPushOverSms.java45 import android.provider.Telephony.Sms.Intents;
163 * Intents.RESULT_SMS_HANDLED - the wap push pdu should be ignored.
164 * Intents.RESULT_SMS_GENERIC_ERROR - the pdu is invalid.
193 result.statusCode = Intents.RESULT_SMS_HANDLED;
198 result.statusCode = Intents.RESULT_SMS_HANDLED;
214 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR;
236 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR;
274 result.statusCode = Intents.RESULT_SMS_HANDLED;
313 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR;
323 * @return a result code from {@link android.provider.Telephony.Sms.Intents}, o
[all...]
H A DImsSmsDispatcher.java20 import android.provider.Telephony.Sms.Intents;
171 case Intents.RESULT_SMS_HANDLED:
174 case Intents.RESULT_SMS_OUT_OF_MEMORY:
177 case Intents.RESULT_SMS_UNSUPPORTED:
H A DSmsDispatchersController.java32 import android.provider.Telephony.Sms.Intents;
214 callback.onSmsInjectedResult(Intents.RESULT_SMS_GENERIC_ERROR);
221 callback.onSmsInjectedResult(Intents.RESULT_SMS_GENERIC_ERROR);
238 callback.onSmsInjectedResult(Intents.RESULT_SMS_GENERIC_ERROR);
242 callback.onSmsInjectedResult(Intents.RESULT_SMS_GENERIC_ERROR);
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java26 import com.android.ex.photo.Intents;
27 import com.android.ex.photo.Intents.PhotoViewIntentBuilder;
62 Intents.newPhotoViewFragmentIntentBuilder(mContext, getPhotoViewFragmentClass());
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java40 import com.android.ex.photo.Intents;
197 Intents.EXTRA_DISPLAY_THUMBS_FULLSCREEN, false);
211 mResolvedPhotoUri = mIntent.getStringExtra(Intents.EXTRA_RESOLVED_PHOTO_URI);
212 mThumbnailUri = mIntent.getStringExtra(Intents.EXTRA_THUMBNAIL_URI);
213 mContentDescription = mIntent.getStringExtra(Intents.EXTRA_CONTENT_DESCRIPTION);
214 mWatchNetworkState = mIntent.getBooleanExtra(Intents.EXTRA_WATCH_NETWORK, false);
228 mPhotoView.setMaxInitialScale(mIntent.getFloatExtra(Intents.EXTRA_MAX_INITIAL_SCALE, 1));
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java245 if (intent.hasExtra(Intents.EXTRA_PHOTOS_URI)) {
246 mPhotosUri = intent.getStringExtra(Intents.EXTRA_PHOTOS_URI);
250 Intents.EXTRA_ENABLE_TIMER_LIGHTS_OUT, true);
252 if (intent.getBooleanExtra(Intents.EXTRA_SCALE_UP_ANIMATION, false)) {
254 mAnimationStartX = intent.getIntExtra(Intents.EXTRA_ANIMATION_START_X, 0);
255 mAnimationStartY = intent.getIntExtra(Intents.EXTRA_ANIMATION_START_Y, 0);
256 mAnimationStartWidth = intent.getIntExtra(Intents.EXTRA_ANIMATION_START_WIDTH, 0);
257 mAnimationStartHeight = intent.getIntExtra(Intents.EXTRA_ANIMATION_START_HEIGHT, 0);
260 Intents.EXTRA_ACTION_BAR_HIDDEN_INITIALLY, false)
263 Intents
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGsmCellBroadcastHandlerTest.java128 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION,
132 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION,
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsApplication.java40 import android.provider.Telephony.Sms.Intents;
226 Intent intent = new Intent(Intents.SMS_DELIVER_ACTION);
251 intent = new Intent(Intents.WAP_PUSH_DELIVER_ACTION);
308 intent = new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED);
333 intent = new Intent(Telephony.Sms.Intents.ACTION_EXTERNAL_PROVIDER_CHANGE);
358 intent = new Intent(Intents.SIM_FULL_ACTION);
623 new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED);
627 oldAppIntent.putExtra(Telephony.Sms.Intents.EXTRA_IS_DEFAULT_SMS_APP, false);
641 new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED);
645 intent.putExtra(Telephony.Sms.Intents
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserInfoControllerImpl.java64 profileFilter.addAction(ContactsContract.Intents.ACTION_PROFILE_CHANGED);
93 if (ContactsContract.Intents.ACTION_PROFILE_CHANGED.equals(action) ||
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandlerTest.java194 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION,
202 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION,

Completed in 298 milliseconds

12