Home
last modified time | relevance | path

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

1234

/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/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/common/device-side/util/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/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/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/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>() {
DAddAccountTx.java5 import android.os.Parcelable;
10 public class AddAccountTx implements Parcelable {
12 public static final Parcelable.Creator<AddAccountTx> CREATOR =
13 new Parcelable.Creator<AddAccountTx>() {
/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/inputmethod/mockime/src/com/android/cts/mockime/
DImeEvent.java22 import android.os.Parcelable;
41 Parcelable, enumConstant
77 if (object instanceof Parcelable) { in getReturnTypeFromObject()
78 return ReturnType.Parcelable; in getReturnTypeFromObject()
146 case Parcelable: in toBundle()
189 case Parcelable: in fromBundle()
372 public <T extends Parcelable> T getReturnParcelableValue() { in getReturnParcelableValue()
376 if (mReturnType != ReturnType.Parcelable) { in getReturnParcelableValue()
/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/tests/os/src/android/os/cts/
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 …]
DExceptionalParcelable.java21 import android.os.Parcelable;
24 public class ExceptionalParcelable implements Parcelable {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java10 import android.os.Parcelable;
65 final Parcelable[] parcelables = intent.getParcelableArrayExtra(EXTRA_BUTTONS); in onCreate()
90 for (Parcelable intent : intents) { in onClick()
171 public static class ButtonInfo implements Parcelable {
190 final Parcelable[] parcelables = source.readParcelableArray(null); in ButtonInfo()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTestUtil.java27 import android.os.Parcelable;
168 Pair<Parcelable, FragmentManagerNonConfig> savedState) { in resume() argument
185 public static Pair<Parcelable, FragmentManagerNonConfig> destroy( in destroy()
187 final Pair<Parcelable, FragmentManagerNonConfig>[] result = new Pair[1]; in destroy()
190 final Parcelable savedState = fragmentController.saveAllState(); in destroy()

1234