Home
last modified time | relevance | path

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

/external/skia/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/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/skia/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/examples/android/src/org/tensorflow/demo/
DCameraActivity.java297 if (shouldShowRequestPermissionRationale(PERMISSION_CAMERA) || in requestPermission()
298 shouldShowRequestPermissionRationale(PERMISSION_STORAGE)) { in requestPermission()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DCameraActivity.java295 if (shouldShowRequestPermissionRationale(PERMISSION_CAMERA) || in requestPermission()
296 shouldShowRequestPermissionRationale(PERMISSION_STORAGE)) { in requestPermission()
/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/skia/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.java1876 public void shouldShowRequestPermissionRationale() { in shouldShowRequestPermissionRationale() method in ShadowPackageManagerTest
1877 …assertThat(packageManager.shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)).isFals… in shouldShowRequestPermissionRationale()
1881 …assertThat(packageManager.shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)).isTrue… in shouldShowRequestPermissionRationale()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java850 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()