Lines Matching refs:StartsWith
48 using android::base::StartsWith;
61 if (!StartsWith(path, "/devices/pci")) return false; in FindPciDevicePrefix()
92 if (!StartsWith(path, "/devices/vbd-")) return false; in FindVbdDevicePrefix()
114 if (!StartsWith(path, "/devices/virtual/block/dm-")) return false; in FindDmDevice()
151 if (prefix_) return StartsWith(path, name_); in Match()
327 if (StartsWith(device, devices_platform_prefix)) { in GetBlockDeviceSymlinks()
329 } else if (StartsWith(device, devices_prefix)) { in GetBlockDeviceSymlinks()
413 if (action == "add" || (action == "change" && StartsWith(devpath, "/dev/block/dm-"))) { in HandleDevice()
432 if (StartsWith(devpath, "/dev/block/dm-")) { in HandleDevice()
478 if (StartsWith(uevent.path, "/devices")) { in HandleUevent()
496 } else if (StartsWith(uevent.subsystem, "usb")) { in HandleUevent()