Home
last modified time | relevance | path

Searched refs:grantResults (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/
DMainActivity.java137 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
140 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
144 if (grantResults.length != 1 || in onRequestPermissionsResult()
145 grantResults[0] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
/third_party/flutter/flutter/dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/
DMainActivity.java76 …public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument
79 …boolean permisisonGranted = grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSIO… in onRequestPermissionsResult()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DTestInputActivity.java165 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
168 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
172 if (grantResults.length != 1 || in onRequestPermissionsResult()
173 grantResults[0] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
DAnalyzerActivity.java219 int[] grantResults) { in onRequestPermissionsResult() argument
223 if (grantResults.length > 0 in onRequestPermissionsResult()
224 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
DTapToToneActivity.java332 String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DMainActivity.kt122 grantResults: IntArray in <lambda>()
124 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in <lambda>()
127 … if ((grantResults.isNotEmpty() && grantResults[0] == PackageManager.PERMISSION_GRANTED)) { in <lambda>()
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/java/com/google/oboe/samples/liveEffect/
DMainActivity.java235 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
238 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
242 if (grantResults.length != 1 || in onRequestPermissionsResult()
243 grantResults[0] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/app/
DFlutterFragmentActivity.java131 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument
132 eventDelegate.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
DFlutterActivity.java136 …estPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
137 eventDelegate.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
DFlutterPluginRegistry.java192 …lic boolean onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument
194 if (listener.onRequestPermissionsResult(requestCode, permissions, grantResults)) { in onRequestPermissionsResult()
DFlutterActivityDelegate.java126 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument
127 …flutterView.getPluginRegistry().onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DFlutterActivityAndFragmentDelegate.java472 …estPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
478 + "grantResults: " + Arrays.toString(grantResults)); in onRequestPermissionsResult()
479 …ine.getActivityControlSurface().onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
DFlutterActivity.java584 …estPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
585 delegate.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
DFlutterFragment.java658 …estPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
659 delegate.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DPluginRegistry.java211 … boolean onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults); in onRequestPermissionsResult() argument