Searched defs:onc_object (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/chromeos/network/onc/
H A Donc_mapper.cc48 const base::DictionaryValue& onc_object,
53 MapFields(signature, onc_object, &found_unknown_field, error, result.get());
66 const base::DictionaryValue& onc_object,
70 for (base::DictionaryValue::Iterator it(onc_object); !it.IsAtEnd();
46 MapObject( const OncValueSignature& signature, const base::DictionaryValue& onc_object, bool* error) argument
65 MapFields(const OncValueSignature& object_signature, const base::DictionaryValue& onc_object, bool* found_unknown_field, bool* nested_error, base::DictionaryValue* result) argument
H A Donc_validator_unittest.cc24 // Validate |onc_object| with the given |signature|. The object is considered
26 // |strict| is true. |onc_object| and the resulting repaired object of the
30 scoped_ptr<base::DictionaryValue> onc_object,
43 original_object_ = onc_object.Pass();
229 const base::DictionaryValue* onc_object = NULL; local
230 CHECK(dict->GetDictionary(name, &onc_object));
231 return make_scoped_ptr(onc_object->DeepCopy());
29 Validate(bool strict, scoped_ptr<base::DictionaryValue> onc_object, const OncValueSignature* signature, bool managed_onc, ::onc::ONCSource onc_source) argument
H A Donc_normalizer.cc26 const base::DictionaryValue& onc_object) {
30 MapObject(*object_signature, onc_object, &error);
37 const base::DictionaryValue& onc_object,
40 Mapper::MapObject(signature, onc_object, error);
24 NormalizeObject( const OncValueSignature* object_signature, const base::DictionaryValue& onc_object) argument
35 MapObject( const OncValueSignature& signature, const base::DictionaryValue& onc_object, bool* error) argument
H A Donc_translator_onc_to_shill.cc38 // |onc_object| according to |onc_signature| into |shill_dictionary|. This
45 const base::DictionaryValue& onc_object,
48 onc_object_(&onc_object),
255 // Iterates recursively over |onc_object| and its |signature|. At each object
259 const base::DictionaryValue& onc_object,
276 // Translates fields of |onc_object| and writes them to
278 LocalTranslator translator(signature, onc_object, target_shill_dictionary);
282 for (base::DictionaryValue::Iterator it(onc_object); !it.IsAtEnd();
300 const base::DictionaryValue& onc_object) {
303 TranslateONCHierarchy(*onc_signature, onc_object, shill_dictionar
44 LocalTranslator(const OncValueSignature& onc_signature, const base::DictionaryValue& onc_object, base::DictionaryValue* shill_dictionary) argument
258 TranslateONCHierarchy(const OncValueSignature& signature, const base::DictionaryValue& onc_object, base::DictionaryValue* shill_dictionary) argument
298 TranslateONCObjectToShill( const OncValueSignature* onc_signature, const base::DictionaryValue& onc_object) argument
[all...]
H A Donc_utils.cc178 base::DictionaryValue* onc_object) {
180 if (!onc_object->GetStringWithoutPathExpansion(fieldname, &user_string))
197 onc_object->SetStringWithoutPathExpansion(fieldname, user_string);
203 base::DictionaryValue* onc_object) {
205 ExpandField(eap::kAnonymousIdentity, substitution, onc_object);
206 ExpandField(eap::kIdentity, substitution, onc_object);
209 ExpandField(vpn::kUsername, substitution, onc_object);
213 for (base::DictionaryValue::Iterator it(*onc_object); !it.IsAtEnd();
216 if (!onc_object->GetDictionaryWithoutPathExpansion(it.key(), &inner_object))
247 const base::DictionaryValue& onc_object,
176 ExpandField(const std::string& fieldname, const StringSubstitution& substitution, base::DictionaryValue* onc_object) argument
200 ExpandStringsInOncObject( const OncValueSignature& signature, const StringSubstitution& substitution, base::DictionaryValue* onc_object) argument
245 Mask( const OncValueSignature& signature, const base::DictionaryValue& onc_object, const std::string& mask) argument
279 MaskCredentialsInOncObject( const OncValueSignature& signature, const base::DictionaryValue& onc_object, const std::string& mask) argument
475 ResolveSingleCertRef(const CertPEMsByGUIDMap& certs_by_guid, const std::string& key_guid_ref, const std::string& key_pem, base::DictionaryValue* onc_object) argument
492 ResolveCertRefList(const CertPEMsByGUIDMap& certs_by_guid, const std::string& key_guid_ref_list, const std::string& key_pem_list, base::DictionaryValue* onc_object) argument
520 ResolveSingleCertRefToList(const CertPEMsByGUIDMap& certs_by_guid, const std::string& key_guid_ref, const std::string& key_pem_list, base::DictionaryValue* onc_object) argument
542 ResolveCertRefsOrRefToList(const CertPEMsByGUIDMap& certs_by_guid, const std::string& key_guid_refs, const std::string& key_guid_ref, const std::string& key_pem_list, base::DictionaryValue* onc_object) argument
562 ResolveServerCertRefsInObject(const CertPEMsByGUIDMap& certs_by_guid, const OncValueSignature& signature, base::DictionaryValue* onc_object) argument
[all...]
H A Donc_validator.cc56 const base::DictionaryValue& onc_object,
63 MapValue(*object_signature, onc_object, &error);
103 const base::DictionaryValue& onc_object,
107 bool valid = ValidateObjectDefault(signature, onc_object, repaired.get());
207 const base::DictionaryValue& onc_object,
211 MapFields(signature, onc_object, &found_unknown_field, &nested_error_occured,
402 const base::DictionaryValue& onc_object) {
404 onc_object.HasKey(::onc::toplevel_config::kGlobalNetworkConfiguration)) {
54 ValidateAndRepairObject( const OncValueSignature* object_signature, const base::DictionaryValue& onc_object, Result* result) argument
101 MapObject( const OncValueSignature& signature, const base::DictionaryValue& onc_object, bool* error) argument
206 ValidateObjectDefault(const OncValueSignature& signature, const base::DictionaryValue& onc_object, base::DictionaryValue* result) argument
401 IsGlobalNetworkConfigInUserImport( const base::DictionaryValue& onc_object) argument
/external/chromium_org/chromeos/network/
H A Dpolicy_util.cc32 // onc::FieldIsCredential) of |onc_object|.
35 base::DictionaryValue* onc_object) {
36 base::DictionaryValue::Iterator it(*onc_object);
42 onc_object->GetWithoutPathExpansion(field_name, &value);
65 onc_object->RemoveWithoutPathExpansion(field_name, NULL);
33 RemoveFakeCredentials( const onc::OncValueSignature& signature, base::DictionaryValue* onc_object) argument
H A Dnetwork_ui_data.cc162 void TranslateCertificatePattern(const base::DictionaryValue& onc_object, argument
165 bool success = pattern.CopyFromDictionary(onc_object);
198 const base::DictionaryValue& onc_object,
201 TranslateCertificatePattern(onc_object, ui_data);
203 TranslateEAP(onc_object, ui_data);
205 TranslateIPsec(onc_object, ui_data);
207 TranslateOpenVPN(onc_object, ui_data);
210 for (base::DictionaryValue::Iterator it(onc_object); !it.IsAtEnd();
197 TranslateONCHierarchy(const onc::OncValueSignature& signature, const base::DictionaryValue& onc_object, NetworkUIData* ui_data) argument
/external/chromium_org/chromeos/tools/onc_validator/
H A Donc_validator.cc119 scoped_ptr<base::DictionaryValue> onc_object = ReadDictionary(args[1]); local
121 if (!onc_object)
151 validator.ValidateAndRepairObject(signature, *onc_object, &result);

Completed in 677 milliseconds