summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-07-10 09:21:33 -0700
committerDavid Anderson <dvander@google.com>2018-07-11 13:05:09 -0700
commit21671eda3e2561a326cf27acc4cdc4f5911bfc61 (patch)
treee89d77d0d6fd75f0f28cfe710541b6a285204575 /libutils/ProcessCallStack.cpp
parent6a288d8128f16dccae71ccaa56f97cc59abb3770 (diff)
liblp: Refactor the partition table update API.
This change separates the WritePartitionTable function into two separate functions: FlashPartitionTable and UpdatePartitionTable. This will be cleaner than having extra unnecessary parameters and makes it clearer when to call each one. The motivation for this change is to improve the reliability of UpdatePartitionTable() and to be able to simulate I/O failures for testing. Bug: 79173901 Test: liblp_test gtest Change-Id: Iee5eb2e99fb76aef0b93a65bf85a89907e7cd9bf
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions