/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
MediaChooser.java | 215 final int requestCode, final String permissions[], final int[] grantResults) { }
|
MediaPicker.java | 731 final int requestCode, final String permissions[], final int[] grantResults) { 733 mSelectedChooser.onRequestPermissionsResult(requestCode, permissions, grantResults);
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
UsePermissionTest23.java | 118 assertEquals(PackageManager.PERMISSION_GRANTED, result.grantResults[0]); 119 assertEquals(PackageManager.PERMISSION_GRANTED, result.grantResults[1]);
|
BasePermissionsTest.java | 145 : PackageManager.PERMISSION_DENIED, result.grantResults[i]);
|
/packages/services/Car/car-support-lib/src/android/support/car/app/ |
CarActivity.java | 333 int[] grantResults) {
|
CarFragmentActivity.java | 660 * @param grantResults The grant results for the corresponding permissions 667 @NonNull int[] grantResults) { 684 frag.onRequestPermissionsResult(requestCode&0xff, permissions, grantResults);
|
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
HdrViewfinderActivity.java | 335 @NonNull int[] grantResults) { 338 if (grantResults.length <= 0) { 342 } else if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {
|
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
HdrViewfinderActivity.java | 335 @NonNull int[] grantResults) { 338 if (grantResults.length <= 0) { 342 } else if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
HdrViewfinderActivity.java | 335 @NonNull int[] grantResults) { 338 if (grantResults.length <= 0) { 342 } else if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
TestingCamera2.java | 223 int[] grantResults) { 225 for (int i = 0; i < grantResults.length; i++) { 226 if (grantResults[i] == PackageManager.PERMISSION_DENIED) {
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 368 int[] grantResults) { 370 if (grantResults[0] == PackageManager.PERMISSION_GRANTED) { 379 for (int i = 0; i < grantResults.length; i++) { 380 if (grantResults[i] == PackageManager.PERMISSION_DENIED) { 390 grantResults); [all...] |
/frameworks/support/fragment/java/android/support/v4/app/ |
FragmentActivity.java | [all...] |
Fragment.java | [all...] |
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
NekoLand.java | 307 String permissions[], int[] grantResults) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
SearchFragment.java | 236 int[] grantResults) { 239 && grantResults[0] == PERMISSION_GRANTED) {
|
SearchSupportFragment.java | 238 int[] grantResults) { 241 && grantResults[0] == PERMISSION_GRANTED) {
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
WebViewBrowserActivity.java | 313 String permissions[], int[] grantResults) {
|
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
Camera2RawFragment.java | 659 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { 661 for (int result : grantResults) { 668 super.onRequestPermissionsResult(requestCode, permissions, grantResults); [all...] |
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
Camera2RawFragment.java | 659 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { 661 for (int result : grantResults) { 668 super.onRequestPermissionsResult(requestCode, permissions, grantResults); [all...] |
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
Camera2RawFragment.java | 659 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { 661 for (int result : grantResults) { 668 super.onRequestPermissionsResult(requestCode, permissions, grantResults); [all...] |
/frameworks/base/core/java/android/app/ |
Fragment.java | [all...] |
Activity.java | [all...] |
/packages/apps/TV/src/com/android/tv/ |
MainActivity.java | 662 int[] grantResults) { 664 if (grantResults != null && grantResults.length > 0 665 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Launcher.java | [all...] |