1 /* 2 * Copyright (C) 2020 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 17 package android.os; 18 19 import java.util.List; 20 21 public class Parcel { writeString(String val)22 public void writeString(String val) { 23 throw new UnsupportedOperationException(); 24 } writeString8(String val)25 public void writeString8(String val) { 26 throw new UnsupportedOperationException(); 27 } writeStringArray(String[] val)28 public final void writeStringArray(String[] val) { 29 throw new UnsupportedOperationException(); 30 } writeString8Array(String[] val)31 public final void writeString8Array(String[] val) { 32 throw new UnsupportedOperationException(); 33 } 34 writeValue(Object v)35 public final void writeValue(Object v) { 36 throw new UnsupportedOperationException(); 37 } writeParcelable(Parcelable p, int flags)38 public final void writeParcelable(Parcelable p, int flags) { 39 throw new UnsupportedOperationException(); 40 } 41 writeList(List val)42 public final void writeList(List val) { 43 throw new UnsupportedOperationException(); 44 } writeParcelableList(List<T> val, int flags)45 public final <T extends Parcelable> void writeParcelableList(List<T> val, int flags) { 46 throw new UnsupportedOperationException(); 47 } writeTypedList(List<T> val, int flags)48 public <T extends Parcelable> void writeTypedList(List<T> val, int flags) { 49 throw new UnsupportedOperationException(); 50 } writeParcelableArray(T[] value, int flags)51 public final <T extends Parcelable> void writeParcelableArray(T[] value, int flags) { 52 throw new UnsupportedOperationException(); 53 } writeTypedArray(T[] val, int flags)54 public final <T extends Parcelable> void writeTypedArray(T[] val, int flags) { 55 throw new UnsupportedOperationException(); 56 } 57 } 58