You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
39 lines
715 B
Java
39 lines
715 B
Java
package android.os;
|
|
|
|
public class Parcel {
|
|
|
|
public static Parcel obtain() {
|
|
return new Parcel();
|
|
}
|
|
|
|
public void writeBundle(Bundle bundle) {}
|
|
|
|
public Bundle readBundle(ClassLoader loader) {
|
|
return new Bundle();
|
|
}
|
|
|
|
public void setDataPosition(int position) {}
|
|
|
|
public void recycle() {}
|
|
|
|
public void writeByte(byte b) {
|
|
System.out.println("Parcel.writeByte(" + b + ")");
|
|
}
|
|
|
|
public void writeString(String s) {
|
|
System.out.println("Parcel.writeString(" + s + ")");
|
|
}
|
|
|
|
public void writeLong(long l) {
|
|
System.out.println("Parcel.writeLong(" + l + ")");
|
|
}
|
|
|
|
public void writeInt(int i) {
|
|
System.out.println("Parcel.writeInt(" + i + ")");
|
|
}
|
|
|
|
public byte[] marshall() {
|
|
return new byte[0];
|
|
}
|
|
}
|