Home
last modified time | relevance | path

Searched refs:dict (Results 1 – 25 of 42) sorted by relevance

12

/system/connectivity/shill/shims/
Dppp.cc116 map<string, string> dict; in OnConnect() local
117 dict[kPPPInterfaceName] = ifname; in OnConnect()
118 dict[kPPPInternalIP4Address] = ConvertIPToText(&ipcp_gotoptions[0].ouraddr); in OnConnect()
119 dict[kPPPExternalIP4Address] = ConvertIPToText(&ipcp_hisoptions[0].hisaddr); in OnConnect()
121 dict[kPPPGatewayAddress] = dict[kPPPExternalIP4Address]; in OnConnect()
124 dict[kPPPDNS1] = ConvertIPToText(&ipcp_gotoptions[0].dnsaddr[0]); in OnConnect()
127 dict[kPPPDNS2] = ConvertIPToText(&ipcp_gotoptions[0].dnsaddr[1]); in OnConnect()
130 dict[kPPPMRU] = base::IntToString(lcp_gotoptions[0].mru); in OnConnect()
135 dict[kPPPLNSAddress] = lns_address; in OnConnect()
138 proxy_->Notify(kPPPReasonConnect, dict); in OnConnect()
[all …]
Dset_apn_helper.c35 static void append(DBusMessageIter *dict, in append() argument
41 dbus_message_iter_open_container(dict, DBUS_TYPE_DICT_ENTRY, in append()
48 dbus_message_iter_close_container(dict, &entry); in append()
56 DBusMessageIter iter, value, dict; in main() local
110 DBUS_DICT_ENTRY_END_CHAR_AS_STRING, &dict); in main()
132 append(&dict, argname, argvalue); in main()
135 dbus_message_iter_close_container(&iter, &dict); in main()
136 dbus_message_iter_close_container(&dict, &value); in main()
Dtask_proxy.cc35 void TaskProxy::Notify(const string& reason, const map<string, string>& dict) { in Notify() argument
37 << ", argcount: " << dict.size() << ")"; in Notify()
39 if (!proxy_.notify(reason, dict, &error)) { in Notify()
Dtask_proxy.h39 const std::map<std::string, std::string>& dict);
/system/connectivity/shill/
Drpc_task_unittest.cc40 virtual void Notify(const string& reason, const map<string, string>& dict);
60 const map<string, string>& dict) { in Notify() argument
63 last_notify_dict_ = dict; in Notify()
88 map<string, string> dict; in TEST_F() local
89 dict["foo"] = "bar"; in TEST_F()
90 task_.Notify(kReason, dict); in TEST_F()
Dkey_value_store_unittest.cc626 brillo::VariantDictionary dict; in TEST_F() local
627 KeyValueStore::ConvertToVariantDictionary(store, &dict); in TEST_F()
628 EXPECT_EQ(13, dict.size()); in TEST_F()
629 EXPECT_EQ(kStringValue, dict[kStringKey].Get<string>()); in TEST_F()
631 dict[kStringmapKey].Get<map<string, string>>(); in TEST_F()
633 EXPECT_EQ(kStringsValue, dict[kStringsKey].Get<vector<string>>()); in TEST_F()
634 EXPECT_EQ(kBoolValue, dict[kBoolKey].Get<bool>()); in TEST_F()
635 EXPECT_EQ(kInt32Value, dict[kInt32Key].Get<int32_t>()); in TEST_F()
636 EXPECT_EQ(kUint32Value, dict[kUint32Key].Get<uint32_t>()); in TEST_F()
638 dict[kByteArraysKey].Get<vector<vector<uint8_t>>>()); in TEST_F()
[all …]
Drpc_task.cc50 void RPCTask::Notify(const string& reason, const map<string, string>& dict) { in Notify() argument
51 delegate_->Notify(reason, dict); in Notify()
Drpc_task.h43 const std::map<std::string, std::string>& dict) = 0;
57 const std::map<std::string, std::string>& dict);
Dproperty_store_unittest.cc798 brillo::VariantDictionary dict; in TEST_F() local
799 dict.insert(std::make_pair(kBoolKey, brillo::Any(new_bool_value))); in TEST_F()
800 dict.insert(std::make_pair(kKeyValueStoreKey, in TEST_F()
802 dict.insert(std::make_pair(kInt16Key, brillo::Any(new_int16_value))); in TEST_F()
803 dict.insert(std::make_pair(kInt32Key, brillo::Any(new_int32_value))); in TEST_F()
804 dict.insert(std::make_pair(kStringKey, brillo::Any(new_string_value))); in TEST_F()
805 dict.insert(std::make_pair(kStringmapKey, in TEST_F()
807 dict.insert(std::make_pair(kStringsKey, brillo::Any(new_strings_value))); in TEST_F()
808 dict.insert(std::make_pair(kUint8Key, brillo::Any(new_uint8_value))); in TEST_F()
809 dict.insert(std::make_pair(kUint16Key, brillo::Any(new_uint16_value))); in TEST_F()
[all …]
/system/weaved/buffet/
Dbinder_command_proxy.cc115 std::unique_ptr<base::DictionaryValue> dict; in setProgress() local
116 auto status = ParseDictionary(progress, &dict); in setProgress()
119 status = ToStatus(command->SetProgress(*dict, &error), &error); in setProgress()
129 std::unique_ptr<base::DictionaryValue> dict; in complete() local
130 auto status = ParseDictionary(results, &dict); in complete()
133 status = ToStatus(command->Complete(*dict, &error), &error); in complete()
/system/connectivity/shill/dbus/
Dchromeos_rpc_task_dbus_adaptor.cc76 const map<string, string>& dict) { in notify() argument
78 task_->Notify(reason, dict); in notify()
Dchromeos_supplicant_interface_proxy.cc146 brillo::VariantDictionary dict; in AddNetwork() local
147 KeyValueStore::ConvertToVariantDictionary(args, &dict); in AddNetwork()
150 if (!interface_proxy_->AddNetwork(dict, &path, &error)) { in AddNetwork()
305 brillo::VariantDictionary dict; in Scan() local
306 KeyValueStore::ConvertToVariantDictionary(args, &dict); in Scan()
308 if (!interface_proxy_->Scan(dict, &error)) { in Scan()
Dchromeos_supplicant_process_proxy.cc124 brillo::VariantDictionary dict; in CreateInterface() local
125 KeyValueStore::ConvertToVariantDictionary(args, &dict); in CreateInterface()
128 if (!supplicant_proxy_->CreateInterface(dict, &path, &error)) { in CreateInterface()
Dchromeos_rpc_task_dbus_adaptor.h59 const std::map<std::string, std::string>& dict) override;
Dchromeos_device_dbus_adaptor.cc112 brillo::VariantDictionary dict; in EmitKeyValueStoreChanged() local
113 KeyValueStore::ConvertToVariantDictionary(value, &dict); in EmitKeyValueStoreChanged()
114 SendPropertyChangedSignal(name, brillo::Any(dict)); in EmitKeyValueStoreChanged()
/system/weaved/common/
Dbinder_utils.cc48 std::unique_ptr<base::DictionaryValue>* dict) { in ParseDictionary() argument
60 dict->reset(dict_value); in ParseDictionary()
Dbinder_utils.h62 std::unique_ptr<base::DictionaryValue>* dict);
/system/weaved/libweaved/
Dservice.cc187 const base::DictionaryValue& dict,
347 const base::DictionaryValue& dict, in SetStateProperties() argument
352 ToString16(dict)), in SetStateProperties()
363 base::DictionaryValue dict; in SetStateProperty() local
364 dict.Set(name, value.DeepCopy()); in SetStateProperty()
365 return SetStateProperties(component, dict, error); in SetStateProperty()
Dservice.h77 const base::DictionaryValue& dict,
/system/connectivity/shill/doc/
Dprofile-api.txt46 Methods dict GetProperties()
63 dict GetEntry(object path)
69 Otherwise, a much more compact dict will be
104 dict DeleteEntry(string entry_name)
/system/connectivity/shill/pppoe/
Dpppoe_service.cc199 const map<string, string>& dict) { in Notify() argument
205 OnPPPConnected(dict); in Notify()
Dpppoe_service.h69 const std::map<std::string, std::string>& dict) override;
/system/media/camera/docs/
Dmetadata_parser_xml.py164 entry_dict = dict(d.items() + d2.items() + d3.items())
308 helpers = dict(helpers)
/system/connectivity/shill/vpn/
Dl2tp_ipsec_driver.cc442 const string& reason, const map<string, string>& dict) { in Notify() argument
461 string interface_name = PPPDevice::GetInterfaceName(dict); in Notify()
491 dict, blackhole_ipv6, IPConfig::kMinIPv6MTU); in Notify()
Dl2tp_ipsec_driver_unittest.cc154 void InvokeNotify(const string& reason, const map<string, string>& dict) { in InvokeNotify() argument
155 driver_->Notify(reason, dict); in InvokeNotify()
194 virtual void Notify(const string& reason, const map<string, string>& dict);
706 map<string, string> dict; in TEST_F() local
718 driver_->Notify(kPPPReasonDisconnect, dict); in TEST_F()

12