diff options
author | Yu Shan <shanyu@google.com> | 2022-03-02 00:46:13 +0000 |
---|---|---|
committer | Yu Shan <shanyu@google.com> | 2022-03-03 02:31:37 +0000 |
commit | a58110ea5961f149974f34c274e65967995e6304 (patch) | |
tree | 5c934f65bebb4ab6c040613693b5bd0848f4d2be /security/keymint/aidl/vts/functional/KeyMintTest.cpp | |
parent | d0625cc3292a5192891bf2950bd874debca1de55 (diff) |
Define custom error type for StatusCode.
Define a wrapper class for StatusCode to be used as E in
Result<T, E>. By default E is errorno as defined in linux and does
not print out the correct error message.
Migrate existing Result usage in VHAL to Result<T, VhalError>.
Test: atest VehicleUtilsTest
Bug: 219612366
Change-Id: Ic5369b6035bc46afc4c61da26c4b50f7fa9969d8
Diffstat (limited to 'security/keymint/aidl/vts/functional/KeyMintTest.cpp')
0 files changed, 0 insertions, 0 deletions