Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DContextTest.java143 public static final String GRANTED_PERMISSION = "android.permission.USE_CREDENTIALS"; field in ContextTest
1397 GRANTED_PERMISSION, Process.myPid(), Process.myUid()); in testCheckPermissionGranted()
1425 int returnValue = mContext.checkPermission(GRANTED_PERMISSION, 1, -11); in testCheckPermissionInvalidRequest()
1431 int returnValue = mContext.checkSelfPermission(GRANTED_PERMISSION); in testCheckSelfPermissionGranted()
1444 GRANTED_PERMISSION, Process.myPid(), Process.myUid(), in testEnforcePermissionGranted()
1462 int retValue = mContext.checkCallingOrSelfPermission(GRANTED_PERMISSION); in testCheckCallingOrSelfPermission_noIpc()
1474 GRANTED_PERMISSION); in testCheckCallingOrSelfPermission_ipc()
1489 GRANTED_PERMISSION, "permission isn't granted"); in testEnforceCallingOrSelfPermission_noIpc()
1503 mBinderPermissionTestService.doEnforceCallingOrSelfPermission(GRANTED_PERMISSION); in testEnforceCallingOrSelfPermission_ipc()
1519 int retValue = mContext.checkCallingPermission(GRANTED_PERMISSION); in testCheckCallingPermission_noIpc()
[all …]