Home
last modified time | relevance | path

Searched refs:bus (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/
Dlibcros_proxy.cc42 const scoped_refptr<dbus::Bus>& bus = DBusConnection::Get()->GetDBus(); in LibCrosProxy() local
44 new LibCrosServiceInterfaceProxy(bus, kLibCrosServiceName)); in LibCrosProxy()
46 new UpdateEngineLibcrosProxyResolvedInterfaceProxy(bus, in LibCrosProxy()
/system/core/init/
Ddevices.cpp292 struct platform_node *bus; in add_platform_device() local
303 bus = (platform_node*) calloc(1, sizeof(struct platform_node)); in add_platform_device()
304 bus->path = strdup(path); in add_platform_device()
305 bus->path_len = path_len; in add_platform_device()
306 bus->name = bus->path + (name - path); in add_platform_device()
307 list_add_tail(&platform_names, &bus->list); in add_platform_device()
319 struct platform_node *bus; in find_platform_device() local
322 bus = node_to_item(node, struct platform_node, list); in find_platform_device()
323 if ((bus->path_len < path_len) && in find_platform_device()
324 (path[bus->path_len] == '/') && in find_platform_device()
[all …]
/system/update_engine/update_manager/
Dstate_factory.cc56 scoped_refptr<dbus::Bus> bus = in DefaultStateFactory() local
61 new org::chromium::SessionManagerInterfaceProxy(bus)), in DefaultStateFactory()
/system/update_engine/client_library/
Dclient_dbus.cc37 scoped_refptr<Bus> bus{new Bus{options}}; in Init() local
39 if (!bus->Connect()) in Init()
42 proxy_.reset(new UpdateEngineInterfaceProxy{bus}); in Init()
/system/core/libusbhost/
Dusbhost.c419 int bus = 0, dev = 0; in usb_device_get_unique_id() local
420 sscanf(device->dev_name, USB_FS_ID_SCANNER, &bus, &dev); in usb_device_get_unique_id()
421 return bus * 1000 + dev; in usb_device_get_unique_id()
426 int bus = 0, dev = 0; in usb_device_get_unique_id_from_name() local
427 sscanf(name, USB_FS_ID_SCANNER, &bus, &dev); in usb_device_get_unique_id_from_name()
428 return bus * 1000 + dev; in usb_device_get_unique_id_from_name()
433 int bus = id / 1000; in usb_device_get_name_from_unique_id() local
436 snprintf(result, strlen(USB_FS_ID_FORMAT) - 1, USB_FS_ID_FORMAT, bus, dev); in usb_device_get_name_from_unique_id()
/system/tpm/tpm_manager/server/
Ddbus_service.cc42 DBusService::DBusService(scoped_refptr<dbus::Bus> bus, in DBusService() argument
47 bus, in DBusService()
Ddbus_service.h43 DBusService(scoped_refptr<dbus::Bus> bus,
/system/tpm/attestation/server/
Ddbus_service.cc32 DBusService::DBusService(const scoped_refptr<dbus::Bus>& bus, in DBusService() argument
34 : dbus_object_(nullptr, bus, dbus::ObjectPath(kAttestationServicePath)), in DBusService()
Ddbus_service.h38 DBusService(const scoped_refptr<dbus::Bus>& bus,
/system/core/toolbox/
Dgetevent.c278 static void print_hid_descriptor(int bus, int vendor, int product) in print_hid_descriptor() argument
288 snprintf(prefix, sizeof(prefix), "%04X:%04X:%04X.", bus, vendor, product); in print_hid_descriptor()
/system/core/rootdir/
Dueventd.rc89 /dev/bus/usb/* 0660 root usb
/system/bt/btif/co/
Dbta_hh_co.cc485 ev.u.create.bus = BUS_BLUETOOTH; in bta_hh_co_send_hid_info()
/system/sepolicy/private/
Dfile_contexts77 /dev/bus/usb(.*)? u:object_r:usb_device:s0