Home
last modified time | relevance | path

Searched refs:resultIntent (Results 1 – 15 of 15) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityController.java425 boolean updateProvisioningParamsFromIntent(Intent resultIntent) { in updateProvisioningParamsFromIntent() argument
426 final int provisioningMode = resultIntent.getIntExtra( in updateProvisioningParamsFromIntent()
437 resultIntent, in updateProvisioningParamsFromIntent()
444 resultIntent, in updateProvisioningParamsFromIntent()
451 resultIntent, in updateProvisioningParamsFromIntent()
463 private void updateParamsPostProvisioningModeDecision(Intent resultIntent, in updateParamsPostProvisioningModeDecision() argument
470 maybeUpdateAdminExtrasBundle(builder, resultIntent); in updateParamsPostProvisioningModeDecision()
471 maybeUpdateSkipEducationScreens(builder, resultIntent); in updateParamsPostProvisioningModeDecision()
473 maybeUpdateAccountToMigrate(builder, resultIntent); in updateParamsPostProvisioningModeDecision()
476 maybeUpdateKeepAccountMigrated(builder, resultIntent); in updateParamsPostProvisioningModeDecision()
[all …]
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java226 Intent resultIntent = new Intent(Settings.ACTION_WIRELESS_SETTINGS); in createSimSelectNotification() local
227 resultIntent.setPackage(SETTINGS_PACKAGE_NAME); in createSimSelectNotification()
228 resultIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in createSimSelectNotification()
229 PendingIntent resultPendingIntent = PendingIntent.getActivity(context, 0, resultIntent, in createSimSelectNotification()
263 Intent resultIntent = new Intent(Settings.ACTION_MMS_MESSAGE_SETTING); in createEnableMmsNotification() local
264 resultIntent.setClass(context, MobileNetworkActivity.class); in createEnableMmsNotification()
265 resultIntent.putExtra(Settings.EXTRA_SUB_ID, subId); in createEnableMmsNotification()
266 resultIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in createEnableMmsNotification()
267 PendingIntent resultPendingIntent = PendingIntent.getActivity(context, 0, resultIntent, in createEnableMmsNotification()
312 Intent resultIntent = new Intent(context, HelpTrampoline.class); in createSimCombinationWarningNotification() local
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityControllerTest.java1044 Intent resultIntent = new Intent() in testUpdateProvisioningParamsFromIntent_managedProfileModeWithAccountMigratedExtraTrue_setsParamToTrue() local
1054 mController.updateProvisioningParamsFromIntent(resultIntent); in testUpdateProvisioningParamsFromIntent_managedProfileModeWithAccountMigratedExtraTrue_setsParamToTrue()
1060 Intent resultIntent = new Intent() in testUpdateProvisioningParamsFromIntent_managedProfileModeWithAccountMigratedExtraFalse_setsParamToFalse() local
1070 mController.updateProvisioningParamsFromIntent(resultIntent); in testUpdateProvisioningParamsFromIntent_managedProfileModeWithAccountMigratedExtraFalse_setsParamToFalse()
1076 Intent resultIntent = new Intent() in testUpdateProvisioningParamsFromIntent_managedProfileMode_accountMigratedIsFalse() local
1085 mController.updateProvisioningParamsFromIntent(resultIntent); in testUpdateProvisioningParamsFromIntent_managedProfileMode_accountMigratedIsFalse()
1091 Intent resultIntent = new Intent() in testUpdateProvisioningParamsFromIntent_managedDeviceModeWithAccountMigratedExtraTrue_accountMigratedIsFalse() local
1101 mController.updateProvisioningParamsFromIntent(resultIntent); in testUpdateProvisioningParamsFromIntent_managedDeviceModeWithAccountMigratedExtraTrue_accountMigratedIsFalse()
1107 Intent resultIntent = new Intent() in testUpdateProvisioningParamsFromIntent_managedProfileModeWithLeaveSystemAppsEnabledTrue_setsParamToTrue() local
1117 mController.updateProvisioningParamsFromIntent(resultIntent); in testUpdateProvisioningParamsFromIntent_managedProfileModeWithLeaveSystemAppsEnabledTrue_setsParamToTrue()
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationClickHandlerFactory.java171 Intent resultIntent = addCannedReplyMessage(action, context); in getActionClickHandler() local
172 int result = sendPendingIntent(action.actionIntent, context, resultIntent); in getActionClickHandler()
361 Intent resultIntent) {
364 /* intent= */ resultIntent, /* onFinished= */null,
385 Intent resultIntent = new Intent();
387 new RemoteInput[]{remoteInput}, resultIntent, messageDataBundle);
388 return resultIntent;
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateIntentCompleted.java39 Intent resultIntent) { in from() argument
41 savingPicture, resourceConstructed, Optional.of(resultIntent)); in from()
54 Optional<Intent> resultIntent) { in StateIntentCompleted() argument
58 mResultIntent = resultIntent; in StateIntentCompleted()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorActivity.java281 public void onSaveFinished(Intent resultIntent) {
283 setResult(resultIntent == null ? RESULT_CANCELED : RESULT_OK, resultIntent);
284 } else if (resultIntent != null) {
286 ContactEditorActivity.this, resultIntent);
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DFallbackAssistant.java207 private int sendPendingIntent(PendingIntent pendingIntent, Intent resultIntent) { in sendPendingIntent() argument
210 /* intent= */ resultIntent, /* onFinished= */null, in sendPendingIntent()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeScannerFragment.java689 final Intent resultIntent = new Intent(); in onSuccess() local
690 resultIntent.putExtra(KEY_WIFI_CONFIGURATION, mEnrolleeWifiConfiguration); in onSuccess()
693 hostActivity.setResult(Activity.RESULT_OK, resultIntent); in onSuccess()
DWifiDppAddDeviceFragment.java171 private void showErrorUi(int code, Intent resultIntent, boolean isConfigurationChange) { in showErrorUi() argument
257 getActivity().setResult(Activity.RESULT_CANCELED, resultIntent); in showErrorUi()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java258 void onSaveFinished(Intent resultIntent); in onSaveFinished() argument
1497 final Intent resultIntent; in onSaveCompleted() local
1501 resultIntent = ImplicitIntentsUtil.composeQuickContactIntent( in onSaveCompleted()
1503 resultIntent.putExtra(QuickContactActivity.EXTRA_CONTACT_EDITED, true); in onSaveCompleted()
1505 resultIntent = null; in onSaveCompleted()
1509 if (mListener != null) mListener.onSaveFinished(resultIntent); in onSaveCompleted()
/packages/apps/Camera2/src/com/android/camera/app/
DAppController.java418 public void finishActivityWithIntentCompleted(Intent resultIntent); in finishActivityWithIntentCompleted() argument
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1074 Intent resultIntent = new Intent(); in doReturnToCaller() local
1078 resultIntent.setData(mCurrentVideoUri); in doReturnToCaller()
1079 resultIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in doReturnToCaller()
1083 mActivity.setResultEx(resultCode, resultIntent); in doReturnToCaller()
DCameraActivity.java2887 public void finishActivityWithIntentCompleted(Intent resultIntent) { in finishActivityWithIntentCompleted() argument
2888 finishActivityWithIntentResult(Activity.RESULT_OK, resultIntent); in finishActivityWithIntentCompleted()
2896 private void finishActivityWithIntentResult(int resultCode, Intent resultIntent) { in finishActivityWithIntentResult() argument
2898 mResultDataForTesting = resultIntent; in finishActivityWithIntentResult()
2899 setResult(resultCode, resultIntent); in finishActivityWithIntentResult()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java229 public static boolean canUndo(Intent resultIntent) { in canUndo() argument
230 return resultIntent.hasExtra(EXTRA_UNDO_DATA); in canUndo()
879 public static Intent createUndoIntent(Context context, Intent resultIntent) { in createUndoIntent() argument
882 serviceIntent.putExtras(resultIntent); in createUndoIntent()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java1142 Intent resultIntent = new Intent(); in doReturnToCaller() local
1146 resultIntent.setData(mCurrentVideoUri); in doReturnToCaller()
1150 setResultEx(resultCode, resultIntent); in doReturnToCaller()