Searched refs:kDevBlockPrefix (Results 1 – 2 of 2) sorted by relevance
564 static constexpr std::string_view kDevBlockPrefix("/dev/block/"); in ExtractBlockDeviceName() local565 if (android::base::StartsWith(path, kDevBlockPrefix)) { in ExtractBlockDeviceName()566 *name = path.substr(kDevBlockPrefix.length()); in ExtractBlockDeviceName()
657 static constexpr std::string_view kDevBlockPrefix("/dev/block/"); in SetReadAheadSize() local658 if (!android::base::StartsWith(block_device, kDevBlockPrefix)) { in SetReadAheadSize()666 if (android::base::StartsWith(block_device, kDevBlockPrefix)) { in SetReadAheadSize()667 block_name = block_device.substr(kDevBlockPrefix.length()); in SetReadAheadSize()