Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cdc24762 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4471243 from 8e5633ba to pi-release

Change-Id: I8b1c9b4e813f51ce5928fc58fa127839018509b6
parents 253c27a6 8e5633ba
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -26,7 +26,9 @@ interface IExpressionExt {
        ENUM_BEST = android.hardware.tests.expression@1.0::IExpression.Constants:CONST_BAR,
    };

    typedef Color[((Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8) >> 1] SixteenColors;
    typedef Constants AlsoConstants;

    typedef Color[((Constants:MAX_ARRAY_SIZE << 1) - (AlsoConstants:CONST_FOO + 1)*8) >> 1] SixteenColors;
    struct ArrayOfColors {
        Color[(Constants:MAX_ARRAY_SIZE << 1) - (Constants:CONST_FOO + 1)*8] my32Colors; // 32
    };
+27 −0
Original line number Diff line number Diff line
@@ -38,3 +38,30 @@ struct Outer {
struct Unrelated {
    Outer.Inner great;
};

// structs to test enum iterators in hidl_test
struct EnumIterators {
    enum Empty : uint32_t {};

    enum Parent : uint32_t {
        A,
    };
    enum EmptyChild : Parent {};
    enum Grandchild : EmptyChild {
        B,
    };

    enum SkipsValues : uint32_t {
        A = 7,
        B,
        C = 100,
        D,
        E
    };
    enum MultipleValues : uint32_t {
        A = 7,
        B = 7,
        C = 8,
        D = 7,
    };
};
 No newline at end of file