/packages/services/Car/car-support-lib/src/android/support/car/app/ |
D | CarFragmentActivity.java | 122 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 124 int index = requestCode>>16; in onActivityResult() 130 + Integer.toHexString(requestCode)); in onActivityResult() 138 + Integer.toHexString(requestCode)); in onActivityResult() 140 frag.onActivityResult(requestCode&0xffff, resultCode, data); in onActivityResult() 145 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 151 public void startActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { in startActivityFromFragment() argument 152 if (requestCode == -1) { in startActivityFromFragment() 156 if ((requestCode&0xffff0000) != 0) { in startActivityFromFragment() 160 ((getFragmentIndex(fragment)+1)<<16) + (requestCode&0xffff)); in startActivityFromFragment() [all …]
|
D | CarActivity.java | 68 public void validateRequestPermissionsRequestCode(int requestCode); in validateRequestPermissionsRequestCode() argument 92 public void requestPermissions(String[] permissions, int requestCode) { in requestPermissions() argument 99 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() argument 275 public void requestPermissions(String[] permissions, int requestCode) { in requestPermissions() argument 278 .validateRequestPermissionsRequestCode(requestCode); in requestPermissions() 280 mProxy.requestPermissions(permissions, requestCode); in requestPermissions() 321 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() argument 322 mProxy.startActivityForResult(intent, requestCode); in startActivityForResult() 484 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult() argument 491 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
|
D | CarProxyActivity.java | 119 public void requestPermissions(String[] permissions, int requestCode) { 120 CarProxyActivity.this.requestPermissions(permissions, requestCode); 154 public void startActivityForResult(Intent intent, int requestCode) { 155 CarProxyActivity.this.startActivityForResult(intent, requestCode); 233 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 234 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 235 handleCmd(CarActivity.CMD_ON_ACTIVITY_RESULT, requestCode, resultCode, data); in onActivityResult() 301 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] results) { in onRequestPermissionsResult() argument 302 handleCmd(CarActivity.CMD_ON_REQUEST_PERMISSIONS_RESULT, requestCode, permissions, in onRequestPermissionsResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
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/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetAddFlowHandler.java | 57 public void startBindFlow(Launcher launcher, int appWidgetId, ItemInfo info, int requestCode) { in startBindFlow() argument 67 launcher.startActivityForResult(intent, requestCode); in startBindFlow() 74 int requestCode) { in startConfigActivity() argument 75 return startConfigActivity(launcher, info.appWidgetId, info, requestCode); in startConfigActivity() 83 int requestCode) { in startConfigActivity() argument 90 mProviderInfo, appWidgetId, launcher, launcher.getAppWidgetHost(), requestCode); in startConfigActivity()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryComposerFragment.java | 219 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 220 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 221 if (requestCode == RESULT_LOAD_IMAGE && resultCode == RESULT_OK && data != null) { in onActivityResult() 223 } else if (requestCode == RESULT_OPEN_SETTINGS in onActivityResult() 263 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 267 if (requestCode == STORAGE_PERMISSION in onRequestPermissionsResult() 274 } else if (requestCode == STORAGE_PERMISSION) { in onRequestPermissionsResult()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | UIIntentsImpl.java | 299 final String conversationId, final int requestCode) { in launchAttachmentChooserActivity() argument 302 activity.startActivityForResult(intent, requestCode); in launchAttachmentChooserActivity() 393 final int requestCode) { in getPendingIntentForSendingMessageToConversation() argument 402 return getPendingIntentWithParentStack(context, intent, requestCode); in getPendingIntentForSendingMessageToConversation() 408 final int requestCode) { in getPendingIntentForClearingNotifications() argument 417 requestCode, intent, in getPendingIntentForClearingNotifications() 431 final Intent intent, final int requestCode) { in getPendingIntentWithParentStack() argument 436 stackBuilder.getPendingIntent(requestCode, PendingIntent.FLAG_UPDATE_CURRENT); in getPendingIntentWithParentStack() 545 final String conversationId, final int requestCode) { in getWidgetPendingIntentForConversationActivity() argument 557 return getPendingIntentWithParentStack(context, intent, requestCode); in getWidgetPendingIntentForConversationActivity()
|
D | UIIntents.java | 222 final String conversationId, final int requestCode); in launchAttachmentChooserActivity() argument 314 final boolean requiresMms, final int requestCode); in getPendingIntentForSendingMessageToConversation() argument 323 final int requestCode); in getPendingIntentForClearingNotifications() argument 370 final Context context, final String conversationId, final int requestCode); in getWidgetPendingIntentForConversationActivity() argument
|
/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/apps/Launcher3/src/com/android/launcher3/compat/ |
D | ShortcutConfigActivityInfo.java | 81 public boolean startConfigActivity(Activity activity, int requestCode) { in startConfigActivity() argument 85 activity.startActivityForResult(intent, requestCode); in startConfigActivity() 150 public boolean startConfigActivity(Activity activity, int requestCode) { in startConfigActivity() argument 152 return super.startConfigActivity(activity, requestCode); in startConfigActivity() 159 activity.startIntentSenderForResult(is, requestCode, null, 0, 0, 0); in startConfigActivity()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ActionServiceImpl.java | 65 protected static void scheduleAction(final Action action, final int requestCode, in scheduleAction() argument 72 PendingActionReceiver.scheduleAlarm(intent, requestCode, delayMs); in scheduleAction() 159 public static void scheduleAlarm(final Intent intent, final int requestCode, in scheduleAlarm() argument 163 context, requestCode, intent, PendingIntent.FLAG_CANCEL_CURRENT); in scheduleAlarm() 190 final Action action, final int requestCode, final boolean launchesAnActivity) { in makeStartActionPendingIntent() argument 198 return PendingIntent.getBroadcast(context, requestCode, intent, in makeStartActionPendingIntent()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | RestrictedProfileSettings.java | 93 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() argument 95 super.startActivityForResult(intent, requestCode); in startActivityForResult() 99 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 100 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 102 mEditUserInfoController.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/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/Contacts/src/com/android/contacts/util/ |
D | ImplicitIntentsUtil.java | 112 int previousScreenType, int requestCode) { in startQuickContactForResult() argument 113 startQuickContact(activity, contactLookupUri, previousScreenType, requestCode); in startQuickContactForResult() 117 int previousScreenType, int requestCode) { in startQuickContact() argument 122 if (requestCode >= 0) { in startQuickContact() 124 activity.startActivityForResult(intent, requestCode); in startQuickContact()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | StateManager.java | 78 int requestCode, Bundle data) { in startStateForResult() argument 79 Log.v(TAG, "startStateForResult " + klass + ", " + requestCode); in startStateForResult() 88 state.mResult.requestCode = requestCode; in startStateForResult() 132 public void notifyActivityResult(int requestCode, int resultCode, Intent data) { in notifyActivityResult() argument 133 getTopState().onStateResult(requestCode, resultCode, data); in notifyActivityResult()
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | FingerprintEnrollIntroduction.java | 163 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 165 if (requestCode == FINGERPRINT_FIND_SENSOR_REQUEST) { in onActivityResult() 172 } else if (requestCode == CHOOSE_LOCK_GENERIC_REQUEST) { in onActivityResult() 180 } else if (requestCode == LEARN_MORE_REQUEST) { in onActivityResult() 183 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
D | FingerprintEnrollFindSensor.java | 144 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 145 if (requestCode == CONFIRM_REQUEST) { in onActivityResult() 154 } else if (requestCode == ENROLLING) { in onActivityResult() 177 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/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/TV/src/com/android/tv/ |
D | LauncherActivity.java | 64 int requestCode) { in startActivityForResultSafe() argument 65 if (requestCode == REQUEST_CODE_DEFAULT) { in startActivityForResultSafe() 71 requestCode); in startActivityForResultSafe() local 109 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 665 int requestCode, Intent intent, int appWidgetId, PendingRequestArgs info) { in completeAdd() argument 673 switch (requestCode) { in completeAdd() 704 final int requestCode, final int resultCode, final Intent data) { in handleActivityResult() argument 707 mPendingActivityResult = new ActivityResultInfo(requestCode, resultCode, data); in handleActivityResult() 729 if (requestCode == REQUEST_BIND_APPWIDGET) { in handleActivityResult() 744 } else if (requestCode == REQUEST_PICK_WALLPAPER) { in handleActivityResult() 754 boolean isWidgetDrop = (requestCode == REQUEST_PICK_APPWIDGET || in handleActivityResult() 755 requestCode == REQUEST_CREATE_APPWIDGET); in handleActivityResult() 807 if (requestCode == REQUEST_RECONFIGURE_APPWIDGET in handleActivityResult() 808 || requestCode == REQUEST_BIND_PENDING_APPWIDGET) { in handleActivityResult() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | CredentialStorage.java | 463 private boolean confirmKeyGuard(int requestCode) { in confirmKeyGuard() argument 466 .launchConfirmationActivity(requestCode, in confirmKeyGuard() 472 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 473 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 478 if (requestCode == CONFIRM_KEY_GUARD_REQUEST) { in onActivityResult() 490 } else if (requestCode == CONFIRM_CLEAR_SYSTEM_CREDENTIAL_REQUEST) { in onActivityResult()
|
D | ChooseLockGeneric.java | 306 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 307 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 309 if (requestCode == CONFIRM_EXISTING_REQUEST && resultCode == Activity.RESULT_OK) { in onActivityResult() 321 } else if (requestCode == CHOOSE_LOCK_REQUEST in onActivityResult() 322 || requestCode == ENABLE_ENCRYPTION_REQUEST) { in onActivityResult() 327 } else if (requestCode == CHOOSE_LOCK_BEFORE_FINGERPRINT_REQUEST in onActivityResult() 337 } else if (requestCode == SKIP_FINGERPRINT_REQUEST) { in onActivityResult() 347 if (requestCode == Activity.RESULT_CANCELED && mForChangeCredRequiredForBoot) { in onActivityResult()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorActivity.java | 250 protected void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { in startPhotoActivity() argument 252 startActivityForResult(intent, requestCode); in startPhotoActivity() 447 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 451 if (mPhotoSelectionHandler.handlePhotoActivityResult(requestCode, resultCode, data)) { in onActivityResult() 454 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewBrowserActivity.java | 305 int requestCode = mNextRequestKey; in requestPermissionsForPage() local 307 mPendingRequests.append(requestCode, request); in requestPermissionsForPage() 308 requestPermissions(androidPermissionsNeeded.toArray(new String[0]), requestCode); in requestPermissionsForPage() local 312 public void onRequestPermissionsResult(int requestCode, in onRequestPermissionsResult() argument 317 PermissionRequest request = mPendingRequests.get(requestCode); in onRequestPermissionsResult() 325 mPendingRequests.delete(requestCode); in onRequestPermissionsResult()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstallerMain.java | 176 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 177 if (requestCode == REQUEST_OPEN_DOCUMENT) { in onActivityResult() 183 } else if (requestCode == REQUEST_INSTALL) { in onActivityResult() 187 Log.w(TAG, "unknown request code: " + requestCode); in onActivityResult()
|