/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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/ |
D | CryptoServicesRegistrar.java | 127 checkPermission(CanSetDefaultRandom); in setSecureRandom() 245 checkPermission(CanSetThreadProperty); in setThreadProperty() 266 checkPermission(CanSetDefaultProperty); in setGlobalProperty() 306 checkPermission(CanSetDefaultProperty); in clearGlobalProperty() 323 checkPermission(CanSetThreadProperty); in clearThreadProperty() 341 private static void checkPermission(final Permission permission) in checkPermission() method in CryptoServicesRegistrar 351 securityManager.checkPermission(permission); in checkPermission()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | CryptoServicesRegistrar.java | 125 checkPermission(CanSetDefaultRandom); in setSecureRandom() 243 checkPermission(CanSetThreadProperty); in setThreadProperty() 264 checkPermission(CanSetDefaultProperty); in setGlobalProperty() 304 checkPermission(CanSetDefaultProperty); in clearGlobalProperty() 321 checkPermission(CanSetThreadProperty); in clearThreadProperty() 339 private static void checkPermission(final Permission permission) in checkPermission() method in CryptoServicesRegistrar 349 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowContextImpl.java | 104 return checkPermission(permission, android.os.Process.myPid(), android.os.Process.myUid()); in checkCallingPermission() 188 protected int checkPermission(String permission, int pid, int uid) { in checkPermission() method in ShadowContextImpl 189 return getShadowInstrumentation().checkPermission(permission, pid, uid); in checkPermission()
|
D | ShadowPowerManager.java | 69 .checkPermission(permission.DEVICE_POWER, context.getPackageName()); in setPowerSaveMode()
|
D | ShadowUserManager.java | 212 …return context.getPackageManager().checkPermission(permission.MANAGE_USERS, context.getPackageName… in hasManageUsersPermission()
|
D | ShadowInstrumentation.java | 689 int checkPermission(String permission, int pid, int uid) {
|
D | ShadowApplicationPackageManager.java | 651 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 | 397 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 1, 1)) in checkPermissionUidPid() 402 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 2, 1)) in checkPermissionUidPid() 405 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 1, 1)) in checkPermissionUidPid() 440 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 1, 1)) in revokePermissionUidPid() 444 assertThat(contextWrapper.checkPermission("MY_PERMISSON", 1, 1)) in revokePermissionUidPid()
|
D | ShadowPackageManagerTest.java | 209 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_thisPackage() 211 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_thisPackage() 213 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_thisPackage() 216 assertEquals(PERMISSION_DENIED, packageManager.checkPermission( in testCheckPermission_thisPackage() 218 assertEquals(PERMISSION_DENIED, packageManager.checkPermission( in testCheckPermission_thisPackage() 237 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_otherPackages() 239 assertEquals(PERMISSION_DENIED, packageManager.checkPermission( in testCheckPermission_otherPackages() 241 assertEquals(PERMISSION_DENIED, packageManager.checkPermission( in testCheckPermission_otherPackages() 260 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_otherPackages_grantedByDefault() 262 assertEquals(PERMISSION_GRANTED, packageManager.checkPermission( in testCheckPermission_otherPackages_grantedByDefault() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | CallablesTest.java | 79 @Override public void checkPermission(Permission perm) { in testRenaming_noPermissions()
|
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioUtils.java | 197 return context.checkPermission( in hasPermission()
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | VirtualMachineManagerImpl.java | 61 sm.checkPermission(vmmPermission); in virtualMachineManager()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | NetworkMonitorAutoDetect.java | 225 hasWifiPermission = context.getPackageManager().checkPermission( in WifiManagerDelegate()
|
/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
|