/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | BouncyCastleProviderConfiguration.java | 57 securityManager.checkPermission(BC_EC_LOCAL_PERMISSION); in setParameter() 82 securityManager.checkPermission(BC_EC_PERMISSION); in setParameter() 100 securityManager.checkPermission(BC_DH_LOCAL_PERMISSION); in setParameter() 125 securityManager.checkPermission(BC_DH_PERMISSION); in setParameter() 141 securityManager.checkPermission(BC_EC_CURVE_PERMISSION); in setParameter() 150 securityManager.checkPermission(BC_ADDITIONAL_EC_CURVE_PERMISSION); in setParameter()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | CryptoServicesRegistrar.java | 149 checkPermission(CanSetDefaultRandom); in setSecureRandom() 270 checkPermission(CanSetThreadProperty); in setThreadProperty() 291 checkPermission(CanSetDefaultProperty); in setGlobalProperty() 331 checkPermission(CanSetDefaultProperty); in clearGlobalProperty() 348 checkPermission(CanSetThreadProperty); in clearThreadProperty() 366 private static void checkPermission(final Permission permission) in checkPermission() method in CryptoServicesRegistrar 376 securityManager.checkPermission(permission); in checkPermission()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
D | BouncyCastleProviderConfiguration.java | 58 securityManager.checkPermission(BC_EC_LOCAL_PERMISSION); in setParameter() 83 securityManager.checkPermission(BC_EC_PERMISSION); in setParameter() 101 securityManager.checkPermission(BC_DH_LOCAL_PERMISSION); in setParameter() 126 securityManager.checkPermission(BC_DH_PERMISSION); in setParameter() 142 securityManager.checkPermission(BC_EC_CURVE_PERMISSION); in setParameter() 151 securityManager.checkPermission(BC_ADDITIONAL_EC_CURVE_PERMISSION); in setParameter()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/ |
D | BouncyCastleProviderConfiguration.java | 58 securityManager.checkPermission(BC_EC_LOCAL_PERMISSION); in setParameter() 83 securityManager.checkPermission(BC_EC_PERMISSION); in setParameter() 101 securityManager.checkPermission(BC_DH_LOCAL_PERMISSION); in setParameter() 126 securityManager.checkPermission(BC_DH_PERMISSION); in setParameter() 142 securityManager.checkPermission(BC_EC_CURVE_PERMISSION); in setParameter() 151 securityManager.checkPermission(BC_ADDITIONAL_EC_CURVE_PERMISSION); in setParameter()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/ |
D | CryptoServicesRegistrar.java | 151 checkPermission(CanSetDefaultRandom); in setSecureRandom() 272 checkPermission(CanSetThreadProperty); in setThreadProperty() 293 checkPermission(CanSetDefaultProperty); in setGlobalProperty() 333 checkPermission(CanSetDefaultProperty); in clearGlobalProperty() 350 checkPermission(CanSetThreadProperty); in clearThreadProperty() 368 private static void checkPermission(final Permission permission) in checkPermission() method in CryptoServicesRegistrar 378 securityManager.checkPermission(permission); in checkPermission()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/ |
D | CryptoServicesRegistrar.java | 151 checkPermission(CanSetDefaultRandom); in setSecureRandom() 272 checkPermission(CanSetThreadProperty); in setThreadProperty() 293 checkPermission(CanSetDefaultProperty); in setGlobalProperty() 333 checkPermission(CanSetDefaultProperty); in clearGlobalProperty() 350 checkPermission(CanSetThreadProperty); in clearThreadProperty() 368 private static void checkPermission(final Permission permission) in checkPermission() method in CryptoServicesRegistrar 378 securityManager.checkPermission(permission); in checkPermission()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | TestSecurityManager.kt | 16 override fun checkPermission(perm: Permission?) { in checkPermission() method in kotlinx.coroutines.TestSecurityManager
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/misc/ |
D | AccessFixTest.java | 15 public void checkPermission(Permission perm) throws SecurityException { in checkPermission() method in AccessFixTest.CauseBlockingSecurityManager
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowContextImpl.java | 105 return checkPermission(permission, android.os.Process.myPid(), android.os.Process.myUid()); in checkCallingPermission() 235 protected int checkPermission(String permission, int pid, int uid) { in checkPermission() method in ShadowContextImpl 236 return getShadowInstrumentation().checkPermission(permission, pid, uid); in checkPermission()
|
D | ShadowPowerManager.java | 69 .checkPermission(permission.DEVICE_POWER, context.getPackageName()); in setPowerSaveMode()
|
D | ShadowUserManager.java | 334 …return context.getPackageManager().checkPermission(permission.MANAGE_USERS, context.getPackageName… in hasManageUsersPermission()
|
D | ShadowInstrumentation.java | 694 int checkPermission(String permission, int pid, int uid) {
|
D | ShadowApplicationPackageManager.java | 672 protected int checkPermission(String permName, String pkgName) { in checkPermission() method in ShadowApplicationPackageManager
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextWrapperTest.java | 488 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 1, 1)) in checkPermissionUidPid() 493 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 2, 1)) in checkPermissionUidPid() 496 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 1, 1)) in checkPermissionUidPid() 531 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 1, 1)) in revokePermissionUidPid() 535 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 1, 1)) in revokePermissionUidPid()
|
D | ShadowPackageManagerTest.java | 212 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_thisPackage() 214 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_thisPackage() 216 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_thisPackage() 219 assertEquals(PERMISSION_DENIED, packageManager.checkPermission( in testCheckPermission_thisPackage() 221 assertEquals(PERMISSION_DENIED, packageManager.checkPermission( in testCheckPermission_thisPackage() 240 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_otherPackages() 242 assertEquals(PERMISSION_DENIED, packageManager.checkPermission( in testCheckPermission_otherPackages() 244 assertEquals(PERMISSION_DENIED, packageManager.checkPermission( in testCheckPermission_otherPackages() 263 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_otherPackages_grantedByDefault() 265 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_otherPackages_grantedByDefault() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractFutureInnocuousThreadTest.java | 82 public void checkPermission(Permission p) { in setUp()
|
D | CallablesTest.java | 137 public void checkPermission(Permission perm) { in testRenaming_noPermissions()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | CallablesTest.java | 137 public void checkPermission(Permission perm) { in testRenaming_noPermissions()
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | VirtualMachineManagerImpl.java | 61 sm.checkPermission(vmmPermission); in virtualMachineManager()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ApiCompatibilityUtils.java | 608 public static int checkPermission(Context context, String permission, int pid, int uid) { in checkPermission() method in ApiCompatibilityUtils 610 return context.checkPermission(permission, pid, uid); in checkPermission()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 344 public int checkPermission(String s, int i, int i1) { in checkPermission() method in MockContext.MockContext2
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | AppRTCBluetoothManager.java | 417 return apprtcContext.checkPermission(permission, Process.myPid(), Process.myUid()) in hasPermission()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 434 public void checkPermission(Permission p) { in doTestExistsThrowsSecurityException()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 638 if (getActivity().checkPermission(permission, Process.myPid(), Process.myUid()) in allPermissionsGranted()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 501 public void checkPermission(Permission p) { in doTestExistsThrowsSecurityException()
|