/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/ |
D | ShadowGooglePlayServicesUtil.java | 57 Fragment fragment, int requestCode, OnCancelListener cancelListener) { in showErrorDialogFragment() argument 59 errorCode, activity, fragment, requestCode, cancelListener); in showErrorDialogFragment() 64 int requestCode) { in showErrorDialogFragment() argument 66 errorCode, activity, requestCode); in showErrorDialogFragment() 71 int errorCode, Activity activity, int requestCode, OnCancelListener cancelListener) { in showErrorDialogFragment() argument 73 errorCode, activity, requestCode, cancelListener); in showErrorDialogFragment() 78 int requestCode) { in getErrorDialog() argument 79 return googlePlayServicesUtilImpl.getErrorDialog(errorCode, activity, requestCode); in getErrorDialog() 84 int requestCode, OnCancelListener cancelListener) { in getErrorDialog() argument 86 errorCode, activity, requestCode, cancelListener); in getErrorDialog() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPendingIntent.java | 57 private int requestCode; field in ShadowPendingIntent 64 Context context, int requestCode, @NonNull Intent intent, int flags) { in getActivity() argument 65 return create(context, new Intent[] {intent}, Type.ACTIVITY, requestCode, flags); in getActivity() 70 Context context, int requestCode, @NonNull Intent intent, int flags, Bundle options) { in getActivity() argument 71 return create(context, new Intent[] {intent}, Type.ACTIVITY, requestCode, flags); in getActivity() 76 Context context, int requestCode, @NonNull Intent[] intents, int flags) { in getActivities() argument 77 return create(context, intents, Type.ACTIVITY, requestCode, flags); in getActivities() 82 Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options) { in getActivities() argument 83 return create(context, intents, Type.ACTIVITY, requestCode, flags); in getActivities() 88 Context context, int requestCode, @NonNull Intent intent, int flags) { in getBroadcast() argument [all …]
|
D | ShadowInstrumentation.java | 100 int requestCode, in execStartActivity() argument 104 logStartedActivity(intent, requestCode, options); in execStartActivity() 110 .execStartActivity(who, contextThread, token, target, intent, requestCode, options); in execStartActivity() 120 int requestCode, in execStartActivity() argument 123 logStartedActivity(intent, requestCode, options); in execStartActivity() 127 private void logStartedActivity(Intent intent, int requestCode, Bundle options) { in logStartedActivity() argument 129 intentRequestCodeMap.put(new FilterComparison(intent), requestCode); in logStartedActivity() 130 startedActivitiesForResults.add(new IntentForResult(intent, requestCode, options)); in logStartedActivity() 166 int requestCode, in execStartActivity() argument 169 logStartedActivity(intent, requestCode, options); in execStartActivity() [all …]
|
D | ShadowActivity.java | 572 public void callOnActivityResult(int requestCode, int resultCode, Intent resultData) { in callOnActivityResult() argument 576 .with(requestCode, resultCode, resultData); in callOnActivityResult() 585 public int requestCode; field in ShadowActivity.IntentForResult 588 public IntentForResult(Intent intent, int requestCode) { in IntentForResult() argument 590 this.requestCode = requestCode; in IntentForResult() 594 public IntentForResult(Intent intent, int requestCode, Bundle options) { in IntentForResult() argument 596 this.requestCode = requestCode; in IntentForResult() 604 int requestCode = shadowInstrumentation.getRequestCodeForIntent(requestIntent); in receiveResult() local 606 callOnActivityResult(requestCode, resultCode, resultIntent); in receiveResult() 728 protected final void requestPermissions(String[] permissions, int requestCode) { in requestPermissions() argument [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/ |
D | RoboMonitoringInstrumentation.java | 71 int requestCode) { in execStartActivity() argument 74 super.execStartActivity(who, contextThread, token, target, intent, requestCode); in execStartActivity() 77 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity() 90 int requestCode, in execStartActivity() argument 93 super.execStartActivity(who, contextThread, token, target, intent, requestCode, options); in execStartActivity() 96 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity() 109 int requestCode, in execStartActivity() argument 113 super.execStartActivity(who, contextThread, token, target, intent, requestCode, options); in execStartActivity() 116 shadowActivity.callOnActivityResult(requestCode, ar.getResultCode(), ar.getResultData()); in execStartActivity() 129 int requestCode, in execStartActivity() argument [all …]
|
/external/libtextclassifier/jni/com/google/android/textclassifier/ |
D | RemoteActionTemplate.java | 63 public final Integer requestCode; field in RemoteActionTemplate 77 Integer requestCode) { in RemoteActionTemplate() argument 89 this.requestCode = requestCode; in RemoteActionTemplate()
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/ |
D | LabeledIntent.java | 54 public final int requestCode; field in LabeledIntent 73 int requestCode) { in LabeledIntent() argument 83 this.requestCode = requestCode; in LabeledIntent() 161 final PendingIntent pendingIntent = createPendingIntent(context, resolvedIntent, requestCode); in createRemoteAction() 211 final Context context, final Intent intent, int requestCode) { in createPendingIntent() argument 214 requestCode, in createPendingIntent()
|
D | TemplateIntentFactory.java | 53 remoteActionTemplate.requestCode == null in create() 55 : remoteActionTemplate.requestCode)); in create()
|
/external/setupdesign/main/src/com/google/android/setupdesign/transition/ |
D | TransitionHelper.java | 456 Activity activity, Intent intent, int requestCode) { in startActivityForResultWithTransition() argument 458 activity, intent, requestCode, /* overrideActivityOptions= */ null); in startActivityForResultWithTransition() 470 Activity activity, Intent intent, int requestCode, Bundle overrideActivityOptions) { in startActivityForResultWithTransition() argument 504 activity.startActivityForResult(intent, requestCode, bundleActivityOptions); in startActivityForResultWithTransition() 512 activity, intent, requestCode, overrideActivityOptions); in startActivityForResultWithTransition() 516 activity, intent, requestCode, overrideActivityOptions); in startActivityForResultWithTransition() 523 Activity activity, Intent intent, int requestCode, Bundle overrideActivityOptions) { in startActivityForResultWithTransitionInternal() argument 528 activity.startActivityForResult(intent, requestCode, overrideActivityOptions); in startActivityForResultWithTransitionInternal() 530 activity.startActivityForResult(intent, requestCode); in startActivityForResultWithTransitionInternal() 538 activity.startActivityForResult(intent, requestCode); in startActivityForResultWithTransitionInternal()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/future/ |
D | FutureActivityTask.java | 73 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 96 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() argument 97 mActivity.startActivityForResult(intent, requestCode); in startActivityForResult()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | PreviewFragment.kt | 100 override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { in <lambda>() 102 when (requestCode) { in <lambda>() 107 …override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantRes… in <lambda>() 108 when (requestCode) { in <lambda>()
|
D | FilmStripSnapshotActivity.kt | 61 …override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantRes… in <lambda>() 62 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in <lambda>() 63 when (requestCode) { in <lambda>()
|
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/common/ |
D | ShadowGoogleApiAvailability.java | 53 public Dialog getErrorDialog(Activity activity, int errorCode, int requestCode) { in getErrorDialog() argument 58 public Dialog getErrorDialog(Activity activity, int errorCode, int requestCode, in getErrorDialog() argument
|
/external/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/ |
D | MainActivity.java | 136 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument 139 if (APP_PERMISSION_REQUEST != requestCode) { in onRequestPermissionsResult() 140 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/ |
D | MainActivity.kt | 129 requestCode: Int, in <lambda>() 133 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in <lambda>() 134 when (requestCode) { in <lambda>()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | TestInputActivity.java | 159 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument 162 if (AUDIO_ECHO_REQUEST != requestCode) { in onRequestPermissionsResult() 163 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowActivityTest.java | 172 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 175 + requestCode in onActivityResult() 238 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 270 assertThat(intentForResult.requestCode).isEqualTo(142); in shouldSupportGetStartedActivitiesForResult() 286 assertThat(intentForResult.requestCode).isEqualTo(142); in shouldSupportPeekStartedActivitiesForResult() 818 assertThat(intentForResult.requestCode).isEqualTo(4); in canStartActivityFromFragment() 832 assertThat(intentForResult.requestCode).isEqualTo(5); in canStartActivityFromFragment_withBundle() 948 int requestCode = 1007; in getPermission_shouldReturnRequestedPermissions() local 952 activity.requestPermissions(permission, requestCode); in getPermission_shouldReturnRequestedPermissions() 956 assertThat(request.requestCode).isEqualTo(requestCode); in getPermission_shouldReturnRequestedPermissions()
|
/external/oboe/samples/LiveEffect/src/main/java/com/google/oboe/samples/liveEffect/ |
D | MainActivity.java | 234 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument 237 if (AUDIO_EFFECT_REQUEST != requestCode) { in onRequestPermissionsResult() 238 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/activity/ |
D | FutureActivity.java | 138 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 140 mTask.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
D | SkottieActivity.java | 258 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 259 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 261 if (requestCode == PICK_FILE_REQUEST) if (data != null) { in onActivityResult()
|
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
D | SkottieActivity.java | 281 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 282 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 284 if (requestCode == PICK_FILE_REQUEST) if (data != null) { in onActivityResult()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
D | ApiBrowser.java | 243 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 244 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 245 RequestCode request = RequestCode.values()[requestCode]; in onActivityResult()
|
D | TriggerManager.java | 184 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 187 if (requestCode == MenuId.ADD.getId()) { in onActivityResult()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | LoopbackActivity.java | 1492 public void onActivityResult(int requestCode, int resultCode, Intent resultData) { in onActivityResult() argument 1493 log("ActivityResult request: " + requestCode + " result:" + resultCode); in onActivityResult() 1496 switch (requestCode) { in onActivityResult() 2449 private void requestRecordAudioPermission(int requestCode) { in requestRecordAudioPermission() argument 2463 ActivityCompat.requestPermissions(this, new String[]{requiredPermission}, requestCode); in requestRecordAudioPermission() 2467 public void onRequestPermissionsResult(int requestCode, in onRequestPermissionsResult() argument 2472 if (requestCode == PERMISSIONS_REQUEST_WRITE_EXTERNAL_STORAGE_RESULTS ) { in onRequestPermissionsResult() 2474 } else if (requestCode == PERMISSIONS_REQUEST_WRITE_EXTERNAL_STORAGE_SCRIPT ) { in onRequestPermissionsResult() 2476 } else if (requestCode == PERMISSIONS_REQUEST_RECORD_AUDIO_BUFFER) { in onRequestPermissionsResult() 2478 } else if (requestCode == PERMISSIONS_REQUEST_RECORD_AUDIO_LATENCY) { in onRequestPermissionsResult() [all …]
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/intent/ |
D | TemplateIntentFactoryTest.java | 104 assertThat(labeledIntent.requestCode).isEqualTo(REQUEST_CODE); in create_full() 169 assertThat(labeledIntent.requestCode).isEqualTo(LabeledIntent.DEFAULT_REQUEST_CODE); in create_minimal()
|