1/* //device/apps/AndroidTests/src/com.android.unit_tests/IAidlTest.aidl 2** 3** Copyright 2007, The Android Open Source Project 4** 5** Licensed under the Apache License, Version 2.0 (the "License"); 6** you may not use this file except in compliance with the License. 7** You may obtain a copy of the License at 8** 9** http://www.apache.org/licenses/LICENSE-2.0 10** 11** Unless required by applicable law or agreed to in writing, software 12** distributed under the License is distributed on an "AS IS" BASIS, 13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14** See the License for the specific language governing permissions and 15** limitations under the License. 16*/ 17 18package android.os; 19 20import android.os.AidlTest; 21 22interface IAidlTest { 23 int intMethod(int a); 24 25 AidlTest.TestParcelable parcelableIn(in AidlTest.TestParcelable p); 26 AidlTest.TestParcelable parcelableOut(out AidlTest.TestParcelable p); 27 AidlTest.TestParcelable parcelableInOut(inout AidlTest.TestParcelable p); 28 29 AidlTest.TestParcelable listParcelableLonger( 30 inout List<AidlTest.TestParcelable> list, int index); 31 int listParcelableShorter( 32 inout List<AidlTest.TestParcelable> list, int index); 33 34 boolean[] booleanArray(in boolean[] a0, out boolean[] a1, inout boolean[] a2); 35 char[] charArray(in char[] a0, out char[] a1, inout char[] a2); 36 int[] intArray(in int[] a0, out int[] a1, inout int[] a2); 37 long[] longArray(in long[] a0, out long[] a1, inout long[] a2); 38 float[] floatArray(in float[] a0, out float[] a1, inout float[] a2); 39 double[] doubleArray(in double[] a0, out double[] a1, inout double[] a2); 40 String[] stringArray(in String[] a0, out String[] a1, inout String[] a2); 41 AidlTest.TestParcelable[] parcelableArray(in AidlTest.TestParcelable[] a0, 42 out AidlTest.TestParcelable[] a1, 43 inout AidlTest.TestParcelable[] a2); 44 45 void voidSecurityException(); 46 int intSecurityException(); 47} 48