OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SecurityException
(Results
1 - 25
of
283
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/luni/src/main/java/java/lang/
SecurityException.java
23
public class
SecurityException
extends RuntimeException {
28
* Constructs a new {@code
SecurityException
} that includes the current
31
public
SecurityException
() {
35
* Constructs a new {@code
SecurityException
} with the current stack trace
41
public
SecurityException
(String detailMessage) {
46
* Constructs a new {@code
SecurityException
} with the current stack trace,
55
public
SecurityException
(String message, Throwable cause) {
60
* Constructs a new {@code
SecurityException
} with the current stack trace
67
public
SecurityException
(Throwable cause) {
/libcore/luni/src/main/java/java/security/
Guard.java
28
*
SecurityException
} is thrown.
32
* @throws
SecurityException
35
public void checkGuard(Object object) throws
SecurityException
;
AccessControlException.java
24
public class AccessControlException extends
SecurityException
{
Permission.java
30
public void checkGuard(Object obj) throws
SecurityException
{ }
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
SecurityExceptionTest.java
27
* @tests java.lang.
SecurityException
#
SecurityException
()
30
SecurityException
e = new
SecurityException
();
37
* @tests java.lang.
SecurityException
#
SecurityException
(java.lang.String)
40
SecurityException
e = new
SecurityException
("fixture");
46
* @tests java.lang.
SecurityException
#
SecurityException
(String, Throwable
[
all
...]
/cts/tests/tests/permission/src/android/permission/cts/
NoWifiStatePermissionTest.java
49
fail("WifiManager.getWifiState didn't throw
SecurityException
as expected");
50
} catch (
SecurityException
e) {
63
fail("WifiManager.getConfiguredNetworks didn't throw
SecurityException
as expected");
64
} catch (
SecurityException
e) {
77
fail("WifiManager.getConnectionInfo didn't throw
SecurityException
as expected");
78
} catch (
SecurityException
e) {
91
fail("WifiManager.getScanResults didn't throw
SecurityException
as expected");
92
} catch (
SecurityException
e) {
105
fail("WifiManager.getDhcpInfo didn't throw
SecurityException
as expected");
106
} catch (
SecurityException
e)
[
all
...]
NoNetworkStatePermissionTest.java
50
fail("ConnectivityManager.getNetworkPreference didn't throw
SecurityException
as"
52
} catch (
SecurityException
e) {
66
fail("ConnectivityManager.getActiveNetworkInfo didn't throw
SecurityException
as"
68
} catch (
SecurityException
e) {
82
fail("ConnectivityManager.getNetworkInfo didn't throw
SecurityException
as"
84
} catch (
SecurityException
e) {
98
fail("ConnectivityManager.getAllNetworkInfo didn't throw
SecurityException
as"
100
} catch (
SecurityException
e) {
114
fail("ConnectivityManager.setNetworkPreference didn't throw
SecurityException
as"
116
} catch (
SecurityException
e)
[
all
...]
ConnectivityManagerPermissionTest.java
52
} catch (
SecurityException
e) {
68
} catch (
SecurityException
e) {
84
} catch (
SecurityException
e) {
100
} catch (
SecurityException
e) {
116
} catch (
SecurityException
e) {
NoSystemFunctionPermissionTest.java
51
fail("ActivityManager.restartPackage() didn't throw
SecurityException
as expected.");
52
} catch (
SecurityException
e) {
71
fail("AlarmManager.setTimeZone() did not throw
SecurityException
as expected.");
72
} catch (
SecurityException
e) {
89
fail("Context.setWallpaper(BitMap) did not throw
SecurityException
as expected.");
90
} catch (
SecurityException
e) {
96
fail("Context.setWallpaper(InputStream) did not throw
SecurityException
as expected.");
97
} catch (
SecurityException
e) {
103
fail("Context.clearWallpaper() did not throw
SecurityException
as expected.");
104
} catch (
SecurityException
e)
[
all
...]
NoLocationPermissionTest.java
71
" throw
SecurityException
as expected");
72
} catch (
SecurityException
e) {
78
fail("TelephonyManager.getCellLocation did not throw
SecurityException
as expected");
79
} catch (
SecurityException
e) {
86
* provider throws
SecurityException
.
101
" throw
SecurityException
as expected");
102
} catch (
SecurityException
e) {
109
" throw
SecurityException
as expected");
110
} catch (
SecurityException
e) {
146
fail("LocationManager.addProximityAlert did not throw
SecurityException
as expected")
[
all
...]
NoBroadcastPackageRemovedPermissionTest.java
41
fail("Context.sendStickyBroadcast did not throw
SecurityException
as expected");
42
} catch (
SecurityException
e) {
48
fail("Context.removeStickyBroadcast did not throw
SecurityException
as expected");
49
} catch (
SecurityException
e) {
68
fail("Context.sendBroadcast did not throw
SecurityException
as expected");
69
} catch (
SecurityException
e) {
76
fail("Context.sendBroadcast did not throw
SecurityException
as expected");
77
} catch (
SecurityException
e) {
84
fail("Context.sendOrderedBroadcast did not throw
SecurityException
as expected");
85
} catch (
SecurityException
e)
[
all
...]
NoWakeLockPermissionTest.java
55
fail("WifiManager.WifiLock.acquire() didn't throw
SecurityException
as expected");
56
} catch (
SecurityException
e) {
72
fail("MediaPlayer.setWakeMode() did not throw
SecurityException
as expected");
73
} catch (
SecurityException
e) {
89
fail("MediaPlayer.setWakeMode() did not throw
SecurityException
as expected");
90
} catch (
SecurityException
e) {
105
fail("MediaPlayer.setWakeMode(long) did not throw
SecurityException
as expected");
106
} catch (
SecurityException
e) {
121
fail("MediaPlayer.setWakeMode(long) did not throw
SecurityException
as expected");
122
} catch (
SecurityException
e)
[
all
...]
NoKeyPermissionTest.java
47
fail("KeyguardManager.KeyguardLock.disableKeyguard did not throw
SecurityException
as"
49
} catch (
SecurityException
e) {
63
fail("KeyguardManager.KeyguardLock.reenableKeyguard did not throw
SecurityException
as"
65
} catch (
SecurityException
e) {
79
fail("KeyguardManager.exitKeyguardSecurely did not throw
SecurityException
as"
81
} catch (
SecurityException
e) {
PackageManagerRequiringPermissionsTest.java
48
fail("PackageManager.setApplicationEnabledSetting did not throw
SecurityException
as"
50
} catch (
SecurityException
e) {
64
"
SecurityException
as expected");
65
} catch (
SecurityException
e) {
78
fail("PackageManager.clearPackagePreferredActivities did not throw
SecurityException
"
80
} catch (
SecurityException
e) {
TelephonyManagerPermissionTest.java
48
} catch (
SecurityException
e) {
63
} catch (
SecurityException
e) {
78
} catch (
SecurityException
e) {
RebootPermissionTest.java
43
} catch (
SecurityException
e) {
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
ActivityManagerPermissionTests.java
43
fail("IActivityManager.moveTaskToFront did not throw
SecurityException
as"
45
} catch (
SecurityException
e) {
53
fail("IActivityManager.moveTaskToBack did not throw
SecurityException
as"
55
} catch (
SecurityException
e) {
63
fail("IActivityManager.moveTaskToFront did not throw
SecurityException
as"
65
} catch (
SecurityException
e) {
76
fail("IActivityManager.updateConfiguration did not throw
SecurityException
as"
78
} catch (
SecurityException
e) {
89
fail("IActivityManager.setDebugApp did not throw
SecurityException
as"
91
} catch (
SecurityException
e)
[
all
...]
WindowManagerPermissionTests.java
47
fail("IWindowManager.pauseKeyDispatching did not throw
SecurityException
as"
49
} catch (
SecurityException
e) {
57
fail("IWindowManager.resumeKeyDispatching did not throw
SecurityException
as"
59
} catch (
SecurityException
e) {
67
fail("IWindowManager.setEventDispatching did not throw
SecurityException
as"
69
} catch (
SecurityException
e) {
77
fail("IWindowManager.addWindowToken did not throw
SecurityException
as"
79
} catch (
SecurityException
e) {
87
fail("IWindowManager.removeWindowToken did not throw
SecurityException
as"
89
} catch (
SecurityException
e)
[
all
...]
PmPermissionsTests.java
46
"did not throw
SecurityException
as expected");
47
} catch (
SecurityException
e) {
61
"did not throw
SecurityException
as expected");
62
} catch (
SecurityException
e) {
76
"did not throw
SecurityException
as expected");
77
} catch (
SecurityException
e) {
91
"did not throw
SecurityException
as expected");
92
} catch (
SecurityException
e) {
106
" did not throw
SecurityException
as expected");
107
} catch (
SecurityException
e)
[
all
...]
SmsManagerPermissionTest.java
45
fail("SmsManager.sendTextMessage did not throw
SecurityException
as expected");
46
} catch (
SecurityException
e) {
61
fail("SmsManager.sendDataMessage did not throw
SecurityException
as expected");
62
} catch (
SecurityException
e) {
80
fail("SmsManager.sendMultipartTextMessage did not throw
SecurityException
as expected");
81
} catch (
SecurityException
e) {
VibratorServicePermissionTest.java
50
fail("vibrate did not throw
SecurityException
as expected");
51
} catch (
SecurityException
e) {
66
fail("vibratePattern did not throw
SecurityException
as expected");
67
} catch (
SecurityException
e) {
81
fail("cancelVibrate did not throw
SecurityException
as expected");
82
} catch (
SecurityException
e) {
/libcore/luni/src/test/java/sun/misc/
UnsafeTest.java
30
} catch (
SecurityException
expected) {
48
} catch (
SecurityException
expected) {
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyGuard.java
35
throw new
SecurityException
();
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyGuard.java
35
throw new
SecurityException
();
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
CheckedOutputStreamTest.java
43
} catch (
SecurityException
e) {
75
} catch (
SecurityException
e) {
100
} catch (
SecurityException
e) {
129
} catch (
SecurityException
e) {
146
} catch (
SecurityException
e) {
Completed in 1797 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>