Home
last modified time | relevance | path

Searched refs:Parcelable (Results 1 – 25 of 101) sorted by relevance

12345

/cts/tests/tests/content/src/com/android/content/cts/
DDummyParcelable.java20 import android.os.Parcelable;
22 public class DummyParcelable implements Parcelable {
32 public static final Parcelable.Creator<DummyParcelable> CREATOR
33 = new Parcelable.Creator<DummyParcelable>() {
/cts/tests/tests/time/src/android/app/time/cts/
DParcelableTestSupport.java22 import android.os.Parcelable;
33 public static <T extends Parcelable> T roundTripParcelable(T parcelable) { in roundTripParcelable()
38 Parcelable.Creator<T> creator; in roundTripParcelable()
41 creator = (Parcelable.Creator<T>) creatorField.get(null); in roundTripParcelable()
50 public static <T extends Parcelable> void assertRoundTripParcelable(T instance) { in assertRoundTripParcelable()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DIBinderParcelable.java20 import android.os.Parcelable;
22 public class IBinderParcelable implements Parcelable {
37 public static final Parcelable.Creator<IBinderParcelable>
38 CREATOR = new Parcelable.Creator<IBinderParcelable>() {
DParcelUtils.java21 import android.os.Parcelable;
28 public static byte[] toBytes(Parcelable p) { in toBytes()
40 public static <T extends Parcelable> T fromBytes(byte[] data) { in fromBytes()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/
DEditPropertiesTx.java5 import android.os.Parcelable;
7 public class EditPropertiesTx implements Parcelable {
9 public static final Parcelable.Creator<EditPropertiesTx> CREATOR =
10 new Parcelable.Creator<EditPropertiesTx>() {
DGetAuthTokenLabelTx.java4 import android.os.Parcelable;
6 public class GetAuthTokenLabelTx implements Parcelable {
8 public static final Parcelable.Creator<GetAuthTokenLabelTx> CREATOR =
9 new Parcelable.Creator<GetAuthTokenLabelTx>() {
DGetAccountRemovalAllowedTx.java6 import android.os.Parcelable;
8 public class GetAccountRemovalAllowedTx implements Parcelable {
10 public static final Parcelable.Creator<GetAccountRemovalAllowedTx> CREATOR =
11 new Parcelable.Creator<GetAccountRemovalAllowedTx>() {
DConfirmCredentialsTx.java6 import android.os.Parcelable;
8 public class ConfirmCredentialsTx implements Parcelable {
10 public static final Parcelable.Creator<ConfirmCredentialsTx> CREATOR =
11 new Parcelable.Creator<ConfirmCredentialsTx>() {
DStartUpdateCredentialsSessionTx.java6 import android.os.Parcelable;
8 public class StartUpdateCredentialsSessionTx implements Parcelable {
10 public static final Parcelable.Creator<StartUpdateCredentialsSessionTx> CREATOR =
11 new Parcelable.Creator<StartUpdateCredentialsSessionTx>() {
DHasFeaturesTx.java6 import android.os.Parcelable;
11 public class HasFeaturesTx implements Parcelable {
13 public static final Parcelable.Creator<HasFeaturesTx> CREATOR =
14 new Parcelable.Creator<HasFeaturesTx>() {
DGetAuthTokenTx.java6 import android.os.Parcelable;
8 public class GetAuthTokenTx implements Parcelable {
10 public static final Parcelable.Creator<GetAuthTokenTx> CREATOR =
11 new Parcelable.Creator<GetAuthTokenTx>() {
DUpdateCredentialsTx.java6 import android.os.Parcelable;
8 public class UpdateCredentialsTx implements Parcelable {
10 public static final Parcelable.Creator<UpdateCredentialsTx> CREATOR =
11 new Parcelable.Creator<UpdateCredentialsTx>() {
DStartAddAccountSessionTx.java5 import android.os.Parcelable;
10 public class StartAddAccountSessionTx implements Parcelable {
12 public static final Parcelable.Creator<StartAddAccountSessionTx> CREATOR =
13 new Parcelable.Creator<StartAddAccountSessionTx>() {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DCommandApdu.java4 import android.os.Parcelable;
6 public class CommandApdu implements Parcelable {
28 public static final Parcelable.Creator<CommandApdu> CREATOR =
29 new Parcelable.Creator<CommandApdu>() {
/cts/tests/tests/externalservice/common/src/android/externalservice/common/
DRunningServiceInfo.java20 import android.os.Parcelable;
26 public class RunningServiceInfo implements Parcelable {
50 public static final Parcelable.Creator<RunningServiceInfo> CREATOR
51 = new Parcelable.Creator<RunningServiceInfo>() {
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DEventPayloadParcelable.java21 import android.os.Parcelable;
25 public class EventPayloadParcelable implements Parcelable {
76 public static final Parcelable.Creator<EventPayloadParcelable> CREATOR =
77 new Parcelable.Creator<EventPayloadParcelable>() {
/cts/tests/tests/view/src/android/view/cts/
DAbsSavedStateTest.java30 import android.os.Parcelable;
44 new AbsSavedStateImpl((Parcelable) null); in testConstructorNullParcelable()
108 if (AbsSavedState.CREATOR instanceof Parcelable.ClassLoaderCreator) { in testCreator()
110 ((Parcelable.ClassLoaderCreator) AbsSavedState.CREATOR).createFromParcel(parcel, in testCreator()
121 Parcelable superState = mock(Parcelable.class); in testWriteToParcel()
130 AbsSavedStateImpl(Parcelable superState) { in AbsSavedStateImpl()
DView_BaseSavedStateTest.java28 import android.os.Parcelable;
43 new BaseSavedState((Parcelable) null); in testConstructorNullParcelable()
99 Parcelable superState = mock(Parcelable.class); in testWriteToParcel()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
DMovie.java20 import android.os.Parcelable;
25 public class Movie implements Parcelable {
120 public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEvent.java22 import android.os.Parcelable;
42 Parcelable, enumConstant
81 if (object instanceof Parcelable) { in getReturnTypeFromObject()
82 return ReturnType.Parcelable; in getReturnTypeFromObject()
153 case Parcelable: in toBundle()
199 case Parcelable: in fromBundle()
355 || mReturnType == ReturnType.Parcelable) { in getReturnCharSequenceValue()
402 public <T extends Parcelable> T getReturnParcelableValue() { in getReturnParcelableValue()
406 if (mReturnType != ReturnType.Parcelable) { in getReturnParcelableValue()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/util/
DSerializableParcelWrapper.java20 import android.os.Parcelable;
28 public class SerializableParcelWrapper<E extends Parcelable> implements Serializable {
70 mParcelable = p.readParcelable(Parcelable.class.getClassLoader()); in readObject()
/cts/tests/tests/os/src/android/os/cts/
DExceptionalParcelable.java21 import android.os.Parcelable;
24 public class ExceptionalParcelable implements Parcelable {
DBundleTest.java26 import android.os.Parcelable;
490 Parcelable[] parcelableArray = mBundle.getParcelableArray(KEY); in testGetParcelableArray()
504 final ArrayList<Parcelable> parcelableArrayList = new ArrayList<Parcelable>(); in testGetParcelableArrayList()
510 ArrayList<Parcelable> ret = mBundle.getParcelableArrayList(KEY); in testGetParcelableArrayList()
596 final SparseArray<Parcelable> sparseArray = new SparseArray<Parcelable>(); in testGetSparseParcelableArray()
602 SparseArray<Parcelable> ret = mBundle.getSparseParcelableArray(KEY); in testGetSparseParcelableArray()
684 & Parcelable.CONTENTS_FILE_DESCRIPTOR) == 0); in testDescribeContents()
694 & Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0); in testDescribeContents()
698 & Parcelable.CONTENTS_FILE_DESCRIPTOR) == 0); in testDescribeContents()
702 & Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0); in testDescribeContents()
[all …]
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDataFormatter.java25 import android.os.Parcelable;
138 if ((value instanceof Parcelable)) { in addArg()
142 intent.putExtra(extraValueName, (Parcelable) value); in addArg()
168 } else if (firstItem instanceof Parcelable) { in addArg()
190 ArrayList<Parcelable> arrayListParcelable = (value instanceof ArrayList) in addArg()
191 ? (ArrayList<Parcelable>) list in addArg()
192 : new ArrayList<>((List<Parcelable>) list); in addArg()
287 Parcelable[] raw = (Parcelable[]) extras.get(extraValueName); in getArg()
/cts/suite/audio_quality/client/
Dproguard.cfg31 -keep class * implements android.os.Parcelable {
32 public static final android.os.Parcelable$Creator *;

12345