2023-09-21 22:49:36 +02:00
|
|
|
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() {}
|
2024-06-15 22:32:01 +02:00
|
|
|
|
|
|
|
|
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];
|
|
|
|
|
}
|
2024-06-24 18:44:31 +02:00
|
|
|
|
|
|
|
|
public int dataPosition() {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2023-09-21 22:49:36 +02:00
|
|
|
}
|