OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:securityexception
(Results
1 - 25
of
525
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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
...]
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
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
...]
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
...]
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
51
fail("vibrate did not throw
SecurityException
as expected");
52
} catch (
SecurityException
e) {
67
fail("vibratePattern did not throw
SecurityException
as expected");
68
} catch (
SecurityException
e) {
82
fail("cancelVibrate did not throw
SecurityException
as expected");
83
} catch (
SecurityException
e) {
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) {
/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
...]
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
...]
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
...]
NoNetworkStatePermissionTest.java
51
fail("ConnectivityManager.getNetworkPreference didn't throw
SecurityException
as"
53
} catch (
SecurityException
e) {
67
fail("ConnectivityManager.getActiveNetworkInfo didn't throw
SecurityException
as"
69
} catch (
SecurityException
e) {
83
fail("ConnectivityManager.getNetworkInfo didn't throw
SecurityException
as"
85
} catch (
SecurityException
e) {
99
fail("ConnectivityManager.getAllNetworkInfo didn't throw
SecurityException
as"
101
} catch (
SecurityException
e) {
115
fail("ConnectivityManager.setNetworkPreference didn't throw
SecurityException
as"
117
} catch (
SecurityException
e)
[
all
...]
NoLocationPermissionTest.java
72
" throw
SecurityException
as expected");
73
} catch (
SecurityException
e) {
79
fail("TelephonyManager.getCellLocation did not throw
SecurityException
as expected");
80
} catch (
SecurityException
e) {
99
fail("TelephonyManager.getNeighbouringCellInfo did not throw
SecurityException
as expected");
100
} catch (
SecurityException
e) {
106
fail("TelephonyManager.getAllCellInfo did not throw
SecurityException
as expected");
107
} catch (
SecurityException
e) {
114
* provider throws
SecurityException
.
129
" throw
SecurityException
as expected")
[
all
...]
PackageManagerRequiringPermissionsTest.java
52
fail("PackageManager.setApplicationEnabledSetting did not throw
SecurityException
as"
54
} catch (
SecurityException
e) {
70
"
SecurityException
as expected");
71
} catch (
SecurityException
e) {
84
fail("PackageManager.clearPackagePreferredActivities did not throw
SecurityException
"
86
} catch (
SecurityException
e) {
99
fail("PackageManager.verifyPendingInstall did not throw
SecurityException
"
101
} catch (
SecurityException
e) {
114
fail("PackageManager.extendVerificationTimeout did not throw
SecurityException
"
116
} catch (
SecurityException
e)
[
all
...]
AccountManagerTest.java
49
fail("AccountManager.getAccounts() did not throw
SecurityException
as expected");
50
} catch (
SecurityException
se) {
64
fail("AccountManager.getAccountsByType() did not throw
SecurityException
as expected");
65
} catch (
SecurityException
se) {
80
fail("AccountManager.getAccountsByTypeAndFeatures() did not throw
SecurityException
as expected");
81
} catch (
SecurityException
se) {
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) {
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("WakeLock.acquire() did not throw
SecurityException
as expected");
90
} catch (
SecurityException
e) {
105
fail("WakeLock.acquire(long) did not throw
SecurityException
as expected");
106
} catch (
SecurityException
e) {
ContactsProviderTest.java
45
fail("query(ContactsContract.Contacts.CONTENT_URI) did not throw
SecurityException
"
47
} catch (
SecurityException
se) {
63
fail("insert(ContactsContract.Contacts.CONTENT_URI) did not throw
SecurityException
"
65
} catch (
SecurityException
se) {
81
fail("query(ContactsContract.Profile.CONTENT_URI) did not throw
SecurityException
"
83
} catch (
SecurityException
se) {
92
*
SecurityException
anyway.
101
fail("insert(ContactsContract.Profile.CONTENT_URI) did not throw
SecurityException
"
103
} catch (
SecurityException
se) {
119
fail("update(ContactsContract.Profile.CONTENT_URI) did not throw
SecurityException
"
[
all
...]
NoActivityRelatedPermissionTest.java
59
fail("Activity.getRunningTasks did not throw
SecurityException
as expected");
60
} catch (
SecurityException
e) {
66
fail("Activity.getRunningTasks did not throw
SecurityException
as expected");
67
} catch (
SecurityException
e) {
ConnectivityManagerPermissionTest.java
52
} catch (
SecurityException
e) {
68
} catch (
SecurityException
e) {
84
} catch (
SecurityException
e) {
100
} catch (
SecurityException
e) {
116
} catch (
SecurityException
e) {
/cts/tests/tests/os/src/android/os/cts/
PowerManagerTest.java
47
fail("goToSleep should throw
SecurityException
");
48
} catch (
SecurityException
e) {
54
fail("wakeUp should throw
SecurityException
");
55
} catch (
SecurityException
e) {
61
fail("nap should throw
SecurityException
");
62
} catch (
SecurityException
e) {
68
fail("reboot should throw
SecurityException
");
69
} catch (
SecurityException
e) {
73
// This method requires DEVICE_POWER but does not throw a
SecurityException
/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) {
/cts/tests/tests/provider/src/android/provider/cts/
Settings_SecureTest.java
72
fail("
SecurityException
should have been thrown!");
73
} catch (
SecurityException
expected) {
94
fail("
SecurityException
should have been thrown!");
95
} catch (
SecurityException
expected) {
116
fail("
SecurityException
should have been thrown!");
117
} catch (
SecurityException
expected) {
138
fail("
SecurityException
should have been thrown!");
139
} catch (
SecurityException
expected) {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentProviderResult.java
15
public void __constructor__(Uri uri) throws
SecurityException
, NoSuchFieldException, IllegalArgumentException, IllegalAccessException {
21
public void __constructor__(int count) throws
SecurityException
, NoSuchFieldException, IllegalArgumentException, IllegalAccessException {
/cts/tests/tests/permission2/src/android/permission2/cts/
ReadSocialStreamPermissionTest.java
43
} catch (
SecurityException
e) {
54
} catch (
SecurityException
e) {
66
} catch (
SecurityException
e) {
76
} catch (
SecurityException
e) {
/libcore/luni/src/main/java/java/security/
Guard.java
28
*
SecurityException
} is thrown.
32
* @throws
SecurityException
35
public void checkGuard(Object object) throws
SecurityException
;
Completed in 1516 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>