HomeSort by relevance Sort by last modified time
    Searched refs:requestPermissions (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /cts/tests/tests/permission/AppThatRequestPermissionAandB/src/android/permission/cts/appthatrequestpermission/
RequestPermission.java 27 requestPermissions(new String[] {"android.permission.cts.appthatrequestpermission.A",
  /cts/tests/tests/permission/AppThatRequestPermissionAandC/src/android/permission/cts/appthatrequestpermission/
RequestPermission.java 27 requestPermissions(new String[] {"android.permission.cts.appthatrequestpermission.A",
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/
UsePermissionTest29.java 49 private BasePermissionActivity.Result requestPermissions(String[] permissions,
51 return super.requestPermissions(permissions,
82 BasePermissionActivity.Result result = requestPermissions(permissions,
94 BasePermissionActivity.Result result = requestPermissions(permissions);
105 BasePermissionActivity.Result result = requestPermissions(permissions,
118 BasePermissionActivity.Result result = requestPermissions(permissions,
128 result = requestPermissions(permissions, this::clickAllowButton);
139 BasePermissionActivity.Result result = requestPermissions(permissions,
147 result = requestPermissions(permissions, this::clickAllowButton);
159 BasePermissionActivity.Result result = requestPermissions(permissions
    [all...]
  /developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/extensions/
AppCompatActivityExts.kt 29 ActivityCompat.requestPermissions(this, arrayOf(permission), requestId)
32 ActivityCompat.requestPermissions(this, permissions, requestId
  /developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/extensions/
AppCompatActivityExts.kt 29 ActivityCompat.requestPermissions(this, arrayOf(permission), requestId)
32 ActivityCompat.requestPermissions(this, permissions, requestId
  /cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DropTarget.java 99 private final boolean requestPermissions;
101 public OnDragUriListener(boolean requestPermissions) {
102 this.requestPermissions = requestPermissions;
129 accessContent(event, RESULT_KEY_DROP_RESULT, requestPermissions);
144 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) {
147 result = processDrop(event, requestPermissions);
157 private String processDrop(DragEvent event, boolean requestPermissions) {
175 if (requestPermissions) {
229 OnDragUriReadListener(boolean requestPermissions) {
    [all...]
  /developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
ConfirmationDialog.kt 34 parentFragment.requestPermissions(arrayOf(Manifest.permission.CAMERA),
  /developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
ConfirmationDialog.kt 32 parentFragment?.requestPermissions(VIDEO_PERMISSIONS,
  /developers/build/prebuilts/gradle/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/util/
AppCompatActivityExt.kt 30 ActivityCompat.requestPermissions(this, permissionsArray, requestCode)
  /developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
ConfirmationDialog.kt 34 parentFragment.requestPermissions(arrayOf(Manifest.permission.CAMERA),
  /developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
ConfirmationDialog.kt 32 parentFragment?.requestPermissions(VIDEO_PERMISSIONS,
  /developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/util/
AppCompatActivityExt.kt 30 ActivityCompat.requestPermissions(this, permissionsArray, requestCode)
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
UsePermissionTest23.java 108 BasePermissionActivity.Result result = requestPermissions(new String[] {
150 BasePermissionActivity.Result result = requestPermissions(permissions,
184 BasePermissionActivity.Result result = requestPermissions(permissions,
214 BasePermissionActivity.Result result = requestPermissions(permissions,
240 BasePermissionActivity.Result firstResult = requestPermissions(permissions,
256 BasePermissionActivity.Result secondResult = requestPermissions(new String[] {
274 BasePermissionActivity.Result firstResult = requestPermissions(
290 BasePermissionActivity.Result secondResult = requestPermissions(new String[] {
306 BasePermissionActivity.Result thirdResult = requestPermissions(new String[] {
350 BasePermissionActivity.Result firstResult = requestPermissions(
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionApp26/src/com/android/cts/usepermission/
UsePermissionTest26.java 45 BasePermissionActivity.Result result = requestPermissions(permissions,
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
LocalPermissionGranter.java 22 public void requestPermissions() {
  /developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/
MainActivity.java 45 * {@link ActivityCompat#requestPermissions(Activity, String[], int)}. The result of the request is
134 ActivityCompat.requestPermissions(MainActivity.this,
143 ActivityCompat.requestPermissions(this,
  /developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/
MainActivity.java 45 * {@link ActivityCompat#requestPermissions(Activity, String[], int)}. The result of the request is
134 ActivityCompat.requestPermissions(MainActivity.this,
143 ActivityCompat.requestPermissions(this,
  /development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/
MainActivity.java 44 * {@link ActivityCompat#requestPermissions(Activity, String[], int)}. The result of the request is
134 ActivityCompat.requestPermissions(MainActivity.this,
145 ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA},
  /cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/
PermissionActivity.java 58 requestPermissions(new String[] {mPermission}, PERMISSIONS_REQUEST_CODE);
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionApp28/src/com/android/cts/usepermission/
UsePermissionTest28.java 49 BasePermissionActivity.Result result = requestPermissions(permissions,
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/
MainActivity.java 51 * {@link ActivityCompat#requestPermissions(Activity, String[], int)} and the return value checked
148 ActivityCompat.requestPermissions(MainActivity.this,
157 ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA},
213 .requestPermissions(MainActivity.this, PERMISSIONS_CONTACT,
220 ActivityCompat.requestPermissions(this, PERMISSIONS_CONTACT, REQUEST_CONTACTS);
  /developers/build/prebuilts/gradle/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/
PhonePermissionRequestActivity.java 68 ActivityCompat.requestPermissions(
  /developers/build/prebuilts/gradle/WifiRttScan/Application/src/main/java/com/example/android/wifirttscan/
LocationPermissionRequestActivity.java 59 ActivityCompat.requestPermissions(
  /developers/samples/android/connectivity/wifirtt/WifiRttScan/Application/src/main/java/com/example/android/wifirttscan/
LocationPermissionRequestActivity.java 59 ActivityCompat.requestPermissions(
  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/
MainActivity.java 51 * {@link ActivityCompat#requestPermissions(Activity, String[], int)} and the return value checked
148 ActivityCompat.requestPermissions(MainActivity.this,
157 ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA},
213 .requestPermissions(MainActivity.this, PERMISSIONS_CONTACT,
220 ActivityCompat.requestPermissions(this, PERMISSIONS_CONTACT, REQUEST_CONTACTS);

Completed in 5536 milliseconds

1 2 3 4