Home
last modified time | relevance | path

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

/external/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()
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DMainActivity.kt131 grantResults: IntArray in <lambda>()
133 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in <lambda>()
136 … if ((grantResults.isNotEmpty() && grantResults[0] == PackageManager.PERMISSION_GRANTED)) { in <lambda>()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DTestInputActivity.java160 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
163 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
167 if (grantResults.length != 1 || in onRequestPermissionsResult()
168 grantResults[0] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
DAnalyzerActivity.java281 int[] grantResults) { in onRequestPermissionsResult() argument
285 if (grantResults.length > 0 in onRequestPermissionsResult()
286 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
DTapToToneActivity.java330 String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DFilmStripSnapshotActivity.kt61 …equestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray) { in <lambda>()
62 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in <lambda>()
64 RC_PERMISSION -> if (grantResults.firstOrNull() == PackageManager.PERMISSION_GRANTED) { in <lambda>()
DPreviewFragment.kt107 …equestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray) { in <lambda>()
110 if (grantResults.firstOrNull() == PackageManager.PERMISSION_GRANTED) { in <lambda>()
/external/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()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DCameraActivity.java274 final int requestCode, final String[] permissions, final int[] grantResults) { in onRequestPermissionsResult() argument
276 if (grantResults.length > 0 in onRequestPermissionsResult()
277 && grantResults[0] == PackageManager.PERMISSION_GRANTED in onRequestPermissionsResult()
278 && grantResults[1] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
DSpeechActivity.java169 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument
171 && grantResults.length > 0 in onRequestPermissionsResult()
172 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DAudioFragment.java227 …public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument
230 … if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
DMainActivity.java459 …estPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
460 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
461 …final boolean isPermissionGranted = grantResults.length > 0 && grantResults[0] == PackageManager.P… in onRequestPermissionsResult()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DPlayerActivity.java229 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
230 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
231 if (grantResults.length == 0) { in onRequestPermissionsResult()
236 if (grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
DSampleChooserActivity.java174 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
175 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
176 if (grantResults.length == 0) { in onRequestPermissionsResult()
181 if (grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java648 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
649 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackActivity.java2468 String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument
2471 if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DConnectActivity.java212 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult() argument