/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/ |
D | DropTarget.java | 137 private final boolean requestPermissions; field in DropTarget.OnDragUriListener 139 public OnDragUriListener(boolean requestPermissions) { in OnDragUriListener() argument 140 this.requestPermissions = requestPermissions; in OnDragUriListener() 167 accessContent(event, RESULT_KEY_DROP_RESULT, requestPermissions); in onDrag() 182 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) { in accessContent() argument 185 result = processDrop(event, requestPermissions); in accessContent() 195 private String processDrop(DragEvent event, boolean requestPermissions) { in processDrop() argument 213 if (requestPermissions) { in processDrop() 267 OnDragUriReadListener(boolean requestPermissions) { in OnDragUriReadListener() argument 268 super(requestPermissions); in OnDragUriReadListener()
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DropTarget.java | 140 private final boolean requestPermissions; field in DropTarget.OnDragUriListener 142 public OnDragUriListener(boolean requestPermissions) { in OnDragUriListener() argument 143 this.requestPermissions = requestPermissions; in OnDragUriListener() 170 accessContent(event, RESULT_KEY_DROP_RESULT, requestPermissions); in onDrag() 185 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) { in accessContent() argument 188 result = processDrop(event, requestPermissions); in accessContent() 198 private String processDrop(DragEvent event, boolean requestPermissions) { in processDrop() argument 216 if (requestPermissions) { in processDrop() 270 OnDragUriReadListener(boolean requestPermissions) { in OnDragUriReadListener() argument 271 super(requestPermissions); in OnDragUriReadListener()
|
/cts/apps/hotspot/src/com/android/cts/hotspot/ |
D | MainActivity.java | 16 ActivityCompat.requestPermissions( in onCreate() 22 ActivityCompat.requestPermissions( in onCreate()
|
/cts/tests/tests/hibernation/AutoRevokeQApp/src/android/hibernation/cts/autorevokeqapp/ |
D | MainActivity.kt | 27 requestPermissions(arrayOf("android.permission.READ_CALENDAR"), 0) in onCreate()
|
/cts/tests/tests/virtualdevice/app/src/android/virtualdevice/streamedtestapp/ |
D | PermissionTestActivity.java | 38 requestPermissions(permissions, 10001); in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21254/helper-app/src/android/security/cts/CVE_2023_21254_helper/ |
D | PocActivity.java | 32 requestPermissions(new String[] {RECORD_AUDIO}, REQUEST_CODE); in onResume()
|
/cts/tests/tests/security/SplitBluetoothPermissionTestApp/src/ |
D | RequestPermissionActivity.kt | 30 requestPermissions(permissions, 1) in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21249/helper-app/src/android/security/cts/CVE_2023_21249_helper/ |
D | PocActivity.java | 32 requestPermissions(new String[] {ACCESS_COARSE_LOCATION}, REQUEST_CODE); in onResume()
|
/cts/tests/tests/hibernation/AutoRevokeRApp/src/android/hibernation/cts/autorevokerapp/ |
D | MainActivity.kt | 50 requestPermissions(arrayOf("android.permission.READ_CALENDAR"), 0) in onCreate()
|
/cts/tests/tests/hibernation/AutoRevokeSApp/src/android/hibernation/cts/autorevokesapp/ |
D | MainActivity.kt | 50 requestPermissions(arrayOf("android.permission.READ_CALENDAR"), 0) in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0478/src/android/security/cts/CVE_2021_0478/ |
D | PocActivity.java | 61 this.requestPermissions(new String[] {Manifest.permission.ACCESS_FINE_LOCATION}, 12); in requestPermission()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39704/src/android/security/cts/CVE_2021_39704/ |
D | PocActivity.java | 37 this.requestPermissions( in onCreate()
|
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/ |
D | PermissionActivity.java | 58 requestPermissions(new String[] {mPermission}, PERMISSIONS_REQUEST_CODE); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | NotificationActivity.java | 83 ActivityCompat.requestPermissions(this, in onResume()
|
D | LocationCheckerActivity.java | 110 ActivityCompat.requestPermissions(this, in requestLocationPermission()
|
D | ByodHelperActivity.java | 593 ActivityCompat.requestPermissions(this, new String[]{android.Manifest.permission.CAMERA}, in requestCameraPermission() 603 ActivityCompat.requestPermissions(this, in requestLocationPermission() 614 ActivityCompat.requestPermissions(this, in requestPostNotificationsPermission()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PermissionGrantTest.java | 665 activity.requestPermissions(new String[]{GRANTABLE_PERMISSION}, /* requestCode= */ 0); in setPermissionPolicy_grant_automaticallyGrantsPermissions() 690 activity.requestPermissions(new String[]{GRANTABLE_PERMISSION}, /* requestCode= */ 0); in setPermissionPolicy_deny_automaticallyDeniesPermissions() 767 activity.requestPermissions(new String[]{ permission }, /* requestCode= */ 0); in setPermissionGrantStateDeny_autoGrantPermission_deniesPermissions() 797 activity.requestPermissions(new String[]{ permission }, /* requestCode= */ 0); in setPermissionPolicy_sensorPermissions_autoGrantPermission_denies() 823 activity.requestPermissions(new String[]{ READ_SMS }, /* requestCode= */ 0); in setPermissionPolicy_smsPermission_autoGrantPermission_denies() 851 activity.requestPermissions(new String[]{ permission }, /* requestCode= */ 0); in setPermissionGrantStateDeny_autoDenyPermission_deniesPermissions() 883 activity.requestPermissions( in setPermissionGrantStateDeny_promptPermission_deniesPermissions() 912 activity.requestPermissions( in setPermissionStateGranted_autoDenyPermission_grantsPermissions() 945 activity.requestPermissions( in setPermissionStateGranted_promptPermission_grantsPermissions() 981 activity.requestPermissions(new String[]{ permission }, /* requestCode= */ 0); in setSensorPermissionStateGranted_promptPermission_denyAsPermissionCantBeGrantedAutomatically() [all …]
|
/cts/tests/tests/telephony/TestSmsApp/src/android/telephony/cts/sms/ |
D | MainActivity.java | 39 requestPermissions( in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListActivity.java | 123 requestPermissions(permissionsToRequest, CTS_VERIFIER_PERMISSION_REQUEST); in onCreate() 143 requestPermissions( in onRequestPermissionsResult()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | RenouncedPermissionsTest.kt | 98 activity.requestPermissions(arrayOf(Manifest.permission.READ_CONTACTS), 1) in testCannotRequestRenouncePermissions()
|
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/ |
D | CompanionDeviceTestAppActivity.kt | 167 requestPermissions(arrayOf(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION), 10) in <lambda>()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | IdentityCredentialAuthentication.java | 83 requestPermissions(new String[]{Manifest.permission.USE_BIOMETRIC}, in onCreate()
|
D | IdentityCredentialAuthenticationMultiDocument.java | 110 requestPermissions(new String[]{Manifest.permission.USE_BIOMETRIC}, in onCreate()
|
D | FingerprintBoundKeysTest.java | 97 requestPermissions(new String[]{Manifest.permission.USE_BIOMETRIC}, in onCreate()
|
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/ |
D | MainActivity.java | 178 requestPermissions(new String[]{ Manifest.permission.BLUETOOTH_CONNECT }, in requestBluetoothPermissionIfNeeded()
|