Home
last modified time | relevance | path

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

/cts/hostsidetests/services/windowmanager/dndtargetapp/src/android/wm/cts/dndtargetapp/
DDropTarget.java89 private final boolean requestPermissions; field in DropTarget.OnDragUriListener
91 public OnDragUriListener(boolean requestPermissions) { in OnDragUriListener() argument
92 this.requestPermissions = requestPermissions; in OnDragUriListener()
115 result = processDrop(event, requestPermissions); in onDrag()
131 private String processDrop(DragEvent event, boolean requestPermissions) { in processDrop() argument
149 if (requestPermissions) { in processDrop()
169 OnDragUriReadListener(boolean requestPermissions) { in OnDragUriReadListener() argument
170 super(requestPermissions); in OnDragUriReadListener()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DUsePermissionTest23.java90 BasePermissionActivity.Result result = requestPermissions(new String[] { in testInteractiveGrant()
134 BasePermissionActivity.Result result = requestPermissions(permissions, in testRuntimeGroupGrantSpecificity()
168 BasePermissionActivity.Result result = requestPermissions(permissions, in testRuntimeGroupGrantExpansion()
199 BasePermissionActivity.Result result = requestPermissions(permissions, in testCancelledPermissionRequest()
225 BasePermissionActivity.Result firstResult = requestPermissions(permissions, in testRequestGrantedPermission()
241 BasePermissionActivity.Result secondResult = requestPermissions(new String[] { in testRequestGrantedPermission()
259 BasePermissionActivity.Result firstResult = requestPermissions( in testDenialWithPrejudice()
275 BasePermissionActivity.Result secondResult = requestPermissions(new String[] { in testDenialWithPrejudice()
291 BasePermissionActivity.Result thirdResult = requestPermissions(new String[] { in testDenialWithPrejudice()
335 BasePermissionActivity.Result firstResult = requestPermissions( in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1()
[all …]
DBasePermissionsTest.java181 protected BasePermissionActivity.Result requestPermissions( in requestPermissions() method in BasePermissionsTest
191 activity.requestPermissions(permissions, requestCode); in requestPermissions()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp24/src/com/android/cts/usepermission/
DUsePermissionTest24.java42 BasePermissionActivity.Result firstResult = requestPermissions(firstPermissions, in testOnlyRequestedPermissionsGranted()
65 BasePermissionActivity.Result secondResult = requestPermissions(secondPermissions, in testOnlyRequestedPermissionsGranted()
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/
DPermissionActivity.java58 requestPermissions(new String[] {mPermission}, PERMISSIONS_REQUEST_CODE); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListActivity.java70 requestPermissions(packageInfo.requestedPermissions, in onCreate()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp22/src/com/android/cts/usepermission/
DUsePermissionTest22.java153 BasePermissionActivity.Result result = requestPermissions( in testNoRuntimePrompt()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java84 requestPermissions(new String[]{Manifest.permission.USE_FINGERPRINT}, in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java108 requestPermissions(new String[] {Manifest.permission.USE_FINGERPRINT}, in onCreate()