HomeSort by relevance Sort by last modified time
    Searched refs:SecurityException (Results 26 - 50 of 283) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/permission/src/android/permission/cts/
NoActivityRelatedPermissionTest.java 61 fail("Activity.getRunningTasks did not throw SecurityException as expected");
62 } catch (SecurityException e) {
68 fail("Activity.getRunningTasks did not throw SecurityException as expected");
69 } catch (SecurityException e) {
AppWidgetManagerPermissionTest.java 50 } catch (SecurityException e) {
AudioPermissionTest.java 57 catch (SecurityException e) {
66 } catch (SecurityException e) {
82 } catch (SecurityException e) {
100 } catch (SecurityException e) {
DevicePowerPermissionTest.java 47 } catch (SecurityException e) {
NoSdCardWritePermissionTest.java 45 } catch (SecurityException e) {
CameraPermissionTest.java 60 catch (SecurityException e) {
84 catch (SecurityException e) {
89 // a SecurityException.
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
GuardedObjectTest.java 50 public void checkGuard(Object object) throws SecurityException {
52 throw new SecurityException(message);
61 fail("SecurityException is not thrown");
  /frameworks/base/tests/permission/src/com/android/framework/permission/tests/
ServiceManagerPermissionTests.java 41 fail("ServiceManager.addService did not throw SecurityException as"
43 } catch (SecurityException e) {
58 fail("IServiceManager.setPermissionController did not throw SecurityException as"
60 } catch (SecurityException e) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
GuardedObjectTest.java 53 public void checkGuard(Object object) throws SecurityException {
55 throw new SecurityException(message);
64 fail("SecurityException is not thrown");
  /cts/tests/appsecurity-tests/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/
InstrumentationFailToRunTest.java 40 } catch (SecurityException e) {
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
SecurityChecker.java 49 throw new SecurityException();
  /packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/
DownloadProviderPermissionsTest.java 60 } catch (SecurityException e) {
80 fail("write to provider did not throw SecurityException as expected.");
81 } catch (SecurityException e) {
98 fail("starting download service did not throw SecurityException as expected.");
99 } catch (SecurityException e) {
  /cts/tests/appsecurity-tests/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
AccessPrivateDataTest.java 58 } catch (SecurityException e) {
  /cts/tests/appsecurity-tests/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
GrantUriPermission.java 39 } catch (SecurityException e) {
SetInstallerPackage.java 34 } catch (SecurityException e) {
  /external/apache-harmony/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
AnnotationTypeMismatchExceptionTest.java 32 * @throws SecurityException
37 public void test_constructorLjava_lang_reflect_MethodLjava_lang_String() throws SecurityException, ClassNotFoundException {
  /libcore/luni/src/main/java/java/security/
GuardedObject.java 53 * SecurityException} is thrown.
56 * @exception SecurityException
59 public Object getObject() throws SecurityException {
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
BoundedGenericMethodsTests.java 107 public void testNoParamNoReturn() throws SecurityException, NoSuchMethodException {
111 public void testUnboundedParamNoReturn() throws SecurityException, NoSuchMethodException {
116 public void testNoParamReturn() throws SecurityException, NoSuchMethodException {
122 public void testUnboundedParamReturn() throws SecurityException, NoSuchMethodException {
  /external/apache-harmony/security/src/test/api/java/tests/api/java/security/
AccessControlContextTest.java 46 } catch (SecurityException e) {
58 } catch (SecurityException e) {
  /frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
VariableSpeedNative.java 36 /*package*/ static void loadLibrary() throws UnsatisfiedLinkError, SecurityException {
50 } catch (SecurityException e) {
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailPermissions.java 48 * @throws SecurityException if the caller does not have the voicemail source permission.
52 throw new SecurityException("The caller must have permission: " +
60 * @throws SecurityException if the caller does not have the voicemail source permission.
64 throw new SecurityException(String.format("The caller must have permissions %s AND %s",
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
VoicemailProviderTest.java 148 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
155 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
162 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
169 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
190 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
213 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
219 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
281 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
287 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() {
300 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable()
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
PackageTest.java 313 fail("should throw SecurityException");
314 } catch (SecurityException e) {
330 fail("should throw SecurityException");
331 } catch (SecurityException e) {
341 fail("should throw SecurityException");
342 } catch (SecurityException e) {
352 fail("should throw SecurityException");
353 } catch (SecurityException e) {
363 fail("should throw SecurityException");
364 } catch (SecurityException e)
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
X509V1CertificateGenerator.java 187 throws SecurityException, SignatureException, InvalidKeyException
195 throw new SecurityException("BC provider not installed!");
207 throws SecurityException, SignatureException, InvalidKeyException
215 throw new SecurityException("BC provider not installed!");
228 throws NoSuchProviderException, SecurityException, SignatureException, InvalidKeyException
243 throws NoSuchProviderException, SecurityException, SignatureException, InvalidKeyException
263 throw new SecurityException("exception: " + e);
  /cts/tools/signature-tools/test/signature/converter/
ConvertParameterizedTypeTest.java 86 public void reflectionTest0() throws SecurityException, NoSuchFieldException{
97 public void reflectionTest1() throws SecurityException, NoSuchFieldException{
110 public void reflectionTest2() throws SecurityException, NoSuchFieldException {

Completed in 1228 milliseconds

12 3 4 5 6 7 8 91011>>