mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Verify op_ is not a nullptr" am: 2d63764c34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1940573 Change-Id: I4964df7408afa67cb49f1b0f04b56ed42e050dc7
This commit is contained in:
@@ -537,6 +537,9 @@ ErrorCode KeyMintAidlTestBase::Update(const string& input, string* output) {
|
|||||||
Status result;
|
Status result;
|
||||||
if (!output) return ErrorCode::UNEXPECTED_NULL_POINTER;
|
if (!output) return ErrorCode::UNEXPECTED_NULL_POINTER;
|
||||||
|
|
||||||
|
EXPECT_NE(op_, nullptr);
|
||||||
|
if (!op_) return ErrorCode::UNEXPECTED_NULL_POINTER;
|
||||||
|
|
||||||
std::vector<uint8_t> o_put;
|
std::vector<uint8_t> o_put;
|
||||||
result = op_->update(vector<uint8_t>(input.begin(), input.end()), {}, {}, &o_put);
|
result = op_->update(vector<uint8_t>(input.begin(), input.end()), {}, {}, &o_put);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user