Home
last modified time | relevance | path

Searched refs:checkPermission (Results 1 – 25 of 26) 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/chromium_org/third_party/WebKit/Source/web/
DNotificationPresenterImpl.cpp79 …ssionString(static_cast<NotificationClient::Permission>(m_presenter->checkPermission(WebSecurityOr… in permissionRequestComplete()
116 NotificationClient::Permission NotificationPresenterImpl::checkPermission(ExecutionContext* context) in checkPermission() function in blink::NotificationPresenterImpl
118 int result = m_presenter->checkPermission(WebSecurityOrigin(context->securityOrigin())); in checkPermission()
DNotificationPresenterImpl.h55 virtual WebCore::NotificationClient::Permission checkPermission(WebCore::ExecutionContext*);
/external/chromium_org/third_party/WebKit/Source/modules/notifications/
DNotificationCenter.cpp59 int NotificationCenter::checkPermission() in checkPermission() function in WebCore::NotificationCenter
70 return m_client->checkPermission(executionContext()); in checkPermission()
74 return m_client->checkPermission(executionContext()); in checkPermission()
DNotificationClient.h73 virtual Permission checkPermission(ExecutionContext*) = 0;
DWebKitNotification.cpp57 if (provider->checkPermission() != NotificationClient::PermissionAllowed) { in WebKitNotification()
DNotificationCenter.h70 int checkPermission();
DNotificationBase.cpp60 …nController::from(toDocument(executionContext())->page())->client()->checkPermission(executionCont… in show()
DNotification.cpp83 …ing(NotificationController::from(toDocument(context)->page())->client()->checkPermission(context)); in permission()
DNotificationCenter.idl39 long checkPermission();
/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/chromium_org/third_party/WebKit/public/web/
DWebNotificationPresenter.h63 virtual Permission checkPermission(const WebSecurityOrigin&) = 0;
/external/chromium_org/content/renderer/
Dnotification_provider.h36 virtual blink::WebNotificationPresenter::Permission checkPermission(
Dnotification_provider.cc69 WebNotificationPresenter::Permission NotificationProvider::checkPermission( in checkPermission() function in content::NotificationProvider
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DNotificationPresenter.h66 virtual Permission checkPermission(const blink::WebSecurityOrigin&);
DNotificationPresenter.cpp150 WebNotificationPresenter::Permission NotificationPresenter::checkPermission(const WebSecurityOrigin… in checkPermission() function in WebTestRunner::NotificationPresenter
/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/chromium_org/media/base/android/java/src/org/chromium/media/
DAudioManagerAndroid.java495 mHasBluetoothPermission = mContext.checkPermission( in initBluetooth()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DClassTest.java207 AccessController.checkPermission(privCheckPermission); in test_getClasses_subtest0()

12