mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Replace hidl_enum_{iterator -> range}." am: 71d7d91ba8
am: 030935b4a0
Change-Id: I114e81425ba04519981121bb511732090fcdbd00
This commit is contained in:
committed by
android-build-merger
commit
49336421f4
@@ -283,7 +283,7 @@ static void mutateOperationOperandTypeTest(const sp<IDevice>& device, const V1_0
|
||||
if (mutateOperationOperandTypeSkip(operand, model)) {
|
||||
continue;
|
||||
}
|
||||
for (OperandType invalidOperandType : hidl_enum_iterator<OperandType>{}) {
|
||||
for (OperandType invalidOperandType : hidl_enum_range<OperandType>{}) {
|
||||
// Do not test OEM types
|
||||
if (invalidOperandType == model.operands[operand].type ||
|
||||
invalidOperandType == OperandType::OEM ||
|
||||
|
||||
@@ -299,7 +299,7 @@ static void mutateOperationOperandTypeTest(const sp<IDevice>& device, const V1_1
|
||||
if (mutateOperationOperandTypeSkip(operand, model)) {
|
||||
continue;
|
||||
}
|
||||
for (OperandType invalidOperandType : hidl_enum_iterator<OperandType>{}) {
|
||||
for (OperandType invalidOperandType : hidl_enum_range<OperandType>{}) {
|
||||
// Do not test OEM types
|
||||
if (invalidOperandType == model.operands[operand].type ||
|
||||
invalidOperandType == OperandType::OEM ||
|
||||
|
||||
Reference in New Issue
Block a user