Home
last modified time | relevance | path

Searched refs:checkPermission (Results 1 – 25 of 32) sorted by relevance

12

/external/smack/src/org/apache/harmony/javax/security/auth/
DSubject.java146 checkPermission(_AS); in doAs()
170 checkPermission(_AS_PRIVILEGED); in doAsPrivileged()
223 checkPermission(_AS); in doAs()
250 checkPermission(_AS_PRIVILEGED); in doAsPrivileged()
411 checkPermission(_READ_ONLY); in setReadOnly()
488 checkPermission(_SUBJECT); in getSubject()
506 private static void checkPermission(Permission p) { in checkPermission() method in Subject
509 sm.checkPermission(p); in checkPermission()
605 checkPermission(permission); in add()
631 checkPermission(new PrivateCredentialPermission(obj in iterator()
[all …]
DSubjectDomainCombiner.java60 sm.checkPermission(_GET); in getSubject()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DBouncyCastleProviderConfiguration.java41 securityManager.checkPermission(BC_EC_LOCAL_PERMISSION); in setParameter()
66 securityManager.checkPermission(BC_EC_PERMISSION); in setParameter()
84 securityManager.checkPermission(BC_DH_LOCAL_PERMISSION); in setParameter()
109 securityManager.checkPermission(BC_DH_PERMISSION); in setParameter()
/external/webkit/Source/WebCore/notifications/
DNotificationCenter.cpp47 int NotificationCenter::checkPermission() in checkPermission() function in WebCore::NotificationCenter
51 return m_notificationPresenter->checkPermission(scriptExecutionContext()); in checkPermission()
DNotification.cpp56 …if (m_notificationCenter->presenter()->checkPermission(context) != NotificationPresenter::Permissi… in Notification()
77 …if (m_notificationCenter->presenter()->checkPermission(context) != NotificationPresenter::Permissi… in Notification()
DNotificationPresenter.h77 virtual Permission checkPermission(ScriptExecutionContext*) = 0;
DNotificationCenter.h76 int checkPermission();
DNotificationCenter.idl40 int checkPermission();
/external/webkit/Source/WebKit/chromium/src/
DNotificationPresenterImpl.cpp95 NotificationPresenter::Permission NotificationPresenterImpl::checkPermission(ScriptExecutionContext… in checkPermission() function in WebKit::NotificationPresenterImpl
97 int result = m_presenter->checkPermission(context->url()); in checkPermission()
DNotificationPresenterImpl.h57 …virtual WebCore::NotificationPresenter::Permission checkPermission(WebCore::ScriptExecutionContext…
/external/smack/src/org/apache/harmony/javax/security/auth/login/
DConfiguration.java46 sm.checkPermission(GET_LOGIN_CONFIGURATION); in getConfiguration()
93 sm.checkPermission(SET_LOGIN_CONFIGURATION);
DLoginContext.java154 sm.checkPermission(new AuthPermission("createLoginContext." + name));//$NON-NLS-1$ in init()
160 sm.checkPermission(new AuthPermission("createLoginContext.other")); //$NON-NLS-1$ in init()
/external/apache-harmony/security/src/test/api/java/tests/api/java/security/
DAccessControlContextTest.java45 acc.checkPermission(perm); in test_Constructor$Ljava_security_ProtectionDomain()
56 acc.checkPermission(perm); in test_Constructor$Ljava_security_ProtectionDomain()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DContextWrapperTest.java154 assertThat(contextWrapper.checkPermission("foo", 0, 0), equalTo(PERMISSION_GRANTED)); in checkPermissionsShouldReturnPermissionGrantedToAddedPermissions()
155 assertThat(contextWrapper.checkPermission("bar", 0, 0), equalTo(PERMISSION_GRANTED)); in checkPermissionsShouldReturnPermissionGrantedToAddedPermissions()
156 assertThat(contextWrapper.checkPermission("baz", 0, 0), equalTo(PERMISSION_DENIED)); in checkPermissionsShouldReturnPermissionGrantedToAddedPermissions()
/external/webkit/Source/WebKit/chromium/public/
DWebNotificationPresenter.h64 virtual Permission checkPermission(const WebURL&) = 0;
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebDesktopNotificationsDelegate.h53 virtual WebCore::NotificationPresenter::Permission checkPermission(const KURL& url);
DWebDesktopNotificationsDelegate.cpp175 NotificationPresenter::Permission WebDesktopNotificationsDelegate::checkPermission(const KURL& url) in checkPermission() function in WebDesktopNotificationsDelegate
/external/webkit/Tools/DumpRenderTree/chromium/
DNotificationPresenter.h58 virtual Permission checkPermission(const WebKit::WebURL&);
DNotificationPresenter.cpp132 WebNotificationPresenter::Permission NotificationPresenter::checkPermission(const WebURL& url) in checkPermission() function in NotificationPresenter
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DNotificationPresenterClientQt.h94 virtual NotificationPresenter::Permission checkPermission(ScriptExecutionContext*);
DNotificationPresenterClientQt.cpp336 NotificationPresenter::Permission NotificationPresenterClientQt::checkPermission(ScriptExecutionCon… in checkPermission() function in WebCore::NotificationPresenterClientQt
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContextWrapper.java81 public int checkPermission(java.lang.String permission, int pid, int uid) { in checkPermission() method in ShadowContextWrapper
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
DStubPackageManager.java93 @Override public int checkPermission(String permName, String pkgName) { in checkPermission() method in StubPackageManager
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DClassTest.java207 AccessController.checkPermission(privCheckPermission); in test_getClasses_subtest0()
/external/webkit/Source/WebKit/win/
DChangeLog5331 Clean up unused calls after changes to checkPermission and requestPermission argument lists.
5399 Change NotificationPresenter::checkPermission() to take the source frames full KURL,
5404 (WebDesktopNotificationsDelegate::checkPermission):
5616 Modify interface to WebCore::NotificationPresenter::checkPermission()
5622 (WebDesktopNotificationsDelegate::checkPermission):
6361 Expand NotificationCenter::checkPermission() interface.
6367 (WebDesktopNotificationsDelegate::checkPermission):
9723 (WebDesktopNotificationsDelegate::checkPermission):
9794 (WebDesktopNotificationsDelegate::checkPermission):

12