/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
SecurityPolicyTest.cpp | 32 #include "platform/weborigin/SecurityPolicy.h" 38 using blink::SecurityPolicy; 44 EXPECT_TRUE(String() == SecurityPolicy::generateReferrerHeader(blink::ReferrerPolicyAlways, KURL(blink::ParsedURLString, "http://example.com/"), String::fromUTF8("chrome://somepage/")));
|
SecurityPolicy.cpp | 30 #include "platform/weborigin/SecurityPolicy.h" 52 bool SecurityPolicy::shouldHideReferrer(const KURL& url, const String& referrer) 68 String SecurityPolicy::generateReferrerHeader(ReferrerPolicy referrerPolicy, const KURL& url, const String& referrer) 96 bool SecurityPolicy::isAccessWhiteListed(const SecurityOrigin* activeOrigin, const SecurityOrigin* targetOrigin) 107 bool SecurityPolicy::isAccessToURLWhiteListed(const SecurityOrigin* activeOrigin, const KURL& url) 113 void SecurityPolicy::addOriginAccessWhitelistEntry(const SecurityOrigin& sourceOrigin, const String& destinationProtocol, const String& destinationDomain, bool allowDestinationSubdomains) 129 void SecurityPolicy::removeOriginAccessWhitelistEntry(const SecurityOrigin& sourceOrigin, const String& destinationProtocol, const String& destinationDomain, bool allowDestinationSubdomains) 153 void SecurityPolicy::resetOriginAccessWhitelists()
|
SecurityPolicy.h | 41 class PLATFORM_EXPORT SecurityPolicy {
|
SecurityOrigin.cpp | 36 #include "platform/weborigin/SecurityPolicy.h" 306 if (SecurityPolicy::isAccessWhiteListed(this, targetOrigin.get())) 371 return m_protocol == protocol || SecurityPolicy::isAccessToURLWhiteListed(this, url); 374 return canLoadLocalResources() || SecurityPolicy::isAccessToURLWhiteListed(this, url);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebSecurityPolicy.cpp | 37 #include "platform/weborigin/SecurityPolicy.h" 84 SecurityPolicy::addOriginAccessWhitelistEntry( 95 SecurityPolicy::removeOriginAccessWhitelistEntry( 102 SecurityPolicy::resetOriginAccessWhitelists(); 107 return SecurityPolicy::generateReferrerHeader(static_cast<ReferrerPolicy>(referrerPolicy), url, referrer);
|
WebLocalFrameImpl.cpp | 168 #include "platform/weborigin/SecurityPolicy.h" [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
PolicyService.java | 27 import com.android.email.SecurityPolicy; 36 private SecurityPolicy mSecurityPolicy; 47 LogUtils.e(LOG_TAG, e, "Exception thrown during call to SecurityPolicy#isActive"); 54 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState); 64 LogUtils.e(LOG_TAG, e, "Exception thrown during call to SecurityPolicy#remoteWipe"); 83 "Exception thrown from call to SecurityPolicy#setAccountPolicy"); 96 final ComponentName adminName = new ComponentName(mContext, SecurityPolicy.PolicyAdmin.class); 119 // When we bind this service, save the context and SecurityPolicy singleton 121 mSecurityPolicy = SecurityPolicy.getInstance(this);
|
EmailBroadcastProcessorService.java | 40 import com.android.email.SecurityPolicy; 69 * This also handles the DeviceAdminReceiver in SecurityPolicy, because it is also 108 * Entry point for {@link com.android.email.SecurityPolicy.PolicyAdmin}. These will 110 * com.android.email.SecurityPolicy#onDeviceAdminReceiverMessage(Context, int)}. 140 SecurityPolicy.onDeviceAdminReceiverMessage(this, message);
|
/packages/apps/Email/tests/src/com/android/email/ |
SecurityPolicyTests.java | 38 * This is a series of unit tests for backup/restore of the SecurityPolicy class. 49 private SecurityPolicy mSecurityPolicy; 130 mSecurityPolicy = SecurityPolicy.getInstance(mMockContext); 145 SecurityPolicy.setAccountPolicy(mMockContext, a3, p3ain, null); 153 SecurityPolicy.setAccountPolicy(mMockContext, a3, p3bin, null); 169 SecurityPolicy.setAccountPolicy(mMockContext, a4, p4in, null); 195 SecurityPolicy.setAccountPolicy(mMockContext, a5, p5in, null); 239 SecurityPolicy.setAccountPolicy(mMockContext, account, initial, null); 245 SecurityPolicy.setAccountPolicy(mMockContext, account, updated, null); 249 SecurityPolicy.clearAccountPolicy [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 25 import com.android.email.SecurityPolicy; 73 SecurityPolicy.setAccountPolicy(mMockContext, account1, policy1, securitySyncKey); 76 SecurityPolicy.setAccountPolicy(mMockContext, account2, policy2, securitySyncKey); 97 SecurityPolicy.setAccountPolicy(mMockContext, account, policy, securitySyncKey); 108 SecurityPolicy.clearAccountPolicy(mMockContext, account); 127 SecurityPolicy.setAccountPolicy(mMockContext, acct, policy1, null);
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
PrerenderHandle.cpp | 40 #include "platform/weborigin/SecurityPolicy.h" 54 const String referrer = SecurityPolicy::generateReferrerHeader(referrerPolicy, url, document.outgoingReferrer());
|
FrameFetchContext.cpp | 45 #include "platform/weborigin/SecurityPolicy.h" 76 outgoingReferrer = SecurityPolicy::generateReferrerHeader(referrerPolicy, request.url(), outgoingReferrer);
|
PingLoader.cpp | 50 #include "platform/weborigin/SecurityPolicy.h" 99 if (!SecurityPolicy::shouldHideReferrer(pingURL, frame->document()->url().string()))
|
FrameLoader.cpp | 91 #include "platform/weborigin/SecurityPolicy.h" 631 String referrer = SecurityPolicy::generateReferrerHeader(originDocument->referrerPolicy(), request.url(), argsReferrer); [all...] |
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
AccountSecurity.java | 39 import com.android.email.SecurityPolicy; 160 final SecurityPolicy security = SecurityPolicy.getInstance(this); 378 SecurityPolicy security = SecurityPolicy.getInstance(this); 435 if ((inactiveReasons & SecurityPolicy.INACTIVE_NEED_PASSWORD) != 0) { 455 if ((inactiveReasons & SecurityPolicy.INACTIVE_NEED_ENCRYPTION) != 0) { 488 private static void repostNotification(final Account account, final SecurityPolicy security) { 561 activity.mAccount, SecurityPolicy.getInstance(activity));
|
/packages/apps/Email/provider_src/com/android/email/ |
SecurityPolicy.java | 58 public class SecurityPolicy { 60 private static SecurityPolicy sInstance = null; 78 public synchronized static SecurityPolicy getInstance(Context context) { 80 sInstance = new SecurityPolicy(context.getApplicationContext()); 88 private SecurityPolicy(Context context) { 589 LogUtils.i(TAG, "requestSync SecurityPolicy syncAccount %s, %s", account.toString(), [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
AccountReconciler.java | 35 import com.android.email.SecurityPolicy; 277 SecurityPolicy.getInstance(context).policiesUpdated();
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLFrameOwnerElement.cpp | 37 #include "platform/weborigin/SecurityPolicy.h" 256 String referrer = SecurityPolicy::generateReferrerHeader(document().referrerPolicy(), url, document().outgoingReferrer());
|
HTMLAnchorElement.cpp | 52 #include "platform/weborigin/SecurityPolicy.h" 349 String referrer = SecurityPolicy::generateReferrerHeader(document().referrerPolicy(), completedURL, document().outgoingReferrer());
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
CreateWindow.cpp | 44 #include "platform/weborigin/SecurityPolicy.h" 132 Referrer referrer(SecurityPolicy::generateReferrerHeader(firstFrame.document()->referrerPolicy(), completedURL, firstFrame.document()->outgoingReferrer()), firstFrame.document()->referrerPolicy());
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsFragment.java | 50 import com.android.email.SecurityPolicy; [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 181 private final SecurityPolicy mSecurityPolicy; 233 mSecurityPolicy = new SecurityPolicy(); [all...] |
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
AppWidgetServiceImpl.java | 183 private final SecurityPolicy mSecurityPolicy; 204 mSecurityPolicy = new SecurityPolicy(); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
blink_platform.target.darwin-arm.mk | 433 third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp \ [all...] |
blink_platform.target.darwin-arm64.mk | 432 third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp \ [all...] |