Searched refs:requestCode (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/am/
H A DActivityResult.java29 int requestCode, int resultCode, Intent data) {
30 super(resultWho, requestCode, resultCode, data);
28 ActivityResult(ActivityRecord from, String resultWho, int requestCode, int resultCode, Intent data) argument
H A DPendingIntentRecord.java52 final int requestCode; field in class:PendingIntentRecord.Key
70 requestCode = _r;
129 if (requestCode != other.requestCode) {
201 IBinder resultTo, String resultWho, int requestCode,
256 resolvedType, resultTo, resultWho, requestCode, 0,
266 key.who, key.requestCode, code, finalIntent);
340 if (key.requestCode != 0 || key.requestResolvedType != null) {
341 pw.print(prefix); pw.print("requestCode="); pw.print(key.requestCode);
199 sendInner(int code, Intent intent, String resolvedType, IIntentReceiver finishedReceiver, String requiredPermission, IBinder resultTo, String resultWho, int requestCode, int flagsMask, int flagsValues, Bundle options, IActivityContainer container) argument
[all...]
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DTaskStackBuilderHoneycomb.java27 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, argument
29 return PendingIntent.getActivities(context, requestCode, intents, flags);
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DTaskStackBuilderJellybean.java26 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, argument
28 return PendingIntent.getActivities(context, requestCode, intents, flags, options);
H A DActivityCompatJB.java29 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, Bundle options) { argument
30 activity.startActivityForResult(intent, requestCode, options);
/frameworks/support/tests/java/android/support/tests/
H A DGrantActivity.java39 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument
40 if (requestCode == 12 && resultCode == RESULT_OK) {
/frameworks/base/core/java/android/app/
H A DActivityGroup.java111 void dispatchActivityResult(String who, int requestCode, int resultCode, argument
117 TAG, "Dispatching result: who=" + who + ", reqCode=" + requestCode
122 act.onActivityResult(requestCode, resultCode, data);
126 super.dispatchActivityResult(who, requestCode, resultCode, data);
H A DPendingIntent.java238 * @param requestCode Private request code for the sender
250 public static PendingIntent getActivity(Context context, int requestCode, argument
252 return getActivity(context, requestCode, intent, flags, null);
269 * @param requestCode Private request code for the sender
283 public static PendingIntent getActivity(Context context, int requestCode, argument
294 null, null, requestCode, new Intent[] { intent },
308 public static PendingIntent getActivityAsUser(Context context, int requestCode, argument
319 null, null, requestCode, new Intent[] { intent },
361 * @param requestCode Private request code for the sender
373 public static PendingIntent getActivities(Context context, int requestCode, argument
423 getActivities(Context context, int requestCode, @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) argument
449 getActivitiesAsUser(Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) argument
493 getBroadcast(Context context, int requestCode, Intent intent, @Flags int flags) argument
504 getBroadcastAsUser(Context context, int requestCode, Intent intent, int flags, UserHandle userHandle) argument
547 getService(Context context, int requestCode, @NonNull Intent intent, @Flags int flags) argument
[all...]
H A DTaskStackBuilder.java239 * @param requestCode Private request code for the sender
248 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags) { argument
249 return getPendingIntent(requestCode, flags, null);
255 * @param requestCode Private request code for the sender
267 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags, argument
274 return PendingIntent.getActivities(mSourceContext, requestCode, getIntents(),
281 public PendingIntent getPendingIntent(int requestCode, int flags, Bundle options, argument
288 return PendingIntent.getActivitiesAsUser(mSourceContext, requestCode, getIntents(), flags,
H A DResultInfo.java32 public ResultInfo(String resultWho, int requestCode, int resultCode, argument
35 mRequestCode = requestCode;
H A DActivity.java482 * protected void onActivityResult(int requestCode, int resultCode,
484 * if (requestCode == PICK_CONTACT_REQUEST) {
3689 * @param requestCode If >= 0, this code will be returned in
3696 public void startActivityForResult(Intent intent, int requestCode) { argument
3697 startActivityForResult(intent, requestCode, null);
3703 * onActivityResult() method will be called with the given requestCode.
3704 * Using a negative requestCode is the same as calling
3714 * <p>As a special case, if you call startActivityForResult() with a requestCode
3724 * @param requestCode If >= 0, this code will be returned in
3734 public void startActivityForResult(Intent intent, int requestCode, argument
3778 startActivityForResultAsUser(Intent intent, int requestCode, UserHandle user) argument
3785 startActivityForResultAsUser(Intent intent, int requestCode, @Nullable Bundle options, UserHandle user) argument
3880 startIntentSenderForResult(IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument
3912 startIntentSenderForResult(IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument
3929 startIntentSenderForResultInner(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, Activity activity, Bundle options) argument
4124 startActivityIfNeeded(@onNull Intent intent, int requestCode) argument
4158 startActivityIfNeeded(@onNull Intent intent, int requestCode, @Nullable Bundle options) argument
4260 startActivityFromChild(@onNull Activity child, Intent intent, int requestCode) argument
4284 startActivityFromChild(@onNull Activity child, Intent intent, int requestCode, @Nullable Bundle options) argument
4310 startActivityFromFragment(@onNull Fragment fragment, Intent intent, int requestCode) argument
4335 startActivityFromFragment(@onNull Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument
4355 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument
4369 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument
4686 finishActivity(int requestCode) argument
4707 finishActivityFromChild(@onNull Activity child, int requestCode) argument
4766 onActivityResult(int requestCode, int resultCode, Intent data) argument
4817 createPendingResult(int requestCode, @NonNull Intent data, @PendingIntent.Flags int flags) argument
6128 dispatchActivityResult(String who, int requestCode, int resultCode, Intent data) argument
[all...]
H A DInstrumentation.java1428 * <var>requestCode</var> is &gt;= 0.
1442 * @param requestCode Identifier for this request's result; less than zero
1460 Intent intent, int requestCode, Bundle options) {
1470 return requestCode >= 0 ? am.getResult() : null;
1484 requestCode, 0, null, options);
1560 * @param requestCode Identifier for this request's result; less than zero
1577 Intent intent, int requestCode, Bundle options) {
1587 return requestCode >= 0 ? am.getResult() : null;
1601 requestCode, 0, null, options);
1620 * @param requestCode Identifie
1458 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options) argument
1575 execStartActivity( Context who, IBinder contextThread, IBinder token, Fragment target, Intent intent, int requestCode, Bundle options) argument
1635 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, UserHandle user) argument
1672 execStartActivityAsCaller( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, int userId) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java77 PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument
82 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument
86 return PendingIntent.getActivity(context, requestCode, topIntent, flags);
91 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument
96 return TaskStackBuilderHoneycomb.getActivitiesPendingIntent(context, requestCode,
102 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument
107 return TaskStackBuilderJellybean.getActivitiesPendingIntent(context, requestCode,
335 * @param requestCode Private request code for the sender
343 public PendingIntent getPendingIntent(int requestCode, int flags) { argument
344 return getPendingIntent(requestCode, flag
360 getPendingIntent(int requestCode, int flags, Bundle options) argument
[all...]
H A DFragmentActivity.java148 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument
150 int index = requestCode>>16;
155 + Integer.toHexString(requestCode));
161 + Integer.toHexString(requestCode));
163 frag.onActivityResult(requestCode&0xffff, resultCode, data);
168 super.onActivityResult(requestCode, resultCode, data);
810 * This imposes a restriction that requestCode be <= 0xffff.
813 public void startActivityForResult(Intent intent, int requestCode) { argument
814 if (requestCode != -1 && (requestCode
823 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode) argument
[all...]
H A DActivityCompat.java116 * @param requestCode If >= 0, this code will be returned in
124 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, argument
127 ActivityCompatJB.startActivityForResult(activity, intent, requestCode, options);
129 activity.startActivityForResult(intent, requestCode);
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
H A DPhotoViewActivity.java111 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument
112 super.onActivityResult(requestCode, resultCode, data);
113 mController.onActivityResult(requestCode, resultCode, data);
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
H A DPhotoViewActivity.java111 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument
112 super.onActivityResult(requestCode, resultCode, data);
113 mController.onActivityResult(requestCode, resultCode, data);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSubActivityScreen.java108 protected void onActivityResult(int requestCode, int resultCode, argument
111 // + " onActivityResult: req=" + requestCode
117 if (requestCode == 1) {
145 "Incorrect request code returned: " + requestCode));
/frameworks/base/test-runner/src/android/test/
H A DActivityUnitTestCase.java69 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li>
264 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li>
310 public void startActivityFromChild(Activity child, Intent intent, int requestCode) { argument
312 mStartedActivityRequest = requestCode;
330 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li>
334 public void finishActivityFromChild(Activity child, int requestCode) { argument
336 mFinishedActivityRequest = requestCode;
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModel.java97 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument
99 if (requestCode == FIND_A3D_MODEL) {
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestApp.java96 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument
98 if (requestCode == FIND_DAE_MODEL) {
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java83 void discoverAppWidget(int requestCode) { argument
86 startActivityForResult(intent, requestCode);
89 void configureAppWidget(int requestCode, int appWidgetId, ComponentName configure) { argument
96 startActivityForResult(intent, requestCode);
147 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument
148 switch (requestCode) {
/frameworks/base/core/java/android/preference/
H A DRingtonePreference.java234 public boolean onActivityResult(int requestCode, int resultCode, Intent data) { argument
236 if (requestCode == mRequestCode) {
H A DPreferenceFragment.java240 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument
241 super.onActivityResult(requestCode, resultCode, data);
243 mPreferenceManager.dispatchActivityResult(requestCode, resultCode, data);
H A DPreferenceManager.java604 void dispatchActivityResult(int requestCode, int resultCode, Intent data) { argument
614 if (list.get(i).onActivityResult(requestCode, resultCode, data)) {
833 boolean onActivityResult(int requestCode, int resultCode, Intent data); argument

Completed in 220 milliseconds

12