Searched refs:GRANTED_PERMISSION (Results 1 – 1 of 1) sorted by relevance
111 public static final String GRANTED_PERMISSION = "android.permission.USE_CREDENTIALS"; field in ContextTest1254 GRANTED_PERMISSION, Process.myPid(), Process.myUid()); in testCheckPermissionGranted()1279 int returnValue = mContext.checkPermission(GRANTED_PERMISSION, 1, -11); in testCheckPermissionInvalidRequest()1284 int returnValue = mContext.checkSelfPermission(GRANTED_PERMISSION); in testCheckSelfPermissionGranted()1295 GRANTED_PERMISSION, Process.myPid(), Process.myUid(), in testEnforcePermissionGranted()1311 int retValue = mContext.checkCallingOrSelfPermission(GRANTED_PERMISSION); in testCheckCallingOrSelfPermission_noIpc()1322 GRANTED_PERMISSION); in testCheckCallingOrSelfPermission_ipc()1336 GRANTED_PERMISSION, "permission isn't granted"); in testEnforceCallingOrSelfPermission_noIpc()1349 mBinderPermissionTestService.doEnforceCallingOrSelfPermission(GRANTED_PERMISSION); in testEnforceCallingOrSelfPermission_ipc()1364 int retValue = mContext.checkCallingPermission(GRANTED_PERMISSION); in testCheckCallingPermission_noIpc()[all …]