1 /* 2 * Copyright (C) 2023 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 import parcelables.SingleDataParcelable; 17 18 interface IBinderRecordReplayTest { setByte(byte input)19 void setByte(byte input); getByte()20 byte getByte(); 21 setChar(char input)22 void setChar(char input); getChar()23 char getChar(); 24 setBoolean(boolean input)25 void setBoolean(boolean input); getBoolean()26 boolean getBoolean(); 27 setInt(int input)28 void setInt(int input); getInt()29 int getInt(); 30 setFloat(float input)31 void setFloat(float input); getFloat()32 float getFloat(); 33 setLong(long input)34 void setLong(long input); getLong()35 long getLong(); 36 setDouble(double input)37 void setDouble(double input); getDouble()38 double getDouble(); 39 setString(String input)40 void setString(String input); getString()41 String getString(); 42 setSingleDataParcelable(in SingleDataParcelable p)43 void setSingleDataParcelable(in SingleDataParcelable p); getSingleDataParcelable()44 SingleDataParcelable getSingleDataParcelable(); 45 setByteArray(in byte[] input)46 void setByteArray(in byte[] input); getByteArray()47 byte[] getByteArray(); 48 setCharArray(in char[] input)49 void setCharArray(in char[] input); getCharArray()50 char[] getCharArray(); 51 setBooleanArray(in boolean[] input)52 void setBooleanArray(in boolean[] input); getBooleanArray()53 boolean[] getBooleanArray(); 54 setIntArray(in int[] input)55 void setIntArray(in int[] input); getIntArray()56 int[] getIntArray(); 57 setFloatArray(in float[] input)58 void setFloatArray(in float[] input); getFloatArray()59 float[] getFloatArray(); 60 setLongArray(in long[] input)61 void setLongArray(in long[] input); getLongArray()62 long[] getLongArray(); 63 setDoubleArray(in double[] input)64 void setDoubleArray(in double[] input); getDoubleArray()65 double[] getDoubleArray(); 66 setStringArray(in String[] input)67 void setStringArray(in String[] input); getStringArray()68 String[] getStringArray(); 69 setSingleDataParcelableArray(in SingleDataParcelable[] input)70 void setSingleDataParcelableArray(in SingleDataParcelable[] input); getSingleDataParcelableArray()71 SingleDataParcelable[] getSingleDataParcelableArray(); 72 setBinder(in IBinder binder)73 void setBinder(in IBinder binder); getBinder()74 IBinder getBinder(); 75 setFileDescriptor(in FileDescriptor fd)76 void setFileDescriptor(in FileDescriptor fd); getFileDescriptor()77 FileDescriptor getFileDescriptor(); 78 } 79