Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/
DUsePermissionTest29.java49 private BasePermissionActivity.Result requestPermissions(String[] permissions, in requestPermissions() method in UsePermissionTest29
51 return super.requestPermissions(permissions, in requestPermissions()
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 …]
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java99 private final boolean requestPermissions; field in DropTarget.OnDragUriListener
101 public OnDragUriListener(boolean requestPermissions) { in OnDragUriListener() argument
102 this.requestPermissions = requestPermissions; in OnDragUriListener()
129 accessContent(event, RESULT_KEY_DROP_RESULT, requestPermissions); in onDrag()
144 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) { in accessContent() argument
147 result = processDrop(event, requestPermissions); in accessContent()
157 private String processDrop(DragEvent event, boolean requestPermissions) { in processDrop() argument
175 if (requestPermissions) { in processDrop()
229 OnDragUriReadListener(boolean requestPermissions) { in OnDragUriReadListener() argument
230 super(requestPermissions); in OnDragUriReadListener()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DUsePermissionTest23.java108 BasePermissionActivity.Result result = requestPermissions(new String[] { in testInteractiveGrant()
150 BasePermissionActivity.Result result = requestPermissions(permissions, in testRuntimeGroupGrantSpecificity()
184 BasePermissionActivity.Result result = requestPermissions(permissions, in testRuntimeGroupGrantExpansion()
214 BasePermissionActivity.Result result = requestPermissions(permissions, in testCancelledPermissionRequest()
240 BasePermissionActivity.Result firstResult = requestPermissions(permissions, in testRequestGrantedPermission()
256 BasePermissionActivity.Result secondResult = requestPermissions(new String[] { in testRequestGrantedPermission()
274 BasePermissionActivity.Result firstResult = requestPermissions( in testDenialWithPrejudice()
290 BasePermissionActivity.Result secondResult = requestPermissions(new String[] { in testDenialWithPrejudice()
306 BasePermissionActivity.Result thirdResult = requestPermissions(new String[] { in testDenialWithPrejudice()
350 BasePermissionActivity.Result firstResult = requestPermissions( in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1()
[all …]
DBasePermissionsTest.java271 protected BasePermissionActivity.Result requestPermissions( in requestPermissions() method in BasePermissionsTest
281 activity.requestPermissions(permissions, requestCode); in requestPermissions()
/cts/tests/tests/permission/AppThatRequestPermissionAandC/src/android/permission/cts/appthatrequestpermission/
DRequestPermission.java27 requestPermissions(new String[] {"android.permission.cts.appthatrequestpermission.A", in onCreate()
/cts/tests/tests/permission/AppThatRequestPermissionAandB/src/android/permission/cts/appthatrequestpermission/
DRequestPermission.java27 requestPermissions(new String[] {"android.permission.cts.appthatrequestpermission.A", in onCreate()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp26/src/com/android/cts/usepermission/
DUsePermissionTest26.java45 BasePermissionActivity.Result result = requestPermissions(permissions, in testRuntimeGroupGrantNoExpansion()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp28/src/com/android/cts/usepermission/
DUsePermissionTest28.java49 BasePermissionActivity.Result result = requestPermissions(permissions, in testLocationPermissionWasSplit()
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/
DPermissionActivity.java58 requestPermissions(new String[] {mPermission}, PERMISSIONS_REQUEST_CODE); in onCreate()
/cts/tests/tests/telephony/TestSmsApp/src/android/telephony/cts/sms/
DMainActivity.java39 requestPermissions( 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.java139 BasePermissionActivity.Result result = requestPermissions( in testNoRuntimePrompt()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java93 requestPermissions(new String[]{Manifest.permission.USE_BIOMETRIC}, in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java109 requestPermissions(new String[] {Manifest.permission.USE_FINGERPRINT}, in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java171 requestPermissions(new String[]{Manifest.permission.USE_BIOMETRIC}, in onCreate()