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

Commit cb38b3cd authored by Andreas Huber's avatar Andreas Huber Committed by android-build-merger
Browse files

Merge "Verify that vectors of arrays within structures are properly marshaled"

am: e168ebab

Change-Id: I961df79e75d8738f6968efb1a72da5f3bcb35f3d
parents 929a4a64 e168ebab
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -58,6 +58,12 @@ interface IBase {
        ThreeStrings[5] s;
        ThreeStrings[5] s;
    };
    };


    typedef uint8_t[6] MacAddress;

    struct VectorOfArray {
        vec<MacAddress> addresses;
    };

    someBaseMethod();
    someBaseMethod();


    someBoolMethod(bool x) generates (bool y);
    someBoolMethod(bool x) generates (bool y);
@@ -68,6 +74,8 @@ interface IBase {
    someMethodWithFooArrays(Foo[2] fooInput) generates (Foo[2] fooOutput);
    someMethodWithFooArrays(Foo[2] fooInput) generates (Foo[2] fooOutput);
    someMethodWithFooVectors(vec<Foo> fooInput) generates (vec<Foo> fooOutput);
    someMethodWithFooVectors(vec<Foo> fooInput) generates (vec<Foo> fooOutput);


    someMethodWithVectorOfArray(VectorOfArray in) generates (VectorOfArray out);

    transpose(StringMatrix5x3 in) generates (StringMatrix3x5 out);
    transpose(StringMatrix5x3 in) generates (StringMatrix3x5 out);
    transpose2(ThreeStrings[5] in) generates (FiveStrings[3] out);
    transpose2(ThreeStrings[5] in) generates (FiveStrings[3] out);
};
};