platform_system_core/fs_mgr/libdm
Bart Van Assche 6b296db8e3 libdm: Make ExtractBlockDeviceName() return its result
From https://engdoc.corp.google.com/eng/doc/devguide/cpp/styleguide.md:
"Prefer using return values over output parameters: they improve
readability, and often provide the same or better performance (see the C++
Primer)." Implement this advice for ExtractBlockDeviceName(). This patch
does not change any functionality.

Bug: 194450129
Test: mm libfs_mgr libdm_test
Change-Id: I6363781163eba08e6128507b403200f472f68a59
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-08-12 15:11:39 -07:00
..
include/libdm snapuserd: Read partition blocks to memory 2021-08-04 08:38:10 +00:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
dm.cpp libdm: Make ExtractBlockDeviceName() return its result 2021-08-12 15:11:39 -07:00
dm_linear_fuzzer.cpp Fix fuzzer name and sizeof(array) 2019-10-21 11:44:08 +00:00
dm_table.cpp libdm: Fix DmTable::num_sectors 2019-10-01 19:43:33 -07:00
dm_target.cpp fs_mgr: support 'check_at_most_once' for dm-verity 2021-05-31 10:43:25 +00:00
dm_test.cpp Deflake libdm#CreateEmptyDevice test 2021-07-15 15:33:17 +01:00
loop_control.cpp Fix fds libdm_test 2019-10-01 19:43:33 -07:00
loop_control_test.cpp libdm: Fix race conditions in LoopControl::Attach. 2019-07-11 15:39:53 -07:00
test_util.cpp libdm: Add unit tests for dm-linear. 2018-06-25 12:56:14 -07:00
test_util.h Move TempDevice to test_util.h 2019-10-10 20:59:33 +01:00
utility.cpp libdm: Fix WaitForFile early-returning on failed accesses. 2020-02-26 15:21:53 -08:00
utility.h libdm: add an overload of DeleteDevice accepting a timeout_ms 2019-12-05 10:37:47 +00:00