/frameworks/support/v4/java/android/support/v4/app/ |
H A D | TaskStackBuilder.java | 77 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, 338 * @param requestCode Private request code for the sender 346 public PendingIntent getPendingIntent(int requestCode, int flags) { argument 347 return getPendingIntent(requestCode, flag 363 getPendingIntent(int requestCode, int flags, Bundle options) argument [all...] |
H A D | ActivityCompat.java | 62 * @param requestCode The request code passed in {@link #requestPermissions( 71 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, argument 152 * @param requestCode If >= 0, this code will be returned in 160 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, argument 163 ActivityCompatJB.startActivityForResult(activity, intent, requestCode, options); 165 activity.startActivityForResult(intent, requestCode); 181 * @param requestCode If >= 0, this code will be returned in 196 int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, 199 ActivityCompatJB.startIntentSenderForResult(activity, intent, requestCode, fillInIntent, 202 ActivityCompatEclair.startIntentSenderForResult(activity, intent, requestCode, 195 startIntentSenderForResult(Activity activity, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument 358 requestPermissions(final @NonNull Activity activity, final @NonNull String[] permissions, final int requestCode) argument [all...] |
H A D | FragmentHostCallback.java | 119 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { argument 120 onStartActivityFromFragment(fragment, intent, requestCode, null); 128 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { 129 if (requestCode != -1) { 131 "Starting activity with a requestCode requires a FragmentActivity host"); 141 int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, 143 if (requestCode != -1) { 145 "Starting intent sender with a requestCode requires a FragmentActivity host"); 147 ActivityCompat.startIntentSenderForResult(mActivity, intent, requestCode, fillInIntent, 156 @NonNull String[] permissions, int requestCode) { 127 onStartActivityFromFragment( Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument 140 onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 155 onRequestPermissionsFromFragment(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument [all...] |
H A D | FragmentActivity.java | 123 // which are encoded into the upper 16 bits of the requestCode for 149 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 151 int requestIndex = requestCode>>16; 165 targetFragment.onActivityResult(requestCode & 0xffff, resultCode, data); 170 super.onActivityResult(requestCode, resultCode, data); 334 Log.w(TAG, "Invalid requestCode mapping in savedInstanceState."); 860 * This imposes a restriction that requestCode be <= 0xffff. 863 public void startActivityForResult(Intent intent, int requestCode) { argument 867 if (requestCode != -1) { 868 checkForValidRequestCode(requestCode); 875 validateRequestPermissionsRequestCode(int requestCode) argument 906 onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) argument 930 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode) argument 938 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument 958 startIntentSenderFromFragment(Fragment fragment, IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 1002 requestPermissionsFromFragment(Fragment fragment, String[] permissions, int requestCode) argument 1050 onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) argument 1055 onStartActivityFromFragment( Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument 1061 onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 1069 onRequestPermissionsFromFragment(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 245 * @param requestCode Optional request code retuned with the result. 253 int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) { 258 activity.startIntentSenderForResult(intentSender, requestCode, null, 0, 0, 0, 252 startAppWidgetConfigureActivityForResult(@onNull Activity activity, int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) argument
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceFragment.java | 267 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 268 super.onActivityResult(requestCode, resultCode, data); 270 mPreferenceManager.dispatchActivityResult(requestCode, resultCode, data);
|
H A D | PreferenceManager.java | 728 void dispatchActivityResult(int requestCode, int resultCode, Intent data) { argument 738 if (list.get(i).onActivityResult(requestCode, resultCode, data)) { 957 boolean onActivityResult(int requestCode, int resultCode, Intent data); argument
|
H A D | PreferenceActivity.java | 1023 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 1024 super.onActivityResult(requestCode, resultCode, data); 1027 mPreferenceManager.dispatchActivityResult(requestCode, resultCode, data);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DocumentsActivity.java | 166 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 171 if (requestCode == CODE_FORWARD && resultCode != RESULT_CANCELED) { 183 super.onActivityResult(requestCode, resultCode, data);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoLand.java | 254 public void onRequestPermissionsResult(int requestCode, argument 256 if (requestCode == STORAGE_PERM_REQUEST) {
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ActivityUnitTestCase.java | 72 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li> 273 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li> 319 public void startActivityFromChild(Activity child, Intent intent, int requestCode) { argument 321 mStartedActivityRequest = requestCode; 339 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li> 343 public void finishActivityFromChild(Activity child, int requestCode) { argument 345 mFinishedActivityRequest = requestCode;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | FrameworkFacade.java | 85 public PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { argument 86 return PendingIntent.getBroadcast(context, requestCode, intent, flags);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | IPControls.java | 272 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 273 if (requestCode == 0) {
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | IPControlsJB.java | 273 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 274 if (requestCode == 0) {
|
/frameworks/base/core/java/android/accounts/ |
H A D | ChooseTypeAndAccountActivity.java | 281 protected void onActivityResult(final int requestCode, final int resultCode, argument 286 Log.v(TAG, "ChooseTypeAndAccountActivity.onActivityResult(reqCode=" + requestCode 304 if (requestCode == REQUEST_CHOOSE_TYPE) { 314 } else if (requestCode == REQUEST_ADD_ACCOUNT) {
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentHostCallback.java | 125 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode, argument 127 if (requestCode != -1) { 129 "Starting activity with a requestCode requires a FragmentActivity host"); 139 int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, 141 if (requestCode != -1) { 143 "Starting intent sender with a requestCode requires a FragmentActivity host"); 154 @NonNull String[] permissions, int requestCode) { 138 onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 153 onRequestPermissionsFromFragment(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument
|
H A D | PendingIntent.java | 288 * @param requestCode Private request code for the sender 300 public static PendingIntent getActivity(Context context, int requestCode, argument 302 return getActivity(context, requestCode, intent, flags, null); 319 * @param requestCode Private request code for the sender 333 public static PendingIntent getActivity(Context context, int requestCode, argument 344 null, null, requestCode, new Intent[] { intent }, 358 public static PendingIntent getActivityAsUser(Context context, int requestCode, argument 369 null, null, requestCode, new Intent[] { intent }, 411 * @param requestCode Private request code for the sender 423 public static PendingIntent getActivities(Context context, int requestCode, argument 473 getActivities(Context context, int requestCode, @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) argument 499 getActivitiesAsUser(Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) argument 543 getBroadcast(Context context, int requestCode, Intent intent, @Flags int flags) argument 554 getBroadcastAsUser(Context context, int requestCode, Intent intent, int flags, UserHandle userHandle) argument 597 getService(Context context, int requestCode, @NonNull Intent intent, @Flags int flags) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 62 final int requestCode; field in class:PendingIntentRecord.Key 80 requestCode = _r; 139 if (requestCode != other.requestCode) { 221 String requiredPermission, IBinder resultTo, String resultWho, int requestCode, 302 resolvedType, resultTo, resultWho, requestCode, 0, 312 key.who, key.requestCode, code, finalIntent); 389 if (key.requestCode != 0 || key.requestResolvedType != null) { 390 pw.print(prefix); pw.print("requestCode="); pw.print(key.requestCode); 220 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...] |
H A D | ActivityStarter.java | 227 IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, 266 if (requestCode >= 0 && !sourceRecord.finishing) { 277 if (requestCode >= 0) { 286 requestCode = sourceRecord.requestCode; 289 resultRecord.removeResultsLocked(sourceRecord, resultWho, requestCode); 364 -1, resultRecord, resultWho, requestCode, RESULT_CANCELED, null); 371 requestCode, callingPid, callingUid, callingPackage, ignoreTargetSecurity, callerApp, 401 resultStack.sendActivityResultLocked(-1, resultRecord, resultWho, requestCode, 495 requestCode, componentSpecifie 224 startActivityLocked(IApplicationThread caller, Intent intent, Intent ephemeralIntent, String resolvedType, ActivityInfo aInfo, ResolveInfo rInfo, IVoiceInteractionSession voiceSession, IVoiceInteractor voiceInteractor, IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, String callingPackage, int realCallingPid, int realCallingUid, int startFlags, ActivityOptions options, boolean ignoreTargetSecurity, boolean componentSpecified, ActivityRecord[] outActivity, ActivityStackSupervisor.ActivityContainer container, TaskRecord inTask) argument 675 startActivityMayWait(IApplicationThread caller, int callingUid, String callingPackage, Intent intent, String resolvedType, IVoiceInteractionSession voiceSession, IVoiceInteractor voiceInteractor, IBinder resultTo, String resultWho, int requestCode, int startFlags, ProfilerInfo profilerInfo, IActivityManager.WaitResult outResult, Configuration config, Bundle bOptions, boolean ignoreTargetSecurity, int userId, IActivityContainer iContainer, TaskRecord inTask) argument [all...] |
/frameworks/support/v4/tests/java/android/support/v4/app/ |
H A D | FragmentLifecycleTest.java | 625 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { argument 626 mActivity.startActivityFromFragment(fragment, intent, requestCode); 631 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { 632 mActivity.startActivityFromFragment(fragment, intent, requestCode, options); 637 @NonNull String[] permissions, int requestCode) { 630 onStartActivityFromFragment( Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument 636 onRequestPermissionsFromFragment(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument
|
/frameworks/support/v4/tests/java/android/support/v4/app/test/ |
H A D | FragmentTestActivity.java | 255 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 257 >requestCode;
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 339 protected void onActivityResult(int requestCode, int resultCode, argument 341 switch (requestCode) { 358 "Unexpected request code: " + requestCode));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | NavBarTuner.java | 267 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 268 if (requestCode == READ_REQUEST && resultCode == Activity.RESULT_OK && data != null) { 274 super.onActivityResult(requestCode, resultCode, data);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | SearchFragment.java | 59 * 0 will be used as requestCode in requestPermissions() call. 234 public void onRequestPermissionsResult(int requestCode, String[] permissions, argument 236 if (requestCode == AUDIO_PERMISSION_REQUEST_CODE && permissions.length > 0) {
|
H A D | SearchSupportFragment.java | 61 * 0 will be used as requestCode in requestPermissions() call. 236 public void onRequestPermissionsResult(int requestCode, String[] permissions, argument 238 if (requestCode == AUDIO_PERMISSION_REQUEST_CODE && permissions.length > 0) {
|