/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 165 String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument 166 Log.v(TAG, "onPermissionsResult counts: " + permissions.length + ":" + grantResults.length); in onRequestPermissionsResult() 173 if (grantResults.length > 0 && grantResults[mIndexPermissionRequestCamera] == in onRequestPermissionsResult() 181 if (grantResults.length > 0 && grantResults[mIndexPermissionRequestMicrophone] == in onRequestPermissionsResult() 189 if (grantResults.length > 0 && grantResults[mIndexPermissionRequestLocation] == 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/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | SystemUpdaterActivity.java | 91 int[] grantResults) { in onRequestPermissionsResult() argument 92 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 94 if (grantResults.length == 0) { in onRequestPermissionsResult() 97 for (int grantResult : 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/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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | StandalonePreviewActivity.java | 94 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 99 && grantResults.length > 0 in onRequestPermissionsResult() 100 && grantResults[0] == PackageManager.PERMISSION_GRANTED; in onRequestPermissionsResult()
|
D | WallpaperPickerDelegate.java | 402 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 406 && grantResults.length > 0) { in onRequestPermissionsResult() 407 if (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/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/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/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
D | SmsManagerTestApp.java | 102 int[] grantResults) { in onRequestPermissionsResult() argument 105 if (grantResults.length > 0 in onRequestPermissionsResult() 106 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/ |
D | NewSearchFragment.java | 347 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 349 if (grantResults.length >= 1 && PackageManager.PERMISSION_GRANTED == grantResults[0]) { in onRequestPermissionsResult() 355 if (grantResults.length >= 1 && PackageManager.PERMISSION_GRANTED == grantResults[0]) { in onRequestPermissionsResult()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DeletionHelperActivity.java | 81 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument 82 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 83 mFragment.onRequestPermissionsResult(requestCode, permissions, grantResults); 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/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/Contacts/src/com/android/contacts/activities/ |
D | RequestPermissionsActivity.java | 80 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument 82 && isAllGranted(permissions, grantResults)) { in onRequestPermissionsResult()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SettingsActivity.java | 85 …public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 86 … PermissionsManager.get(this).onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | AudioMediaChooser.java | 123 final int requestCode, final String permissions[], final int[] grantResults) { in onRequestPermissionsResult() argument 125 final boolean permissionGranted = grantResults[0] == PackageManager.PERMISSION_GRANTED; in onRequestPermissionsResult()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryComposerFragment.java | 253 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 258 && grantResults.length > 0 in onRequestPermissionsResult() 259 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | ContactsFragment.java | 347 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument 349 if (grantResults.length >= 1 && PackageManager.PERMISSION_GRANTED == grantResults[0]) { in onRequestPermissionsResult()
|