Home
last modified time | relevance | path

Searched refs:devpath (Results 1 – 10 of 10) sorted by relevance

/system/vold/
DDirectVolume.h79 void handleDiskAdded(const char *devpath, NetlinkEvent *evt);
80 void handleDiskRemoved(const char *devpath, NetlinkEvent *evt);
81 void handleDiskChanged(const char *devpath, NetlinkEvent *evt);
82 void handlePartitionAdded(const char *devpath, NetlinkEvent *evt);
83 void handlePartitionRemoved(const char *devpath, NetlinkEvent *evt);
84 void handlePartitionChanged(const char *devpath, NetlinkEvent *evt);
DDirectVolume.cpp222 void DirectVolume::handlePartitionAdded(const char *devpath, NetlinkEvent *evt) { in handlePartitionAdded() argument
247 SLOGE("Partition '%s' has a different major than its disk!", devpath); in handlePartitionAdded()
DVolumeManager.cpp241 const char *devpath = evt->findParam("DEVPATH"); in handleBlockEvent() local
249 SLOGD("Device '%s' event handled by volume %s\n", devpath, (*it)->getLabel()); in handleBlockEvent()
258 SLOGW("No volumes handled block event for '%s'", devpath); in handleBlockEvent()
/system/core/init/
Ddevices.c558 static void handle_device(const char *action, const char *devpath, in handle_device() argument
564 make_device(devpath, path, block, major, minor, (const char **)links); in handle_device()
567 make_link_init(devpath, links[i]); in handle_device()
574 remove_link(devpath, links[i]); in handle_device()
576 unlink(devpath); in handle_device()
624 char devpath[96]; in handle_block_device_event() local
631 snprintf(devpath, sizeof(devpath), "%s%s", base, name); in handle_block_device_event()
637 handle_device(uevent->action, devpath, uevent->path, 1, in handle_block_device_event()
643 static bool assemble_devpath(char *devpath, const char *dirname, in assemble_devpath() argument
646 int s = snprintf(devpath, DEVPATH_LEN, "%s/%s", dirname, devname); in assemble_devpath()
[all …]
/system/core/adb/
Dusb_linux.c119 static void register_device(const char *dev_name, const char *devpath,
234 char *devpath = NULL; in find_usb_device() local
285 devpath = pathbuf; in find_usb_device()
290 register_device_callback(devname, devpath, in find_usb_device()
560 static void register_device(const char *dev_name, const char *devpath, in register_device() argument
672 register_usb_transport(usb, serial, devpath, usb->writeable); in register_device()
Dtransport.c613 if (t->devpath) in transport_registration_func()
614 free(t->devpath); in transport_registration_func()
815 (t->devpath && !strcmp(serial, t->devpath)) || in acquire_one_transport()
949 add_qual(&buf, &remaining, " ", t->devpath, 0); in format_transport()
1099 void register_usb_transport(usb_handle *usb, const char *serial, const char *devpath, unsigned writ… in register_usb_transport() argument
1108 if(devpath) { in register_usb_transport()
1109 t->devpath = strdup(devpath); in register_usb_transport()
Dusb_osx.c134 char *devpath = NULL; in AndroidInterfaceAdded() local
201 devpath = devpathBuf; in AndroidInterfaceAdded()
267 register_usb_transport(handle, (serial[0] ? serial : NULL), devpath, 1); in AndroidInterfaceAdded()
Dadb.h203 char *devpath; member
305 void register_usb_transport(usb_handle *h, const char *serial, const char *devpath, unsigned writea…
Dadb.c1660 if (transport && transport->devpath) { in handle_host_request()
1661 out = transport->devpath; in handle_host_request()
DSERVICES.TXT93 <host-prefix>:get-devpath