Lines Matching refs:StartsWith
53 using android::base::StartsWith;
66 if (!StartsWith(path, "/devices/pci")) return false; in FindPciDevicePrefix()
97 if (!StartsWith(path, "/devices/vbd-")) return false; in FindVbdDevicePrefix()
119 if (!StartsWith(uevent.path, "/devices/virtual/block/dm-")) return false; in FindDmDevice()
159 if (prefix_) return StartsWith(path, name_); in Match()
384 if (StartsWith(device, devices_platform_prefix)) { in GetBlockDeviceSymlinks()
386 } else if (StartsWith(device, devices_prefix)) { in GetBlockDeviceSymlinks()
436 !StartsWith(model, "none")) { in GetBlockDeviceSymlinks()
485 if (action == "add" || (action == "change" && StartsWith(devpath, "/dev/block/dm-"))) { in HandleDevice()
488 if (StartsWith(link, "/dev/block/")) { in HandleDevice()
490 } else if (StartsWith(link, "/dev/sys/block/")) { in HandleDevice()
514 if (StartsWith(devpath, "/dev/block/dm-")) { in HandleDevice()
561 if (StartsWith(uevent.path, "/devices")) { in HandleUevent()
579 } else if (StartsWith(uevent.subsystem, "usb")) { in HandleUevent()
582 } else if (uevent.subsystem == "misc" && StartsWith(uevent.device_name, "dm-user/")) { in HandleUevent()