summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack_fuzz.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-08-12 19:43:11 -0700
committerYifan Hong <elsk@google.com>2019-08-14 14:17:22 -0700
commit8367b9f73aefb8ae97b4760bebc3f98f0c9ffd1c (patch)
tree73e87b0cac611696c2d1ed3c970e4cef4ecd9e52 /libutils/ProcessCallStack_fuzz.cpp
parent4644f842085d465422193dc2a48ca71dfef4f4a9 (diff)
liblp: MetadataBuilder::GetBlockDevicePartitionName
Allow to retrieve name of a block device partition at a certain index. If the index is out of range, return empty string. This is needed for an hypothetical edge case when an intersection of two LinearExtent needs to be computed, and the two metadata have a different list of block device names. In reality, Virtual A/B devices are always launched with dynamic partitions, so it will always return "super" for index 0 and "" otherwise. Test: liblp_test_static Bug: 135752105 Change-Id: I9ea59edefdc41d0e69e3644aa2452676372938b4
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions