Searched refs:NOT_GRANTED_PERMISSION (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 145 public static final String NOT_GRANTED_PERMISSION = "android.permission.HARDWARE_TEST"; field in ContextTest 1110 mContext.enforceUriPermission(uri, NOT_GRANTED_PERMISSION, in testEnforceUriPermission2() 1111 NOT_GRANTED_PERMISSION, Binder.getCallingPid(), Binder.getCallingUid(), in testEnforceUriPermission2() 1404 NOT_GRANTED_PERMISSION, Process.myPid(), Process.myUid()); in testCheckPermissionNotGranted() 1411 int returnValue = mContext.checkPermission(NOT_GRANTED_PERMISSION, 1, ROOT_UID); in testCheckPermissionRootUser() 1437 int returnValue = mContext.checkSelfPermission(NOT_GRANTED_PERMISSION); in testCheckSelfPermissionNotGranted() 1452 NOT_GRANTED_PERMISSION, Process.myPid(), Process.myUid(), in testEnforcePermissionNotGranted() 1465 retValue = mContext.checkCallingOrSelfPermission(NOT_GRANTED_PERMISSION); in testCheckCallingOrSelfPermission_noIpc() 1478 NOT_GRANTED_PERMISSION); in testCheckCallingOrSelfPermission_ipc() 1493 NOT_GRANTED_PERMISSION, "permission isn't granted"); in testEnforceCallingOrSelfPermission_noIpc() [all …]
|