• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // FIXME: license file, or use the -l option to generate the files with the header.
2 ///////////////////////////////////////////////////////////////////////////////
3 // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
4 ///////////////////////////////////////////////////////////////////////////////
5 
6 // This file is a snapshot of an AIDL file. Do not edit it manually. There are
7 // two cases:
8 // 1). this is a frozen version file - do not edit this in any case.
9 // 2). this is a 'current' file. If you make a backwards compatible change to
10 //     the interface (from the latest frozen version), the build system will
11 //     prompt you to update this file with `m <name>-update-api`.
12 //
13 // You must not make a backward incompatible change to any AIDL file built
14 // with the aidl_interface module type with versions property set. The module
15 // type is used to build AIDL files in a way that they can be used across
16 // independently updatable components of the system. If a device is shipped
17 // with such a backward incompatible change, it has a high risk of breaking
18 // later when a module using the interface is updated, e.g., Mainline modules.
19 
20 package hidl2aidl.test;
21 @VintfStability
22 interface IFoo {
multipleInputs(in String in1, in String in2)23   void multipleInputs(in String in1, in String in2);
multipleInputsAndOutputs(in String in1, in String in2, out hidl2aidl.test.IFoo.BigStruct out1, out hidl2aidl.test.IFoo.BigStruct out2)24   void multipleInputsAndOutputs(in String in1, in String in2, out hidl2aidl.test.IFoo.BigStruct out1, out hidl2aidl.test.IFoo.BigStruct out2);
multipleOutputs(out hidl2aidl.test.IFoo.BigStruct out1, out hidl2aidl.test.IFoo.BigStruct out2)25   void multipleOutputs(out hidl2aidl.test.IFoo.BigStruct out1, out hidl2aidl.test.IFoo.BigStruct out2);
oneOutput()26   String oneOutput();
removedOutput()27   String removedOutput();
someBar(in String a, in String b)28   void someBar(in String a, in String b);
someFoo(in byte a)29   oneway void someFoo(in byte a);
useImportedStruct(in hidl2aidl.test.Outer outer)30   void useImportedStruct(in hidl2aidl.test.Outer outer);
useStruct()31   hidl2aidl.test.IFoo.BigStruct useStruct();
versionTest_(in String a)32   void versionTest_(in String a);
versionTest_two_(in String a)33   boolean versionTest_two_(in String a);
34   @VintfStability
35   parcelable BigStruct {
36     byte type;
37     byte value;
38   }
39 }
40