Searched refs:kDevBlockPrefix (Results 1 – 2 of 2) sorted by relevance
582 static constexpr std::string_view kDevBlockPrefix("/dev/block/"); in ExtractBlockDeviceName() local583 if (android::base::StartsWith(path, kDevBlockPrefix)) { in ExtractBlockDeviceName()584 return path.substr(kDevBlockPrefix.length()); in ExtractBlockDeviceName()
658 static constexpr std::string_view kDevBlockPrefix("/dev/block/"); in SetReadAheadSize() local659 if (!android::base::StartsWith(block_device, kDevBlockPrefix)) { in SetReadAheadSize()667 if (android::base::StartsWith(block_device, kDevBlockPrefix)) { in SetReadAheadSize()668 block_name = block_device.substr(kDevBlockPrefix.length()); in SetReadAheadSize()