/external/libbrillo/brillo/dbus/ |
D | exported_property_set.cc | 33 const std::string& interface_name) { in GetPropertyWriter() argument 36 interface_name); in GetPropertyWriter() 40 const std::string& interface_name, in RegisterProperty() argument 44 auto& prop_map = properties_[interface_name]; in RegisterProperty() 52 interface_name, in RegisterProperty() 58 const std::string& interface_name) { in HandleGetAll() argument 60 return GetInterfaceProperties(interface_name); in HandleGetAll() 64 const std::string& interface_name) const { in GetInterfaceProperties() 66 auto property_map_itr = properties_.find(interface_name); in GetInterfaceProperties() 75 const std::string& interface_name, in WritePropertiesToDict() argument [all …]
|
D | exported_object_manager.cc | 42 const std::string& interface_name, in ClaimInterface() argument 52 {interface_name, property_dict} in ClaimInterface() 55 registered_objects_[path][interface_name] = property_writer; in ClaimInterface() 60 const std::string& interface_name) { in ReleaseInterface() argument 67 auto property_for_interface_itr = interfaces_for_path.find(interface_name); in ReleaseInterface() 69 << "Attempted to remove interface " << interface_name << " from " in ReleaseInterface() 71 interfaces_for_path.erase(interface_name); in ReleaseInterface() 79 std::vector<std::string>{interface_name}); in ReleaseInterface()
|
D | exported_property_set.h | 108 PropertyWriter GetPropertyWriter(const std::string& interface_name); 110 void RegisterProperty(const std::string& interface_name, 115 VariantDictionary HandleGetAll(const std::string& interface_name); 117 const std::string& interface_name, 125 const std::string& interface_name, 131 const std::string& interface_name) const; 137 BRILLO_PRIVATE void WritePropertiesToDict(const std::string& interface_name, 140 const std::string& interface_name,
|
D | dbus_object.cc | 22 const std::string& interface_name) in DBusInterface() argument 23 : dbus_object_(dbus_object), interface_name_(interface_name) { in DBusInterface() 116 std::string interface_name = interface_name_; in HandleMethodCall() local 117 VLOG(1) << "Received method call request: " << interface_name << "." in HandleMethodCall() 166 const std::string& interface_name) { in AddOrGetInterface() argument 167 auto iter = interfaces_.find(interface_name); in AddOrGetInterface() 169 VLOG(1) << "Adding an interface '" << interface_name << "' to object '" in AddOrGetInterface() 173 new DBusInterface(this, interface_name)); in AddOrGetInterface() 174 iter = interfaces_.insert(std::make_pair(interface_name, in AddOrGetInterface() 181 const std::string& interface_name) const { in FindInterface() [all …]
|
D | dbus_method_invoker.h | 97 const std::string& interface_name, in CallMethodAndBlockWithTimeout() argument 101 dbus::MethodCall method_call(interface_name, method_name); in CallMethodAndBlockWithTimeout() 121 interface_name.c_str(), in CallMethodAndBlockWithTimeout() 132 const std::string& interface_name, in CallMethodAndBlock() argument 138 interface_name, in CallMethodAndBlock() 286 const std::string& interface_name, in CallMethodWithTimeout() argument 291 dbus::MethodCall method_call(interface_name, method_name); in CallMethodWithTimeout() 307 const std::string& interface_name, in CallMethod() argument 314 interface_name, in CallMethod()
|
D | exported_object_manager_unittest.cc | 67 std::string interface_name; in VerifyInterfaceClaimSignal() local 68 ASSERT_TRUE(each_interface.PopString(&interface_name)); in VerifyInterfaceClaimSignal() 73 EXPECT_EQ(interface_name, kClaimedInterface); in VerifyInterfaceClaimSignal() 88 std::string interface_name; in VerifyInterfaceDropSignal() local 89 ASSERT_TRUE(each_interface.PopString(&interface_name)); in VerifyInterfaceDropSignal() 92 EXPECT_EQ(interface_name, kClaimedInterface); in VerifyInterfaceDropSignal() 180 std::string interface_name; in TEST_F() local 181 ASSERT_TRUE(each_interface.PopString(&interface_name)); in TEST_F() 189 EXPECT_EQ(interface_name, kClaimedInterface); in TEST_F()
|
/external/autotest/client/cros/tendo/n_faced_peerd/ |
D | object_manager.py | 45 def claim_interface(self, path, interface_name, property_getter): argument 55 logging.debug('claim_interface(%s, %s, ...)', path, interface_name) 57 self._paths[path][interface_name] = property_getter 59 self._paths[path] = {interface_name: property_getter} 61 {dbus.String(interface_name): property_getter()}, 'sa{sv}') 65 def release_interface(self, path, interface_name): argument 75 logging.debug('release_interface(%s, %s)', path, interface_name) 76 if path not in self._paths or interface_name not in self._paths[path]: 78 self._paths[path].pop(interface_name) 82 dbus.Array([dbus.String(interface_name)])) [all …]
|
D | dbus_property_exposer.py | 17 def __init__(self, bus, path, interface_name): argument 19 self.interface_name = interface_name 40 self.PropertiesChanged(dbus.String(self.interface_name), 59 def Get(self, interface_name, requested_property_name): argument 67 if interface_name != self.interface_name: 78 def GetAll(self, interface_name): argument 86 if interface_name != self.interface_name: 95 def PropertiesChanged(self, interface_name, properties, invalid_properties): argument
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | dbus_std_ifaces.py | 124 def SetUInt32(self, interface_name, property_name, value): argument 138 self.Set(interface_name, property_name, dbus.types.UInt32(value)) 141 def SetInt32(self, interface_name, property_name, value): argument 155 self.Set(interface_name, property_name, dbus.types.Int32(value)) 161 def Get(self, interface_name, property_name): argument 175 interface_name, 177 val = self.GetAll(interface_name).get(property_name, None) 180 (property_name, interface_name)) 189 def Set(self, interface_name, property_name, value): argument 205 interface_name, [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
D | p2p_flush.py | 36 global interface_name 49 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument 51 self.interface_name = interface_name 83 self.interface_name) 85 error = 'Error:\n Interface ' + self.interface_name \ 118 interface_name = None variable 136 interface_name = value variable 144 if (interface_name == None): 151 p2p_flush_test = P2P_Flush(interface_name, wpas_dbus_interface,timeout)
|
D | p2p_disconnect.py | 36 global interface_name 49 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument 51 self.interface_name = interface_name 83 self.interface_name) 85 error = 'Error:\n Interface ' + self.interface_name \ 118 interface_name = None variable 136 interface_name = value variable 144 if (interface_name == None): 151 p2p_disconnect_test = P2P_Disconnect(interface_name,
|
D | p2p_listen.py | 37 global interface_name 50 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument 53 self.interface_name = interface_name 84 self.interface_name) 86 error = 'Error:\n Interface ' + self.interface_name \ 119 interface_name = None variable 137 interface_name = value variable 153 if (interface_name == None): 160 p2p_listen_test = P2P_Listen(interface_name, wpas_dbus_interface, timeout)
|
D | p2p_stop_find.py | 38 global interface_name 51 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument 53 self.interface_name = interface_name 85 self.interface_name) 87 error = 'Error:\n Interface ' + self.interface_name \ 123 interface_name = None variable 141 interface_name = value variable 149 if (interface_name == None): 156 p2p_stop_find_test = P2P_Stop_Find(interface_name,
|
D | p2p_find.py | 40 global interface_name 53 def __init__(self,interface_name,wpas_dbus_interface,timeout): argument 56 self.interface_name = interface_name 87 self.interface_name) 89 error = 'Error:\n Interface ' + self.interface_name \ 129 interface_name = None variable 147 interface_name = value variable 163 if (interface_name == None): 170 p2p_find_test = P2P_Find(interface_name, wpas_dbus_interface, timeout)
|
D | p2p_invite.py | 45 global interface_name 62 def __init__(self,interface_name,wpas_dbus_interface,addr, argument 65 self.interface_name = interface_name 98 self.interface_name) 100 error = 'Error:\n Interface ' + self.interface_name \ 147 interface_name = None variable 165 interface_name = value variable 178 if (interface_name == None): 190 P2P_Invite(interface_name,wpas_dbus_interface,
|
D | p2p_group_add.py | 46 global interface_name 64 def __init__(self,interface_name,wpas_dbus_interface,persistent,frequency, argument 67 self.interface_name = interface_name 101 self.interface_name) 103 error = 'Error:\n Interface ' + self.interface_name \ 165 interface_name = None variable 183 interface_name = value variable 207 if (interface_name == None): 213 p2p_group_add_test = P2P_Group_Add(interface_name,wpas_dbus_interface,
|
/external/libchrome/dbus/ |
D | object_manager.h | 158 const std::string& interface_name) = 0; 194 void RegisterInterface(const std::string& interface_name, 200 void UnregisterInterface(const std::string& interface_name); 209 const std::string& interface_name); 222 const std::string& interface_name); 277 void InterfacesAddedConnected(const std::string& interface_name, 284 void InterfacesRemovedConnected(const std::string& interface_name, 304 const std::string& interface_name, 312 const std::string& interface_name);
|
D | object_manager.cc | 77 void ObjectManager::RegisterInterface(const std::string& interface_name, in RegisterInterface() argument 79 interface_map_[interface_name] = interface; in RegisterInterface() 82 void ObjectManager::UnregisterInterface(const std::string& interface_name) { in UnregisterInterface() argument 83 InterfaceMap::iterator iter = interface_map_.find(interface_name); in UnregisterInterface() 99 const std::string& interface_name) { in GetObjectsWithInterface() argument 107 object->properties_map.find(interface_name); in GetObjectsWithInterface() 125 const std::string& interface_name) { in GetProperties() argument 132 object->properties_map.find(interface_name); in GetProperties() 432 std::string interface_name; in UpdateObject() local 434 !dict_entry_reader.PopString(&interface_name)) in UpdateObject() [all …]
|
D | exported_object.cc | 44 const std::string& interface_name, in ExportMethodAndBlock() argument 51 GetAbsoluteMemberName(interface_name, method_name); in ExportMethodAndBlock() 70 void ExportedObject::ExportMethod(const std::string& interface_name, in ExportMethod() argument 78 interface_name, in ExportMethod() 125 const std::string& interface_name, in ExportMethodInternal() argument 131 const bool success = ExportMethodAndBlock(interface_name, in ExportMethodInternal() 138 interface_name, in ExportMethodInternal() 144 const std::string& interface_name, in OnExported() argument 149 on_exported_callback.Run(interface_name, method_name, success); in OnExported()
|
/external/autotest/client/site_tests/network_8021xWiredAuthentication/ |
D | network_8021xWiredAuthentication.py | 31 def get_device(self, interface_name): argument 41 {'Name': interface_name}) 48 def get_authenticated_flag(self, interface_name): argument 57 device = self.get_device(interface_name) 64 def wait_for_authentication(self, interface_name): argument 70 device = self.get_device(interface_name) 80 def configure_credentials(self, interface_name): argument 113 interface=ethernet_pair.interface_name) as hostapd:
|
/external/autotest/client/site_tests/network_DhcpBrokenDefaultGateway/ |
D | network_DhcpBrokenDefaultGateway.py | 22 def check_shill_gateway_setup(self, interface_name, gateway_ip): argument 30 device = proxy.find_object('Device', {'Name': interface_name}) 45 def check_routing_table_gateway_setup(self, interface_name, gateway_ip): argument 53 host=None, interface_name_regex=interface_name) 100 interface_name = self.ethernet_pair.peer_interface_name 101 self.check_shill_gateway_setup(interface_name, gateway_ip) 102 self.check_routing_table_gateway_setup(interface_name, gateway_ip)
|
/external/autotest/client/cros/networking/ |
D | apmanager_proxy.py | 90 def _get_dbus_object(self, interface_name, path): argument 101 interface_name) 104 def _get_dbus_property(self, dbus_object, interface_name, property_key): argument 120 property_interface.Get(dbus.String(interface_name), 125 (property_key, interface_name)) 131 interface_name, argument 148 property_interface.Set(dbus.String(interface_name), 154 (property_key, interface_name))
|
/external/autotest/client/common_lib/cros/ |
D | virtual_ethernet_pair.py | 51 interface_name='veth_master', argument 70 self._interface_name = interface_name 145 def interface_name(self): member in VirtualEthernetPair 159 return interface.Interface(self.interface_name).ipv4_address 171 return interface.Interface(self.interface_name).ipv4_subnet_mask 177 return interface.Interface(self.interface_name).ipv4_prefix 189 return interface.Interface(self.interface_name).mac_address 207 def _interface_exists(self, interface_name): argument 211 return interface.Interface(interface_name, host=self._host).exists
|
/external/autotest/client/cros/ |
D | dhcpv6_test_base.py | 39 def get_device(self, interface_name): argument 49 {'Name': interface_name}) 52 def find_ethernet_service(self, interface_name): argument 60 device = self.get_device(interface_name) 65 def get_interface_ipconfig_objects(self, interface_name): argument 75 device = self.get_device(interface_name) 88 def get_interface_ipconfig(self, interface_name): argument 101 for ipconfig in self.get_interface_ipconfig_objects(interface_name): 140 self._ethernet_pair.interface_name)
|
D | dhcp_test_base.py | 75 def get_device(self, interface_name): argument 85 {'Name': interface_name}) 88 def find_ethernet_service(self, interface_name): argument 96 device = self.get_device(interface_name) 101 def get_interface_ipconfig_objects(self, interface_name): argument 111 device = self.get_device(interface_name) 124 def get_interface_ipconfig(self, interface_name): argument 137 for ipconfig in self.get_interface_ipconfig_objects(interface_name): 172 self._ethernet_pair.interface_name)
|