Searched refs:uidPermission (Results 1 – 2 of 2) sorted by relevance
128 doReturn(PackageManager.PERMISSION_DENIED).when(mDeps).uidPermission(anyString(), anyInt()); in setUp()181 doReturn(PackageManager.PERMISSION_DENIED).when(mDeps).uidPermission(anyString(), eq(uid)); in removeAllPermissions()188 .when(mDeps).uidPermission(eq(permission), eq(uid)); in addPermissions()
128 public int uidPermission(@NonNull final String permission, final int uid) { in uidPermission() method in PermissionMonitor.Dependencies224 return mDeps.uidPermission(permission, uid) == PackageManager.PERMISSION_GRANTED; in hasPermission()