Searched defs:policy (Results 1 - 25 of 820) sorted by path

1234567891011>>

/external/apache-http/src/org/apache/http/client/params/
H A DClientParamBean.java82 public void setCookiePolicy (final String policy) { argument
83 params.setParameter(ClientPNames.COOKIE_POLICY, policy);
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_aact.c1975 UINT8 policy = HCI_ENABLE_SNIFF_MODE; local
1991 policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH;
1994 bta_sys_clear_policy(BTA_ID_AV, policy, p_scb->peer_addr);
2032 UINT8 policy = HCI_ENABLE_SNIFF_MODE; local
2039 policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH;
2040 bta_sys_set_policy(BTA_ID_AV, policy, p_scb->peer_addr);
2300 UINT8 policy = HCI_ENABLE_SNIFF_MODE; local
2421 policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH;
2424 bta_sys_clear_policy(BTA_ID_AV, policy, p_scb->peer_addr);
2496 UINT8 policy local
2581 UINT8 policy = HCI_ENABLE_SNIFF_MODE; local
[all...]
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_act.c948 ** Description remove/set link policy mask.
962 APPL_TRACE_DEBUG(" bta_dm_link_policy set:%d, policy:0x%x",
966 /* restore the default link policy */
972 /* clear the policy from the default link policy */
988 ** Description process the link policy changes
996 UINT16 policy = app_id; local
1002 APPL_TRACE_DEBUG(" bta_dm_policy_cback cmd:%d, policy:0x%x",
1003 status, policy);
1009 /* restore the default link policy */
[all...]
/external/bluetooth/bluedroid/bta/sys/
H A Dbta_sys_conn.c51 ** Description Called by BTA DM to register link policy change callbacks
407 ** policy to peer device should be set
412 void bta_sys_set_policy (UINT8 id, UINT8 policy, BD_ADDR peer_addr) argument
416 bta_sys_cb.p_policy_cb(BTA_SYS_PLCY_SET, id, policy, peer_addr);
425 ** policy to peer device should be clear
430 void bta_sys_clear_policy (UINT8 id, UINT8 policy, BD_ADDR peer_addr) argument
434 bta_sys_cb.p_policy_cb(BTA_SYS_PLCY_CLR, id, policy, peer_addr);
443 ** link policy should be set
448 void bta_sys_set_default_policy (UINT8 id, UINT8 policy) argument
452 bta_sys_cb.p_policy_cb(BTA_SYS_PLCY_DEF_SET, id, policy, NUL
466 bta_sys_clear_default_policy(UINT8 id, UINT8 policy) argument
[all...]
/external/bluetooth/bluedroid/gki/ulinux/
H A Dgki_ulinux.c373 int policy, ret = 0; local
430 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param)==0)
437 policy = SCHED_NORMAL;
444 policy = GKI_LINUX_BASE_POLICY;
451 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, &param);
663 ** Description helper function to set scheduling policy and priority of btdl
673 int policy; local
675 policy = sched_getscheduler(main_pid);
677 if ( policy != -1 )
679 GKI_TRACE("gki_set_timer_scheduling(()::scheduler current policy
[all...]
/external/checkpolicy/
H A Dpolicy_parse.y13 * Added conditional policy language extensions
19 * Added support for binary policy modules
155 policy : base_policy label
/external/checkpolicy/test/
H A Ddismod.c13 * Test program to the contents of a binary policy in text
115 int display_type_set(type_set_t * set, uint32_t flags, policydb_t * policy, argument
159 display_id(policy, fp, SYM_TYPES, i, "");
166 display_id(policy, fp, SYM_TYPES, i, "-");
214 int display_avrule(avrule_t * avrule, policydb_t * policy, argument
251 if (display_type_set(&avrule->stypes, 0, policy, fp))
254 if (display_type_set(&avrule->ttypes, avrule->flags, policy, fp))
272 display_id(policy, fp, SYM_CLASSES, cur->class - 1, "");
282 policy, fp);
284 display_id(policy, f
590 display_avdecl(avrule_decl_t * decl, int field, policydb_t * policy, FILE * out_fp) argument
671 display_avblock(int field, policydb_t * policy, FILE * out_fp) argument
700 read_policy(char *filename, policydb_t * policy) argument
[all...]
/external/chromium_org/android_webview/browser/
H A Daw_static_cookie_policy_unittest.cc21 void expectFirstPartyAccess(const AwStaticCookiePolicy& policy, argument
23 EXPECT_EQ(expectedResult, policy.AllowSet(kUrlFirstParty, kUrlFirstParty));
24 EXPECT_EQ(expectedResult, policy.AllowGet(kUrlFirstParty, kUrlFirstParty));
27 void expectThirdPartyAccess(const AwStaticCookiePolicy& policy, argument
29 EXPECT_EQ(expectedResult, policy.AllowSet(kUrlFirstParty, kUrlThirdParty));
30 EXPECT_EQ(expectedResult, policy.AllowGet(kUrlFirstParty, kUrlThirdParty));
40 AwStaticCookiePolicy policy(false /* allow_cookies */,
42 expectFirstPartyAccess(policy, false);
43 expectThirdPartyAccess(policy, false);
47 AwStaticCookiePolicy policy(fals
[all...]
H A Dbrowser_view_renderer.cc153 // policy should have already been updated.
192 SynchronousCompositorMemoryPolicy policy; local
195 policy.bytes_limit = kMemoryMultiplier * kBytesPerPixel * width * height;
197 policy.bytes_limit =
198 (policy.bytes_limit / kMemoryAllocationStep + 1) * kMemoryAllocationStep;
201 policy.bytes_limit = static_cast<size_t>(g_memory_override_in_bytes);
207 policy.num_resources_limit = tiles;
208 return policy;
211 // This function updates the cached memory policy in shared renderer state, as
/external/chromium_org/android_webview/native/
H A Dstate_serializer.cc165 if (!pickle->WriteInt(static_cast<int>(referrer.policy)))
216 int policy; local
220 if (!iterator->ReadInt(&policy))
224 referrer.policy = static_cast<blink::WebReferrerPolicy>(policy);
/external/chromium_org/cc/output/
H A Doutput_surface.cc359 void OutputSurface::SetMemoryPolicy(const ManagedMemoryPolicy& policy) { argument
361 "bytes_limit_when_visible", policy.bytes_limit_when_visible);
365 if (policy.bytes_limit_when_visible)
366 client_->SetMemoryPolicy(policy);
/external/chromium_org/cc/resources/
H A Dtile_priority.cc58 std::string TileMemoryLimitPolicyToString(TileMemoryLimitPolicy policy) { argument
59 switch (policy) {
69 DCHECK(false) << "Unrecognized policy value";
/external/chromium_org/cc/test/
H A Dfake_output_surface_client.cc28 const ManagedMemoryPolicy& policy) {
29 memory_policy_ = policy;
27 SetMemoryPolicy( const ManagedMemoryPolicy& policy) argument
H A Dtest_context_provider.cc148 const ManagedMemoryPolicy& policy) {
151 memory_policy_changed_callback_.Run(policy);
147 SetMemoryAllocation( const ManagedMemoryPolicy& policy) argument
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_impl.cc1146 const ManagedMemoryPolicy& policy) {
1149 visible_ ? policy.bytes_limit_when_visible : 0,
1151 visible_ ? policy.priority_cutoff_when_visible
1162 UpdateTileManagerMemoryPolicy(policy);
1166 const ManagedMemoryPolicy& policy) {
1172 if (visible_ && policy.bytes_limit_when_visible > 0) {
1174 policy.bytes_limit_when_visible;
1183 policy.priority_cutoff_when_visible :
1185 global_tile_state_.num_resources_limit = policy.num_resources_limit;
1302 void LayerTreeHostImpl::SetMemoryPolicy(const ManagedMemoryPolicy& policy) { argument
1145 EnforceManagedMemoryPolicy( const ManagedMemoryPolicy& policy) argument
1165 UpdateTileManagerMemoryPolicy( const ManagedMemoryPolicy& policy) argument
1313 SetManagedMemoryPolicy( const ManagedMemoryPolicy& policy, bool zero_budget) argument
[all...]
/external/chromium_org/chrome/browser/android/signin/
H A Dsignin_manager_android.h22 namespace policy { namespace
32 // This class implements parts of the sign-in flow, to make sure that policy
92 // for the policy dialog, when |username_| corresponds to a managed account.
/external/chromium_org/chrome/browser/apps/
H A Dephemeral_app_launcher_browsertest.cc442 // Verifies that an app blocked by management policy is not installed
446 ManagementPolicyMock policy; local
448 &policy);
513 // Verifies that an installed app that had been blocked by policy cannot be
520 ManagementPolicyMock policy; local
522 &policy);
/external/chromium_org/chrome/browser/
H A Dbrowser_process.h77 namespace policy { namespace
152 // Starts and manages the policy system.
153 virtual policy::BrowserPolicyConnector* browser_policy_connector() = 0;
155 // This is the main interface for chromium components to retrieve policy
156 // information from the policy system.
157 virtual policy::PolicyService* policy_service() = 0;
H A Dbrowser_process_impl.h48 namespace policy { namespace
94 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
95 virtual policy::PolicyService* policy_service() OVERRIDE;
176 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_;
179 // This is a stub when policy is not enabled. Otherwise, the PolicyService
181 scoped_ptr<policy::PolicyService> policy_service_;
H A Dbrowser_process_platform_part_base.h15 namespace policy { namespace
41 virtual scoped_ptr<policy::BrowserPolicyConnector>
H A Dbrowser_process_platform_part_chromeos.h29 namespace policy { namespace
74 policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos();
83 virtual scoped_ptr<policy::BrowserPolicyConnector>
H A Dchrome_content_browser_client.cc1265 // Currently this pref is only registered if applied via a policy.
1268 // Turn this policy into a command line switch.
1275 // Enable any deprecated features that have been re-enabled by policy.
2485 sandbox::TargetPolicy* policy,
2491 sandbox::ResultCode result = policy->AddRule(
2502 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES,
2484 PreSpawnRenderer( sandbox::TargetPolicy* policy, bool* success) argument
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_helper.cc27 content::ChildProcessSecurityPolicy* policy = local
29 return (policy->IsWebSafeScheme(scheme) &&
53 storage::SpecialStoragePolicy* policy) {
60 if ((!policy || !policy->IsStorageProtected(origin.GetOrigin())) &&
66 if (policy &&
67 policy->IsStorageProtected(origin.GetOrigin()) &&
50 DoesOriginMatchMask( const GURL& origin, int origin_set_mask, storage::SpecialStoragePolicy* policy) argument
H A Dbrowsing_data_helper_unittest.cc55 storage::SpecialStoragePolicy* policy) {
56 return BrowsingDataHelper::DoesOriginMatchMask(origin, mask, policy);
162 // If extensions are disabled, there is no policy.
53 Match(const GURL& origin, int mask, storage::SpecialStoragePolicy* policy) argument
H A Dbrowsing_data_remover_unittest.cc978 MockExtensionSpecialStoragePolicy* policy = CreateMockPolicy(); local
980 policy->AddProtected(kOrigin1.GetOrigin());
1010 MockExtensionSpecialStoragePolicy* policy = CreateMockPolicy(); local
1011 policy->AddProtected(kOrigin1.GetOrigin());
1446 MockExtensionSpecialStoragePolicy* policy = CreateMockPolicy(); local
1448 policy->AddProtected(kOrigin1.GetOrigin());
1488 MockExtensionSpecialStoragePolicy* policy = CreateMockPolicy(); local
1490 policy->AddProtected(kOrigin1.GetOrigin());
1531 MockExtensionSpecialStoragePolicy* policy = CreateMockPolicy(); local
1533 policy
[all...]

Completed in 999 milliseconds

1234567891011>>