From 3dfccafba45a18c2b97a5e272da02d0dce59a2cc Mon Sep 17 00:00:00 2001 From: Neel Mehta Date: Tue, 6 Aug 2019 17:32:38 -0700 Subject: [PATCH] Remove annotations with constexpr params These are not used anywhere in the tree and are hence not supported. These are being removed from hidl-gen so this code is being removed. Bug: N/A Test: hidl-gen -Lcheck android.hardware.tests.expression@1.0 Change-Id: Ia19746da8ba361c7f29cc8732058a27cdc7a1bfe --- tests/expression/1.0/IExpression.hal | 1 - tests/expression/1.0/IExpressionExt.hal | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/expression/1.0/IExpression.hal b/tests/expression/1.0/IExpression.hal index 36aed608a7..039897a713 100644 --- a/tests/expression/1.0/IExpression.hal +++ b/tests/expression/1.0/IExpression.hal @@ -215,7 +215,6 @@ interface IExpression { MY_INT32_MIN_PLUS_1, // 0x80000001 }; - @callflow(key=Constants:CONST_FOO + 1) foo1(int32_t[Constants:CONST_FOO + 1] array); foo2(int32_t[5 + 8] array); foo3(int32_t[Constants:MAX_ARRAY_SIZE] array); diff --git a/tests/expression/1.0/IExpressionExt.hal b/tests/expression/1.0/IExpressionExt.hal index 8b56ec663c..e72197893d 100644 --- a/tests/expression/1.0/IExpressionExt.hal +++ b/tests/expression/1.0/IExpressionExt.hal @@ -36,7 +36,6 @@ interface IExpressionExt { SixteenColors my16Colors; }; - @callflow(key=@1.0::IExpression.Constants:MAX_ARRAY_SIZE) foo3(int32_t[IExpression.Constants:MAX_ARRAY_SIZE] array); foo2(SixteenColors array); foo1(int32_t[Constants:CONST_FOO + 5] array);