Home
last modified time | relevance | path

Searched refs:DEVICE_AWARE_PERMISSION (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DDevicePermissionsTest.kt139 grantPermissionAndAssertGranted(DEVICE_AWARE_PERMISSION, virtualDeviceContext) in testDeviceAwareRuntimePermissionIsRevoked()
141 revokePermissionAndAssertDenied(DEVICE_AWARE_PERMISSION, virtualDeviceContext) in testDeviceAwareRuntimePermissionIsRevoked()
165 grantPermissionAndAssertGranted(DEVICE_AWARE_PERMISSION, virtualDeviceContext) in testOneTimePermissionIsRevoked()
167 DEVICE_AWARE_PERMISSION, in testOneTimePermissionIsRevoked()
182 assertPermission(DEVICE_AWARE_PERMISSION, PERMISSION_DENIED, virtualDeviceContext) in testOneTimePermissionIsRevoked()
192 grantPermissionAndAssertGranted(DEVICE_AWARE_PERMISSION, virtualDeviceContext) in testRevokeSelfPermissionOnKill()
194 revokeSelfPermission(DEVICE_AWARE_PERMISSION, virtualDeviceContext) in testRevokeSelfPermissionOnKill()
196 assertPermission(DEVICE_AWARE_PERMISSION, PERMISSION_DENIED, virtualDeviceContext) in testRevokeSelfPermissionOnKill()
206 val deviceAwarePermission = DEVICE_AWARE_PERMISSION in testGrantAndRevokeDeviceAwarePermissionByPersistentDeviceId()
255 val deviceAwarePermission = DEVICE_AWARE_PERMISSION in testUpdateAndGetPermissionFlagsByPersistentDeviceId()
[all …]
/packages/modules/Permission/tests/cts/permissionmultidevice/src/android/permissionmultidevice/cts/
DAppPermissionsTest.kt261 assertEquals(false, permState[DEVICE_AWARE_PERMISSION]!!.isGranted) in verifyAskSelection()
263 permState[DEVICE_AWARE_PERMISSION]!!.flags and in verifyAskSelection()
288 assertEquals(false, permState[DEVICE_AWARE_PERMISSION]!!.isGranted) in verifyDenySelection()
290 permState[DEVICE_AWARE_PERMISSION]!!.flags and in verifyDenySelection()
315 assertEquals(true, permState[DEVICE_AWARE_PERMISSION]!!.isGranted) in verifyAllowedSelection()
317 permState[DEVICE_AWARE_PERMISSION]!!.flags and in verifyAllowedSelection()
422 DEVICE_AWARE_PERMISSION, in clickPermissionItem()
435 private const val DEVICE_AWARE_PERMISSION = Manifest.permission.CAMERA in clickPermissionItem() constant
DDeviceAwarePermissionGrantTest.kt203 .isEqualTo(arrayOf(DEVICE_AWARE_PERMISSION)) in <lambda>()
249 .checkPermission(DEVICE_AWARE_PERMISSION, APP_PACKAGE_NAME) in <lambda>()
273 const val DEVICE_AWARE_PERMISSION = Manifest.permission.CAMERA in <lambda>() constant