/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 309 public static PendingIntent getActivity(Context context, int requestCode, in getActivity() argument 311 return getActivity(context, requestCode, intent, flags, null); in getActivity() 342 public static PendingIntent getActivity(Context context, int requestCode, in getActivity() argument 353 null, null, requestCode, new Intent[] { intent }, in getActivity() 368 public static PendingIntent getActivityAsUser(Context context, int requestCode, in getActivityAsUser() argument 379 null, null, requestCode, new Intent[] { intent }, in getActivityAsUser() 433 public static PendingIntent getActivities(Context context, int requestCode, in getActivities() argument 435 return getActivities(context, requestCode, intents, flags, null); in getActivities() 483 public static PendingIntent getActivities(Context context, int requestCode, in getActivities() argument 496 null, null, requestCode, intents, resolvedTypes, flags, options, in getActivities() [all …]
|
D | TaskStackBuilder.java | 248 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags) { in getPendingIntent() argument 249 return getPendingIntent(requestCode, flags, null); in getPendingIntent() 267 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags, in getPendingIntent() argument 274 return PendingIntent.getActivities(mSourceContext, requestCode, getIntents(), in getPendingIntent() 281 public PendingIntent getPendingIntent(int requestCode, int flags, Bundle options, in getPendingIntent() argument 288 return PendingIntent.getActivitiesAsUser(mSourceContext, requestCode, getIntents(), flags, in getPendingIntent()
|
D | Activity.java | 5094 public final void requestPermissions(@NonNull String[] permissions, int requestCode) { 5095 if (requestCode < 0) { 5101 onRequestPermissionsResult(requestCode, new String[0], new int[0]); 5105 startActivityForResult(REQUEST_PERMISSIONS_WHO_PREFIX, intent, requestCode, null); 5126 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, 5167 public void startActivityForResult(@RequiresPermission Intent intent, int requestCode) { 5168 startActivityForResult(intent, requestCode, null); 5205 public void startActivityForResult(@RequiresPermission Intent intent, int requestCode, 5212 intent, requestCode, options); 5215 mToken, mEmbeddedID, requestCode, ar.getResultCode(), [all …]
|
D | FragmentHostCallback.java | 146 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode, in onStartActivityFromFragment() argument 148 if (requestCode != -1) { in onStartActivityFromFragment() 160 public void onStartActivityAsUserFromFragment(Fragment fragment, Intent intent, int requestCode, in onStartActivityAsUserFromFragment() argument 162 if (requestCode != -1) { in onStartActivityAsUserFromFragment() 174 int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, in onStartIntentSenderFromFragment() argument 176 if (requestCode != -1) { in onStartIntentSenderFromFragment() 189 @NonNull String[] permissions, int requestCode) { in onRequestPermissionsFromFragment() argument
|
D | ActivityGroup.java | 113 void dispatchActivityResult(String who, int requestCode, int resultCode, in dispatchActivityResult() argument 124 act.onActivityResult(requestCode, resultCode, data); in dispatchActivityResult() 128 super.dispatchActivityResult(who, requestCode, resultCode, data, reason); in dispatchActivityResult()
|
D | IActivityTaskManager.aidl | 87 in String resolvedType, in IBinder resultTo, in String resultWho, int requestCode, in startActivity() argument 94 int requestCode, int flags, in ProfilerInfo profilerInfo, in startActivityAsUser() argument 100 in String resolvedType, in IBinder resultTo, in String resultWho, int requestCode, in startActivityIntentSender() argument 104 int requestCode, int flags, in ProfilerInfo profilerInfo, in Bundle options, in startActivityAndWait() argument 108 int requestCode, int startFlags, in Configuration newConfig, in startActivityWithConfig() argument 121 int requestCode, int flags, in ProfilerInfo profilerInfo, in Bundle options, in startActivityAsCaller() argument 156 void finishSubActivity(in IBinder token, in String resultWho, int requestCode); in finishSubActivity() argument
|
D | Fragment.java | 715 public void setTargetFragment(Fragment fragment, int requestCode) { in setTargetFragment() argument 735 mTargetRequestCode = requestCode; in setTargetFragment() 1109 public void startActivityForResult(Intent intent, int requestCode) { 1110 startActivityForResult(intent, requestCode, null); 1117 public void startActivityForResult(Intent intent, int requestCode, Bundle options) { 1121 mHost.onStartActivityFromFragment(this, intent, requestCode, options); 1130 Intent intent, int requestCode, Bundle options, UserHandle user) { 1134 mHost.onStartActivityAsUserFromFragment(this, intent, requestCode, options, user); 1141 public void startIntentSenderForResult(IntentSender intent, int requestCode, 1147 mHost.onStartIntentSenderFromFragment(this, intent, requestCode, fillInIntent, flagsMask, [all …]
|
D | ResultInfo.java | 40 public ResultInfo(String resultWho, int requestCode, int resultCode, in ResultInfo() argument 43 mRequestCode = requestCode; in ResultInfo()
|
D | Instrumentation.java | 1680 Intent intent, int requestCode, Bundle options) { in execStartActivity() argument 1701 return requestCode >= 0 ? am.getResult() : null; in execStartActivity() 1715 requestCode, 0, null, options); in execStartActivity() 1825 Intent intent, int requestCode, Bundle options) { in execStartActivity() argument 1842 return requestCode >= 0 ? am.getResult() : null; in execStartActivity() 1855 token, target, requestCode, 0, null, options); in execStartActivity() 1893 Intent intent, int requestCode, Bundle options, UserHandle user) { in execStartActivity() argument 1910 return requestCode >= 0 ? am.getResult() : null; in execStartActivity() 1924 requestCode, 0, null, options, user.getIdentifier()); in execStartActivity() 1939 Intent intent, int requestCode, Bundle options, IBinder permissionToken, in execStartActivityAsCaller() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordDialog.java | 87 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 88 mShowTaps = (requestCode == REQUEST_CODE_VIDEO_TAPS in onActivityResult() 89 || requestCode == REQUEST_CODE_VIDEO_AUDIO_TAPS); in onActivityResult() 90 switch (requestCode) { in onActivityResult() 96 mUseAudio = (requestCode == REQUEST_CODE_VIDEO_AUDIO in onActivityResult() 97 || requestCode == REQUEST_CODE_VIDEO_AUDIO_TAPS); in onActivityResult()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | AppWidgetHostActivity.java | 83 void discoverAppWidget(int requestCode) { in discoverAppWidget() argument 86 startActivityForResult(intent, requestCode); in discoverAppWidget() 89 void configureAppWidget(int requestCode, int appWidgetId, ComponentName configure) { in configureAppWidget() argument 96 startActivityForResult(intent, requestCode); in configureAppWidget() 147 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 148 switch (requestCode) { in onActivityResult()
|
/frameworks/base/core/java/android/view/textclassifier/intent/ |
D | LabeledIntent.java | 63 public final int requestCode; field in LabeledIntent 82 int requestCode) { in LabeledIntent() argument 92 this.requestCode = requestCode; in LabeledIntent() 143 TextClassification.createPendingIntent(context, resolvedIntent, requestCode); in resolve()
|
/frameworks/base/test-runner/src/android/test/ |
D | ActivityUnitTestCase.java | 319 public void startActivityFromChild(Activity child, Intent intent, int requestCode) { in startActivityFromChild() argument 321 mStartedActivityRequest = requestCode; in startActivityFromChild() 343 public void finishActivityFromChild(Activity child, int requestCode) { in finishActivityFromChild() argument 345 mFinishedActivityRequest = requestCode; in finishActivityFromChild()
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 112 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 113 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 114 mController.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 112 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 113 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 114 mController.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityResult.java | 29 int requestCode, int resultCode, Intent data) { in ActivityResult() argument 30 super(resultWho, requestCode, resultCode, data); in ActivityResult()
|
D | ActivityStarter.java | 318 int requestCode; field in ActivityStarter.Request 374 requestCode = 0; in reset() 413 requestCode = request.requestCode; in set() 520 mRequest.resultWho, mRequest.requestCode, mRequest.startFlags, in execute() 530 mRequest.resultWho, mRequest.requestCode, mRequest.callingPid, in execute() 571 IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, in startActivity() argument 586 aInfo, rInfo, voiceSession, voiceInteractor, resultTo, resultWho, requestCode, in startActivity() 616 IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, in startActivity() argument 657 if (requestCode >= 0 && !sourceRecord.finishing) { in startActivity() 668 if (requestCode >= 0) { in startActivity() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppTrampolineActivity.java | 106 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 107 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 108 if (requestCode == INSTALL_CARRIER_APP_DIALOG_REQUEST) { in onActivityResult()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 108 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument 117 if (requestCode == 1) { in onActivityResult() 145 "Incorrect request code returned: " + requestCode)); in onActivityResult()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 137 public PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { in getBroadcast() argument 138 return PendingIntent.getBroadcast(context, requestCode, intent, flags); in getBroadcast() 144 public PendingIntent getActivity(Context context, int requestCode, Intent intent, int flags) { in getActivity() argument 145 return PendingIntent.getActivity(context, requestCode, intent, flags); in getActivity()
|
D | ConnectToNetworkNotificationBuilder.java | 179 int requestCode = 0; // Makes the different kinds of notifications distinguishable in getPrivateBroadcast() local 182 requestCode = getNotifierRequestCode(extraData); in getPrivateBroadcast() 184 return mFrameworkFacade.getBroadcast(mContext, requestCode, intent, in getPrivateBroadcast()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingIntentRecord.java | 77 final int requestCode; field in PendingIntentRecord.Key 95 requestCode = _r; in Key() 149 if (requestCode != other.requestCode) { in equals() 282 String resultWho, int requestCode, int flagsMask, int flagsValues, Bundle options) { in sendInner() argument 414 resolvedType, resultTo, resultWho, requestCode, 0, in sendInner() 426 key.requestCode, code, finalIntent); in sendInner() 505 if (key.requestCode != 0 || key.requestResolvedType != null) { in dump() 506 pw.print(prefix); pw.print("requestCode="); pw.print(key.requestCode); in dump()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | VerificationActivity.java | 75 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 76 if (requestCode == REQUEST_CODE && resultCode == RESULT_OK) { in onActivityResult()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 125 public void onRequestPermissionsResult(int requestCode, in onRequestPermissionsResult() argument 127 switch (requestCode) { in onRequestPermissionsResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WorkLockActivity.java | 160 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 161 if (requestCode == REQUEST_CODE_CONFIRM_CREDENTIALS && resultCode != RESULT_OK) { in onActivityResult()
|