/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppLatest/src/android/permissionui/cts/usepermission/ |
D | RequestPermissionsActivity.kt | 52 grantResults: IntArray in onRequestPermissionsResult() 54 handleResult(permissions, grantResults) in onRequestPermissionsResult() 60 grantResults: IntArray, in onRequestPermissionsResult() 63 handleResult(permissions, grantResults, deviceId) in onRequestPermissionsResult() 68 grantResults: IntArray, in handleResult() 81 putExtra("$packageName.GRANT_RESULTS", grantResults) in handleResult()
|
/packages/modules/Permission/tests/cts/permission/AppThatRequestCustomCameraPermission/src/android/permission/cts/appthatrequestcustomcamerapermission/ |
D | RequestCameraPermission.java | 59 int[] grantResults) { in onRequestPermissionsResult() argument 60 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 63 if (grantResults[0] != PERMISSION_GRANTED) { in onRequestPermissionsResult() 72 if (grantResults[0] != PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrSeriesDeletionActivity.java | 63 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 67 if (grantResults.length > 0 in onRequestPermissionsResult() 68 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult() 81 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/modules/Permission/tests/cts/permissionui/UsePermissionApp30WithBackground/src/android/permissionui/cts/usepermission/ |
D | RequestPermissionsActivity.kt | 40 grantResults: IntArray in onRequestPermissionsResult() 42 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in onRequestPermissionsResult() 48 putExtra("$packageName.GRANT_RESULTS", grantResults) in onRequestPermissionsResult()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | PermissionFragment.java | 70 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 74 for (int i = 0; i < grantResults.length; ++i) { in onRequestPermissionsResult() 75 if (grantResults[i] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult() 93 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | SystemUpdaterActivity.java | 96 int[] grantResults) { in onRequestPermissionsResult() argument 97 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 99 if (grantResults.length == 0) { in onRequestPermissionsResult() 102 for (int grantResult : grantResults) { in onRequestPermissionsResult()
|
/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppWithOverlay/src/android/permissionui/cts/usepermission/ |
D | RequestPermissionsActivity.kt | 77 grantResults: IntArray in onRequestPermissionsResult() 79 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in onRequestPermissionsResult() 85 putExtra("$packageName.GRANT_RESULTS", grantResults) in onRequestPermissionsResult()
|
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/ |
D | MainActivity.java | 78 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 79 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 82 for (int r : grantResults) { in onRequestPermissionsResult()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | DetailsActivity.java | 184 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 188 if (grantResults.length > 0 in onRequestPermissionsResult() 189 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult() 200 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | CallContactActivity.java | 129 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 135 if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
D | SignInActivity.java | 121 int[] grantResults) { in onRequestPermissionsResult() argument 126 for (int i = 0; i < grantResults.length; i++) { in onRequestPermissionsResult() 127 if (grantResults[i] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/modules/Permission/tests/cts/permissionui/CreateNotificationChannelsApp31/src/android/permissionui/cts/usepermission/ |
D | CreateNotificationChannelsActivity.kt | 165 grantResults: IntArray in onRequestPermissionsResult() 167 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in onRequestPermissionsResult() 170 if (grantResults[i] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | StandalonePreviewActivity.java | 107 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 112 && grantResults.length > 0 in onRequestPermissionsResult() 113 && grantResults[0] == PackageManager.PERMISSION_GRANTED; in onRequestPermissionsResult()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | CurrentVoicemailGreetingActivity.java | 121 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 122 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 125 permissionToRecordAccepted = grantResults[0] == PackageManager.PERMISSION_GRANTED; in onRequestPermissionsResult()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ui/ |
D | AddPrintersActivity.java | 57 int[] grantResults) { in onRequestPermissionsResult() argument 62 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/apps/Dialer/java/com/android/dialer/postcall/ |
D | PostCallActivity.java | 124 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 129 && grantResults.length > 0 in onRequestPermissionsResult() 130 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/modules/Permission/tests/cts/permissionmultidevice/AccessRemoteDeviceCameraApp/src/android/permissionmultidevice/cts/accessremotedevicecamera/ |
D | RequestPermissionActivity.kt | 45 grantResults: IntArray, in onRequestPermissionsResult() 53 putIntArray(TestConstants.PERMISSION_RESULT_KEY_GRANT_RESULTS, grantResults) in onRequestPermissionsResult()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SpellCheckerSettingsActivity.java | 57 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 59 requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/ |
D | PermissionsUtil.java | 67 public static boolean allGranted(@NonNull int[] grantResults) { in allGranted() argument 68 for (int result : grantResults) { in allGranted()
|
D | PermissionsManager.java | 84 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 88 boolean allGranted = PermissionsUtil.allGranted(grantResults); in onRequestPermissionsResult()
|
D | PermissionsActivity.java | 91 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 94 requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 128 String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 129 Log.v(TAG, "onPermissionsResult counts: " + permissions.length + ":" + grantResults.length); in onRequestPermissionsResult() 138 int result = grantResults[i]; in onRequestPermissionsResult()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | LocationFragment.java | 147 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 149 if (grantResults.length > 0 in onRequestPermissionsResult() 150 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | OnboardingActivity.java | 133 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 135 if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | RequestPermissionsActivity.java | 82 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument 84 && isAllGranted(permissions, grantResults)) { in onRequestPermissionsResult()
|