HomeSort by relevance Sort by last modified time
    Searched defs:onc (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/chromeos/network/onc/
onc_merger.h 16 namespace onc { namespace in namespace:chromeos
22 // providing a NULL pointer. Each dictionary has to be part of a valid ONC
23 // dictionary. They don't have to describe top-level ONC but should refer to the
24 // same section in ONC. |user_settings| and |shared_settings| should not contain
25 // kRecommended fields. The resulting dictionary is valid ONC but may contain
27 // dispensable) that can be removed by the caller using the ONC normalizer. ONC
28 // conformance of the arguments is not checked. Use ONC validator for that.
38 // dictionaries contains the onc::kAugmentations* fields (see onc_constants.h)
39 // for which a value is available. The onc::kAugmentationEffectiveSetting fiel
    [all...]
onc_translator.h 10 #include "components/onc/onc_constants.h"
17 namespace onc { namespace in namespace:chromeos
21 // Translates a hierarchical ONC dictionary |onc_object| to a flat Shill
26 // This function is used to translate network settings from ONC to Shill's
33 // Translates a |shill_dictionary| to an ONC object according to the given
35 // "onc_signature.h". The resulting ONC object is returned.
37 // This function is used to translate network settings coming from Shill to ONC
38 // before sending them to the UI. The result doesn't have to be valid ONC, but
41 // of the ONC dictionary will be set accordingly. Note: ONC_SOURCE_USER_IMPORT
46 ::onc::ONCSource onc_source
    [all...]
onc_mapper.h 20 namespace onc { namespace in namespace:chromeos
24 // This class implements a DeepCopy of base::Values for ONC objects that
25 // iterates over both the ONC signature and the object hierarchy. DCHECKs if a
35 // The ONC validator and normalizer derive from this class and adapt the default
110 } // namespace onc
onc_test_utils.h 19 namespace onc { namespace in namespace:chromeos
37 } // namespace onc
onc_normalizer.h 10 #include "chromeos/network/onc/onc_mapper.h"
13 namespace onc { namespace in namespace:chromeos
54 } // namespace onc
onc_normalizer_unittest.cc 5 #include "chromeos/network/onc/onc_normalizer.h"
9 #include "chromeos/network/onc/onc_signature.h"
10 #include "chromeos/network/onc/onc_test_utils.h"
14 namespace onc { namespace in namespace:chromeos
16 // This test case is about validating valid ONC objects.
32 } // namespace onc
onc_certificate_importer.h 11 #include "components/onc/onc_constants.h"
19 namespace onc { namespace in namespace:chromeos
30 // Import |certificates|, which must be a list of ONC Certificate objects.
40 ::onc::ONCSource source,
47 } // namespace onc
onc_translation_tables.h 12 #include "chromeos/network/onc/onc_signature.h"
15 namespace onc { namespace in namespace:chromeos
27 // These tables contain the mapping from ONC strings to Shill strings.
59 // Translate individual strings to ONC using the above tables.
64 } // namespace onc
onc_translator_unittest.cc 5 #include "chromeos/network/onc/onc_translator.h"
9 #include "chromeos/network/onc/onc_signature.h"
10 #include "chromeos/network/onc/onc_test_utils.h"
11 #include "components/onc/onc_constants.h"
15 namespace onc { namespace in namespace:chromeos
17 // First parameter: Filename of source ONC.
23 // Test the translation from ONC to Shill json.
39 // Test different network types, such that each ONC object type is tested at
45 std::make_pair("ethernet.onc", "shill_ethernet.json"),
46 std::make_pair("ethernet_with_eap_and_cert_pems.onc",
    [all...]
onc_utils.h 17 #include "components/onc/onc_constants.h"
29 namespace onc { namespace in namespace:chromeos
45 // Decrypts the given EncryptedConfiguration |onc| (see the ONC specification)
50 const base::DictionaryValue& onc);
53 CHROMEOS_EXPORT std::string GetSourceAsString(::onc::ONCSource source);
71 // Replaces all expandable fields that are mentioned in the ONC
81 // be a list of ONC NetworkConfigurations. See ExpandStringsInOncObject above.
102 ::onc::ONCSource onc_source,
116 // from |network_configs|. |network_configs| must be a list of ONC
    [all...]
onc_certificate_importer_impl.h 17 #include "chromeos/network/onc/onc_certificate_importer.h"
18 #include "components/onc/onc_constants.h"
34 namespace onc { namespace in namespace:chromeos
36 // This class handles certificate imports from ONC (both policy and user
52 ::onc::ONCSource source,
62 static void ParseAndStoreCertificates(::onc::ONCSource source,
113 } // namespace onc
onc_signature.h 14 namespace onc { namespace in namespace:chromeos
66 // Derived "ONC with State" signatures.
77 } // namespace onc
onc_test_utils.cc 5 #include "chromeos/network/onc/onc_test_utils.h"
16 namespace onc { namespace in namespace:chromeos
82 } // namespace onc
onc_merger_unittest.cc 5 #include "chromeos/network/onc/onc_merger.h"
11 #include "chromeos/network/onc/onc_signature.h"
12 #include "chromeos/network/onc/onc_test_utils.h"
13 #include "components/onc/onc_constants.h"
17 namespace onc { namespace in namespace:chromeos
59 policy_ = test_utils::ReadTestDictionary("managed_vpn.onc");
61 test_utils::ReadTestDictionary("managed_vpn_without_recommended.onc");
62 user_ = test_utils::ReadTestDictionary("user.onc");
63 device_policy_ = test_utils::ReadTestDictionary("device_policy.onc");
64 active_ = test_utils::ReadTestDictionary("vpn_active_settings.onc");
    [all...]
onc_validator.h 14 #include "chromeos/network/onc/onc_mapper.h"
15 #include "components/onc/onc_constants.h"
23 namespace onc { namespace in namespace:chromeos
27 // The ONC Validator searches for the following invalid cases:
29 // the ONC spec (always an error)
72 // Sets the ONC source to |source|. If not set, defaults to ONC_SOURCE_NONE.
77 void SetOncSource(::onc::ONCSource source) {
90 // - kRecommended fields in an unmanaged ONC
192 // Prohibit certificate patterns for device policy ONC so that an unmanaged
196 // Prohibit global network configuration in user ONC imports
    [all...]
onc_mapper.cc 5 #include "chromeos/network/onc/onc_mapper.h"
9 #include "chromeos/network/onc/onc_signature.h"
12 namespace onc { namespace in namespace:chromeos
142 } // namespace onc
onc_normalizer.cc 5 #include "chromeos/network/onc/onc_normalizer.h"
11 #include "chromeos/network/onc/onc_signature.h"
12 #include "components/onc/onc_constants.h"
15 namespace onc { namespace in namespace:chromeos
46 normalized->RemoveWithoutPathExpansion(::onc::kRecommended, NULL);
82 using namespace ::onc::certificate;
85 cert->GetBooleanWithoutPathExpansion(::onc::kRemove, &remove);
86 RemoveEntryUnless(cert, ::onc::certificate::kType, !remove);
89 cert->GetStringWithoutPathExpansion(::onc::certificate::kType, &type);
96 using namespace ::onc::ethernet
    [all...]
onc_utils_unittest.cc 5 #include "chromeos/network/onc/onc_utils.h"
10 #include "chromeos/network/onc/onc_signature.h"
11 #include "chromeos/network/onc/onc_test_utils.h"
15 namespace onc { namespace in namespace:chromeos
19 test_utils::ReadTestDictionary("broken-encrypted-iterations.onc");
29 test_utils::ReadTestDictionary("broken-encrypted-zero-iterations.onc");
40 test_utils::ReadTestDictionary("encrypted.onc");
42 test_utils::ReadTestDictionary("decrypted.onc");
63 if (placeholder == ::onc::substitutes::kLoginIDField)
65 else if (placeholder ==::onc::substitutes::kEmailField
    [all...]
onc_validator_unittest.cc 5 #include "chromeos/network/onc/onc_validator.h"
13 #include "chromeos/network/onc/onc_signature.h"
14 #include "chromeos/network/onc/onc_test_utils.h"
15 #include "chromeos/network/onc/onc_utils.h"
16 #include "components/onc/onc_constants.h"
20 namespace onc { namespace in namespace:chromeos
33 ::onc::ONCSource onc_source) {
80 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE)
90 ::onc::ONCSource onc_source
116 OncParams onc = GetParam(); local
123 OncParams onc = GetParam(); local
245 OncParams onc = GetParam().first; local
257 OncParams onc = GetParam().first; local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/net/
onc_utils.h 11 #include "components/onc/onc_constants.h"
28 namespace onc { namespace in namespace:chromeos
30 // Translates |onc_proxy_settings|, which has to be a valid ONC ProxySettings
34 // This function is used to translate ONC ProxySettings to the "ProxyConfig"
40 // ONC NetworkConfigurations. Currently only user name placeholders are
57 ::onc::ONCSource* onc_source);
75 ::onc::ONCSource* onc_source);
82 } // namespace onc
onc_utils_unittest.cc 12 #include "chromeos/network/onc/onc_test_utils.h"
17 namespace onc { namespace in namespace:chromeos
47 } // namespace onc
  /external/chromium_org/chrome/browser/chromeos/options/
network_property_ui_data_unittest.cc 8 #include "components/onc/onc_constants.h"
37 NetworkPropertyUIData null_prop(onc::ONC_SOURCE_NONE);
42 base::DictionaryValue onc; local
49 onc.Set("a", val_a.DeepCopy());
50 onc.Set("b", val_b.DeepCopy());
51 onc.Set("a.a", val_a_a.DeepCopy());
52 onc.Set("a.b", val_a_b.DeepCopy());
57 onc.Set("Recommended", recommended.DeepCopy());
58 onc.Set("a.Recommended", recommended.DeepCopy());
62 prop.ParseOncProperty(onc::ONC_SOURCE_NONE, &onc, "a")
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
device_network_configuration_updater.h 16 #include "components/onc/onc_constants.h"
29 namespace onc { namespace in namespace:chromeos
38 // Implements addtional special handling of ONC device policies, which requires
44 // Creates an updater that applies the ONC device policy from |policy_service|
user_network_configuration_updater.h 33 namespace onc { namespace in namespace:chromeos
48 // Implements additional special handling of ONC user policies. Namely string
65 // Creates an updater that applies the ONC user policy from |policy_service|
86 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer);
116 // Creates onc::CertImporter with |database| and passes it to
123 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer);
146 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer_;
  /external/chromium_org/components/onc/
onc_constants.h 9 #include "components/onc/onc_export.h"
11 // Constants for ONC properties.
12 namespace onc { namespace
14 // Indicates from which source an ONC blob comes from.
40 // This is no ONC key or value but used for logging only.
100 // Patterns matching multiple types, not part of the ONC spec.
388 } // namespace onc

Completed in 145 milliseconds

1 2