Home
last modified time | relevance | path

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

/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java146 if (ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCameraPermission()
205 if (ActivityCompat.shouldShowRequestPermissionRationale(this, in requestContactsPermissions()
207 || ActivityCompat.shouldShowRequestPermissionRationale(this, in requestContactsPermissions()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java143 ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCalendarAndContactPermissions()
146 ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCalendarAndContactPermissions()
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/
DMainActivity.java124 if (ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCameraPermission()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java361 private boolean shouldShowRequestPermissionRationale(String[] permissions) { in shouldShowRequestPermissionRationale() method in Camera2VideoFragment
363 if (FragmentCompat.shouldShowRequestPermissionRationale(this, permission)) { in shouldShowRequestPermissionRationale()
374 if (shouldShowRequestPermissionRationale(VIDEO_PERMISSIONS)) { in requestVideoPermissions()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListActivity.java58 if (ActivityCompat.shouldShowRequestPermissionRationale( in onCreate()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DPermissionRequestFragment.java127 if (shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)) { in requestCameraPermission()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DHdrViewfinderActivity.java300 ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCameraPermissions()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java464 if (FragmentCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.CAMERA)) { in requestCameraPermission()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java833 if (FragmentCompat.shouldShowRequestPermissionRationale(this, permission)) { in shouldShowRationale()