Home
last modified time | relevance | path

Searched refs:shouldShowRequestPermissionRationale (Results 1 – 9 of 9) sorted by relevance

/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DCameraPermissionHelper.java52 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale() method in CameraPermissionHelper
53 return ActivityCompat.shouldShowRequestPermissionRationale(activity, CAMERA_PERMISSION); in shouldShowRequestPermissionRationale()
DHelloArActivity.java343 if (!CameraPermissionHelper.shouldShowRequestPermissionRationale(this)) { in onRequestPermissionsResult()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DCameraPermissionHelper.java54 public static boolean shouldShowRequestPermissionRationale(Activity activity) { in shouldShowRequestPermissionRationale() method in CameraPermissionHelper
55 return ActivityCompat.shouldShowRequestPermissionRationale(activity, CAMERA_PERMISSION); in shouldShowRequestPermissionRationale()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DCameraActivity.java297 if (shouldShowRequestPermissionRationale(PERMISSION_CAMERA) || in requestPermission()
298 shouldShowRequestPermissionRationale(PERMISSION_STORAGE)) { in requestPermission()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DTapToToneActivity.java320 if (shouldShowRequestPermissionRationale(requiredPermission)) { in requestRecordAudioPermission()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java272 if (!CameraPermissionHelper.shouldShowRequestPermissionRationale(this)) { in onRequestPermissionsResult()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java1916 public void shouldShowRequestPermissionRationale() { in shouldShowRequestPermissionRationale() method in ShadowPackageManagerTest
1917 …assertThat(packageManager.shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)).isFals… in shouldShowRequestPermissionRationale()
1921 …assertThat(packageManager.shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)).isTrue… in shouldShowRequestPermissionRationale()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java871 protected boolean shouldShowRequestPermissionRationale(String permission) { in shouldShowRequestPermissionRationale() method in ShadowApplicationPackageManager
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackActivity.java2455 if (ActivityCompat.shouldShowRequestPermissionRationale(this, in requestRecordAudioPermission()