/external/chromium_org/cc/test/ |
H A D | fake_output_surface_client.cc | 28 const ManagedMemoryPolicy& policy) { 29 memory_policy_ = policy; 27 SetMemoryPolicy( const ManagedMemoryPolicy& policy) argument
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
H A D | device_settings_cache.h | 25 // Stores a new policy blob inside the cache stored in |local_state|. 26 bool Store(const enterprise_management::PolicyData &policy, 29 // Retrieves the policy blob from the cache stored in |local_state|. 30 bool Retrieve(enterprise_management::PolicyData *policy,
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
H A D | managed_value_store_cache.h | 17 #include "components/policy/core/common/policy_service.h" 27 namespace policy { namespace 37 // uses the storage.managed namespace. This class observes policy changes and 41 public policy::PolicyService::Observer { 66 virtual void OnPolicyServiceInitialized(policy::PolicyDomain domain) OVERRIDE; 67 virtual void OnPolicyUpdated(const policy::PolicyNamespace& ns, 68 const policy::PolicyMap& previous, 69 const policy::PolicyMap& current) OVERRIDE; 74 scoped_ptr<policy::PolicyMap> current_policy); 87 policy [all...] |
/external/chromium_org/chrome/browser/sync/ |
H A D | sync_policy_handler.h | 9 #include "components/policy/core/browser/configuration_policy_handler.h" 17 // ConfigurationPolicyHandler for the SyncDisabled policy. 18 class SyncPolicyHandler : public policy::TypeCheckingPolicyHandler { 24 virtual void ApplyPolicySettings(const policy::PolicyMap& policies,
|
/external/chromium_org/content/public/android/java/src/org/chromium/content_public/common/ |
H A D | Referrer.java | 8 * Container that holds together a referrer URL along with the referrer policy set on the 15 public Referrer(String url, int policy) { argument 17 mPolicy = policy;
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | sched_setscheduler.c | 42 sched_setscheduler (pid_t pid, int policy) argument 45 * Win32 only has one policy which we call SCHED_OTHER. 48 * for a valid policy last allows us to get the most value out 72 if (SCHED_OTHER != policy)
|
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
H A D | json_writer.py | 33 '''Class for generating policy files in JSON format (for Linux). The 42 def WritePolicy(self, policy): 43 if policy['type'] == 'external': 44 # This type can only be set through cloud policy. 46 example_value_str = json.dumps(policy['example_value'], sort_keys=True) 52 if not self.CanBeMandatory(policy) and self.CanBeRecommended(policy): 53 line = ' // Note: this policy is supported only in recommended mode.' 59 line = ' // %s' % policy['caption'] 62 description = self._text_wrapper.wrap(policy['des [all...] |
H A D | plist_strings_writer.py | 20 '''Outputs localized string table files for the Mac policy file. 44 def WritePolicy(self, policy): 45 '''Add strings to the stringtable corresponding a given policy. 48 policy: The policy for which the strings will be added to the 51 desc = policy['desc'] 52 if policy['type'] == 'external': 53 # This type can only be set through cloud policy. 55 elif policy['type'] in ('int-enum','string-enum', 'string-enum-list'): 58 for item in policy['item [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus-wpa_supplicant.conf | 5 <policy user="root"> 16 </policy> 17 <policy context="default"> 26 </policy>
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
H A D | device_local_account_external_policy_loader.h | 17 #include "components/policy/core/common/cloud/cloud_policy_store.h" 22 // the enterprise policy force-install list. This class is used for device-local 28 public policy::CloudPolicyStore::Observer, 33 DeviceLocalAccountExternalPolicyLoader(policy::CloudPolicyStore* store, 53 // policy::CloudPolicyStore::Observer: 54 virtual void OnStoreLoaded(policy::CloudPolicyStore* store) OVERRIDE; 55 virtual void OnStoreError(policy::CloudPolicyStore* store) OVERRIDE; 71 policy::CloudPolicyStore* store_;
|
/external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
H A D | auto_enrollment_check_screen.cc | 34 auto_enrollment_state_(policy::AUTO_ENROLLMENT_STATE_IDLE) { 72 policy::AUTO_ENROLLMENT_STATE_TRIGGER_ENROLLMENT || 73 auto_enrollment_state_ == policy::AUTO_ENROLLMENT_STATE_NO_ENROLLMENT) { 116 policy::AutoEnrollmentState state) { 122 policy::AutoEnrollmentState new_auto_enrollment_state) { 130 new_auto_enrollment_state == policy::AUTO_ENROLLMENT_STATE_PENDING); 144 case policy::AUTO_ENROLLMENT_STATE_IDLE: 147 case policy::AUTO_ENROLLMENT_STATE_PENDING: 148 case policy::AUTO_ENROLLMENT_STATE_CONNECTION_ERROR: 150 case policy [all...] |
/external/chromium_org/chrome/browser/browsing_data/ |
H A D | browsing_data_helper.cc | 27 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
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
H A D | pepper_security_helper.cc | 27 ChildProcessSecurityPolicyImpl* policy = local 37 if (pp_read && !(policy->*can_read)(child_id, file)) 40 if (pp_write && !(policy->*can_write)(child_id, file)) 44 if (pp_append && !(policy->*can_create_read_write)(child_id, file)) 52 return (policy->*can_create)(child_id, file); 55 return (policy->*can_create_read_write)(child_id, file); 58 return (policy->*can_create_read_write)(child_id, file);
|
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/ |
H A D | pcy_data.c | 80 /* Create a data based on an existing policy. If 'id' is NULL use the 81 * oid in the policy, otherwise use 'id'. This behaviour covers the two 87 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, argument 92 if (!policy && !cid) 123 ret->valid_policy = policy->policyid; 124 policy->policyid = NULL; 127 if (policy) 129 ret->qualifier_set = policy->qualifiers; 130 policy->qualifiers = NULL;
|
/external/openssl/crypto/x509v3/ |
H A D | pcy_data.c | 78 /* Create a data based on an existing policy. If 'id' is NULL use the 79 * oid in the policy, otherwise use 'id'. This behaviour covers the two 85 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, argument 90 if (!policy && !cid) 121 ret->valid_policy = policy->policyid; 122 policy->policyid = NULL; 125 if (policy) 127 ret->qualifier_set = policy->qualifiers; 128 policy->qualifiers = NULL;
|
/external/chromium_org/components/policy/tools/ |
H A D | syntax_check_policy_template_json.py | 80 parent_element='policy', 135 def _AddPolicyID(self, id, policy_ids, policy): 138 |id| exists already; |policy| is needed for this message. 141 self._Error('Duplicate id', 'policy', policy.get('name'), 155 self._Error('No policy with id: %s' % (i + 1)) 157 def _CheckPolicySchema(self, policy, policy_type): 159 self._CheckContains(policy, 'schema', dict) 160 if isinstance(policy.get('schema'), dict): 161 self._CheckContains(policy['schem [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | cloud_external_data_store.cc | 5 #include "chrome/browser/chromeos/policy/cloud_external_data_store.h" 12 #include "components/policy/core/common/cloud/resource_cache.h" 15 namespace policy { namespace 19 // Encodes (policy, hash) into a single string. 20 std::string GetSubkey(const std::string& policy, const std::string& hash) { argument 21 DCHECK(!policy.empty()); 23 return base::IntToString(policy.size()) + ":" + 25 policy + hash; 54 bool CloudExternalDataStore::Store(const std::string& policy, argument 58 return cache_->Store(cache_key_, GetSubkey(policy, has 61 Load(const std::string& policy, const std::string& hash, size_t max_size, std::string* data) argument [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
H A D | fullstream_ui_policy_unittest.cc | 70 ActivityLogDatabasePolicy* policy, 75 policy, extension_id, Action::ACTION_ANY, "", "", "", day, checker); 78 // A helper function to call ReadFilteredData on a policy object and wait for 81 ActivityLogDatabasePolicy* policy, 89 // Submit a request to the policy to read back some data, and call the 92 policy->ReadFilteredData( 293 // A helper function initializes the policy with a number of actions, calls 294 // RemoveActions on a policy object and then checks the result of the 297 ActivityLogDatabasePolicy* policy, 306 policy 69 CheckReadData( ActivityLogDatabasePolicy* policy, const std::string& extension_id, int day, const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) argument 80 CheckReadFilteredData( ActivityLogDatabasePolicy* policy, const std::string& extension_id, const Action::ActionType type, const std::string& api_name, const std::string& page_url, const std::string& arg_url, const int days_ago, const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) argument 296 CheckRemoveActions( ActivityLogDatabasePolicy* policy, const std::vector<int64>& action_ids, const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) argument 456 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 477 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 515 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 613 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 642 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 691 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 744 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 787 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 863 FullStreamUIPolicy* policy = new FullStreamUIPolicy(profile_.get()); local 922 FullStreamUIPolicy* policy = new FullStreamUIPolicy(profile_.get()); local 956 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local 1008 ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); local [all...] |
/external/chromium_org/chrome/browser/prefs/ |
H A D | pref_service_syncable_factory.h | 16 namespace policy { namespace 33 // Set up policy pref stores using the given policy service. 34 void SetManagedPolicies(policy::PolicyService* service); 35 void SetRecommendedPolicies(policy::PolicyService* service);
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
H A D | consumer_management_handler.h | 13 namespace policy { namespace 24 policy::ConsumerManagementService* management_service); 37 policy::ConsumerManagementService* management_service_;
|
/external/chromium_org/components/policy/core/common/cloud/ |
H A D | mock_cloud_policy_client.cc | 5 #include "components/policy/core/common/cloud/mock_cloud_policy_client.h" 7 #include "policy/proto/device_management_backend.pb.h" 11 namespace policy { namespace 29 const em::PolicyFetchResponse& policy) { 32 response = new enterprise_management::PolicyFetchResponse(policy); 43 } // namespace policy 28 SetPolicy(const PolicyNamespaceKey& policy_ns_key, const em::PolicyFetchResponse& policy) argument
|
/external/chromium_org/content/common/ |
H A D | sandbox_init_win.cc | 30 sandbox::TargetPolicy* policy = broker_services->CreatePolicy(); local 31 sandbox::ResultCode result = policy->CreateAlternateDesktop(true); 33 policy->Release();
|
/external/chromium_org/tools/grit/grit/format/policy_templates/ |
H A D | policy_template_generator_unittest.py | 79 # Test that empty policy groups are not passed to the writer. 102 # Test that policy groups are passed to the writer in the correct order. 172 def WritePolicy(self, policy): 173 self.tester.assertEquals(policy['name'][0:6], self.group['name']) 174 self.policy_list.append(policy['name']) 204 def WritePolicy(self, policy): 205 if policy['name'] == 'Policy1': 206 self.tester.assertEquals(policy['caption'], 208 self.tester.assertEquals(policy['label'], 210 self.tester.assertEquals(policy['des [all...] |
/external/srtp/test/ |
H A D | rtpw.c | 145 srtp_policy_t policy; local 305 /* set up the srtp policy and master key */ 308 * create policy structure, using the default mechanisms but 314 crypto_policy_set_rtp_default(&policy.rtp); 315 crypto_policy_set_rtcp_default(&policy.rtcp); 318 crypto_policy_set_aes_cm_128_null_auth(&policy.rtp); 319 crypto_policy_set_rtcp_default(&policy.rtcp); 322 crypto_policy_set_null_cipher_hmac_sha1_80(&policy.rtp); 323 crypto_policy_set_rtcp_default(&policy.rtcp); 329 policy [all...] |
/external/chromium_org/components/policy/resources/ |
H A D | PRESUBMIT.py | 19 policies = ( policy 20 for policy in template_data['policy_definitions'] 21 if policy['type'] != 'group' ) 22 groups = ( policy['policies'] 23 for policy in template_data['policy_definitions'] 24 if policy['type'] == 'group' ) 25 subpolicies = ( policy for group in groups for policy in group ) 50 # Read list of policies in chrome/test/data/policy/policy_test_cases.json. 53 root, 'chrome', 'test', 'data', 'policy', 'policy_test_case [all...] |