/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | IntentUtils.java | 46 @NonNull Intent intent, int requestCode) { in startExternalActivityForResult() argument 47 startExternalActivityForResult(activity, intent, requestCode, null); in startExternalActivityForResult() 51 @NonNull Intent intent, int requestCode, @Nullable Bundle options) { in startExternalActivityForResult() argument 53 activity.startActivityForResult(startIntent, requestCode); in startExternalActivityForResult() 57 @NonNull Intent intent, int requestCode) { in startExternalActivityForResult() argument 58 startExternalActivityForResult(fragment, intent, requestCode, null); in startExternalActivityForResult() 62 @NonNull Intent intent, int requestCode, @Nullable Bundle options) { in startExternalActivityForResult() argument 65 fragment.startActivityForResult(startIntent, requestCode); in startExternalActivityForResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | StartActivityParams.java | 45 public final int requestCode; field in StartActivityParams 57 public StartActivityParams(Activity activity, int requestCode) { in StartActivityParams() argument 58 this(activity.createPendingResult(requestCode, new Intent(), in StartActivityParams() 59 FLAG_ONE_SHOT | FLAG_UPDATE_CURRENT | FLAG_MUTABLE), requestCode); in StartActivityParams() 62 public StartActivityParams(PendingIntent pendingIntent, int requestCode) { in StartActivityParams() argument 64 this.requestCode = requestCode; in StartActivityParams() 69 requestCode = parcel.readInt(); in StartActivityParams() 90 parcel.writeInt(requestCode); in writeToParcel()
|
D | ActivityResultInfo.java | 27 public final int requestCode; field in ActivityResultInfo 31 public ActivityResultInfo(int requestCode, int resultCode, Intent data) { in ActivityResultInfo() argument 32 this.requestCode = requestCode; in ActivityResultInfo() 38 requestCode = parcel.readInt(); in ActivityResultInfo() 50 dest.writeInt(requestCode); in writeToParcel()
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricEnrollActivity.java | 388 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 389 super.onActivityResult(requestCode, resultCode, data); 391 if (isSuccessfulChooseCredential(requestCode, resultCode) 398 "onActivityResult(requestCode=" + requestCode + ", resultCode=" + resultCode + ")"); 423 handleOnActivityResultWhileConsenting(requestCode, resultCode, data); 425 handleOnActivityResultWhileEnrolling(requestCode, resultCode, data); 431 int requestCode, int resultCode, Intent data) { 436 switch (requestCode) { 440 if (isSuccessfulConfirmOrChooseCredential(requestCode, resultCode)) { 477 Log.w(TAG, "Unknown consenting requestCode: " + requestCode + ", finishing"); [all …]
|
D | BiometricEnrollIntroduction.java | 361 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 363 "onActivityResult(requestCode=" + requestCode + ", resultCode=" + resultCode + ")"); in onActivityResult() 365 requestCode == BiometricUtils.REQUEST_ADD_ANOTHER in onActivityResult() 367 if (requestCode == BIOMETRIC_FIND_SENSOR_REQUEST) { in onActivityResult() 379 } else if (requestCode == CHOOSE_LOCK_GENERIC_REQUEST) { in onActivityResult() 402 } else if (requestCode == CONFIRM_REQUEST) { in onActivityResult() 424 } else if (requestCode == LEARN_MORE_REQUEST) { in onActivityResult() 428 } else if (requestCode == ENROLL_NEXT_BIOMETRIC_REQUEST in onActivityResult() 433 if (requestCode == BiometricUtils.REQUEST_ADD_ANOTHER) { in onActivityResult() 449 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | FinalizationInsideSuwControllerLogic.java | 74 ProvisioningParams params, int requestCode) { in notifyDpcManagedProfile() argument 75 return startPolicyComplianceActivityForResultIfResolved(params, requestCode); in notifyDpcManagedProfile() 80 ProvisioningParams params, int requestCode) { in notifyDpcManagedDeviceOrUser() argument 81 return startPolicyComplianceActivityForResultIfResolved(params, requestCode); in notifyDpcManagedDeviceOrUser() 131 ProvisioningParams params, int requestCode) { in startPolicyComplianceActivityForResultIfResolved() argument 145 getDpcIntentSender(params, requestCode)); in startPolicyComplianceActivityForResultIfResolved() 147 mLastRequestCode = requestCode; in startPolicyComplianceActivityForResultIfResolved() 152 private Runnable getDpcIntentSender(ProvisioningParams params, int requestCode) { in getDpcIntentSender() argument 155 mActivity, params, requestCode, mUtils, mProvisioningAnalyticsTracker, in getDpcIntentSender()
|
D | FinalizationInsideSuwActivity.java | 53 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 54 switch (requestCode) { in onActivityResult() 64 + "requestCode = " + requestCode + ", resultCode = " + resultCode); in onActivityResult() 76 ProvisionLogger.logw("onActivityResult: Unknown request code: " + requestCode); in onActivityResult()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | StartForFutureActivity.kt | 41 val requestCode = nextRequestCode.getAndIncrement() in startActivityForFuture() constant 42 futures.put(requestCode, future) in startActivityForFuture() 43 startActivityForResult(intent, requestCode) in startActivityForFuture() 46 override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { in onActivityResult() 47 super.onActivityResult(requestCode, resultCode, data) in onActivityResult() 49 futures.remove(requestCode) in onActivityResult()
|
/packages/services/Car/tests/CarFrameworkPackageStubsTest/src/com/android/car/frameworkpackagestubs/test/ |
D | GetResultActivity.java | 32 public final int requestCode; field in GetResultActivity.Result 36 public Result(int requestCode, int resultCode, Intent data) { in Result() argument 37 this.requestCode = requestCode; in Result() 65 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 67 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | GetResultActivity.java | 31 public final int requestCode; field in GetResultActivity.Result 35 public Result(int requestCode, int resultCode, Intent data) { in Result() argument 36 this.requestCode = requestCode; in Result() 52 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 54 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | SettingsFragment.java | 339 public void startActivityForResult(Intent intent, int requestCode, in startActivityForResult() argument 341 validateRequestCodeForPreferenceController(requestCode); in startActivityForResult() 343 super.startActivityForResult(intent, ((requestIndex + 1) << 8) + (requestCode & 0xff)); in startActivityForResult() 347 public void startIntentSenderForResult(IntentSender intent, int requestCode, in startIntentSenderForResult() argument 351 validateRequestCodeForPreferenceController(requestCode); in startIntentSenderForResult() 353 super.startIntentSenderForResult(intent, ((requestIndex + 1) << 8) + (requestCode & 0xff), in startIntentSenderForResult() 358 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 359 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 360 int requestIndex = (requestCode >> 8) & 0xff; in onActivityResult() 366 callback.processActivityResult(requestCode & 0xff, resultCode, data); in onActivityResult() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetAddFlowHandler.java | 56 public void startBindFlow(Launcher launcher, int appWidgetId, ItemInfo info, int requestCode) { in startBindFlow() argument 59 .startBindFlow(launcher, appWidgetId, mProviderInfo, requestCode); in startBindFlow() 66 int requestCode) { in startConfigActivity() argument 67 return startConfigActivity(launcher, info.appWidgetId, info, requestCode); in startConfigActivity() 75 int requestCode) { in startConfigActivity() argument 80 launcher.getAppWidgetHolder().startConfigActivity(launcher, appWidgetId, requestCode); in startConfigActivity()
|
D | LauncherWidgetHolder.java | 212 int requestCode) { in startConfigActivity() argument 214 sendActionCancelled(activity, requestCode); in startConfigActivity() 220 mWidgetHost.startAppWidgetConfigureActivityForResult(activity, widgetId, 0, requestCode, in startConfigActivity() 224 sendActionCancelled(activity, requestCode); in startConfigActivity() 228 private void sendActionCancelled(final BaseActivity activity, final int requestCode) { in sendActionCancelled() argument 230 () -> activity.onActivityResult(requestCode, RESULT_CANCELED, null)); in sendActionCancelled() 263 int appWidgetId, @NonNull AppWidgetProviderInfo info, int requestCode) { in startBindFlow() argument 265 sendActionCancelled(activity, requestCode); in startBindFlow() 275 activity.startActivityForResult(intent, requestCode); in startBindFlow()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | TransitionHelper.java | 118 Activity activity, Intent intent, int requestCode) { in startActivityForResultWithTransition() argument 122 activity.startActivityForResult(intent, requestCode); in startActivityForResultWithTransition() 131 activity, intent, requestCode, previousBundle)); in startActivityForResultWithTransition() 134 .startActivityForResultWithTransition(activity, intent, requestCode)); in startActivityForResultWithTransition() 160 Activity activity, Intent intent, int requestCode, UserHandle userHandle) { in startActivityForResultAsUserWithTransition() argument 165 activity.startActivityForResultAsUser(intent, requestCode, userHandle); in startActivityForResultAsUserWithTransition() 170 activity.startActivityForResultAsUser(intent, requestCode, options, userHandle)); in startActivityForResultAsUserWithTransition()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | TestPreProvisioningActivity.java | 42 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 43 Log.i(TAG, "onActivityResult " + requestCode); in onActivityResult() 45 if (requestCode == PROVISIONING_REQUEST_CODE) { in onActivityResult() 48 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/proxy/ |
D | ProxyActivityStarter.java | 70 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 71 if (requestCode == mParams.requestCode) { in onActivityResult() 86 startActivityForResult(mParams.intent, mParams.requestCode, mParams.options); in startActivity() 95 startIntentSenderForResult(mParams.intentSender, mParams.requestCode, in startIntentSender()
|
/packages/apps/Provision/src/com/android/provision/ |
D | DefaultActivity.java | 147 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 148 Log.d(TAG, "onActivityResult(): request=" + requestCode + ", result=" in onActivityResult() 151 switch (requestCode) { in onActivityResult() 157 onProvisioningStep2Result(requestCode, resultCode); in onActivityResult() 160 showErrorMessage("onActivityResult(): invalid request code " + requestCode); in onActivityResult() 185 private void onProvisioningStep2Result(int requestCode, int resultCode) { in onProvisioningStep2Result() argument 190 boolean doMode = requestCode == REQUEST_CODE_STEP2_DO; in onProvisioningStep2Result()
|
/packages/modules/Permission/tests/cts/permission/AppThatRequestCustomCameraPermission/src/android/permission/cts/appthatrequestcustomcamerapermission/ |
D | RequestCameraPermission.java | 58 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult() argument 60 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 62 if (requestCode == 0) { in onRequestPermissionsResult() 71 } else if (requestCode == 1) { in onRequestPermissionsResult()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | SetupFingerprintEnrollIntroduction.java | 59 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 70 if (requestCode == BIOMETRIC_FIND_SENSOR_REQUEST && isKeyguardSecure()) { in onActivityResult() 83 } else if (requestCode == ENROLL_NEXT_BIOMETRIC_REQUEST) { in onActivityResult() 100 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 104 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | PendingIntentFactory.java | 187 Context packageContext, int requestCode, Intent intent, int flags) { in getNullableActivityPendingIntent() argument 192 return PendingIntent.getActivity(packageContext, requestCode, intent, flags); in getNullableActivityPendingIntent() 204 Context packageContext, int requestCode, Intent intent, int flags) { in getActivityPendingIntent() argument 209 getNullableActivityPendingIntent(packageContext, requestCode, intent, flags)); in getActivityPendingIntent() 221 Context context, int requestCode, Intent intent, int flags) { in getNonProtectedSystemOnlyBroadcastPendingIntent() argument 232 return PendingIntent.getBroadcast(context, requestCode, intent, flags); in getNonProtectedSystemOnlyBroadcastPendingIntent()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/ |
D | GetProvisioningModeUtilsTest.java | 95 int requestCode = 1; in startGetProvisioningModeActivityIfResolved_resolvableActivity_returnsTrue() local 100 parentActivity, PARAMS, new Bundle(), requestCode, mTransitionHelper)).isTrue(); in startGetProvisioningModeActivityIfResolved_resolvableActivity_returnsTrue() 110 int requestCode = 1; in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent() local 114 parentActivity, PARAMS, new Bundle(), requestCode, mTransitionHelper); in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent() 131 int requestCode = 1; in startGetProvisioningModeActivityIfResolved_resolvableActivity_includesAdditionalExtras() local 138 parentActivity, PARAMS, additionalExtras, requestCode, mTransitionHelper); in startGetProvisioningModeActivityIfResolved_resolvableActivity_includesAdditionalExtras()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/ |
D | PermissionsActivity.java | 52 @NonNull Context context, int requestCode, @NonNull String... permissionStrings) { in run() argument 55 intent.putExtra(EXTRA_PERMISSION_REQUEST_CODE, requestCode); in run() 91 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 94 requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/apps/Settings/src/com/android/settings/privatespace/ |
D | PrivateSpaceSetupActivity.java | 61 protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { in onActivityResult() argument 62 if (requestCode == SET_LOCK_ACTION && resultCode == RESULT_OK) { in onActivityResult() 64 } else if (requestCode == ACCOUNT_LOGIN_ACTION) { in onActivityResult() 77 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetConfigure.java | 104 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 112 if (requestCode == REQUEST_WIDGET_TYPE) { in onActivityResult() 114 } else if (requestCode == REQUEST_CHOOSE_ALBUM) { in onActivityResult() 116 } else if (requestCode == REQUEST_GET_PHOTO) { in onActivityResult() 118 } else if (requestCode == REQUEST_CROP_IMAGE) { in onActivityResult() 121 throw new AssertionError("unknown request: " + requestCode); in onActivityResult()
|
/packages/modules/Permission/tests/cts/role/CtsRoleTestApp/src/android/app/role/cts/app/ |
D | ChangeDefaultDialerActivity.java | 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 45 if (requestCode == REQUEST_CODE_CHANGE_DEFAULT_DIALER) { in onActivityResult() 49 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|