/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 174 String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument 175 Log.v(TAG, "onPermissionsResult counts: " + permissions.length + ":" + grantResults.length); in onRequestPermissionsResult() 182 if (grantResults.length > 0 && grantResults[mIndexPermissionRequestCamera] == in onRequestPermissionsResult() 190 if (grantResults.length > 0 && grantResults[mIndexPermissionRequestMicrophone] == in onRequestPermissionsResult() 198 if (grantResults.length > 0 && grantResults[mIndexPermissionRequestStorage] == in onRequestPermissionsResult() 207 if (grantResults.length > 0 && grantResults[mIndexPermissionRequestLocation] == in onRequestPermissionsResult()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrSeriesDeletionActivity.java | 65 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 69 if (grantResults.length > 0 in onRequestPermissionsResult() 70 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult() 83 super.onRequestPermissionsResult(requestCode, permissions, 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 | 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/TV/src/com/android/tv/ui/ |
D | DetailsActivity.java | 182 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 186 if (grantResults.length > 0 in onRequestPermissionsResult() 187 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult() 198 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | LiveTvTunerSetupActivity.java | 95 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 97 if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
D | LocationFragment.java | 151 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 153 if (grantResults.length > 0 in onRequestPermissionsResult() 154 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { 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()
|
/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/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
D | SmsManagerTestApp.java | 98 int[] grantResults) { in onRequestPermissionsResult() argument 101 if (grantResults.length > 0 in onRequestPermissionsResult() 102 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | OnboardingActivity.java | 125 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 127 if (grantResults.length > 0 && 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()
|