/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | ProtectionDomainTest.java | 164 * policy. 167 TestPolicy policy = new TestPolicy(); 171 policy.setTrackPD(pd); 173 Policy.setPolicy(policy); 178 assertFalse(policy.getPdTracked()); 183 * policy. 186 TestPolicy policy = new TestPolicy(); 189 policy.setTrackPD(pd); 191 Policy.setPolicy(policy); 196 assertTrue(policy [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
H A D | TSTInfoTest.java | 42 // Unizeto CETRUM policy 43 String policy = "1.2.3.4.5"; 60 TSTInfo info = new TSTInfo(1, policy, msgImprint, BigInteger.TEN, 68 assertEquals("Decoded policy is incorrect", policy, decoded.getPolicy());
|
H A D | TimeStampRespTest.java | 59 String policy = "1.2.3.4.5"; 76 TSTInfo tSTInfo = new TSTInfo(1, policy, msgImprint, BigInteger.TEN,
|
/external/apache-http/src/org/apache/http/client/params/ |
H A D | ClientParamBean.java | 82 public void setCookiePolicy (final String policy) { argument 83 params.setParameter(ClientPNames.COOKIE_POLICY, policy);
|
/external/apache-http/src/org/apache/http/client/protocol/ |
H A D | RequestAddCookies.java | 122 String policy = HttpClientParams.getCookiePolicy(request.getParams()); 124 this.log.debug("CookieSpec selected: " + policy); 151 // Get an instance of the selected cookie policy 152 CookieSpec cookieSpec = registry.getCookieSpec(policy, request.getParams());
|
/external/bluetooth/bluedroid/bta/av/ |
H A D | bta_av_aact.c | 1975 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 D | bta_dm_act.c | 948 ** 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 D | bta_sys.h | 137 /* for link policy */ 138 #define BTA_SYS_PLCY_SET 0x10 /* set the link policy to the given addr */ 139 #define BTA_SYS_PLCY_CLR 0x11 /* clear the link policy to the given addr */ 140 #define BTA_SYS_PLCY_DEF_SET 0x12 /* set the default link policy */ 141 #define BTA_SYS_PLCY_DEF_CLR 0x13 /* clear the default link policy */ 302 extern void bta_sys_set_policy (UINT8 id, UINT8 policy, BD_ADDR peer_addr); 303 extern void bta_sys_clear_policy (UINT8 id, UINT8 policy, BD_ADDR peer_addr); 304 extern void bta_sys_set_default_policy (UINT8 id, UINT8 policy); 305 extern void bta_sys_clear_default_policy (UINT8 id, UINT8 policy);
|
H A D | bta_sys_conn.c | 51 ** 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 D | gki_ulinux.c | 373 int policy, ret = 0; local 430 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m)==0) 437 policy = SCHED_NORMAL; 444 policy = GKI_LINUX_BASE_POLICY; 451 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m); 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 D | policy_parse.y | 13 * Added conditional policy language extensions 19 * Added support for binary policy modules 155 policy : base_policy label
|
/external/checkpolicy/test/ |
H A D | dismod.c | 13 * 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 D | aw_static_cookie_policy_unittest.cc | 21 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 D | browser_view_renderer.cc | 153 // 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
|
H A D | browser_view_renderer.h | 112 // Set the memory policy in shared renderer state and request the tiles from 114 // GlobalTileManager may not be equal to what's requested in |policy|. 115 void RequestMemoryPolicy(content::SynchronousCompositorMemoryPolicy& policy); 184 content::SynchronousCompositorMemoryPolicy policy);
|
/external/chromium_org/android_webview/native/ |
H A D | state_serializer.cc | 165 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);
|
H A D | state_serializer_unittest.cc | 48 referrer.policy = blink::WebReferrerPolicyOrigin; 83 EXPECT_EQ(referrer.policy, copy->GetReferrer().policy);
|
/external/chromium_org/base/mac/ |
H A D | scoped_block.h | 25 base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) 27 if (block_ && policy == base::scoped_policy::RETAIN) 48 base::scoped_policy::OwnershipPolicy policy = 50 if (block && policy == base::scoped_policy::RETAIN)
|
H A D | scoped_cftyperef.h | 49 base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) 51 internal::ScopedCFTypeRefTraits>(object, policy) {}
|
H A D | scoped_typeref.h | 41 // Retain in initialization). This behavior is based on the |policy| parameter, 42 // with |ASSUME| for the former and |RETAIN| for the latter. The default policy 55 base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) 57 if (object_ && policy == base::scoped_policy::RETAIN) 86 base::scoped_policy::OwnershipPolicy policy = 88 if (object && policy == base::scoped_policy::RETAIN)
|
/external/chromium_org/cc/layers/ |
H A D | picture_layer_impl_unittest.cc | 3657 // directly set state to host_impl_, so we set policy that would change the 3663 ManagedMemoryPolicy policy(memory_limit, 3666 host_impl_.SetMemoryPolicy(policy);
|
/external/chromium_org/cc/output/ |
H A D | context_provider.h | 68 // Sets a callback to be called when the memory policy changes. This should be 70 typedef base::Callback<void(const ManagedMemoryPolicy& policy)>
|
H A D | output_surface.cc | 359 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);
|
H A D | output_surface.h | 176 void SetMemoryPolicy(const ManagedMemoryPolicy& policy);
|
H A D | output_surface_client.h | 48 virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
|