/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() 57 void ExportedPropertySet::UnregisterProperty(const std::string& interface_name, in UnregisterProperty() argument 60 auto& prop_map = properties_[interface_name]; in UnregisterProperty() 69 const std::string& interface_name) { in HandleGetAll() argument 71 return GetInterfaceProperties(interface_name); in HandleGetAll() 75 const std::string& interface_name) const { in GetInterfaceProperties() [all …]
|
D | dbus_object.cc | 39 const std::string& interface_name) in DBusInterface() argument 40 : dbus_object_(dbus_object), interface_name_(interface_name) { in DBusInterface() 138 std::string interface_name = interface_name_; in HandleMethodCall() local 139 VLOG(1) << "Received method call request: " << interface_name << "." in HandleMethodCall() 202 const std::string& interface_name) { in AddOrGetInterface() argument 203 auto iter = interfaces_.find(interface_name); in AddOrGetInterface() 205 VLOG(1) << "Adding an interface '" << interface_name << "' to object '" in AddOrGetInterface() 209 new DBusInterface(this, interface_name)); in AddOrGetInterface() 210 iter = interfaces_.insert(std::make_pair(interface_name, in AddOrGetInterface() 217 const std::string& interface_name) const { in FindInterface() [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 | 111 PropertyWriter GetPropertyWriter(const std::string& interface_name); 113 void RegisterProperty(const std::string& interface_name, 118 void UnregisterProperty(const std::string& interface_name, 122 VariantDictionary HandleGetAll(const std::string& interface_name); 124 const std::string& interface_name, 132 const std::string& interface_name, 138 const std::string& interface_name) const; 144 BRILLO_PRIVATE void WritePropertiesToDict(const std::string& interface_name, 147 const std::string& interface_name,
|
D | dbus_method_invoker.h | 98 const std::string& interface_name, in CallMethodAndBlockWithTimeout() argument 102 dbus::MethodCall method_call(interface_name, method_name); in CallMethodAndBlockWithTimeout() 122 interface_name.c_str(), in CallMethodAndBlockWithTimeout() 133 const std::string& interface_name, in CallMethodAndBlock() argument 139 interface_name, in CallMethodAndBlock() 290 const std::string& interface_name, in CallMethodWithTimeout() argument 295 dbus::MethodCall method_call(interface_name, method_name); in CallMethodWithTimeout() 311 const std::string& interface_name, in CallMethod() argument 318 interface_name, in CallMethod()
|
/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/adhd/cras/src/server/ |
D | cras_bt_manager.c | 26 const char *interface_name, in cras_bt_interface_added() argument 29 if (strcmp(interface_name, BLUEZ_INTERFACE_ADAPTER) == 0) { in cras_bt_interface_added() 54 } else if (strcmp(interface_name, BLUEZ_INTERFACE_DEVICE) == 0) { in cras_bt_interface_added() 76 } else if (strcmp(interface_name, in cras_bt_interface_added() 106 const char *interface_name) in cras_bt_interface_removed() argument 108 if (strcmp(interface_name, BLUEZ_INTERFACE_ADAPTER) == 0) { in cras_bt_interface_removed() 118 } else if (strcmp(interface_name, BLUEZ_INTERFACE_DEVICE) == 0) { in cras_bt_interface_removed() 128 } else if (strcmp(interface_name, in cras_bt_interface_removed() 144 const char *interface_name, in cras_bt_update_properties() argument 148 if (strcmp(interface_name, BLUEZ_INTERFACE_ADAPTER) == 0) { in cras_bt_update_properties() [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 | 159 const std::string& interface_name) = 0; 171 const std::string& interface_name) { } in ObjectAdded() argument 183 const std::string& interface_name) { } in ObjectRemoved() argument 195 virtual void RegisterInterface(const std::string& interface_name, 201 virtual void UnregisterInterface(const std::string& interface_name); 210 const std::string& interface_name); 223 const std::string& interface_name); 275 void InterfacesAddedConnected(const std::string& interface_name, 282 void InterfacesRemovedConnected(const std::string& interface_name, 302 const std::string& interface_name, [all …]
|
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() 388 void ObjectManager::InterfacesAddedConnected(const std::string& interface_name, in InterfacesAddedConnected() argument 413 const std::string& interface_name, in InterfacesRemovedConnected() argument [all …]
|
D | exported_object.cc | 45 const std::string& interface_name, in ExportMethodAndBlock() argument 52 GetAbsoluteMemberName(interface_name, method_name); in ExportMethodAndBlock() 71 void ExportedObject::ExportMethod(const std::string& interface_name, in ExportMethod() argument 79 interface_name, in ExportMethod() 126 const std::string& interface_name, in ExportMethodInternal() argument 132 const bool success = ExportMethodAndBlock(interface_name, in ExportMethodInternal() 139 interface_name, in ExportMethodInternal() 145 const std::string& interface_name, in OnExported() argument 150 on_exported_callback.Run(interface_name, method_name, success); in OnExported()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | function_api_info.cc | 69 const string& FunctionApiInfo::interface_name() const { in interface_name() function in tensorflow::grappler::FunctionApiInfo 123 Status ValidateSignature(const string& interface_name, in ValidateSignature() argument 139 interface_name, "' but their signatures do not match."); in ValidateSignature() 165 if (func_info->interface_name().empty()) continue; in Init() 168 const string& interface_name = func_info->interface_name(); in Init() local 171 << " with interface: " << interface_name; in Init() 174 intf_to_inference_funcs_[interface_name].emplace_back(function_name); in Init() 175 infer_funcs[interface_name].emplace_back(&function); in Init() 178 intf_to_forward_funcs_[interface_name].emplace_back(function_name); in Init() 179 fwd_funcs[interface_name].emplace_back(&function); in Init() [all …]
|
/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/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/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/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)
|