Searched refs:kDevBlockPrefix (Results 1 – 2 of 2) sorted by relevance
610 static constexpr std::string_view kDevBlockPrefix("/dev/block/"); in ExtractBlockDeviceName() local611 if (android::base::StartsWith(path, kDevBlockPrefix)) { in ExtractBlockDeviceName()612 return path.substr(kDevBlockPrefix.length()); in ExtractBlockDeviceName()
669 static constexpr std::string_view kDevBlockPrefix("/dev/block/"); in SetReadAheadSize() local670 if (!android::base::StartsWith(block_device, kDevBlockPrefix)) { in SetReadAheadSize()678 if (android::base::StartsWith(block_device, kDevBlockPrefix)) { in SetReadAheadSize()679 block_name = block_device.substr(kDevBlockPrefix.length()); in SetReadAheadSize()