/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 | ShadowActivity.java | 534 public void callOnActivityResult(int requestCode, int resultCode, Intent resultData) { in callOnActivityResult() argument 538 .with(requestCode, resultCode, resultData); in callOnActivityResult() 547 public int requestCode; field in ShadowActivity.IntentForResult 550 public IntentForResult(Intent intent, int requestCode) { in IntentForResult() argument 552 this.requestCode = requestCode; in IntentForResult() 556 public IntentForResult(Intent intent, int requestCode, Bundle options) { in IntentForResult() argument 558 this.requestCode = requestCode; in IntentForResult() 566 int requestCode = shadowInstrumentation.getRequestCodeForIntent(requestIntent); in receiveResult() local 568 callOnActivityResult(requestCode, resultCode, resultIntent); in receiveResult() 690 protected final void requestPermissions(String[] permissions, int requestCode) { in requestPermissions() 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 | ShadowAlarmManager.java | 173 final int requestCode = shadowPendingIntent.getRequestCode(); in cancel() local 179 if (scheduledIntent.filterEquals(toRemove) && scheduledRequestCode == requestCode) { in cancel()
|
/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/java/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/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/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowActivityTest.java | 171 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 174 + requestCode in onActivityResult() 237 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 269 assertThat(intentForResult.requestCode).isEqualTo(142); in shouldSupportGetStartedActivitiesForResult() 285 assertThat(intentForResult.requestCode).isEqualTo(142); in shouldSupportPeekStartedActivitiesForResult() 817 assertThat(intentForResult.requestCode).isEqualTo(4); in canStartActivityFromFragment() 831 assertThat(intentForResult.requestCode).isEqualTo(5); in canStartActivityFromFragment_withBundle() 930 int requestCode = 1007; in getPermission_shouldReturnRequestedPermissions() local 934 activity.requestPermissions(permission, requestCode); in getPermission_shouldReturnRequestedPermissions() 938 assertThat(request.requestCode).isEqualTo(requestCode); in getPermission_shouldReturnRequestedPermissions()
|
/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/skia/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/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/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()
|
D | ScriptEditor.java | 236 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 237 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 238 RequestCode request = RequestCode.values()[requestCode]; 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/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | SpeechActivity.java | 169 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 170 if (requestCode == REQUEST_RECORD_AUDIO in onRequestPermissionsResult()
|
D | CameraActivity.java | 274 final int requestCode, final String[] permissions, final int[] grantResults) { in onRequestPermissionsResult() argument 275 if (requestCode == PERMISSIONS_REQUEST) { in onRequestPermissionsResult()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | AndouKun.java | 470 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument 471 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult() 473 if (requestCode == ACTIVITY_CHANGE_LEVELS) { in onActivityResult() 489 } else if (requestCode == ACTIVITY_ANIMATION_PLAYER) { in onActivityResult()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | SpeechActivity.java | 192 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 193 if (requestCode == REQUEST_RECORD_AUDIO in onRequestPermissionsResult()
|
D | CameraActivity.java | 272 final int requestCode, final String[] permissions, final int[] grantResults) { in onRequestPermissionsResult() argument 273 if (requestCode == PERMISSIONS_REQUEST) { in onRequestPermissionsResult()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | AudioFragment.java | 226 …public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 227 switch (requestCode) { in onRequestPermissionsResult()
|
D | MainActivity.java | 458 …public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull in… in onRequestPermissionsResult() argument 459 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 465 switch (requestCode) { in onRequestPermissionsResult()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | ConnectActivity.java | 211 int requestCode, int resultCode, Intent data) { in onActivityResult() argument 212 if (requestCode == CONNECTION_REQUEST && commandLineRun) { in onActivityResult()
|